Annotation of parser3/configure, revision 1.145

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.145   ! moko        3: # Generated by GNU Autoconf 2.59 for parser 3.4.2 RC.
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.145   ! moko      276: PACKAGE_VERSION='3.4.2 RC'
        !           277: PACKAGE_STRING='parser 3.4.2 RC'
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.145   ! moko      800: \`configure' configures parser 3.4.2 RC 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.145   ! moko      866:      short | recursive ) echo "Configuration of parser 3.4.2 RC:";;
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.94      misha     877:   --disable-execs            to disable any execs
1.62      paf       878:                           (file::exec, file::cgi, unix mail:send)
1.94      misha     879:   --disable-stringstream  to disable stringstream usage.
                    880:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.128     moko      881:   --enable-shared[=PKGS]
                    882:                           build shared libraries [default=yes]
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.142     moko      898:   --with-gc=D      D is the directory where
                    899:                           Boehm garbage collecting library is installed
                    900:   --with-pcre=D    D is the directory where
                    901:                           PCRE library is installed
                    902:   --with-xml=D     D is the directory where
                    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.122     moko      913:   --with-apache=FILE is the full path for APXS
                    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.145   ! moko     1034: parser configure 3.4.2 RC
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.145   ! moko     1048: It was created by parser $as_me 3.4.2 RC, 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.145   ! moko     1694:  VERSION='3.4.2 RC'
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: 
                   1885: PARSER_VERSION="$VERSION (compiled on $host)"
                   1886: echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
                   1887: echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
                   1888: echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
                   1889: cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1
                   1890: if test $? -ne 0 ; then
1.145   ! moko     1891:        mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h
        !          1892:        { echo "$as_me:$LINENO: WARNING: Updated $srcdir/src/include/pa_version.h" >&5
        !          1893: echo "$as_me: WARNING: Updated $srcdir/src/include/pa_version.h" >&2;}
1.81      paf      1894: else
                   1895:        rm -f $srcdir/src/include/pa_version.h.new
                   1896: fi
                   1897: 
1.41      paf      1898: 
1.67      paf      1899: case $host_os in
                   1900:   *cygwin* )
                   1901: cat >>confdefs.h <<\_ACEOF
                   1902: #define CYGWIN
                   1903: _ACEOF
                   1904: ;;
                   1905: esac
1.41      paf      1906: 
1.128     moko     1907: 
1.1       paf      1908: # Find a good install program.  We prefer a C program (faster),
                   1909: # so one script is as good as another.  But avoid the broken or
                   1910: # incompatible versions:
                   1911: # SysV /etc/install, /usr/sbin/install
                   1912: # SunOS /usr/etc/install
                   1913: # IRIX /sbin/install
                   1914: # AIX /bin/install
1.62      paf      1915: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1916: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1917: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1918: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1919: # OS/2's system install, which has a completely different semantic
1.1       paf      1920: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1921: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1922: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1923: if test -z "$INSTALL"; then
1.62      paf      1924: if test "${ac_cv_path_install+set}" = set; then
                   1925:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1926: else
1.62      paf      1927:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1928: for as_dir in $PATH
                   1929: do
                   1930:   IFS=$as_save_IFS
                   1931:   test -z "$as_dir" && as_dir=.
                   1932:   # Account for people who put trailing slashes in PATH elements.
                   1933: case $as_dir/ in
                   1934:   ./ | .// | /cC/* | \
                   1935:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1936:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1937:   /usr/ucb/* ) ;;
                   1938:   *)
                   1939:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1940:     # Don't use installbsd from OSF since it installs stuff as root
                   1941:     # by default.
                   1942:     for ac_prog in ginstall scoinst install; do
                   1943:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1944:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1945:          if test $ac_prog = install &&
                   1946:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1947:            # AIX install.  It has an incompatible calling convention.
                   1948:            :
                   1949:          elif test $ac_prog = install &&
                   1950:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1951:            # program-specific install script used by HP pwplus--don't use.
                   1952:            :
                   1953:          else
                   1954:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1955:            break 3
                   1956:          fi
                   1957:        fi
1.1       paf      1958:       done
1.62      paf      1959:     done
                   1960:     ;;
                   1961: esac
                   1962: done
                   1963: 
1.1       paf      1964: 
                   1965: fi
                   1966:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1967:     INSTALL=$ac_cv_path_install
1.1       paf      1968:   else
                   1969:     # As a last resort, use the slow shell script.  We don't cache a
                   1970:     # path for INSTALL within a source directory, because that will
                   1971:     # break other packages using the cache if that directory is
                   1972:     # removed, or if the path is relative.
1.62      paf      1973:     INSTALL=$ac_install_sh
1.1       paf      1974:   fi
                   1975: fi
1.62      paf      1976: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1977: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1978: 
                   1979: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1980: # It thinks the first close brace ends the variable substitution.
                   1981: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1982: 
1.62      paf      1983: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1984: 
                   1985: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1986: 
1.62      paf      1987: for ac_prog in gawk mawk nawk awk
1.41      paf      1988: do
1.62      paf      1989:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      1990: set dummy $ac_prog; ac_word=$2
1.62      paf      1991: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1992: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1993: if test "${ac_cv_prog_AWK+set}" = set; then
                   1994:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      1995: else
                   1996:   if test -n "$AWK"; then
                   1997:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1998: else
1.62      paf      1999: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2000: for as_dir in $PATH
                   2001: do
                   2002:   IFS=$as_save_IFS
                   2003:   test -z "$as_dir" && as_dir=.
                   2004:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2005:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2006:     ac_cv_prog_AWK="$ac_prog"
                   2007:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2008:     break 2
                   2009:   fi
                   2010: done
                   2011: done
                   2012: 
1.41      paf      2013: fi
                   2014: fi
1.62      paf      2015: AWK=$ac_cv_prog_AWK
1.41      paf      2016: if test -n "$AWK"; then
1.62      paf      2017:   echo "$as_me:$LINENO: result: $AWK" >&5
                   2018: echo "${ECHO_T}$AWK" >&6
1.41      paf      2019: else
1.62      paf      2020:   echo "$as_me:$LINENO: result: no" >&5
                   2021: echo "${ECHO_T}no" >&6
1.41      paf      2022: fi
                   2023: 
1.62      paf      2024:   test -n "$AWK" && break
1.41      paf      2025: done
                   2026: 
                   2027: 
                   2028: for ac_prog in 'bison -y' byacc
                   2029: do
1.62      paf      2030:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      2031: set dummy $ac_prog; ac_word=$2
1.62      paf      2032: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2033: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2034: if test "${ac_cv_prog_YACC+set}" = set; then
                   2035:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      2036: else
                   2037:   if test -n "$YACC"; then
                   2038:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   2039: else
1.62      paf      2040: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2041: for as_dir in $PATH
                   2042: do
                   2043:   IFS=$as_save_IFS
                   2044:   test -z "$as_dir" && as_dir=.
                   2045:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2046:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2047:     ac_cv_prog_YACC="$ac_prog"
                   2048:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2049:     break 2
                   2050:   fi
                   2051: done
                   2052: done
                   2053: 
1.41      paf      2054: fi
                   2055: fi
1.62      paf      2056: YACC=$ac_cv_prog_YACC
1.41      paf      2057: if test -n "$YACC"; then
1.62      paf      2058:   echo "$as_me:$LINENO: result: $YACC" >&5
                   2059: echo "${ECHO_T}$YACC" >&6
1.41      paf      2060: else
1.62      paf      2061:   echo "$as_me:$LINENO: result: no" >&5
                   2062: echo "${ECHO_T}no" >&6
1.41      paf      2063: fi
                   2064: 
1.62      paf      2065:   test -n "$YACC" && break
1.41      paf      2066: done
                   2067: test -n "$YACC" || YACC="yacc"
                   2068: 
                   2069: if test "$YACC" != "bison -y"; then
1.67      paf      2070:        { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
1.62      paf      2071: echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      2072: else
1.67      paf      2073:        echo "$as_me:$LINENO: checking bison version" >&5
1.62      paf      2074: echo $ECHO_N "checking bison version... $ECHO_C" >&6
1.67      paf      2075:        oldIFS=$IFS; IFS=.
                   2076:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   2077:        IFS=$oldIFS
                   2078:        if test "$1" = "1" -a "$2" -lt "25"; then
                   2079:                { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
1.62      paf      2080: echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      2081:        fi
                   2082:        echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5
1.62      paf      2083: echo "${ECHO_T}$1.$2 (ok)" >&6
                   2084: fi
                   2085: 
1.66      paf      2086: ac_ext=cc
                   2087: ac_cpp='$CXXCPP $CPPFLAGS'
                   2088: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2089: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2090: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.62      paf      2091: if test -n "$ac_tool_prefix"; then
1.66      paf      2092:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2093:   do
                   2094:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2095: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.62      paf      2096: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2097: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2098: if test "${ac_cv_prog_CXX+set}" = set; then
1.62      paf      2099:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2100: else
1.66      paf      2101:   if test -n "$CXX"; then
                   2102:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      2103: else
                   2104: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2105: for as_dir in $PATH
                   2106: do
                   2107:   IFS=$as_save_IFS
                   2108:   test -z "$as_dir" && as_dir=.
                   2109:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2110:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2111:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.62      paf      2112:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2113:     break 2
                   2114:   fi
                   2115: done
                   2116: done
                   2117: 
                   2118: fi
                   2119: fi
1.66      paf      2120: CXX=$ac_cv_prog_CXX
                   2121: if test -n "$CXX"; then
                   2122:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2123: echo "${ECHO_T}$CXX" >&6
1.62      paf      2124: else
                   2125:   echo "$as_me:$LINENO: result: no" >&5
                   2126: echo "${ECHO_T}no" >&6
1.41      paf      2127: fi
                   2128: 
1.66      paf      2129:     test -n "$CXX" && break
                   2130:   done
1.62      paf      2131: fi
1.66      paf      2132: if test -z "$CXX"; then
                   2133:   ac_ct_CXX=$CXX
                   2134:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2135: do
                   2136:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2137: set dummy $ac_prog; ac_word=$2
1.62      paf      2138: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2139: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2140: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.62      paf      2141:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2142: else
1.66      paf      2143:   if test -n "$ac_ct_CXX"; then
                   2144:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      2145: else
                   2146: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2147: for as_dir in $PATH
                   2148: do
                   2149:   IFS=$as_save_IFS
                   2150:   test -z "$as_dir" && as_dir=.
                   2151:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2152:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2153:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.62      paf      2154:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2155:     break 2
                   2156:   fi
                   2157: done
                   2158: done
                   2159: 
                   2160: fi
                   2161: fi
1.66      paf      2162: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2163: if test -n "$ac_ct_CXX"; then
                   2164:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2165: echo "${ECHO_T}$ac_ct_CXX" >&6
1.62      paf      2166: else
                   2167:   echo "$as_me:$LINENO: result: no" >&5
                   2168: echo "${ECHO_T}no" >&6
                   2169: fi
                   2170: 
1.66      paf      2171:   test -n "$ac_ct_CXX" && break
                   2172: done
                   2173: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
                   2174: 
                   2175:   CXX=$ac_ct_CXX
1.62      paf      2176: fi
                   2177: 
1.66      paf      2178: 
                   2179: # Provide some information about the compiler.
                   2180: echo "$as_me:$LINENO:" \
                   2181:      "checking for C++ compiler version" >&5
                   2182: ac_compiler=`set X $ac_compile; echo $2`
                   2183: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2184:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2185:   ac_status=$?
                   2186:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2187:   (exit $ac_status); }
                   2188: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2189:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2190:   ac_status=$?
                   2191:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2192:   (exit $ac_status); }
                   2193: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2194:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2195:   ac_status=$?
                   2196:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2197:   (exit $ac_status); }
                   2198: 
                   2199: cat >conftest.$ac_ext <<_ACEOF
                   2200: /* confdefs.h.  */
                   2201: _ACEOF
                   2202: cat confdefs.h >>conftest.$ac_ext
                   2203: cat >>conftest.$ac_ext <<_ACEOF
                   2204: /* end confdefs.h.  */
                   2205: 
                   2206: int
                   2207: main ()
                   2208: {
                   2209: 
                   2210:   ;
                   2211:   return 0;
                   2212: }
                   2213: _ACEOF
                   2214: ac_clean_files_save=$ac_clean_files
                   2215: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2216: # Try to create an executable without -o first, disregard a.out.
                   2217: # It will help us diagnose broken compilers, and finding out an intuition
                   2218: # of exeext.
1.86      paf      2219: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2220: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.66      paf      2221: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2222: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2223:   (eval $ac_link_default) 2>&5
                   2224:   ac_status=$?
                   2225:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2226:   (exit $ac_status); }; then
                   2227:   # Find the output, starting from the most likely.  This scheme is
                   2228: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2229: # resort.
                   2230: 
                   2231: # Be careful to initialize this variable, since it used to be cached.
                   2232: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2233: ac_cv_exeext=
                   2234: # b.out is created by i960 compilers.
                   2235: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.62      paf      2236: do
1.66      paf      2237:   test -f "$ac_file" || continue
                   2238:   case $ac_file in
                   2239:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.86      paf      2240:        ;;
1.66      paf      2241:     conftest.$ac_ext )
1.86      paf      2242:        # This is the source file.
                   2243:        ;;
1.66      paf      2244:     [ab].out )
1.86      paf      2245:        # We found the default executable, but exeext='' is most
                   2246:        # certainly right.
                   2247:        break;;
1.66      paf      2248:     *.* )
1.86      paf      2249:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2250:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2251:        # but it would be cool to find out if it's true.  Does anybody
                   2252:        # maintain Libtool? --akim.
                   2253:        export ac_cv_exeext
                   2254:        break;;
1.66      paf      2255:     * )
1.86      paf      2256:        break;;
1.66      paf      2257:   esac
1.62      paf      2258: done
1.66      paf      2259: else
                   2260:   echo "$as_me: failed program was:" >&5
                   2261: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      2262: 
1.66      paf      2263: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2264: See \`config.log' for more details." >&5
                   2265: echo "$as_me: error: C++ compiler cannot create executables
                   2266: See \`config.log' for more details." >&2;}
                   2267:    { (exit 77); exit 77; }; }
1.1       paf      2268: fi
1.66      paf      2269: 
                   2270: ac_exeext=$ac_cv_exeext
                   2271: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2272: echo "${ECHO_T}$ac_file" >&6
                   2273: 
                   2274: # Check the compiler produces executables we can run.  If not, either
                   2275: # the compiler is broken, or we cross compile.
                   2276: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2277: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2278: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2279: # If not cross compiling, check that we can run a simple program.
                   2280: if test "$cross_compiling" != yes; then
                   2281:   if { ac_try='./$ac_file'
                   2282:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2283:   (eval $ac_try) 2>&5
                   2284:   ac_status=$?
                   2285:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2286:   (exit $ac_status); }; }; then
                   2287:     cross_compiling=no
                   2288:   else
                   2289:     if test "$cross_compiling" = maybe; then
                   2290:        cross_compiling=yes
                   2291:     else
                   2292:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2293: If you meant to cross compile, use \`--host'.
                   2294: See \`config.log' for more details." >&5
                   2295: echo "$as_me: error: cannot run C++ compiled programs.
                   2296: If you meant to cross compile, use \`--host'.
                   2297: See \`config.log' for more details." >&2;}
                   2298:    { (exit 1); exit 1; }; }
                   2299:     fi
                   2300:   fi
1.1       paf      2301: fi
1.66      paf      2302: echo "$as_me:$LINENO: result: yes" >&5
                   2303: echo "${ECHO_T}yes" >&6
1.62      paf      2304: 
1.66      paf      2305: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2306: ac_clean_files=$ac_clean_files_save
                   2307: # Check the compiler produces executables we can run.  If not, either
1.62      paf      2308: # the compiler is broken, or we cross compile.
                   2309: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2310: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2311: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2312: echo "${ECHO_T}$cross_compiling" >&6
                   2313: 
                   2314: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2315: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2316: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2317:   (eval $ac_link) 2>&5
                   2318:   ac_status=$?
                   2319:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2320:   (exit $ac_status); }; then
                   2321:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2322: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2323: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2324: # `rm'.
                   2325: for ac_file in conftest.exe conftest conftest.*; do
                   2326:   test -f "$ac_file" || continue
                   2327:   case $ac_file in
                   2328:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2329:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      2330:          export ac_cv_exeext
                   2331:          break;;
1.62      paf      2332:     * ) break;;
                   2333:   esac
                   2334: done
                   2335: else
                   2336:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2337: See \`config.log' for more details." >&5
                   2338: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2339: See \`config.log' for more details." >&2;}
                   2340:    { (exit 1); exit 1; }; }
                   2341: fi
                   2342: 
                   2343: rm -f conftest$ac_cv_exeext
                   2344: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2345: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2346: 
                   2347: rm -f conftest.$ac_ext
                   2348: EXEEXT=$ac_cv_exeext
                   2349: ac_exeext=$EXEEXT
                   2350: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2351: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2352: if test "${ac_cv_objext+set}" = set; then
                   2353:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2354: else
                   2355:   cat >conftest.$ac_ext <<_ACEOF
                   2356: /* confdefs.h.  */
                   2357: _ACEOF
                   2358: cat confdefs.h >>conftest.$ac_ext
                   2359: cat >>conftest.$ac_ext <<_ACEOF
                   2360: /* end confdefs.h.  */
                   2361: 
                   2362: int
                   2363: main ()
                   2364: {
                   2365: 
                   2366:   ;
                   2367:   return 0;
                   2368: }
                   2369: _ACEOF
                   2370: rm -f conftest.o conftest.obj
                   2371: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2372:   (eval $ac_compile) 2>&5
                   2373:   ac_status=$?
                   2374:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2375:   (exit $ac_status); }; then
                   2376:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2377:   case $ac_file in
                   2378:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2379:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2380:        break;;
                   2381:   esac
                   2382: done
                   2383: else
                   2384:   echo "$as_me: failed program was:" >&5
                   2385: sed 's/^/| /' conftest.$ac_ext >&5
                   2386: 
                   2387: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2388: See \`config.log' for more details." >&5
                   2389: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2390: See \`config.log' for more details." >&2;}
                   2391:    { (exit 1); exit 1; }; }
                   2392: fi
                   2393: 
                   2394: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2395: fi
1.66      paf      2396: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2397: echo "${ECHO_T}$ac_cv_objext" >&6
                   2398: OBJEXT=$ac_cv_objext
                   2399: ac_objext=$OBJEXT
                   2400: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2401: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2402: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.62      paf      2403:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2404: else
1.66      paf      2405:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      2406: /* confdefs.h.  */
                   2407: _ACEOF
                   2408: cat confdefs.h >>conftest.$ac_ext
                   2409: cat >>conftest.$ac_ext <<_ACEOF
                   2410: /* end confdefs.h.  */
1.66      paf      2411: 
1.62      paf      2412: int
                   2413: main ()
                   2414: {
1.66      paf      2415: #ifndef __GNUC__
                   2416:        choke me
                   2417: #endif
                   2418: 
1.62      paf      2419:   ;
                   2420:   return 0;
                   2421: }
                   2422: _ACEOF
1.66      paf      2423: rm -f conftest.$ac_objext
1.62      paf      2424: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2425:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2426:   ac_status=$?
1.86      paf      2427:   grep -v '^ *+' conftest.er1 >conftest.err
                   2428:   rm -f conftest.er1
                   2429:   cat conftest.err >&5
1.62      paf      2430:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2431:   (exit $ac_status); } &&
1.86      paf      2432:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2433:                         || test ! -s conftest.err'
                   2434:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2435:   (eval $ac_try) 2>&5
                   2436:   ac_status=$?
                   2437:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2438:   (exit $ac_status); }; } &&
                   2439:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2440:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2441:   (eval $ac_try) 2>&5
                   2442:   ac_status=$?
                   2443:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2444:   (exit $ac_status); }; }; then
1.66      paf      2445:   ac_compiler_gnu=yes
1.62      paf      2446: else
                   2447:   echo "$as_me: failed program was:" >&5
                   2448: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      2449: 
1.66      paf      2450: ac_compiler_gnu=no
1.1       paf      2451: fi
1.86      paf      2452: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2453: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      2454: 
                   2455: fi
1.66      paf      2456: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2457: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2458: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2459: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2460: ac_save_CXXFLAGS=$CXXFLAGS
                   2461: CXXFLAGS="-g"
                   2462: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2463: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2464: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2465:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2466: else
                   2467:   cat >conftest.$ac_ext <<_ACEOF
                   2468: /* confdefs.h.  */
                   2469: _ACEOF
                   2470: cat confdefs.h >>conftest.$ac_ext
                   2471: cat >>conftest.$ac_ext <<_ACEOF
                   2472: /* end confdefs.h.  */
1.1       paf      2473: 
1.66      paf      2474: int
                   2475: main ()
                   2476: {
1.1       paf      2477: 
1.66      paf      2478:   ;
                   2479:   return 0;
                   2480: }
1.62      paf      2481: _ACEOF
                   2482: rm -f conftest.$ac_objext
                   2483: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2484:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2485:   ac_status=$?
1.86      paf      2486:   grep -v '^ *+' conftest.er1 >conftest.err
                   2487:   rm -f conftest.er1
                   2488:   cat conftest.err >&5
1.62      paf      2489:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2490:   (exit $ac_status); } &&
1.86      paf      2491:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2492:                         || test ! -s conftest.err'
                   2493:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2494:   (eval $ac_try) 2>&5
                   2495:   ac_status=$?
                   2496:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2497:   (exit $ac_status); }; } &&
                   2498:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2499:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2500:   (eval $ac_try) 2>&5
                   2501:   ac_status=$?
                   2502:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2503:   (exit $ac_status); }; }; then
1.66      paf      2504:   ac_cv_prog_cxx_g=yes
                   2505: else
                   2506:   echo "$as_me: failed program was:" >&5
                   2507: sed 's/^/| /' conftest.$ac_ext >&5
                   2508: 
                   2509: ac_cv_prog_cxx_g=no
                   2510: fi
1.86      paf      2511: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2512: fi
                   2513: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2514: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
                   2515: if test "$ac_test_CXXFLAGS" = set; then
                   2516:   CXXFLAGS=$ac_save_CXXFLAGS
                   2517: elif test $ac_cv_prog_cxx_g = yes; then
                   2518:   if test "$GXX" = yes; then
                   2519:     CXXFLAGS="-g -O2"
                   2520:   else
                   2521:     CXXFLAGS="-g"
                   2522:   fi
                   2523: else
                   2524:   if test "$GXX" = yes; then
                   2525:     CXXFLAGS="-O2"
                   2526:   else
                   2527:     CXXFLAGS=
                   2528:   fi
                   2529: fi
                   2530: for ac_declaration in \
1.86      paf      2531:    '' \
1.62      paf      2532:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2533:    'extern "C" void std::exit (int); using std::exit;' \
                   2534:    'extern "C" void exit (int) throw ();' \
                   2535:    'extern "C" void exit (int);' \
                   2536:    'void exit (int);'
1.1       paf      2537: do
1.62      paf      2538:   cat >conftest.$ac_ext <<_ACEOF
                   2539: /* confdefs.h.  */
                   2540: _ACEOF
                   2541: cat confdefs.h >>conftest.$ac_ext
                   2542: cat >>conftest.$ac_ext <<_ACEOF
                   2543: /* end confdefs.h.  */
1.86      paf      2544: $ac_declaration
1.62      paf      2545: #include <stdlib.h>
                   2546: int
                   2547: main ()
                   2548: {
                   2549: exit (42);
                   2550:   ;
                   2551:   return 0;
                   2552: }
                   2553: _ACEOF
                   2554: rm -f conftest.$ac_objext
                   2555: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2556:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2557:   ac_status=$?
1.86      paf      2558:   grep -v '^ *+' conftest.er1 >conftest.err
                   2559:   rm -f conftest.er1
                   2560:   cat conftest.err >&5
1.62      paf      2561:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2562:   (exit $ac_status); } &&
1.86      paf      2563:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2564:                         || test ! -s conftest.err'
                   2565:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2566:   (eval $ac_try) 2>&5
                   2567:   ac_status=$?
                   2568:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2569:   (exit $ac_status); }; } &&
                   2570:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2571:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2572:   (eval $ac_try) 2>&5
                   2573:   ac_status=$?
                   2574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2575:   (exit $ac_status); }; }; then
                   2576:   :
1.1       paf      2577: else
1.62      paf      2578:   echo "$as_me: failed program was:" >&5
                   2579: sed 's/^/| /' conftest.$ac_ext >&5
                   2580: 
                   2581: continue
                   2582: fi
1.86      paf      2583: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2584:   cat >conftest.$ac_ext <<_ACEOF
                   2585: /* confdefs.h.  */
                   2586: _ACEOF
                   2587: cat confdefs.h >>conftest.$ac_ext
                   2588: cat >>conftest.$ac_ext <<_ACEOF
                   2589: /* end confdefs.h.  */
                   2590: $ac_declaration
                   2591: int
                   2592: main ()
                   2593: {
                   2594: exit (42);
                   2595:   ;
                   2596:   return 0;
                   2597: }
                   2598: _ACEOF
                   2599: rm -f conftest.$ac_objext
                   2600: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2601:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2602:   ac_status=$?
1.86      paf      2603:   grep -v '^ *+' conftest.er1 >conftest.err
                   2604:   rm -f conftest.er1
                   2605:   cat conftest.err >&5
1.62      paf      2606:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2607:   (exit $ac_status); } &&
1.86      paf      2608:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2609:                         || test ! -s conftest.err'
                   2610:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2611:   (eval $ac_try) 2>&5
                   2612:   ac_status=$?
                   2613:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2614:   (exit $ac_status); }; } &&
                   2615:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2616:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2617:   (eval $ac_try) 2>&5
                   2618:   ac_status=$?
                   2619:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2620:   (exit $ac_status); }; }; then
                   2621:   break
1.1       paf      2622: else
1.62      paf      2623:   echo "$as_me: failed program was:" >&5
                   2624: sed 's/^/| /' conftest.$ac_ext >&5
                   2625: 
1.1       paf      2626: fi
1.86      paf      2627: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2628: done
                   2629: rm -f conftest*
                   2630: if test -n "$ac_declaration"; then
                   2631:   echo '#ifdef __cplusplus' >>confdefs.h
                   2632:   echo $ac_declaration      >>confdefs.h
                   2633:   echo '#endif'             >>confdefs.h
1.1       paf      2634: fi
1.62      paf      2635: 
                   2636: ac_ext=c
                   2637: ac_cpp='$CPP $CPPFLAGS'
                   2638: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2639: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2640: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      2641: DEPDIR="${am__leading_dot}deps"
1.62      paf      2642: 
                   2643:           ac_config_commands="$ac_config_commands depfiles"
                   2644: 
                   2645: 
                   2646: am_make=${MAKE-make}
                   2647: cat > confinc << 'END'
1.86      paf      2648: am__doit:
1.62      paf      2649:        @echo done
1.86      paf      2650: .PHONY: am__doit
1.62      paf      2651: END
                   2652: # If we don't find an include directive, just comment out the code.
                   2653: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2654: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2655: am__include="#"
                   2656: am__quote=
                   2657: _am_result=none
                   2658: # First try GNU make style include.
                   2659: echo "include confinc" > confmf
                   2660: # We grep out `Entering directory' and `Leaving directory'
                   2661: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2662: # In particular we don't look at `^make:' because GNU make might
                   2663: # be invoked under some other name (usually "gmake"), in which
                   2664: # case it prints its new name instead of `make'.
                   2665: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2666:    am__include=include
                   2667:    am__quote=
                   2668:    _am_result=GNU
                   2669: fi
                   2670: # Now try BSD make style include.
                   2671: if test "$am__include" = "#"; then
                   2672:    echo '.include "confinc"' > confmf
                   2673:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2674:       am__include=.include
                   2675:       am__quote="\""
                   2676:       _am_result=BSD
                   2677:    fi
                   2678: fi
                   2679: 
                   2680: 
                   2681: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2682: echo "${ECHO_T}$_am_result" >&6
                   2683: rm -f confinc confmf
                   2684: 
                   2685: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2686: if test "${enable_dependency_tracking+set}" = set; then
                   2687:   enableval="$enable_dependency_tracking"
                   2688: 
                   2689: fi;
                   2690: if test "x$enable_dependency_tracking" != xno; then
                   2691:   am_depcomp="$ac_aux_dir/depcomp"
                   2692:   AMDEPBACKSLASH='\'
1.1       paf      2693: fi
                   2694: 
1.62      paf      2695: 
                   2696: if test "x$enable_dependency_tracking" != xno; then
                   2697:   AMDEP_TRUE=
                   2698:   AMDEP_FALSE='#'
                   2699: else
                   2700:   AMDEP_TRUE='#'
                   2701:   AMDEP_FALSE=
                   2702: fi
1.1       paf      2703: 
                   2704: 
                   2705: 
                   2706: 
1.66      paf      2707: depcc="$CXX"  am_compiler_list=
1.1       paf      2708: 
1.62      paf      2709: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2710: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      2711: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.62      paf      2712:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2713: else
                   2714:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2715:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2716:   # making bogus files that we don't know about and never remove.  For
                   2717:   # instance it was reported that on HP-UX the gcc test will end up
                   2718:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2719:   # in D'.
                   2720:   mkdir conftest.dir
                   2721:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2722:   # using a relative directory.
                   2723:   cp "$am_depcomp" conftest.dir
                   2724:   cd conftest.dir
1.86      paf      2725:   # We will build objects and dependencies in a subdirectory because
                   2726:   # it helps to detect inapplicable dependency modes.  For instance
                   2727:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2728:   # side effect of compilation, but ICC will put the dependencies in
                   2729:   # the current directory while Tru64 will put them in the object
                   2730:   # directory.
                   2731:   mkdir sub
1.1       paf      2732: 
1.66      paf      2733:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      2734:   if test "$am_compiler_list" = ""; then
                   2735:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      2736:   fi
1.62      paf      2737:   for depmode in $am_compiler_list; do
1.86      paf      2738:     # Setup a source with many dependencies, because some compilers
                   2739:     # like to wrap large dependency lists on column 80 (with \), and
                   2740:     # we should not choose a depcomp mode which is confused by this.
                   2741:     #
1.62      paf      2742:     # We need to recreate these files for each test, as the compiler may
                   2743:     # overwrite some of them when testing with obscure command lines.
                   2744:     # This happens at least with the AIX C compiler.
1.86      paf      2745:     : > sub/conftest.c
                   2746:     for i in 1 2 3 4 5 6; do
                   2747:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2748:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2749:       # Solaris 8's {/usr,}/bin/sh.
                   2750:       touch sub/conftst$i.h
                   2751:     done
                   2752:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      2753: 
                   2754:     case $depmode in
                   2755:     nosideeffect)
                   2756:       # after this tag, mechanisms are not by side-effect, so they'll
                   2757:       # only be used when explicitly requested
                   2758:       if test "x$enable_dependency_tracking" = xyes; then
                   2759:        continue
                   2760:       else
                   2761:        break
                   2762:       fi
                   2763:       ;;
                   2764:     none) break ;;
                   2765:     esac
                   2766:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2767:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2768:     # handle `-M -o', and we need to detect this.
                   2769:     if depmode=$depmode \
1.86      paf      2770:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2771:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2772:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2773:          >/dev/null 2>conftest.err &&
                   2774:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2775:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      2776:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      2777:       # icc doesn't choke on unknown options, it will just issue warnings
                   2778:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2779:       # that says an option was ignored or not supported.
                   2780:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2781:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2782:       # The diagnosis changed in icc 8.0:
                   2783:       #   icc: Command line remark: option '-MP' not supported
                   2784:       if (grep 'ignoring option' conftest.err ||
                   2785:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2786:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2787:         break
                   2788:       fi
1.66      paf      2789:     fi
                   2790:   done
                   2791: 
                   2792:   cd ..
                   2793:   rm -rf conftest.dir
                   2794: else
                   2795:   am_cv_CXX_dependencies_compiler_type=none
                   2796: fi
                   2797: 
                   2798: fi
                   2799: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2800: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2801: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2802: 
                   2803: 
                   2804: 
                   2805: if
                   2806:   test "x$enable_dependency_tracking" != xno \
                   2807:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2808:   am__fastdepCXX_TRUE=
                   2809:   am__fastdepCXX_FALSE='#'
                   2810: else
                   2811:   am__fastdepCXX_TRUE='#'
                   2812:   am__fastdepCXX_FALSE=
                   2813: fi
                   2814: 
                   2815: 
                   2816: ac_ext=c
                   2817: ac_cpp='$CPP $CPPFLAGS'
                   2818: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2819: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2820: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2821: if test -n "$ac_tool_prefix"; then
                   2822:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2823: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2824: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2825: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2826: if test "${ac_cv_prog_CC+set}" = set; then
                   2827:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2828: else
                   2829:   if test -n "$CC"; then
                   2830:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2831: else
                   2832: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2833: for as_dir in $PATH
                   2834: do
                   2835:   IFS=$as_save_IFS
                   2836:   test -z "$as_dir" && as_dir=.
                   2837:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2838:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2839:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2840:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2841:     break 2
                   2842:   fi
                   2843: done
                   2844: done
                   2845: 
                   2846: fi
                   2847: fi
                   2848: CC=$ac_cv_prog_CC
                   2849: if test -n "$CC"; then
                   2850:   echo "$as_me:$LINENO: result: $CC" >&5
                   2851: echo "${ECHO_T}$CC" >&6
                   2852: else
                   2853:   echo "$as_me:$LINENO: result: no" >&5
                   2854: echo "${ECHO_T}no" >&6
                   2855: fi
                   2856: 
                   2857: fi
                   2858: if test -z "$ac_cv_prog_CC"; then
                   2859:   ac_ct_CC=$CC
                   2860:   # Extract the first word of "gcc", so it can be a program name with args.
                   2861: set dummy gcc; ac_word=$2
                   2862: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2863: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2864: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2865:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2866: else
                   2867:   if test -n "$ac_ct_CC"; then
                   2868:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2869: else
                   2870: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2871: for as_dir in $PATH
                   2872: do
                   2873:   IFS=$as_save_IFS
                   2874:   test -z "$as_dir" && as_dir=.
                   2875:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2876:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2877:     ac_cv_prog_ac_ct_CC="gcc"
                   2878:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2879:     break 2
                   2880:   fi
                   2881: done
                   2882: done
                   2883: 
                   2884: fi
                   2885: fi
                   2886: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2887: if test -n "$ac_ct_CC"; then
                   2888:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2889: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2890: else
1.66      paf      2891:   echo "$as_me:$LINENO: result: no" >&5
                   2892: echo "${ECHO_T}no" >&6
1.62      paf      2893: fi
                   2894: 
1.66      paf      2895:   CC=$ac_ct_CC
                   2896: else
                   2897:   CC="$ac_cv_prog_CC"
1.1       paf      2898: fi
1.62      paf      2899: 
1.66      paf      2900: if test -z "$CC"; then
                   2901:   if test -n "$ac_tool_prefix"; then
                   2902:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2903: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2904: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2905: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2906: if test "${ac_cv_prog_CC+set}" = set; then
                   2907:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2908: else
                   2909:   if test -n "$CC"; then
                   2910:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2911: else
                   2912: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2913: for as_dir in $PATH
                   2914: do
                   2915:   IFS=$as_save_IFS
                   2916:   test -z "$as_dir" && as_dir=.
                   2917:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2918:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2919:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2920:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2921:     break 2
                   2922:   fi
                   2923: done
                   2924: done
1.62      paf      2925: 
1.66      paf      2926: fi
                   2927: fi
                   2928: CC=$ac_cv_prog_CC
                   2929: if test -n "$CC"; then
                   2930:   echo "$as_me:$LINENO: result: $CC" >&5
                   2931: echo "${ECHO_T}$CC" >&6
1.62      paf      2932: else
1.66      paf      2933:   echo "$as_me:$LINENO: result: no" >&5
                   2934: echo "${ECHO_T}no" >&6
1.1       paf      2935: fi
                   2936: 
1.66      paf      2937: fi
                   2938: if test -z "$ac_cv_prog_CC"; then
                   2939:   ac_ct_CC=$CC
                   2940:   # Extract the first word of "cc", so it can be a program name with args.
                   2941: set dummy cc; ac_word=$2
                   2942: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2943: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2944: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2945:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2946: else
                   2947:   if test -n "$ac_ct_CC"; then
                   2948:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2949: else
                   2950: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2951: for as_dir in $PATH
                   2952: do
                   2953:   IFS=$as_save_IFS
                   2954:   test -z "$as_dir" && as_dir=.
                   2955:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2956:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2957:     ac_cv_prog_ac_ct_CC="cc"
                   2958:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2959:     break 2
                   2960:   fi
                   2961: done
                   2962: done
1.62      paf      2963: 
1.66      paf      2964: fi
                   2965: fi
                   2966: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2967: if test -n "$ac_ct_CC"; then
                   2968:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2969: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2970: else
1.66      paf      2971:   echo "$as_me:$LINENO: result: no" >&5
                   2972: echo "${ECHO_T}no" >&6
                   2973: fi
1.62      paf      2974: 
1.66      paf      2975:   CC=$ac_ct_CC
1.1       paf      2976: else
1.66      paf      2977:   CC="$ac_cv_prog_CC"
                   2978: fi
1.62      paf      2979: 
1.1       paf      2980: fi
1.66      paf      2981: if test -z "$CC"; then
                   2982:   # Extract the first word of "cc", so it can be a program name with args.
                   2983: set dummy cc; ac_word=$2
                   2984: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2985: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2986: if test "${ac_cv_prog_CC+set}" = set; then
                   2987:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2988: else
                   2989:   if test -n "$CC"; then
                   2990:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2991: else
                   2992:   ac_prog_rejected=no
                   2993: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2994: for as_dir in $PATH
                   2995: do
                   2996:   IFS=$as_save_IFS
                   2997:   test -z "$as_dir" && as_dir=.
                   2998:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2999:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3000:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3001:        ac_prog_rejected=yes
                   3002:        continue
                   3003:      fi
                   3004:     ac_cv_prog_CC="cc"
                   3005:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3006:     break 2
                   3007:   fi
                   3008: done
1.62      paf      3009: done
                   3010: 
1.66      paf      3011: if test $ac_prog_rejected = yes; then
                   3012:   # We found a bogon in the path, so make sure we never use it.
                   3013:   set dummy $ac_cv_prog_CC
                   3014:   shift
                   3015:   if test $# != 0; then
                   3016:     # We chose a different compiler from the bogus one.
                   3017:     # However, it has the same basename, so the bogon will be chosen
                   3018:     # first if we set CC to just the basename; use the full file name.
                   3019:     shift
                   3020:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3021:   fi
                   3022: fi
                   3023: fi
                   3024: fi
                   3025: CC=$ac_cv_prog_CC
                   3026: if test -n "$CC"; then
                   3027:   echo "$as_me:$LINENO: result: $CC" >&5
                   3028: echo "${ECHO_T}$CC" >&6
                   3029: else
                   3030:   echo "$as_me:$LINENO: result: no" >&5
                   3031: echo "${ECHO_T}no" >&6
1.1       paf      3032: fi
                   3033: 
1.66      paf      3034: fi
                   3035: if test -z "$CC"; then
                   3036:   if test -n "$ac_tool_prefix"; then
                   3037:   for ac_prog in cl
1.62      paf      3038:   do
                   3039:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3040: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3041: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3042: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3043: if test "${ac_cv_prog_CC+set}" = set; then
1.62      paf      3044:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3045: else
1.66      paf      3046:   if test -n "$CC"; then
                   3047:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      3048: else
                   3049: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3050: for as_dir in $PATH
                   3051: do
                   3052:   IFS=$as_save_IFS
                   3053:   test -z "$as_dir" && as_dir=.
                   3054:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3055:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3056:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.62      paf      3057:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3058:     break 2
                   3059:   fi
                   3060: done
                   3061: done
1.1       paf      3062: 
1.62      paf      3063: fi
                   3064: fi
1.66      paf      3065: CC=$ac_cv_prog_CC
                   3066: if test -n "$CC"; then
                   3067:   echo "$as_me:$LINENO: result: $CC" >&5
                   3068: echo "${ECHO_T}$CC" >&6
1.1       paf      3069: else
1.62      paf      3070:   echo "$as_me:$LINENO: result: no" >&5
                   3071: echo "${ECHO_T}no" >&6
1.1       paf      3072: fi
                   3073: 
1.66      paf      3074:     test -n "$CC" && break
1.62      paf      3075:   done
                   3076: fi
1.66      paf      3077: if test -z "$CC"; then
                   3078:   ac_ct_CC=$CC
                   3079:   for ac_prog in cl
1.62      paf      3080: do
                   3081:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3082: set dummy $ac_prog; ac_word=$2
                   3083: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3084: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3085: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.62      paf      3086:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3087: else
1.66      paf      3088:   if test -n "$ac_ct_CC"; then
                   3089:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      3090: else
1.62      paf      3091: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3092: for as_dir in $PATH
                   3093: do
                   3094:   IFS=$as_save_IFS
                   3095:   test -z "$as_dir" && as_dir=.
                   3096:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3097:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3098:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.62      paf      3099:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3100:     break 2
                   3101:   fi
                   3102: done
                   3103: done
                   3104: 
                   3105: fi
                   3106: fi
1.66      paf      3107: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3108: if test -n "$ac_ct_CC"; then
                   3109:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3110: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      3111: else
1.62      paf      3112:   echo "$as_me:$LINENO: result: no" >&5
                   3113: echo "${ECHO_T}no" >&6
1.1       paf      3114: fi
                   3115: 
1.66      paf      3116:   test -n "$ac_ct_CC" && break
                   3117: done
                   3118: 
                   3119:   CC=$ac_ct_CC
                   3120: fi
                   3121: 
                   3122: fi
1.62      paf      3123: 
1.1       paf      3124: 
1.66      paf      3125: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   3126: See \`config.log' for more details." >&5
                   3127: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   3128: See \`config.log' for more details." >&2;}
                   3129:    { (exit 1); exit 1; }; }
1.62      paf      3130: 
                   3131: # Provide some information about the compiler.
                   3132: echo "$as_me:$LINENO:" \
1.66      paf      3133:      "checking for C compiler version" >&5
1.62      paf      3134: ac_compiler=`set X $ac_compile; echo $2`
                   3135: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   3136:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   3137:   ac_status=$?
                   3138:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3139:   (exit $ac_status); }
                   3140: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3141:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3142:   ac_status=$?
                   3143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3144:   (exit $ac_status); }
                   3145: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3146:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3147:   ac_status=$?
                   3148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3149:   (exit $ac_status); }
                   3150: 
1.66      paf      3151: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3152: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3153: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.62      paf      3154:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3155: else
                   3156:   cat >conftest.$ac_ext <<_ACEOF
                   3157: /* confdefs.h.  */
                   3158: _ACEOF
                   3159: cat confdefs.h >>conftest.$ac_ext
                   3160: cat >>conftest.$ac_ext <<_ACEOF
                   3161: /* end confdefs.h.  */
                   3162: 
                   3163: int
                   3164: main ()
                   3165: {
                   3166: #ifndef __GNUC__
                   3167:        choke me
                   3168: #endif
                   3169: 
                   3170:   ;
                   3171:   return 0;
                   3172: }
                   3173: _ACEOF
                   3174: rm -f conftest.$ac_objext
                   3175: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3176:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3177:   ac_status=$?
1.86      paf      3178:   grep -v '^ *+' conftest.er1 >conftest.err
                   3179:   rm -f conftest.er1
                   3180:   cat conftest.err >&5
1.62      paf      3181:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3182:   (exit $ac_status); } &&
1.86      paf      3183:         { ac_try='test -z "$ac_c_werror_flag"
                   3184:                         || test ! -s conftest.err'
                   3185:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3186:   (eval $ac_try) 2>&5
                   3187:   ac_status=$?
                   3188:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3189:   (exit $ac_status); }; } &&
                   3190:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3191:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3192:   (eval $ac_try) 2>&5
                   3193:   ac_status=$?
                   3194:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3195:   (exit $ac_status); }; }; then
                   3196:   ac_compiler_gnu=yes
                   3197: else
                   3198:   echo "$as_me: failed program was:" >&5
                   3199: sed 's/^/| /' conftest.$ac_ext >&5
                   3200: 
                   3201: ac_compiler_gnu=no
                   3202: fi
1.86      paf      3203: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3204: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      3205: 
                   3206: fi
1.66      paf      3207: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3208: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3209: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3210: ac_test_CFLAGS=${CFLAGS+set}
                   3211: ac_save_CFLAGS=$CFLAGS
                   3212: CFLAGS="-g"
                   3213: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3214: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3215: if test "${ac_cv_prog_cc_g+set}" = set; then
1.62      paf      3216:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3217: else
                   3218:   cat >conftest.$ac_ext <<_ACEOF
                   3219: /* confdefs.h.  */
                   3220: _ACEOF
                   3221: cat confdefs.h >>conftest.$ac_ext
                   3222: cat >>conftest.$ac_ext <<_ACEOF
                   3223: /* end confdefs.h.  */
                   3224: 
                   3225: int
                   3226: main ()
                   3227: {
                   3228: 
                   3229:   ;
                   3230:   return 0;
                   3231: }
                   3232: _ACEOF
                   3233: rm -f conftest.$ac_objext
                   3234: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3235:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3236:   ac_status=$?
1.86      paf      3237:   grep -v '^ *+' conftest.er1 >conftest.err
                   3238:   rm -f conftest.er1
                   3239:   cat conftest.err >&5
1.62      paf      3240:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3241:   (exit $ac_status); } &&
1.86      paf      3242:         { ac_try='test -z "$ac_c_werror_flag"
                   3243:                         || test ! -s conftest.err'
                   3244:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3245:   (eval $ac_try) 2>&5
                   3246:   ac_status=$?
                   3247:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3248:   (exit $ac_status); }; } &&
                   3249:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3250:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3251:   (eval $ac_try) 2>&5
                   3252:   ac_status=$?
                   3253:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3254:   (exit $ac_status); }; }; then
1.66      paf      3255:   ac_cv_prog_cc_g=yes
1.62      paf      3256: else
                   3257:   echo "$as_me: failed program was:" >&5
                   3258: sed 's/^/| /' conftest.$ac_ext >&5
                   3259: 
1.66      paf      3260: ac_cv_prog_cc_g=no
1.62      paf      3261: fi
1.86      paf      3262: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3263: fi
1.66      paf      3264: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3265: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
                   3266: if test "$ac_test_CFLAGS" = set; then
                   3267:   CFLAGS=$ac_save_CFLAGS
                   3268: elif test $ac_cv_prog_cc_g = yes; then
                   3269:   if test "$GCC" = yes; then
                   3270:     CFLAGS="-g -O2"
1.1       paf      3271:   else
1.66      paf      3272:     CFLAGS="-g"
1.1       paf      3273:   fi
                   3274: else
1.66      paf      3275:   if test "$GCC" = yes; then
                   3276:     CFLAGS="-O2"
1.1       paf      3277:   else
1.66      paf      3278:     CFLAGS=
1.1       paf      3279:   fi
                   3280: fi
1.66      paf      3281: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3282: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3283: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3284:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3285: else
                   3286:   ac_cv_prog_cc_stdc=no
                   3287: ac_save_CC=$CC
                   3288: cat >conftest.$ac_ext <<_ACEOF
                   3289: /* confdefs.h.  */
                   3290: _ACEOF
                   3291: cat confdefs.h >>conftest.$ac_ext
                   3292: cat >>conftest.$ac_ext <<_ACEOF
                   3293: /* end confdefs.h.  */
                   3294: #include <stdarg.h>
                   3295: #include <stdio.h>
                   3296: #include <sys/types.h>
                   3297: #include <sys/stat.h>
                   3298: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3299: struct buf { int x; };
                   3300: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3301: static char *e (p, i)
                   3302:      char **p;
                   3303:      int i;
                   3304: {
                   3305:   return p[i];
                   3306: }
                   3307: static char *f (char * (*g) (char **, int), char **p, ...)
                   3308: {
                   3309:   char *s;
                   3310:   va_list v;
                   3311:   va_start (v,p);
                   3312:   s = g (p, va_arg (v,int));
                   3313:   va_end (v);
                   3314:   return s;
                   3315: }
1.86      paf      3316: 
                   3317: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3318:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3319:    These don't provoke an error unfortunately, instead are silently treated
                   3320:    as 'x'.  The following induces an error, until -std1 is added to get
                   3321:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3322:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3323:    that's true only with -std1.  */
                   3324: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3325: 
1.66      paf      3326: int test (int i, double x);
                   3327: struct s1 {int (*f) (int a);};
                   3328: struct s2 {int (*f) (double a);};
                   3329: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3330: int argc;
                   3331: char **argv;
                   3332: int
                   3333: main ()
                   3334: {
                   3335: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3336:   ;
                   3337:   return 0;
                   3338: }
                   3339: _ACEOF
                   3340: # Don't try gcc -ansi; that turns off useful extensions and
                   3341: # breaks some systems' header files.
                   3342: # AIX                  -qlanglvl=ansi
                   3343: # Ultrix and OSF/1     -std1
                   3344: # HP-UX 10.20 and later        -Ae
                   3345: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3346: # SVR4                 -Xc -D__EXTENSIONS__
                   3347: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3348: do
                   3349:   CC="$ac_save_CC $ac_arg"
                   3350:   rm -f conftest.$ac_objext
                   3351: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3352:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3353:   ac_status=$?
1.86      paf      3354:   grep -v '^ *+' conftest.er1 >conftest.err
                   3355:   rm -f conftest.er1
                   3356:   cat conftest.err >&5
1.66      paf      3357:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3358:   (exit $ac_status); } &&
1.86      paf      3359:         { ac_try='test -z "$ac_c_werror_flag"
                   3360:                         || test ! -s conftest.err'
                   3361:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3362:   (eval $ac_try) 2>&5
                   3363:   ac_status=$?
                   3364:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3365:   (exit $ac_status); }; } &&
                   3366:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3367:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3368:   (eval $ac_try) 2>&5
                   3369:   ac_status=$?
                   3370:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3371:   (exit $ac_status); }; }; then
                   3372:   ac_cv_prog_cc_stdc=$ac_arg
                   3373: break
                   3374: else
                   3375:   echo "$as_me: failed program was:" >&5
                   3376: sed 's/^/| /' conftest.$ac_ext >&5
                   3377: 
                   3378: fi
1.86      paf      3379: rm -f conftest.err conftest.$ac_objext
1.66      paf      3380: done
                   3381: rm -f conftest.$ac_ext conftest.$ac_objext
                   3382: CC=$ac_save_CC
                   3383: 
                   3384: fi
                   3385: 
                   3386: case "x$ac_cv_prog_cc_stdc" in
                   3387:   x|xno)
                   3388:     echo "$as_me:$LINENO: result: none needed" >&5
                   3389: echo "${ECHO_T}none needed" >&6 ;;
                   3390:   *)
                   3391:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3392: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3393:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3394: esac
                   3395: 
                   3396: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3397: # in C++ we need to declare it.  In case someone uses the same compiler
                   3398: # for both compiling C and C++ we need to have the C++ compiler decide
                   3399: # the declaration of exit, since it's the most demanding environment.
                   3400: cat >conftest.$ac_ext <<_ACEOF
                   3401: #ifndef __cplusplus
                   3402:   choke me
                   3403: #endif
                   3404: _ACEOF
                   3405: rm -f conftest.$ac_objext
                   3406: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3407:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3408:   ac_status=$?
1.86      paf      3409:   grep -v '^ *+' conftest.er1 >conftest.err
                   3410:   rm -f conftest.er1
                   3411:   cat conftest.err >&5
1.66      paf      3412:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3413:   (exit $ac_status); } &&
1.86      paf      3414:         { ac_try='test -z "$ac_c_werror_flag"
                   3415:                         || test ! -s conftest.err'
                   3416:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3417:   (eval $ac_try) 2>&5
                   3418:   ac_status=$?
                   3419:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3420:   (exit $ac_status); }; } &&
                   3421:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3422:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3423:   (eval $ac_try) 2>&5
                   3424:   ac_status=$?
                   3425:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3426:   (exit $ac_status); }; }; then
                   3427:   for ac_declaration in \
1.86      paf      3428:    '' \
1.62      paf      3429:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3430:    'extern "C" void std::exit (int); using std::exit;' \
                   3431:    'extern "C" void exit (int) throw ();' \
                   3432:    'extern "C" void exit (int);' \
                   3433:    'void exit (int);'
                   3434: do
                   3435:   cat >conftest.$ac_ext <<_ACEOF
                   3436: /* confdefs.h.  */
                   3437: _ACEOF
                   3438: cat confdefs.h >>conftest.$ac_ext
                   3439: cat >>conftest.$ac_ext <<_ACEOF
                   3440: /* end confdefs.h.  */
1.86      paf      3441: $ac_declaration
1.62      paf      3442: #include <stdlib.h>
                   3443: int
                   3444: main ()
                   3445: {
                   3446: exit (42);
                   3447:   ;
                   3448:   return 0;
                   3449: }
                   3450: _ACEOF
                   3451: rm -f conftest.$ac_objext
                   3452: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3453:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3454:   ac_status=$?
1.86      paf      3455:   grep -v '^ *+' conftest.er1 >conftest.err
                   3456:   rm -f conftest.er1
                   3457:   cat conftest.err >&5
1.62      paf      3458:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3459:   (exit $ac_status); } &&
1.86      paf      3460:         { ac_try='test -z "$ac_c_werror_flag"
                   3461:                         || test ! -s conftest.err'
                   3462:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3463:   (eval $ac_try) 2>&5
                   3464:   ac_status=$?
                   3465:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3466:   (exit $ac_status); }; } &&
                   3467:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3468:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3469:   (eval $ac_try) 2>&5
                   3470:   ac_status=$?
                   3471:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3472:   (exit $ac_status); }; }; then
                   3473:   :
                   3474: else
                   3475:   echo "$as_me: failed program was:" >&5
                   3476: sed 's/^/| /' conftest.$ac_ext >&5
                   3477: 
                   3478: continue
                   3479: fi
1.86      paf      3480: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3481:   cat >conftest.$ac_ext <<_ACEOF
                   3482: /* confdefs.h.  */
                   3483: _ACEOF
                   3484: cat confdefs.h >>conftest.$ac_ext
                   3485: cat >>conftest.$ac_ext <<_ACEOF
                   3486: /* end confdefs.h.  */
                   3487: $ac_declaration
                   3488: int
                   3489: main ()
                   3490: {
                   3491: exit (42);
                   3492:   ;
                   3493:   return 0;
                   3494: }
                   3495: _ACEOF
                   3496: rm -f conftest.$ac_objext
                   3497: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3498:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3499:   ac_status=$?
1.86      paf      3500:   grep -v '^ *+' conftest.er1 >conftest.err
                   3501:   rm -f conftest.er1
                   3502:   cat conftest.err >&5
1.62      paf      3503:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3504:   (exit $ac_status); } &&
1.86      paf      3505:         { ac_try='test -z "$ac_c_werror_flag"
                   3506:                         || test ! -s conftest.err'
                   3507:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3508:   (eval $ac_try) 2>&5
                   3509:   ac_status=$?
                   3510:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3511:   (exit $ac_status); }; } &&
                   3512:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3513:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3514:   (eval $ac_try) 2>&5
                   3515:   ac_status=$?
                   3516:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3517:   (exit $ac_status); }; }; then
                   3518:   break
                   3519: else
                   3520:   echo "$as_me: failed program was:" >&5
                   3521: sed 's/^/| /' conftest.$ac_ext >&5
                   3522: 
                   3523: fi
1.86      paf      3524: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3525: done
                   3526: rm -f conftest*
                   3527: if test -n "$ac_declaration"; then
                   3528:   echo '#ifdef __cplusplus' >>confdefs.h
                   3529:   echo $ac_declaration      >>confdefs.h
                   3530:   echo '#endif'             >>confdefs.h
                   3531: fi
                   3532: 
1.66      paf      3533: else
                   3534:   echo "$as_me: failed program was:" >&5
                   3535: sed 's/^/| /' conftest.$ac_ext >&5
                   3536: 
                   3537: fi
1.86      paf      3538: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3539: ac_ext=c
                   3540: ac_cpp='$CPP $CPPFLAGS'
                   3541: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3542: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3543: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3544: 
1.66      paf      3545: depcc="$CC"   am_compiler_list=
1.62      paf      3546: 
                   3547: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3548: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      3549: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.62      paf      3550:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3551: else
                   3552:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3553:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3554:   # making bogus files that we don't know about and never remove.  For
                   3555:   # instance it was reported that on HP-UX the gcc test will end up
                   3556:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3557:   # in D'.
                   3558:   mkdir conftest.dir
                   3559:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3560:   # using a relative directory.
                   3561:   cp "$am_depcomp" conftest.dir
                   3562:   cd conftest.dir
1.86      paf      3563:   # We will build objects and dependencies in a subdirectory because
                   3564:   # it helps to detect inapplicable dependency modes.  For instance
                   3565:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3566:   # side effect of compilation, but ICC will put the dependencies in
                   3567:   # the current directory while Tru64 will put them in the object
                   3568:   # directory.
                   3569:   mkdir sub
1.62      paf      3570: 
1.66      paf      3571:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      3572:   if test "$am_compiler_list" = ""; then
                   3573:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3574:   fi
                   3575:   for depmode in $am_compiler_list; do
1.86      paf      3576:     # Setup a source with many dependencies, because some compilers
                   3577:     # like to wrap large dependency lists on column 80 (with \), and
                   3578:     # we should not choose a depcomp mode which is confused by this.
                   3579:     #
1.62      paf      3580:     # We need to recreate these files for each test, as the compiler may
                   3581:     # overwrite some of them when testing with obscure command lines.
                   3582:     # This happens at least with the AIX C compiler.
1.86      paf      3583:     : > sub/conftest.c
                   3584:     for i in 1 2 3 4 5 6; do
                   3585:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3586:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3587:       # Solaris 8's {/usr,}/bin/sh.
                   3588:       touch sub/conftst$i.h
                   3589:     done
                   3590:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3591: 
                   3592:     case $depmode in
                   3593:     nosideeffect)
                   3594:       # after this tag, mechanisms are not by side-effect, so they'll
                   3595:       # only be used when explicitly requested
                   3596:       if test "x$enable_dependency_tracking" = xyes; then
                   3597:        continue
                   3598:       else
                   3599:        break
                   3600:       fi
                   3601:       ;;
                   3602:     none) break ;;
                   3603:     esac
                   3604:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3605:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3606:     # handle `-M -o', and we need to detect this.
1.66      paf      3607:     if depmode=$depmode \
1.86      paf      3608:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3609:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3610:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3611:          >/dev/null 2>conftest.err &&
                   3612:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3613:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      3614:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3615:       # icc doesn't choke on unknown options, it will just issue warnings
                   3616:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3617:       # that says an option was ignored or not supported.
                   3618:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3619:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3620:       # The diagnosis changed in icc 8.0:
                   3621:       #   icc: Command line remark: option '-MP' not supported
                   3622:       if (grep 'ignoring option' conftest.err ||
                   3623:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3624:         am_cv_CC_dependencies_compiler_type=$depmode
                   3625:         break
                   3626:       fi
1.66      paf      3627:     fi
                   3628:   done
                   3629: 
                   3630:   cd ..
                   3631:   rm -rf conftest.dir
                   3632: else
                   3633:   am_cv_CC_dependencies_compiler_type=none
                   3634: fi
                   3635: 
                   3636: fi
                   3637: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3638: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3639: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3640: 
                   3641: 
                   3642: 
                   3643: if
                   3644:   test "x$enable_dependency_tracking" != xno \
                   3645:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3646:   am__fastdepCC_TRUE=
                   3647:   am__fastdepCC_FALSE='#'
                   3648: else
                   3649:   am__fastdepCC_TRUE='#'
                   3650:   am__fastdepCC_FALSE=
                   3651: fi
                   3652: 
                   3653: 
1.128     moko     3654: 
1.66      paf      3655: ac_ext=c
                   3656: ac_cpp='$CPP $CPPFLAGS'
                   3657: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3658: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3659: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3660: 
1.67      paf      3661: 
1.62      paf      3662: 
1.128     moko     3663: echo "$as_me:$LINENO: checking for dynamic-link library extension" >&5
                   3664: echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6
                   3665: case "$host_os" in
                   3666: cygwin)
                   3667:        dll_extension=dll
                   3668:        ;;
                   3669: *)
                   3670:        dll_extension=so
1.66      paf      3671: esac
1.128     moko     3672: echo "$as_me:$LINENO: result: $dll_extension" >&5
                   3673: echo "${ECHO_T}$dll_extension" >&6
1.1       paf      3674: 
1.71      paf      3675: 
                   3676: 
                   3677: 
                   3678: # Check whether --with-build-warnings or --without-build-warnings was given.
                   3679: if test "${with_build_warnings+set}" = set; then
                   3680:   withval="$with_build_warnings"
                   3681:   { echo "$as_me:$LINENO: WARNING: enabling compiler warnings" >&5
                   3682: echo "$as_me: WARNING: enabling compiler warnings" >&2;}
                   3683:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   3684: 
                   3685: fi;
1.1       paf      3686: 
                   3687: 
1.67      paf      3688: # Check whether --with-assertions or --without-assertions was given.
                   3689: if test "${with_assertions+set}" = set; then
                   3690:   withval="$with_assertions"
                   3691:   { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5
                   3692: echo "$as_me: WARNING: enabling assertions" >&2;}
                   3693: 
                   3694: else
                   3695: 
                   3696: cat >>confdefs.h <<\_ACEOF
                   3697: #define NDEBUG
                   3698: _ACEOF
                   3699: 
                   3700: 
                   3701: fi;
                   3702: 
1.94      misha    3703: 
1.128     moko     3704: # Check whether --with-pathlink or --without-pathlink was given.
                   3705: if test "${with_pathlink+set}" = set; then
                   3706:   withval="$with_pathlink"
                   3707:   LD_PATHLINK=$withval
                   3708: 
                   3709: fi;
                   3710: 
                   3711: 
                   3712: # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given.
                   3713: if test "${with_sjlj_exceptions+set}" = set; then
                   3714:   withval="$with_sjlj_exceptions"
                   3715: 
                   3716: cat >>confdefs.h <<\_ACEOF
                   3717: #define PA_WITH_SJLJ_EXCEPTIONS
                   3718: _ACEOF
                   3719: 
                   3720: 
                   3721: fi;
                   3722: 
                   3723: 
1.60      paf      3724: # Check whether --enable-safe-mode or --disable-safe-mode was given.
                   3725: if test "${enable_safe_mode+set}" = set; then
                   3726:   enableval="$enable_safe_mode"
1.62      paf      3727: 
1.67      paf      3728:        SAFE_MODE=$enableval
1.60      paf      3729: 
1.1       paf      3730: 
1.62      paf      3731: fi;
1.128     moko     3732: 
1.60      paf      3733: if test "$SAFE_MODE" = "no"; then
1.62      paf      3734:        { echo "$as_me:$LINENO: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   3735: echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      3736: else
1.62      paf      3737: 
                   3738: cat >>confdefs.h <<\_ACEOF
                   3739: #define PA_SAFE_MODE
                   3740: _ACEOF
1.1       paf      3741: 
                   3742: fi
                   3743: 
1.94      misha    3744: 
1.13      paf      3745: # Check whether --enable-execs or --disable-execs was given.
                   3746: if test "${enable_execs+set}" = set; then
                   3747:   enableval="$enable_execs"
1.62      paf      3748: 
1.13      paf      3749: if test "$enableval" = "no"; then
1.62      paf      3750:        { echo "$as_me:$LINENO: WARNING: disabling file execs" >&5
                   3751: echo "$as_me: WARNING: disabling file execs" >&2;}
                   3752: 
                   3753: cat >>confdefs.h <<\_ACEOF
                   3754: #define NO_PA_EXECS
                   3755: _ACEOF
1.13      paf      3756: 
                   3757: fi
                   3758: 
                   3759: 
1.62      paf      3760: fi;
1.13      paf      3761: 
1.60      paf      3762: 
1.94      misha    3763: # Check whether --enable-stringstream or --disable-stringstream was given.
                   3764: if test "${enable_stringstream+set}" = set; then
                   3765:   enableval="$enable_stringstream"
                   3766: 
                   3767: if test "$enableval" = "no"; then
                   3768:        { echo "$as_me:$LINENO: WARNING: disabling stringstream usage" >&5
                   3769: echo "$as_me: WARNING: disabling stringstream usage" >&2;}
                   3770: 
                   3771: cat >>confdefs.h <<\_ACEOF
                   3772: #define NO_STRINGSTREAM
                   3773: _ACEOF
                   3774: 
                   3775: fi
                   3776: 
                   3777: 
                   3778: fi;
                   3779: 
                   3780: 
1.62      paf      3781: 
1.142     moko     3782: # Check whether --with-gc or --without-gc was given.
                   3783: if test "${with_gc+set}" = set; then
                   3784:   withval="$with_gc"
1.17      paf      3785: 
                   3786: 
1.142     moko     3787:        GC=$withval
                   3788:        GC_LIBS="$GC/libgc.la"
                   3789: 
                   3790:        if test -f $GC_LIBS; then
                   3791:                GC_OK="yes"
                   3792:        else
                   3793:                GC_LIBS="-L$GC -lgc"
                   3794:        fi
1.62      paf      3795: 
1.142     moko     3796: else
1.17      paf      3797: 
1.142     moko     3798:        GC_LIBS="-lgc"
                   3799:        { echo "$as_me:$LINENO: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   3800: echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
1.17      paf      3801: 
1.128     moko     3802: fi;
1.17      paf      3803: 
1.142     moko     3804: if test -z "$GC_OK"; then
1.138     moko     3805:        echo "$as_me:$LINENO: checking for libgc" >&5
1.128     moko     3806: echo $ECHO_N "checking for libgc... $ECHO_C" >&6
1.138     moko     3807:        SAVE_LIBS=$LIBS
                   3808:        LIBS="$LIBS $GC_LIBS"
1.128     moko     3809: 
1.67      paf      3810: cat >conftest.$ac_ext <<_ACEOF
                   3811: /* confdefs.h.  */
                   3812: _ACEOF
                   3813: cat confdefs.h >>conftest.$ac_ext
                   3814: cat >>conftest.$ac_ext <<_ACEOF
                   3815: /* end confdefs.h.  */
1.142     moko     3816:  extern int GC_dont_gc;
1.67      paf      3817: int
                   3818: main ()
                   3819: {
1.142     moko     3820:  GC_dont_gc=0;
1.67      paf      3821:   ;
                   3822:   return 0;
                   3823: }
                   3824: _ACEOF
                   3825: rm -f conftest.$ac_objext conftest$ac_exeext
                   3826: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      3827:   (eval $ac_link) 2>conftest.er1
1.67      paf      3828:   ac_status=$?
1.86      paf      3829:   grep -v '^ *+' conftest.er1 >conftest.err
                   3830:   rm -f conftest.er1
                   3831:   cat conftest.err >&5
1.67      paf      3832:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3833:   (exit $ac_status); } &&
1.86      paf      3834:         { ac_try='test -z "$ac_c_werror_flag"
                   3835:                         || test ! -s conftest.err'
                   3836:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3837:   (eval $ac_try) 2>&5
                   3838:   ac_status=$?
                   3839:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3840:   (exit $ac_status); }; } &&
                   3841:         { ac_try='test -s conftest$ac_exeext'
1.67      paf      3842:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3843:   (eval $ac_try) 2>&5
                   3844:   ac_status=$?
                   3845:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3846:   (exit $ac_status); }; }; then
                   3847:   echo "$as_me:$LINENO: result: yes" >&5
                   3848: echo "${ECHO_T}yes" >&6
                   3849: 
                   3850: else
                   3851:   echo "$as_me: failed program was:" >&5
                   3852: sed 's/^/| /' conftest.$ac_ext >&5
                   3853: 
                   3854: echo "$as_me:$LINENO: result: no" >&5
                   3855: echo "${ECHO_T}no" >&6
1.142     moko     3856:                if test -z "$GC"; then
                   3857:                        { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-gc" >&5
                   3858: echo "$as_me: error: please specify path to libgc: --with-gc" >&2;}
1.67      paf      3859:    { (exit 1); exit 1; }; }
1.142     moko     3860:                else
                   3861:                        { { echo "$as_me:$LINENO: error: $GC does not seem to be valid libgc installation directory" >&5
                   3862: echo "$as_me: error: $GC does not seem to be valid libgc installation directory" >&2;}
                   3863:    { (exit 1); exit 1; }; }
                   3864:                fi
1.67      paf      3865: 
                   3866: fi
1.86      paf      3867: rm -f conftest.err conftest.$ac_objext \
                   3868:       conftest$ac_exeext conftest.$ac_ext
1.138     moko     3869:        LIBS=$SAVE_LIBS
                   3870: fi
1.67      paf      3871: 
                   3872: 
1.1       paf      3873: 
1.15      paf      3874: 
1.142     moko     3875: 
                   3876: # Check whether --with-pcre or --without-pcre was given.
                   3877: if test "${with_pcre+set}" = set; then
                   3878:   withval="$with_pcre"
1.100     misha    3879: 
                   3880:        PCRE=$withval
1.142     moko     3881:        PCRE_INCLUDES="-I$PCRE/include"
                   3882:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    3883: 
1.142     moko     3884:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   3885:                PCRE_OK="yes"
                   3886:        else
                   3887:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    3888:        fi
                   3889: 
1.142     moko     3890: 
                   3891: else
                   3892: 
                   3893:        PCRE_LIBS="-lpcre"
                   3894:        { echo "$as_me:$LINENO: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   3895: echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
1.100     misha    3896: 
                   3897: fi;
                   3898: 
1.142     moko     3899: if test -z "$PCRE_OK"; then
                   3900:        echo "$as_me:$LINENO: checking for prce" >&5
                   3901: echo $ECHO_N "checking for prce... $ECHO_C" >&6
                   3902:        SAVE_LIBS=$LIBS
                   3903:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
                   3904:        cat >conftest.$ac_ext <<_ACEOF
                   3905: /* confdefs.h.  */
                   3906: _ACEOF
                   3907: cat confdefs.h >>conftest.$ac_ext
                   3908: cat >>conftest.$ac_ext <<_ACEOF
                   3909: /* end confdefs.h.  */
                   3910:  #include <pcre.h>
                   3911: int
                   3912: main ()
                   3913: {
                   3914:  const char *v=pcre_version();
                   3915:   ;
                   3916:   return 0;
                   3917: }
                   3918: _ACEOF
                   3919: rm -f conftest.$ac_objext conftest$ac_exeext
                   3920: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3921:   (eval $ac_link) 2>conftest.er1
                   3922:   ac_status=$?
                   3923:   grep -v '^ *+' conftest.er1 >conftest.err
                   3924:   rm -f conftest.er1
                   3925:   cat conftest.err >&5
                   3926:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3927:   (exit $ac_status); } &&
                   3928:         { ac_try='test -z "$ac_c_werror_flag"
                   3929:                         || test ! -s conftest.err'
                   3930:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3931:   (eval $ac_try) 2>&5
                   3932:   ac_status=$?
                   3933:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3934:   (exit $ac_status); }; } &&
                   3935:         { ac_try='test -s conftest$ac_exeext'
                   3936:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3937:   (eval $ac_try) 2>&5
                   3938:   ac_status=$?
                   3939:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3940:   (exit $ac_status); }; }; then
                   3941:   echo "$as_me:$LINENO: result: yes" >&5
                   3942: echo "${ECHO_T}yes" >&6
                   3943: 
                   3944: else
                   3945:   echo "$as_me: failed program was:" >&5
                   3946: sed 's/^/| /' conftest.$ac_ext >&5
                   3947: 
                   3948: echo "$as_me:$LINENO: result: no" >&5
                   3949: echo "${ECHO_T}no" >&6
                   3950:                if test -z "$PCRE"; then
                   3951:                        { { echo "$as_me:$LINENO: error: please specify path to PCRE: --with-pcre" >&5
                   3952: echo "$as_me: error: please specify path to PCRE: --with-pcre" >&2;}
                   3953:    { (exit 1); exit 1; }; }
                   3954:                else
                   3955:                        { { echo "$as_me:$LINENO: error: $PCRE does not seem to be valid PCRE installation directory" >&5
                   3956: echo "$as_me: error: $PCRE does not seem to be valid PCRE installation directory" >&2;}
                   3957:    { (exit 1); exit 1; }; }
                   3958:                fi
                   3959: 
                   3960: fi
                   3961: rm -f conftest.err conftest.$ac_objext \
                   3962:       conftest$ac_exeext conftest.$ac_ext
                   3963:        LIBS=$SAVE_LIBS
                   3964: fi
1.100     misha    3965: 
                   3966: 
                   3967: 
                   3968: 
1.66      paf      3969: 
                   3970: 
1.142     moko     3971: # Check whether --with-xml or --without-xml was given.
                   3972: if test "${with_xml+set}" = set; then
                   3973:   withval="$with_xml"
1.66      paf      3974: 
                   3975: 
1.142     moko     3976:        XML=$withval
                   3977:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   3978: 
                   3979:        if test -z "$XML" -o "$XML" = "yes"; then
                   3980:                XML=""
                   3981:                XML_INCLUDES="-I/usr/include/libxml2"
                   3982:                { echo "$as_me:$LINENO: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   3983: echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
                   3984:        else
                   3985:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      3986: 
1.142     moko     3987:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   3988:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   3989:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   3990:                        XML_OK="yes"
                   3991:                fi
1.67      paf      3992:        fi
1.66      paf      3993: 
1.142     moko     3994:        if test -z "$XML_OK"; then
                   3995:                echo "$as_me:$LINENO: checking for xml" >&5
                   3996: echo $ECHO_N "checking for xml... $ECHO_C" >&6
                   3997:                SAVE_LIBS=$LIBS
                   3998:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
                   3999:                cat >conftest.$ac_ext <<_ACEOF
                   4000: /* confdefs.h.  */
                   4001: _ACEOF
                   4002: cat confdefs.h >>conftest.$ac_ext
                   4003: cat >>conftest.$ac_ext <<_ACEOF
                   4004: /* end confdefs.h.  */
                   4005:  #include <libxslt/xslt.h>
                   4006: int
                   4007: main ()
                   4008: {
                   4009:  const char *v=xsltEngineVersion;
                   4010:   ;
                   4011:   return 0;
                   4012: }
                   4013: _ACEOF
                   4014: rm -f conftest.$ac_objext conftest$ac_exeext
                   4015: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4016:   (eval $ac_link) 2>conftest.er1
                   4017:   ac_status=$?
                   4018:   grep -v '^ *+' conftest.er1 >conftest.err
                   4019:   rm -f conftest.er1
                   4020:   cat conftest.err >&5
                   4021:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4022:   (exit $ac_status); } &&
                   4023:         { ac_try='test -z "$ac_c_werror_flag"
                   4024:                         || test ! -s conftest.err'
                   4025:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4026:   (eval $ac_try) 2>&5
                   4027:   ac_status=$?
                   4028:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4029:   (exit $ac_status); }; } &&
                   4030:         { ac_try='test -s conftest$ac_exeext'
                   4031:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4032:   (eval $ac_try) 2>&5
                   4033:   ac_status=$?
                   4034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4035:   (exit $ac_status); }; }; then
                   4036:   echo "$as_me:$LINENO: result: yes" >&5
                   4037: echo "${ECHO_T}yes" >&6
                   4038: 
                   4039: else
                   4040:   echo "$as_me: failed program was:" >&5
                   4041: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      4042: 
1.142     moko     4043: echo "$as_me:$LINENO: result: no" >&5
                   4044: echo "${ECHO_T}no" >&6
                   4045:                        if test -z "$XML"; then
                   4046:                                { { echo "$as_me:$LINENO: error: please specify path to Gnome XML libraries: --with-xml" >&5
                   4047: echo "$as_me: error: please specify path to Gnome XML libraries: --with-xml" >&2;}
                   4048:    { (exit 1); exit 1; }; }
                   4049:                        else
                   4050:                                { { echo "$as_me:$LINENO: error: $XML does not seem to be valid Gnome XML installation directory" >&5
                   4051: echo "$as_me: error: $XML does not seem to be valid Gnome XML installation directory" >&2;}
1.66      paf      4052:    { (exit 1); exit 1; }; }
1.142     moko     4053:                        fi
                   4054: 
                   4055: fi
                   4056: rm -f conftest.err conftest.$ac_objext \
                   4057:       conftest$ac_exeext conftest.$ac_ext
                   4058:                LIBS=$SAVE_LIBS
1.67      paf      4059:        fi
1.66      paf      4060: 
                   4061: cat >>confdefs.h <<\_ACEOF
                   4062: #define XML
                   4063: _ACEOF
                   4064: 
                   4065: 
1.142     moko     4066: fi;
1.90      paf      4067: 
1.66      paf      4068: 
                   4069: 
                   4070: 
                   4071: 
1.90      paf      4072: # Check whether --with-glib-config or --without-glib-config was given.
                   4073: if test "${with_glib_config+set}" = set; then
                   4074:   withval="$with_glib_config"
                   4075:   GLIB_CONFIG=$withval
                   4076: 
                   4077: fi;
1.66      paf      4078: 
                   4079: 
                   4080: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
                   4081: if test "${with_shared_mailreceive+set}" = set; then
                   4082:   withval="$with_shared_mailreceive"
                   4083: 
1.67      paf      4084:        GNOME_MIME=$withval
                   4085:        MIMEBIN="$GNOME_MIME/bin"
                   4086:        MIMEINC="$GNOME_MIME/include"
                   4087:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4088: 
1.67      paf      4089:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4090:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4091: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4092:    { (exit 1); exit 1; }; }
1.67      paf      4093:        fi
1.66      paf      4094: 
                   4095: 
                   4096: cat >>confdefs.h <<\_ACEOF
                   4097: #define WITH_MAILRECEIVE
                   4098: _ACEOF
                   4099: 
                   4100: 
1.67      paf      4101:        LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66      paf      4102: 
1.67      paf      4103:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4104:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4105:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4106:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4107:                        if test \! -x $GLIB_CONFIG; then
                   4108:                                GLIB_CONFIG=glib-config
                   4109:                        fi
1.67      paf      4110:                fi
                   4111:        fi
                   4112:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   4113:        GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66      paf      4114: 
1.67      paf      4115:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4116:        MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   4117:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4118:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67      paf      4119:        fi
1.66      paf      4120: 
                   4121: fi;
                   4122: 
                   4123: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
                   4124: if test "${with_static_mailreceive+set}" = set; then
                   4125:   withval="$with_static_mailreceive"
                   4126: 
1.67      paf      4127:        GNOME_MIME=$withval
                   4128:        MIMEBIN="$GNOME_MIME/bin"
                   4129:        MIMEINC="$GNOME_MIME/include"
                   4130:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4131: 
1.67      paf      4132:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4133:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4134: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4135:    { (exit 1); exit 1; }; }
1.67      paf      4136:        fi
1.66      paf      4137: 
                   4138: 
                   4139: cat >>confdefs.h <<\_ACEOF
                   4140: #define WITH_MAILRECEIVE
                   4141: _ACEOF
                   4142: 
                   4143: 
1.67      paf      4144:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4145:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4146:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4147:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4148:                        if test \! -x $GLIB_CONFIG; then
                   4149:                                GLIB_CONFIG=glib-config
                   4150:                        fi
1.67      paf      4151:                fi
                   4152:        fi
                   4153:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66      paf      4154: 
1.67      paf      4155:        GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   4156:        GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   4157:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
1.138     moko     4158:        MIME_LIBS="$MIMELIB/libgmime.la $GLIB_DIR/lib$GLIB_NAME.la"
1.66      paf      4159: 
                   4160: fi;
                   4161: 
                   4162: 
                   4163: 
                   4164: 
                   4165: 
                   4166: # Check whether --with-sendmail or --without-sendmail was given.
                   4167: if test "${with_sendmail+set}" = set; then
                   4168:   withval="$with_sendmail"
                   4169: 
                   4170: cat >>confdefs.h <<_ACEOF
                   4171: #define PA_FORCED_SENDMAIL "$withval"
                   4172: _ACEOF
                   4173: 
                   4174: 
                   4175: fi;
                   4176: 
                   4177: 
                   4178: 
1.122     moko     4179: # Check whether --with-apache or --without-apache was given.
                   4180: if test "${with_apache+set}" = set; then
                   4181:   withval="$with_apache"
                   4182: 
                   4183:        APXS=$withval
                   4184: 
                   4185:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4186:                APXS=`which apxs 2>/dev/null`
1.142     moko     4187:                if test -z "$APXS"; then
                   4188:                        APXS=`which apxs2 2>/dev/null`
                   4189:                fi
                   4190:        fi
1.122     moko     4191: 
                   4192:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4193: 
                   4194:        if test -z "$APACHE"; then
1.142     moko     4195:                { { echo "$as_me:$LINENO: error: $APXS does not seem to be valid apache apxs utility path" >&5
1.122     moko     4196: echo "$as_me: error: $APXS does not seem to be valid apache apxs utility path" >&2;}
1.66      paf      4197:    { (exit 1); exit 1; }; }
1.67      paf      4198:        fi
1.7       paf      4199: 
1.122     moko     4200:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   4201:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   4202:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   4203:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   4204: 
1.62      paf      4205: fi;
1.7       paf      4206: 
                   4207: 
1.62      paf      4208: 
1.122     moko     4209: 
                   4210: 
                   4211: if test -n "$APACHE"; then
                   4212:   COMPILE_APACHE_MODULE_TRUE=
                   4213:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      4214: else
1.122     moko     4215:   COMPILE_APACHE_MODULE_TRUE='#'
                   4216:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      4217: fi
1.1       paf      4218: 
                   4219: 
                   4220: 
1.62      paf      4221: 
                   4222: 
1.7       paf      4223: 
1.1       paf      4224: 
                   4225: 
                   4226: 
1.62      paf      4227: 
1.128     moko     4228: case `pwd` in
                   4229:   *\ * | *\    *)
                   4230:     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4231: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4232: esac
                   4233: 
                   4234: 
                   4235: 
                   4236: macro_version='2.4.2'
                   4237: macro_revision='1.3337'
                   4238: 
                   4239: 
                   4240: 
                   4241: 
                   4242: 
                   4243: 
                   4244: 
                   4245: 
                   4246: 
                   4247: 
                   4248: 
                   4249: 
                   4250: 
                   4251: ltmain="$ac_aux_dir/ltmain.sh"
                   4252: 
                   4253: # Backslashify metacharacters that are still active within
                   4254: # double-quoted strings.
                   4255: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      4256: 
1.128     moko     4257: # Same as above, but do not quote variable references.
                   4258: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      4259: 
1.128     moko     4260: # Sed substitution to delay expansion of an escaped shell variable in a
                   4261: # double_quote_subst'ed string.
                   4262: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      4263: 
1.128     moko     4264: # Sed substitution to delay expansion of an escaped single quote.
                   4265: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      4266: 
1.128     moko     4267: # Sed substitution to avoid accidental globbing in evaled expressions
                   4268: no_glob_subst='s/\*/\\\*/g'
1.86      paf      4269: 
1.128     moko     4270: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4271: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4272: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      4273: 
1.128     moko     4274: echo "$as_me:$LINENO: checking how to print strings" >&5
                   4275: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
                   4276: # Test print first, because it will be a builtin if present.
                   4277: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4278:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4279:   ECHO='print -r --'
                   4280: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4281:   ECHO='printf %s\n'
                   4282: else
                   4283:   # Use this function as a fallback that always works.
                   4284:   func_fallback_echo ()
                   4285:   {
                   4286:     eval 'cat <<_LTECHO_EOF
                   4287: $1
                   4288: _LTECHO_EOF'
                   4289:   }
                   4290:   ECHO='func_fallback_echo'
                   4291: fi
1.86      paf      4292: 
1.128     moko     4293: # func_echo_all arg...
                   4294: # Invoke $ECHO with all args, space-separated.
                   4295: func_echo_all ()
1.66      paf      4296: {
1.128     moko     4297:     $ECHO ""
1.66      paf      4298: }
1.10      paf      4299: 
1.128     moko     4300: case "$ECHO" in
                   4301:   printf*) echo "$as_me:$LINENO: result: printf" >&5
                   4302: echo "${ECHO_T}printf" >&6 ;;
                   4303:   print*) echo "$as_me:$LINENO: result: print -r" >&5
                   4304: echo "${ECHO_T}print -r" >&6 ;;
                   4305:   *) echo "$as_me:$LINENO: result: cat" >&5
                   4306: echo "${ECHO_T}cat" >&6 ;;
                   4307: esac
                   4308: 
                   4309: 
                   4310: 
                   4311: 
                   4312: 
                   4313: 
                   4314: 
                   4315: 
                   4316: 
                   4317: 
                   4318: 
                   4319: 
                   4320: 
                   4321: 
                   4322: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   4323: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   4324: if test "${lt_cv_path_SED+set}" = set; then
                   4325:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      4326: else
1.128     moko     4327:   # Loop through the user's path and test for sed and gsed.
                   4328: # Then use that list of sed's as ones to test for truncation.
                   4329: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4330: for as_dir in $PATH
                   4331: do
                   4332:   IFS=$as_save_IFS
                   4333:   test -z "$as_dir" && as_dir=.
                   4334:   for lt_ac_prog in sed gsed; do
                   4335:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4336:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
                   4337:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
                   4338:       fi
                   4339:     done
                   4340:   done
                   4341: done
                   4342: IFS=$as_save_IFS
                   4343: lt_ac_max=0
                   4344: lt_ac_count=0
                   4345: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   4346: # along with /bin/sed that truncates output.
                   4347: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
                   4348:   test ! -f $lt_ac_sed && continue
                   4349:   cat /dev/null > conftest.in
                   4350:   lt_ac_count=0
                   4351:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
                   4352:   # Check for GNU sed and select it if it is found.
                   4353:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
                   4354:     lt_cv_path_SED=$lt_ac_sed
                   4355:     break
                   4356:   fi
                   4357:   while true; do
                   4358:     cat conftest.in conftest.in >conftest.tmp
                   4359:     mv conftest.tmp conftest.in
                   4360:     cp conftest.in conftest.nl
                   4361:     echo >>conftest.nl
                   4362:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
                   4363:     cmp -s conftest.out conftest.nl || break
                   4364:     # 10000 chars as input seems more than enough
                   4365:     test $lt_ac_count -gt 10 && break
                   4366:     lt_ac_count=`expr $lt_ac_count + 1`
                   4367:     if test $lt_ac_count -gt $lt_ac_max; then
                   4368:       lt_ac_max=$lt_ac_count
                   4369:       lt_cv_path_SED=$lt_ac_sed
                   4370:     fi
                   4371:   done
                   4372: done
1.10      paf      4373: 
1.66      paf      4374: fi
1.10      paf      4375: 
1.128     moko     4376: SED=$lt_cv_path_SED
                   4377: 
                   4378: echo "$as_me:$LINENO: result: $SED" >&5
                   4379: echo "${ECHO_T}$SED" >&6
                   4380: 
                   4381: test -z "$SED" && SED=sed
                   4382: Xsed="$SED -e 1s/^X//"
1.10      paf      4383: 
1.128     moko     4384: 
                   4385: 
                   4386: 
                   4387: 
                   4388: 
                   4389: 
                   4390: 
                   4391: 
                   4392: 
                   4393: 
                   4394: echo "$as_me:$LINENO: checking for egrep" >&5
                   4395: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4396: if test "${ac_cv_prog_egrep+set}" = set; then
                   4397:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4398: else
                   4399:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4400:     then ac_cv_prog_egrep='grep -E'
                   4401:     else ac_cv_prog_egrep='egrep'
                   4402:     fi
                   4403: fi
                   4404: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4405: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4406:  EGREP=$ac_cv_prog_egrep
                   4407: 
                   4408: 
                   4409: echo "$as_me:$LINENO: checking for fgrep" >&5
                   4410: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
                   4411: if test "${ac_cv_prog_fgrep+set}" = set; then
                   4412:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4413: else
                   4414:   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
                   4415:     then ac_cv_prog_fgrep='grep -F'
                   4416:     else ac_cv_prog_fgrep='fgrep'
                   4417:     fi
                   4418: fi
                   4419: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
                   4420: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
                   4421:  FGREP=$ac_cv_prog_fgrep
                   4422: 
                   4423: 
                   4424: test -z "$GREP" && GREP=grep
                   4425: 
                   4426: 
                   4427: 
                   4428: 
                   4429: 
                   4430: 
                   4431: 
                   4432: 
                   4433: 
                   4434: 
                   4435: 
                   4436: 
                   4437: 
                   4438: 
                   4439: 
                   4440: 
                   4441: 
                   4442: 
                   4443: 
                   4444: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   4445: if test "${with_gnu_ld+set}" = set; then
                   4446:   withval="$with_gnu_ld"
                   4447:   test "$withval" = no || with_gnu_ld=yes
                   4448: else
                   4449:   with_gnu_ld=no
                   4450: fi;
                   4451: ac_prog=ld
                   4452: if test "$GCC" = yes; then
                   4453:   # Check if gcc -print-prog-name=ld gives a path.
                   4454:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   4455: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   4456:   case $host in
                   4457:   *-*-mingw*)
                   4458:     # gcc leaves a trailing carriage return which upsets mingw
                   4459:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4460:   *)
                   4461:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4462:   esac
                   4463:   case $ac_prog in
                   4464:     # Accept absolute paths.
                   4465:     [\\/]* | ?:[\\/]*)
                   4466:       re_direlt='/[^/][^/]*/\.\./'
                   4467:       # Canonicalize the pathname of ld
                   4468:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4469:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4470:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4471:       done
                   4472:       test -z "$LD" && LD="$ac_prog"
                   4473:       ;;
                   4474:   "")
                   4475:     # If it fails, then pretend we aren't using GCC.
                   4476:     ac_prog=ld
                   4477:     ;;
                   4478:   *)
                   4479:     # If it is relative, then search for the first ld in PATH.
                   4480:     with_gnu_ld=unknown
                   4481:     ;;
                   4482:   esac
                   4483: elif test "$with_gnu_ld" = yes; then
                   4484:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   4485: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   4486: else
                   4487:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   4488: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   4489: fi
                   4490: if test "${lt_cv_path_LD+set}" = set; then
                   4491:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4492: else
                   4493:   if test -z "$LD"; then
                   4494:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4495:   for ac_dir in $PATH; do
                   4496:     IFS="$lt_save_ifs"
                   4497:     test -z "$ac_dir" && ac_dir=.
                   4498:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4499:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4500:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4501:       # but apparently some variants of GNU ld only accept -v.
                   4502:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4503:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4504:       *GNU* | *'with BFD'*)
                   4505:        test "$with_gnu_ld" != no && break
                   4506:        ;;
                   4507:       *)
                   4508:        test "$with_gnu_ld" != yes && break
                   4509:        ;;
                   4510:       esac
                   4511:     fi
                   4512:   done
                   4513:   IFS="$lt_save_ifs"
                   4514: else
                   4515:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4516: fi
                   4517: fi
                   4518: 
                   4519: LD="$lt_cv_path_LD"
                   4520: if test -n "$LD"; then
                   4521:   echo "$as_me:$LINENO: result: $LD" >&5
                   4522: echo "${ECHO_T}$LD" >&6
                   4523: else
                   4524:   echo "$as_me:$LINENO: result: no" >&5
                   4525: echo "${ECHO_T}no" >&6
                   4526: fi
                   4527: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   4528: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   4529:    { (exit 1); exit 1; }; }
                   4530: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   4531: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   4532: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   4533:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4534: else
                   4535:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4536: case `$LD -v 2>&1 </dev/null` in
                   4537: *GNU* | *'with BFD'*)
                   4538:   lt_cv_prog_gnu_ld=yes
                   4539:   ;;
                   4540: *)
                   4541:   lt_cv_prog_gnu_ld=no
                   4542:   ;;
                   4543: esac
                   4544: fi
                   4545: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   4546: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   4547: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4548: 
                   4549: 
                   4550: 
                   4551: 
                   4552: 
                   4553: 
                   4554: 
                   4555: 
                   4556: 
                   4557: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4558: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
                   4559: if test "${lt_cv_path_NM+set}" = set; then
                   4560:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4561: else
                   4562:   if test -n "$NM"; then
                   4563:   # Let the user override the test.
                   4564:   lt_cv_path_NM="$NM"
                   4565: else
                   4566:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4567:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4568:     lt_nm_to_check="$lt_nm_to_check nm"
                   4569:   fi
                   4570:   for lt_tmp_nm in $lt_nm_to_check; do
                   4571:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4572:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4573:       IFS="$lt_save_ifs"
                   4574:       test -z "$ac_dir" && ac_dir=.
                   4575:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4576:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4577:        # Check to see if the nm accepts a BSD-compat flag.
                   4578:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4579:        #   nm: unknown option "B" ignored
                   4580:        # Tru64's nm complains that /dev/null is an invalid object file
                   4581:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4582:        */dev/null* | *'Invalid file or object type'*)
                   4583:          lt_cv_path_NM="$tmp_nm -B"
                   4584:          break
                   4585:          ;;
                   4586:        *)
                   4587:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4588:          */dev/null*)
                   4589:            lt_cv_path_NM="$tmp_nm -p"
                   4590:            break
                   4591:            ;;
                   4592:          *)
                   4593:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4594:            continue # so that we can try to find one that supports BSD flags
                   4595:            ;;
                   4596:          esac
                   4597:          ;;
                   4598:        esac
                   4599:       fi
                   4600:     done
                   4601:     IFS="$lt_save_ifs"
                   4602:   done
                   4603:   : ${lt_cv_path_NM=no}
                   4604: fi
                   4605: fi
                   4606: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
                   4607: echo "${ECHO_T}$lt_cv_path_NM" >&6
                   4608: if test "$lt_cv_path_NM" != "no"; then
                   4609:   NM="$lt_cv_path_NM"
                   4610: else
                   4611:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4612:   if test -n "$DUMPBIN"; then :
                   4613:     # Let the user override the test.
                   4614:   else
                   4615:     if test -n "$ac_tool_prefix"; then
                   4616:   for ac_prog in dumpbin "link -dump"
                   4617:   do
                   4618:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4619: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4620: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4621: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4622: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
                   4623:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4624: else
                   4625:   if test -n "$DUMPBIN"; then
                   4626:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4627: else
                   4628: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4629: for as_dir in $PATH
                   4630: do
                   4631:   IFS=$as_save_IFS
                   4632:   test -z "$as_dir" && as_dir=.
                   4633:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4634:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4635:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4636:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4637:     break 2
                   4638:   fi
                   4639: done
                   4640: done
                   4641: 
                   4642: fi
                   4643: fi
                   4644: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4645: if test -n "$DUMPBIN"; then
                   4646:   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
                   4647: echo "${ECHO_T}$DUMPBIN" >&6
                   4648: else
                   4649:   echo "$as_me:$LINENO: result: no" >&5
                   4650: echo "${ECHO_T}no" >&6
                   4651: fi
                   4652: 
                   4653:     test -n "$DUMPBIN" && break
                   4654:   done
                   4655: fi
                   4656: if test -z "$DUMPBIN"; then
                   4657:   ac_ct_DUMPBIN=$DUMPBIN
                   4658:   for ac_prog in dumpbin "link -dump"
                   4659: do
                   4660:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4661: set dummy $ac_prog; ac_word=$2
                   4662: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4663: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4664: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
                   4665:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4666: else
                   4667:   if test -n "$ac_ct_DUMPBIN"; then
                   4668:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4669: else
                   4670: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4671: for as_dir in $PATH
                   4672: do
                   4673:   IFS=$as_save_IFS
                   4674:   test -z "$as_dir" && as_dir=.
                   4675:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4676:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4677:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4678:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4679:     break 2
                   4680:   fi
                   4681: done
                   4682: done
                   4683: 
                   4684: fi
                   4685: fi
                   4686: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4687: if test -n "$ac_ct_DUMPBIN"; then
                   4688:   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
                   4689: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
                   4690: else
                   4691:   echo "$as_me:$LINENO: result: no" >&5
                   4692: echo "${ECHO_T}no" >&6
                   4693: fi
                   4694: 
                   4695:   test -n "$ac_ct_DUMPBIN" && break
                   4696: done
                   4697: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
                   4698: 
                   4699:   DUMPBIN=$ac_ct_DUMPBIN
                   4700: fi
                   4701: 
                   4702:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4703:     *COFF*)
                   4704:       DUMPBIN="$DUMPBIN -symbols"
                   4705:       ;;
                   4706:     *)
                   4707:       DUMPBIN=:
                   4708:       ;;
                   4709:     esac
                   4710:   fi
                   4711: 
                   4712:   if test "$DUMPBIN" != ":"; then
                   4713:     NM="$DUMPBIN"
                   4714:   fi
                   4715: fi
                   4716: test -z "$NM" && NM=nm
                   4717: 
                   4718: 
                   4719: 
                   4720: 
                   4721: 
                   4722: 
                   4723: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
                   4724: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
                   4725: if test "${lt_cv_nm_interface+set}" = set; then
                   4726:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4727: else
                   4728:   lt_cv_nm_interface="BSD nm"
                   4729:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4730:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4731:   (eval "$ac_compile" 2>conftest.err)
                   4732:   cat conftest.err >&5
                   4733:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4734:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4735:   cat conftest.err >&5
                   4736:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4737:   cat conftest.out >&5
                   4738:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4739:     lt_cv_nm_interface="MS dumpbin"
                   4740:   fi
                   4741:   rm -f conftest*
                   4742: fi
                   4743: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
                   4744: echo "${ECHO_T}$lt_cv_nm_interface" >&6
                   4745: 
                   4746: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4747: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   4748: LN_S=$as_ln_s
                   4749: if test "$LN_S" = "ln -s"; then
                   4750:   echo "$as_me:$LINENO: result: yes" >&5
                   4751: echo "${ECHO_T}yes" >&6
                   4752: else
                   4753:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4754: echo "${ECHO_T}no, using $LN_S" >&6
                   4755: fi
                   4756: 
                   4757: # find the maximum length of command line arguments
                   4758: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
                   4759: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
                   4760: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
                   4761:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4762: else
                   4763:     i=0
                   4764:   teststring="ABCD"
                   4765: 
                   4766:   case $build_os in
                   4767:   msdosdjgpp*)
                   4768:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4769:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4770:     # during glob expansion).  Even if it were fixed, the result of this
                   4771:     # check would be larger than it should be.
                   4772:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4773:     ;;
                   4774: 
                   4775:   gnu*)
                   4776:     # Under GNU Hurd, this test is not required because there is
                   4777:     # no limit to the length of command line arguments.
                   4778:     # Libtool will interpret -1 as no limit whatsoever
                   4779:     lt_cv_sys_max_cmd_len=-1;
                   4780:     ;;
                   4781: 
                   4782:   cygwin* | mingw* | cegcc*)
                   4783:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4784:     # about 5 minutes as the teststring grows exponentially.
                   4785:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4786:     # you end up with a "frozen" computer, even though with patience
                   4787:     # the test eventually succeeds (with a max line length of 256k).
                   4788:     # Instead, let's just punt: use the minimum linelength reported by
                   4789:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4790:     lt_cv_sys_max_cmd_len=8192;
                   4791:     ;;
                   4792: 
                   4793:   mint*)
                   4794:     # On MiNT this can take a long time and run out of memory.
                   4795:     lt_cv_sys_max_cmd_len=8192;
                   4796:     ;;
                   4797: 
                   4798:   amigaos*)
                   4799:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4800:     # So we just punt and use a minimum line length of 8192.
                   4801:     lt_cv_sys_max_cmd_len=8192;
                   4802:     ;;
                   4803: 
                   4804:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4805:     # This has been around since 386BSD, at least.  Likely further.
                   4806:     if test -x /sbin/sysctl; then
                   4807:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4808:     elif test -x /usr/sbin/sysctl; then
                   4809:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4810:     else
                   4811:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4812:     fi
                   4813:     # And add a safety zone
                   4814:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4815:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4816:     ;;
                   4817: 
                   4818:   interix*)
                   4819:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4820:     lt_cv_sys_max_cmd_len=196608
                   4821:     ;;
                   4822: 
                   4823:   os2*)
                   4824:     # The test takes a long time on OS/2.
                   4825:     lt_cv_sys_max_cmd_len=8192
                   4826:     ;;
                   4827: 
                   4828:   osf*)
                   4829:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4830:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4831:     # nice to cause kernel panics so lets avoid the loop below.
                   4832:     # First set a reasonable default.
                   4833:     lt_cv_sys_max_cmd_len=16384
                   4834:     #
                   4835:     if test -x /sbin/sysconfig; then
                   4836:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4837:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4838:       esac
                   4839:     fi
                   4840:     ;;
                   4841:   sco3.2v5*)
                   4842:     lt_cv_sys_max_cmd_len=102400
                   4843:     ;;
                   4844:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4845:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4846:     if test -n "$kargmax"; then
                   4847:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4848:     else
                   4849:       lt_cv_sys_max_cmd_len=32768
                   4850:     fi
                   4851:     ;;
                   4852:   *)
                   4853:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4854:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4855:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4856:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4857:     else
                   4858:       # Make teststring a little bigger before we do anything with it.
                   4859:       # a 1K string should be a reasonable start.
                   4860:       for i in 1 2 3 4 5 6 7 8 ; do
                   4861:         teststring=$teststring$teststring
                   4862:       done
                   4863:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4864:       # If test is not a shell built-in, we'll probably end up computing a
                   4865:       # maximum length that is only half of the actual maximum length, but
                   4866:       # we can't tell.
                   4867:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4868:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4869:              test $i != 17 # 1/2 MB should be enough
                   4870:       do
                   4871:         i=`expr $i + 1`
                   4872:         teststring=$teststring$teststring
                   4873:       done
                   4874:       # Only check the string length outside the loop.
                   4875:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4876:       teststring=
                   4877:       # Add a significant safety factor because C++ compilers can tack on
                   4878:       # massive amounts of additional arguments before passing them to the
                   4879:       # linker.  It appears as though 1/2 is a usable value.
                   4880:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4881:     fi
                   4882:     ;;
                   4883:   esac
                   4884: 
                   4885: fi
                   4886: 
                   4887: if test -n $lt_cv_sys_max_cmd_len ; then
                   4888:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
                   4889: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
                   4890: else
                   4891:   echo "$as_me:$LINENO: result: none" >&5
                   4892: echo "${ECHO_T}none" >&6
                   4893: fi
                   4894: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4895: 
                   4896: 
                   4897: 
                   4898: 
                   4899: 
                   4900: 
                   4901: : ${CP="cp -f"}
                   4902: : ${MV="mv -f"}
                   4903: : ${RM="rm -f"}
                   4904: 
                   4905: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
                   4906: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
                   4907: # Try some XSI features
                   4908: xsi_shell=no
                   4909: ( _lt_dummy="a/b/c"
                   4910:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4911:       = c,a/b,b/c, \
                   4912:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4913:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4914:   && xsi_shell=yes
                   4915: echo "$as_me:$LINENO: result: $xsi_shell" >&5
                   4916: echo "${ECHO_T}$xsi_shell" >&6
                   4917: 
                   4918: 
                   4919: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
                   4920: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
                   4921: lt_shell_append=no
                   4922: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4923:     >/dev/null 2>&1 \
                   4924:   && lt_shell_append=yes
                   4925: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
                   4926: echo "${ECHO_T}$lt_shell_append" >&6
                   4927: 
                   4928: 
                   4929: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4930:   lt_unset=unset
                   4931: else
                   4932:   lt_unset=false
                   4933: fi
                   4934: 
                   4935: 
                   4936: 
                   4937: 
                   4938: 
                   4939: # test EBCDIC or ASCII
                   4940: case `echo X|tr X '\101'` in
                   4941:  A) # ASCII based system
                   4942:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4943:   lt_SP2NL='tr \040 \012'
                   4944:   lt_NL2SP='tr \015\012 \040\040'
                   4945:   ;;
                   4946:  *) # EBCDIC based system
                   4947:   lt_SP2NL='tr \100 \n'
                   4948:   lt_NL2SP='tr \r\n \100\100'
                   4949:   ;;
                   4950: esac
                   4951: 
                   4952: 
                   4953: 
                   4954: 
                   4955: 
                   4956: 
                   4957: 
                   4958: 
                   4959: 
                   4960: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
                   4961: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
                   4962: if test "${lt_cv_to_host_file_cmd+set}" = set; then
                   4963:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4964: else
                   4965:   case $host in
                   4966:   *-*-mingw* )
                   4967:     case $build in
                   4968:       *-*-mingw* ) # actually msys
                   4969:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4970:         ;;
                   4971:       *-*-cygwin* )
                   4972:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4973:         ;;
                   4974:       * ) # otherwise, assume *nix
                   4975:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4976:         ;;
                   4977:     esac
                   4978:     ;;
                   4979:   *-*-cygwin* )
                   4980:     case $build in
                   4981:       *-*-mingw* ) # actually msys
                   4982:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4983:         ;;
                   4984:       *-*-cygwin* )
                   4985:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4986:         ;;
                   4987:       * ) # otherwise, assume *nix
                   4988:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4989:         ;;
                   4990:     esac
                   4991:     ;;
                   4992:   * ) # unhandled hosts (and "normal" native builds)
                   4993:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4994:     ;;
                   4995: esac
                   4996: 
                   4997: fi
                   4998: 
                   4999: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   5000: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
                   5001: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
                   5002: 
                   5003: 
                   5004: 
                   5005: 
                   5006: 
                   5007: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
                   5008: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
                   5009: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
                   5010:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5011: else
                   5012:   #assume ordinary cross tools, or native build.
                   5013: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5014: case $host in
                   5015:   *-*-mingw* )
                   5016:     case $build in
                   5017:       *-*-mingw* ) # actually msys
                   5018:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5019:         ;;
                   5020:     esac
                   5021:     ;;
                   5022: esac
                   5023: 
                   5024: fi
                   5025: 
                   5026: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   5027: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
                   5028: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
                   5029: 
                   5030: 
                   5031: 
                   5032: 
                   5033: 
                   5034: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   5035: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   5036: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   5037:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5038: else
                   5039:   lt_cv_ld_reload_flag='-r'
                   5040: fi
                   5041: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   5042: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   5043: reload_flag=$lt_cv_ld_reload_flag
                   5044: case $reload_flag in
                   5045: "" | " "*) ;;
                   5046: *) reload_flag=" $reload_flag" ;;
                   5047: esac
                   5048: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5049: case $host_os in
                   5050:   cygwin* | mingw* | pw32* | cegcc*)
                   5051:     if test "$GCC" != yes; then
                   5052:       reload_cmds=false
                   5053:     fi
                   5054:     ;;
                   5055:   darwin*)
                   5056:     if test "$GCC" = yes; then
                   5057:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5058:     else
                   5059:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5060:     fi
                   5061:     ;;
                   5062: esac
                   5063: 
                   5064: 
                   5065: 
                   5066: 
                   5067: 
                   5068: 
                   5069: 
                   5070: 
                   5071: 
                   5072: if test -n "$ac_tool_prefix"; then
                   5073:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5074: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5075: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5076: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5077: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   5078:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5079: else
                   5080:   if test -n "$OBJDUMP"; then
                   5081:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5082: else
                   5083: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5084: for as_dir in $PATH
                   5085: do
                   5086:   IFS=$as_save_IFS
                   5087:   test -z "$as_dir" && as_dir=.
                   5088:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5089:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5090:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5091:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5092:     break 2
                   5093:   fi
                   5094: done
                   5095: done
                   5096: 
                   5097: fi
                   5098: fi
                   5099: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5100: if test -n "$OBJDUMP"; then
                   5101:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   5102: echo "${ECHO_T}$OBJDUMP" >&6
                   5103: else
                   5104:   echo "$as_me:$LINENO: result: no" >&5
                   5105: echo "${ECHO_T}no" >&6
                   5106: fi
                   5107: 
                   5108: fi
                   5109: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5110:   ac_ct_OBJDUMP=$OBJDUMP
                   5111:   # Extract the first word of "objdump", so it can be a program name with args.
                   5112: set dummy objdump; ac_word=$2
                   5113: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5114: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5115: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   5116:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5117: else
                   5118:   if test -n "$ac_ct_OBJDUMP"; then
                   5119:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5120: else
                   5121: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5122: for as_dir in $PATH
                   5123: do
                   5124:   IFS=$as_save_IFS
                   5125:   test -z "$as_dir" && as_dir=.
                   5126:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5127:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5128:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5129:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5130:     break 2
                   5131:   fi
                   5132: done
                   5133: done
                   5134: 
                   5135:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   5136: fi
                   5137: fi
                   5138: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5139: if test -n "$ac_ct_OBJDUMP"; then
                   5140:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   5141: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   5142: else
                   5143:   echo "$as_me:$LINENO: result: no" >&5
                   5144: echo "${ECHO_T}no" >&6
                   5145: fi
                   5146: 
                   5147:   OBJDUMP=$ac_ct_OBJDUMP
                   5148: else
                   5149:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5150: fi
                   5151: 
                   5152: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5153: 
                   5154: 
                   5155: 
                   5156: 
                   5157: 
                   5158: 
                   5159: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
                   5160: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
                   5161: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   5162:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5163: else
                   5164:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5165: lt_cv_file_magic_test_file=
                   5166: lt_cv_deplibs_check_method='unknown'
                   5167: # Need to set the preceding variable on all platforms that support
                   5168: # interlibrary dependencies.
                   5169: # 'none' -- dependencies not supported.
                   5170: # `unknown' -- same as none, but documents that we really don't know.
                   5171: # 'pass_all' -- all dependencies passed with no checks.
                   5172: # 'test_compile' -- check by making test program.
                   5173: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5174: # which responds to the $file_magic_cmd with a given extended regex.
                   5175: # If you have `file' or equivalent on your system and you're not sure
                   5176: # whether `pass_all' will *always* work, you probably want this one.
                   5177: 
                   5178: case $host_os in
                   5179: aix[4-9]*)
                   5180:   lt_cv_deplibs_check_method=pass_all
                   5181:   ;;
                   5182: 
                   5183: beos*)
                   5184:   lt_cv_deplibs_check_method=pass_all
                   5185:   ;;
                   5186: 
                   5187: bsdi[45]*)
                   5188:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5189:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5190:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5191:   ;;
                   5192: 
                   5193: cygwin*)
                   5194:   # func_win32_libid is a shell function defined in ltmain.sh
                   5195:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5196:   lt_cv_file_magic_cmd='func_win32_libid'
                   5197:   ;;
                   5198: 
                   5199: mingw* | pw32*)
                   5200:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5201:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5202:   # unless we find 'file', for example because we are cross-compiling.
                   5203:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5204:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5205:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5206:     lt_cv_file_magic_cmd='func_win32_libid'
                   5207:   else
                   5208:     # Keep this pattern in sync with the one in func_win32_libid.
                   5209:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5210:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5211:   fi
                   5212:   ;;
                   5213: 
                   5214: cegcc*)
                   5215:   # use the weaker test based on 'objdump'. See mingw*.
                   5216:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5217:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5218:   ;;
                   5219: 
                   5220: darwin* | rhapsody*)
                   5221:   lt_cv_deplibs_check_method=pass_all
                   5222:   ;;
                   5223: 
                   5224: freebsd* | dragonfly*)
                   5225:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5226:     case $host_cpu in
                   5227:     i*86 )
                   5228:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5229:       # Let's accept both of them until this is cleared up.
                   5230:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5231:       lt_cv_file_magic_cmd=/usr/bin/file
                   5232:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5233:       ;;
                   5234:     esac
                   5235:   else
                   5236:     lt_cv_deplibs_check_method=pass_all
                   5237:   fi
                   5238:   ;;
                   5239: 
                   5240: gnu*)
                   5241:   lt_cv_deplibs_check_method=pass_all
                   5242:   ;;
                   5243: 
                   5244: haiku*)
                   5245:   lt_cv_deplibs_check_method=pass_all
                   5246:   ;;
                   5247: 
                   5248: hpux10.20* | hpux11*)
                   5249:   lt_cv_file_magic_cmd=/usr/bin/file
                   5250:   case $host_cpu in
                   5251:   ia64*)
                   5252:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5253:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5254:     ;;
                   5255:   hppa*64*)
                   5256:     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]'
                   5257:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5258:     ;;
                   5259:   *)
                   5260:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5261:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5262:     ;;
                   5263:   esac
                   5264:   ;;
                   5265: 
                   5266: interix[3-9]*)
                   5267:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5268:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5269:   ;;
                   5270: 
                   5271: irix5* | irix6* | nonstopux*)
                   5272:   case $LD in
                   5273:   *-32|*"-32 ") libmagic=32-bit;;
                   5274:   *-n32|*"-n32 ") libmagic=N32;;
                   5275:   *-64|*"-64 ") libmagic=64-bit;;
                   5276:   *) libmagic=never-match;;
                   5277:   esac
                   5278:   lt_cv_deplibs_check_method=pass_all
                   5279:   ;;
                   5280: 
                   5281: # This must be glibc/ELF.
                   5282: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5283:   lt_cv_deplibs_check_method=pass_all
                   5284:   ;;
                   5285: 
                   5286: netbsd*)
                   5287:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5288:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5289:   else
                   5290:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5291:   fi
                   5292:   ;;
                   5293: 
                   5294: newos6*)
                   5295:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5296:   lt_cv_file_magic_cmd=/usr/bin/file
                   5297:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5298:   ;;
                   5299: 
                   5300: *nto* | *qnx*)
                   5301:   lt_cv_deplibs_check_method=pass_all
                   5302:   ;;
                   5303: 
                   5304: openbsd*)
                   5305:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5306:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5307:   else
                   5308:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5309:   fi
                   5310:   ;;
                   5311: 
                   5312: osf3* | osf4* | osf5*)
                   5313:   lt_cv_deplibs_check_method=pass_all
                   5314:   ;;
                   5315: 
                   5316: rdos*)
                   5317:   lt_cv_deplibs_check_method=pass_all
                   5318:   ;;
                   5319: 
                   5320: solaris*)
                   5321:   lt_cv_deplibs_check_method=pass_all
                   5322:   ;;
                   5323: 
                   5324: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5325:   lt_cv_deplibs_check_method=pass_all
                   5326:   ;;
                   5327: 
                   5328: sysv4 | sysv4.3*)
                   5329:   case $host_vendor in
                   5330:   motorola)
                   5331:     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]'
                   5332:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5333:     ;;
                   5334:   ncr)
                   5335:     lt_cv_deplibs_check_method=pass_all
                   5336:     ;;
                   5337:   sequent)
                   5338:     lt_cv_file_magic_cmd='/bin/file'
                   5339:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5340:     ;;
                   5341:   sni)
                   5342:     lt_cv_file_magic_cmd='/bin/file'
                   5343:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5344:     lt_cv_file_magic_test_file=/lib/libc.so
                   5345:     ;;
                   5346:   siemens)
                   5347:     lt_cv_deplibs_check_method=pass_all
                   5348:     ;;
                   5349:   pc)
                   5350:     lt_cv_deplibs_check_method=pass_all
                   5351:     ;;
                   5352:   esac
                   5353:   ;;
                   5354: 
                   5355: tpf*)
                   5356:   lt_cv_deplibs_check_method=pass_all
                   5357:   ;;
                   5358: esac
                   5359: 
                   5360: fi
                   5361: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   5362: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   5363: 
                   5364: file_magic_glob=
                   5365: want_nocaseglob=no
                   5366: if test "$build" = "$host"; then
                   5367:   case $host_os in
                   5368:   mingw* | pw32*)
                   5369:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5370:       want_nocaseglob=yes
                   5371:     else
                   5372:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5373:     fi
                   5374:     ;;
                   5375:   esac
                   5376: fi
                   5377: 
                   5378: file_magic_cmd=$lt_cv_file_magic_cmd
                   5379: deplibs_check_method=$lt_cv_deplibs_check_method
                   5380: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5381: 
                   5382: 
                   5383: 
                   5384: 
                   5385: 
                   5386: 
                   5387: 
                   5388: 
                   5389: 
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: 
                   5396: 
                   5397: 
                   5398: 
                   5399: 
                   5400: 
                   5401: 
                   5402: 
                   5403: if test -n "$ac_tool_prefix"; then
                   5404:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5405: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5406: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5407: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5408: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   5409:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5410: else
                   5411:   if test -n "$DLLTOOL"; then
                   5412:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5413: else
                   5414: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5415: for as_dir in $PATH
                   5416: do
                   5417:   IFS=$as_save_IFS
                   5418:   test -z "$as_dir" && as_dir=.
                   5419:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5420:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5421:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5422:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5423:     break 2
                   5424:   fi
                   5425: done
                   5426: done
                   5427: 
                   5428: fi
                   5429: fi
                   5430: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5431: if test -n "$DLLTOOL"; then
                   5432:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   5433: echo "${ECHO_T}$DLLTOOL" >&6
                   5434: else
                   5435:   echo "$as_me:$LINENO: result: no" >&5
                   5436: echo "${ECHO_T}no" >&6
                   5437: fi
                   5438: 
                   5439: fi
                   5440: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5441:   ac_ct_DLLTOOL=$DLLTOOL
                   5442:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5443: set dummy dlltool; ac_word=$2
                   5444: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5445: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5446: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   5447:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5448: else
                   5449:   if test -n "$ac_ct_DLLTOOL"; then
                   5450:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5451: else
                   5452: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5453: for as_dir in $PATH
                   5454: do
                   5455:   IFS=$as_save_IFS
                   5456:   test -z "$as_dir" && as_dir=.
                   5457:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5458:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5459:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5460:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5461:     break 2
                   5462:   fi
                   5463: done
                   5464: done
                   5465: 
                   5466:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   5467: fi
                   5468: fi
                   5469: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5470: if test -n "$ac_ct_DLLTOOL"; then
                   5471:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   5472: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   5473: else
                   5474:   echo "$as_me:$LINENO: result: no" >&5
                   5475: echo "${ECHO_T}no" >&6
                   5476: fi
                   5477: 
                   5478:   DLLTOOL=$ac_ct_DLLTOOL
                   5479: else
                   5480:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5481: fi
                   5482: 
                   5483: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5484: 
                   5485: 
                   5486: 
                   5487: 
                   5488: 
                   5489: 
                   5490: 
                   5491: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
                   5492: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
                   5493: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
                   5494:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5495: else
                   5496:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   5497: 
                   5498: case $host_os in
                   5499: cygwin* | mingw* | pw32* | cegcc*)
                   5500:   # two different shell functions defined in ltmain.sh
                   5501:   # decide which to use based on capabilities of $DLLTOOL
                   5502:   case `$DLLTOOL --help 2>&1` in
                   5503:   *--identify-strict*)
                   5504:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5505:     ;;
                   5506:   *)
                   5507:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5508:     ;;
                   5509:   esac
                   5510:   ;;
                   5511: *)
                   5512:   # fallback: assume linklib IS sharedlib
                   5513:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   5514:   ;;
                   5515: esac
                   5516: 
                   5517: fi
                   5518: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5519: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
                   5520: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5521: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   5522: 
                   5523: 
                   5524: 
                   5525: 
                   5526: 
                   5527: 
                   5528: 
                   5529: if test -n "$ac_tool_prefix"; then
                   5530:   for ac_prog in ar
                   5531:   do
                   5532:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5533: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5534: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5535: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5536: if test "${ac_cv_prog_AR+set}" = set; then
                   5537:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5538: else
                   5539:   if test -n "$AR"; then
                   5540:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5541: else
                   5542: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5543: for as_dir in $PATH
                   5544: do
                   5545:   IFS=$as_save_IFS
                   5546:   test -z "$as_dir" && as_dir=.
                   5547:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5548:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5549:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5550:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5551:     break 2
                   5552:   fi
                   5553: done
                   5554: done
                   5555: 
                   5556: fi
                   5557: fi
                   5558: AR=$ac_cv_prog_AR
                   5559: if test -n "$AR"; then
                   5560:   echo "$as_me:$LINENO: result: $AR" >&5
                   5561: echo "${ECHO_T}$AR" >&6
                   5562: else
                   5563:   echo "$as_me:$LINENO: result: no" >&5
                   5564: echo "${ECHO_T}no" >&6
                   5565: fi
                   5566: 
                   5567:     test -n "$AR" && break
                   5568:   done
                   5569: fi
                   5570: if test -z "$AR"; then
                   5571:   ac_ct_AR=$AR
                   5572:   for ac_prog in ar
                   5573: do
                   5574:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5575: set dummy $ac_prog; ac_word=$2
                   5576: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5577: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5578: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
                   5579:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5580: else
                   5581:   if test -n "$ac_ct_AR"; then
                   5582:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5583: else
                   5584: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5585: for as_dir in $PATH
                   5586: do
                   5587:   IFS=$as_save_IFS
                   5588:   test -z "$as_dir" && as_dir=.
                   5589:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5590:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5591:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5592:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5593:     break 2
                   5594:   fi
                   5595: done
                   5596: done
                   5597: 
                   5598: fi
                   5599: fi
                   5600: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5601: if test -n "$ac_ct_AR"; then
                   5602:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
                   5603: echo "${ECHO_T}$ac_ct_AR" >&6
                   5604: else
                   5605:   echo "$as_me:$LINENO: result: no" >&5
                   5606: echo "${ECHO_T}no" >&6
                   5607: fi
                   5608: 
                   5609:   test -n "$ac_ct_AR" && break
                   5610: done
                   5611: test -n "$ac_ct_AR" || ac_ct_AR="false"
                   5612: 
                   5613:   AR=$ac_ct_AR
                   5614: fi
                   5615: 
                   5616: : ${AR=ar}
                   5617: : ${AR_FLAGS=cru}
                   5618: 
                   5619: 
                   5620: 
                   5621: 
                   5622: 
                   5623: 
                   5624: 
                   5625: 
                   5626: 
                   5627: 
                   5628: 
                   5629: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
                   5630: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
                   5631: if test "${lt_cv_ar_at_file+set}" = set; then
                   5632:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5633: else
                   5634:   lt_cv_ar_at_file=no
                   5635:    cat >conftest.$ac_ext <<_ACEOF
                   5636: /* confdefs.h.  */
                   5637: _ACEOF
                   5638: cat confdefs.h >>conftest.$ac_ext
                   5639: cat >>conftest.$ac_ext <<_ACEOF
                   5640: /* end confdefs.h.  */
                   5641: 
                   5642: int
                   5643: main ()
                   5644: {
                   5645: 
                   5646:   ;
                   5647:   return 0;
                   5648: }
                   5649: _ACEOF
                   5650: rm -f conftest.$ac_objext
                   5651: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5652:   (eval $ac_compile) 2>conftest.er1
                   5653:   ac_status=$?
                   5654:   grep -v '^ *+' conftest.er1 >conftest.err
                   5655:   rm -f conftest.er1
                   5656:   cat conftest.err >&5
                   5657:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5658:   (exit $ac_status); } &&
                   5659:         { ac_try='test -z "$ac_c_werror_flag"
                   5660:                         || test ! -s conftest.err'
                   5661:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5662:   (eval $ac_try) 2>&5
                   5663:   ac_status=$?
                   5664:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5665:   (exit $ac_status); }; } &&
                   5666:         { ac_try='test -s conftest.$ac_objext'
                   5667:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5668:   (eval $ac_try) 2>&5
                   5669:   ac_status=$?
                   5670:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5671:   (exit $ac_status); }; }; then
                   5672:   echo conftest.$ac_objext > conftest.lst
                   5673:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   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" -eq 0; then
                   5680:        # Ensure the archiver fails upon bogus file names.
                   5681:        rm -f conftest.$ac_objext libconftest.a
                   5682:        { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5683:   (eval $lt_ar_try) 2>&5
                   5684:   ac_status=$?
                   5685:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5686:   (exit $ac_status); }
                   5687:        if test "$ac_status" -ne 0; then
                   5688:           lt_cv_ar_at_file=@
                   5689:         fi
                   5690:       fi
                   5691:       rm -f conftest.* libconftest.a
                   5692: 
                   5693: else
                   5694:   echo "$as_me: failed program was:" >&5
                   5695: sed 's/^/| /' conftest.$ac_ext >&5
                   5696: 
                   5697: fi
                   5698: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5699: 
                   5700: fi
                   5701: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
                   5702: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
                   5703: 
                   5704: if test "x$lt_cv_ar_at_file" = xno; then
                   5705:   archiver_list_spec=
                   5706: else
                   5707:   archiver_list_spec=$lt_cv_ar_at_file
                   5708: fi
                   5709: 
                   5710: 
                   5711: 
                   5712: 
                   5713: 
                   5714: 
                   5715: 
                   5716: if test -n "$ac_tool_prefix"; then
                   5717:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5718: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5719: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5720: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5721: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5722:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5723: else
                   5724:   if test -n "$STRIP"; then
                   5725:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5726: else
                   5727: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5728: for as_dir in $PATH
                   5729: do
                   5730:   IFS=$as_save_IFS
                   5731:   test -z "$as_dir" && as_dir=.
                   5732:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5733:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5734:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5735:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5736:     break 2
                   5737:   fi
                   5738: done
                   5739: done
                   5740: 
                   5741: fi
                   5742: fi
                   5743: STRIP=$ac_cv_prog_STRIP
                   5744: if test -n "$STRIP"; then
                   5745:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5746: echo "${ECHO_T}$STRIP" >&6
                   5747: else
                   5748:   echo "$as_me:$LINENO: result: no" >&5
                   5749: echo "${ECHO_T}no" >&6
                   5750: fi
                   5751: 
                   5752: fi
                   5753: if test -z "$ac_cv_prog_STRIP"; then
                   5754:   ac_ct_STRIP=$STRIP
                   5755:   # Extract the first word of "strip", so it can be a program name with args.
                   5756: set dummy strip; ac_word=$2
                   5757: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5758: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5759: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5760:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5761: else
                   5762:   if test -n "$ac_ct_STRIP"; then
                   5763:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5764: else
                   5765: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5766: for as_dir in $PATH
                   5767: do
                   5768:   IFS=$as_save_IFS
                   5769:   test -z "$as_dir" && as_dir=.
                   5770:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5771:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5772:     ac_cv_prog_ac_ct_STRIP="strip"
                   5773:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5774:     break 2
                   5775:   fi
                   5776: done
                   5777: done
                   5778: 
                   5779:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   5780: fi
                   5781: fi
                   5782: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5783: if test -n "$ac_ct_STRIP"; then
                   5784:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5785: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5786: else
                   5787:   echo "$as_me:$LINENO: result: no" >&5
                   5788: echo "${ECHO_T}no" >&6
                   5789: fi
                   5790: 
                   5791:   STRIP=$ac_ct_STRIP
                   5792: else
                   5793:   STRIP="$ac_cv_prog_STRIP"
                   5794: fi
                   5795: 
                   5796: test -z "$STRIP" && STRIP=:
                   5797: 
                   5798: 
                   5799: 
                   5800: 
                   5801: 
                   5802: 
                   5803: if test -n "$ac_tool_prefix"; then
                   5804:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5805: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5806: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5807: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5808: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   5809:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5810: else
                   5811:   if test -n "$RANLIB"; then
                   5812:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5813: else
                   5814: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5815: for as_dir in $PATH
                   5816: do
                   5817:   IFS=$as_save_IFS
                   5818:   test -z "$as_dir" && as_dir=.
                   5819:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5820:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5821:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5822:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5823:     break 2
                   5824:   fi
                   5825: done
                   5826: done
                   5827: 
                   5828: fi
                   5829: fi
                   5830: RANLIB=$ac_cv_prog_RANLIB
                   5831: if test -n "$RANLIB"; then
                   5832:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5833: echo "${ECHO_T}$RANLIB" >&6
                   5834: else
                   5835:   echo "$as_me:$LINENO: result: no" >&5
                   5836: echo "${ECHO_T}no" >&6
                   5837: fi
                   5838: 
                   5839: fi
                   5840: if test -z "$ac_cv_prog_RANLIB"; then
                   5841:   ac_ct_RANLIB=$RANLIB
                   5842:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5843: set dummy ranlib; ac_word=$2
                   5844: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5845: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5846: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5847:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5848: else
                   5849:   if test -n "$ac_ct_RANLIB"; then
                   5850:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5851: else
                   5852: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5853: for as_dir in $PATH
                   5854: do
                   5855:   IFS=$as_save_IFS
                   5856:   test -z "$as_dir" && as_dir=.
                   5857:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5858:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5859:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5860:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5861:     break 2
                   5862:   fi
                   5863: done
                   5864: done
                   5865: 
                   5866:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5867: fi
                   5868: fi
                   5869: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5870: if test -n "$ac_ct_RANLIB"; then
                   5871:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5872: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   5873: else
                   5874:   echo "$as_me:$LINENO: result: no" >&5
                   5875: echo "${ECHO_T}no" >&6
                   5876: fi
                   5877: 
                   5878:   RANLIB=$ac_ct_RANLIB
                   5879: else
                   5880:   RANLIB="$ac_cv_prog_RANLIB"
                   5881: fi
                   5882: 
                   5883: test -z "$RANLIB" && RANLIB=:
                   5884: 
                   5885: 
                   5886: 
                   5887: 
                   5888: 
                   5889: 
                   5890: # Determine commands to create old-style static archives.
                   5891: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5892: old_postinstall_cmds='chmod 644 $oldlib'
                   5893: old_postuninstall_cmds=
                   5894: 
                   5895: if test -n "$RANLIB"; then
                   5896:   case $host_os in
                   5897:   openbsd*)
                   5898:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   5899:     ;;
                   5900:   *)
                   5901:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   5902:     ;;
                   5903:   esac
                   5904:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   5905: fi
                   5906: 
                   5907: case $host_os in
                   5908:   darwin*)
                   5909:     lock_old_archive_extraction=yes ;;
                   5910:   *)
                   5911:     lock_old_archive_extraction=no ;;
                   5912: esac
                   5913: 
                   5914: 
                   5915: 
                   5916: 
                   5917: 
                   5918: 
                   5919: 
                   5920: 
                   5921: 
                   5922: 
                   5923: 
                   5924: 
                   5925: 
                   5926: 
                   5927: 
                   5928: 
                   5929: 
                   5930: 
                   5931: 
                   5932: 
                   5933: 
                   5934: 
                   5935: 
                   5936: 
                   5937: 
                   5938: 
                   5939: 
                   5940: 
                   5941: 
                   5942: 
                   5943: 
                   5944: 
                   5945: 
                   5946: 
                   5947: 
                   5948: 
                   5949: 
                   5950: 
                   5951: 
                   5952: # If no C compiler was specified, use CC.
                   5953: LTCC=${LTCC-"$CC"}
                   5954: 
                   5955: # If no C compiler flags were specified, use CFLAGS.
                   5956: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   5957: 
                   5958: # Allow CC to be a program name with arguments.
                   5959: compiler=$CC
                   5960: 
                   5961: 
                   5962: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5963: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
                   5964: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
                   5965: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   5966:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5967: else
                   5968: 
                   5969: # These are sane defaults that work on at least a few old systems.
                   5970: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   5971: 
                   5972: # Character class describing NM global symbol codes.
                   5973: symcode='[BCDEGRST]'
                   5974: 
                   5975: # Regexp to match symbols that can be accessed directly from C.
                   5976: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   5977: 
                   5978: # Define system-specific variables.
                   5979: case $host_os in
                   5980: aix*)
                   5981:   symcode='[BCDT]'
                   5982:   ;;
                   5983: cygwin* | mingw* | pw32* | cegcc*)
                   5984:   symcode='[ABCDGISTW]'
                   5985:   ;;
                   5986: hpux*)
                   5987:   if test "$host_cpu" = ia64; then
                   5988:     symcode='[ABCDEGRST]'
                   5989:   fi
                   5990:   ;;
                   5991: irix* | nonstopux*)
                   5992:   symcode='[BCDEGRST]'
                   5993:   ;;
                   5994: osf*)
                   5995:   symcode='[BCDEGQRST]'
                   5996:   ;;
                   5997: solaris*)
                   5998:   symcode='[BDRT]'
                   5999:   ;;
                   6000: sco3.2v5*)
                   6001:   symcode='[DT]'
                   6002:   ;;
                   6003: sysv4.2uw2*)
                   6004:   symcode='[DT]'
                   6005:   ;;
                   6006: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6007:   symcode='[ABDT]'
                   6008:   ;;
                   6009: sysv4)
                   6010:   symcode='[DFNSTU]'
                   6011:   ;;
                   6012: esac
                   6013: 
                   6014: # If we're using GNU nm, then use its standard symbol codes.
                   6015: case `$NM -V 2>&1` in
                   6016: *GNU* | *'with BFD'*)
                   6017:   symcode='[ABCDGIRSTW]' ;;
                   6018: esac
                   6019: 
                   6020: # Transform an extracted symbol line into a proper C declaration.
                   6021: # Some systems (esp. on ia64) link data and code symbols differently,
                   6022: # so use this general approach.
                   6023: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6024: 
                   6025: # Transform an extracted symbol line into symbol name and symbol address
                   6026: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6027: 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'"
                   6028: 
                   6029: # Handle CRLF in mingw tool chain
                   6030: opt_cr=
                   6031: case $build_os in
                   6032: mingw*)
                   6033:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6034:   ;;
                   6035: esac
                   6036: 
                   6037: # Try without a prefix underscore, then with it.
                   6038: for ac_symprfx in "" "_"; do
                   6039: 
                   6040:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6041:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6042: 
                   6043:   # Write the raw and C identifiers.
                   6044:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6045:     # Fake it for dumpbin and say T for any non-static function
                   6046:     # and D for any global variable.
                   6047:     # Also find C++ and __fastcall symbols from MSVC++,
                   6048:     # which start with @ or ?.
                   6049:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6050: "     {last_section=section; section=\$ 3};"\
                   6051: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   6052: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6053: "     \$ 0!~/External *\|/{next};"\
                   6054: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6055: "     {if(hide[section]) next};"\
                   6056: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6057: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6058: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6059: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6060: "     ' prfx=^$ac_symprfx"
                   6061:   else
                   6062:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6063:   fi
                   6064:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6065: 
                   6066:   # Check to see that the pipe works correctly.
                   6067:   pipe_works=no
                   6068: 
                   6069:   rm -f conftest*
                   6070:   cat > conftest.$ac_ext <<_LT_EOF
                   6071: #ifdef __cplusplus
                   6072: extern "C" {
                   6073: #endif
                   6074: char nm_test_var;
                   6075: void nm_test_func(void);
                   6076: void nm_test_func(void){}
                   6077: #ifdef __cplusplus
                   6078: }
                   6079: #endif
                   6080: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6081: _LT_EOF
                   6082: 
                   6083:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6084:   (eval $ac_compile) 2>&5
                   6085:   ac_status=$?
                   6086:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6087:   (exit $ac_status); }; then
                   6088:     # Now try to grab the symbols.
                   6089:     nlist=conftest.nm
                   6090:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
                   6091:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   6092:   ac_status=$?
                   6093:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6094:   (exit $ac_status); } && test -s "$nlist"; then
                   6095:       # Try sorting and uniquifying the output.
                   6096:       if sort "$nlist" | uniq > "$nlist"T; then
                   6097:        mv -f "$nlist"T "$nlist"
                   6098:       else
                   6099:        rm -f "$nlist"T
                   6100:       fi
                   6101: 
                   6102:       # Make sure that we snagged all the symbols we need.
                   6103:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6104:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6105:          cat <<_LT_EOF > conftest.$ac_ext
                   6106: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6107: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6108: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6109:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6110: # define LT_DLSYM_CONST
                   6111: #elif defined(__osf__)
                   6112: /* This system does not cope well with relocations in const data.  */
                   6113: # define LT_DLSYM_CONST
                   6114: #else
                   6115: # define LT_DLSYM_CONST const
                   6116: #endif
                   6117: 
                   6118: #ifdef __cplusplus
                   6119: extern "C" {
                   6120: #endif
                   6121: 
                   6122: _LT_EOF
                   6123:          # Now generate the symbol file.
                   6124:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6125: 
                   6126:          cat <<_LT_EOF >> conftest.$ac_ext
                   6127: 
                   6128: /* The mapping between symbol names and symbols.  */
                   6129: LT_DLSYM_CONST struct {
                   6130:   const char *name;
                   6131:   void       *address;
                   6132: }
                   6133: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6134: {
                   6135:   { "@PROGRAM@", (void *) 0 },
                   6136: _LT_EOF
                   6137:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6138:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6139:   {0, (void *) 0}
                   6140: };
                   6141: 
                   6142: /* This works around a problem in FreeBSD linker */
                   6143: #ifdef FREEBSD_WORKAROUND
                   6144: static const void *lt_preloaded_setup() {
                   6145:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6146: }
                   6147: #endif
                   6148: 
                   6149: #ifdef __cplusplus
                   6150: }
                   6151: #endif
                   6152: _LT_EOF
                   6153:          # Now try linking the two files.
                   6154:          mv conftest.$ac_objext conftstm.$ac_objext
                   6155:          lt_globsym_save_LIBS=$LIBS
                   6156:          lt_globsym_save_CFLAGS=$CFLAGS
                   6157:          LIBS="conftstm.$ac_objext"
                   6158:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6159:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6160:   (eval $ac_link) 2>&5
                   6161:   ac_status=$?
                   6162:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6163:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
                   6164:            pipe_works=yes
                   6165:          fi
                   6166:          LIBS=$lt_globsym_save_LIBS
                   6167:          CFLAGS=$lt_globsym_save_CFLAGS
                   6168:        else
                   6169:          echo "cannot find nm_test_func in $nlist" >&5
                   6170:        fi
                   6171:       else
                   6172:        echo "cannot find nm_test_var in $nlist" >&5
                   6173:       fi
                   6174:     else
                   6175:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6176:     fi
                   6177:   else
                   6178:     echo "$progname: failed program was:" >&5
                   6179:     cat conftest.$ac_ext >&5
                   6180:   fi
                   6181:   rm -rf conftest* conftst*
                   6182: 
                   6183:   # Do not use the global_symbol_pipe unless it works.
                   6184:   if test "$pipe_works" = yes; then
                   6185:     break
                   6186:   else
                   6187:     lt_cv_sys_global_symbol_pipe=
                   6188:   fi
                   6189: done
                   6190: 
                   6191: fi
                   6192: 
                   6193: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6194:   lt_cv_sys_global_symbol_to_cdecl=
                   6195: fi
                   6196: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6197:   echo "$as_me:$LINENO: result: failed" >&5
                   6198: echo "${ECHO_T}failed" >&6
                   6199: else
                   6200:   echo "$as_me:$LINENO: result: ok" >&5
                   6201: echo "${ECHO_T}ok" >&6
                   6202: fi
                   6203: 
                   6204: # Response file support.
                   6205: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6206:   nm_file_list_spec='@'
                   6207: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6208:   nm_file_list_spec='@'
                   6209: fi
                   6210: 
                   6211: 
                   6212: 
                   6213: 
                   6214: 
                   6215: 
                   6216: 
                   6217: 
                   6218: 
                   6219: 
                   6220: 
                   6221: 
                   6222: 
                   6223: 
                   6224: 
                   6225: 
                   6226: 
                   6227: 
                   6228: 
                   6229: 
                   6230: 
                   6231: 
                   6232: 
                   6233: 
                   6234: 
                   6235: 
                   6236: 
                   6237: echo "$as_me:$LINENO: checking for sysroot" >&5
                   6238: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
                   6239: 
                   6240: # Check whether --with-sysroot or --without-sysroot was given.
                   6241: if test "${with_sysroot+set}" = set; then
                   6242:   withval="$with_sysroot"
                   6243: 
                   6244: else
                   6245:   with_sysroot=no
                   6246: fi;
                   6247: 
                   6248: lt_sysroot=
                   6249: case ${with_sysroot} in #(
                   6250:  yes)
                   6251:    if test "$GCC" = yes; then
                   6252:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6253:    fi
                   6254:    ;; #(
                   6255:  /*)
                   6256:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6257:    ;; #(
                   6258:  no|'')
                   6259:    ;; #(
                   6260:  *)
                   6261:    echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
                   6262: echo "${ECHO_T}${with_sysroot}" >&6
                   6263:    { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
                   6264: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
                   6265:    { (exit 1); exit 1; }; }
                   6266:    ;;
                   6267: esac
                   6268: 
                   6269:  echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
                   6270: echo "${ECHO_T}${lt_sysroot:-no}" >&6
                   6271: 
                   6272: 
                   6273: 
                   6274: 
                   6275: 
                   6276: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   6277: if test "${enable_libtool_lock+set}" = set; then
                   6278:   enableval="$enable_libtool_lock"
                   6279: 
                   6280: fi;
                   6281: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   6282: 
                   6283: # Some flags need to be propagated to the compiler or linker for good
                   6284: # libtool support.
                   6285: case $host in
                   6286: ia64-*-hpux*)
                   6287:   # Find out which ABI we are using.
                   6288:   echo 'int i;' > conftest.$ac_ext
                   6289:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6290:   (eval $ac_compile) 2>&5
                   6291:   ac_status=$?
                   6292:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6293:   (exit $ac_status); }; then
                   6294:     case `/usr/bin/file conftest.$ac_objext` in
                   6295:       *ELF-32*)
                   6296:        HPUX_IA64_MODE="32"
                   6297:        ;;
                   6298:       *ELF-64*)
                   6299:        HPUX_IA64_MODE="64"
                   6300:        ;;
                   6301:     esac
                   6302:   fi
                   6303:   rm -rf conftest*
                   6304:   ;;
                   6305: *-*-irix6*)
                   6306:   # Find out which ABI we are using.
                   6307:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6308:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6309:   (eval $ac_compile) 2>&5
                   6310:   ac_status=$?
                   6311:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6312:   (exit $ac_status); }; then
                   6313:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6314:       case `/usr/bin/file conftest.$ac_objext` in
                   6315:        *32-bit*)
                   6316:          LD="${LD-ld} -melf32bsmip"
                   6317:          ;;
                   6318:        *N32*)
                   6319:          LD="${LD-ld} -melf32bmipn32"
                   6320:          ;;
                   6321:        *64-bit*)
                   6322:          LD="${LD-ld} -melf64bmip"
                   6323:        ;;
                   6324:       esac
                   6325:     else
                   6326:       case `/usr/bin/file conftest.$ac_objext` in
                   6327:        *32-bit*)
                   6328:          LD="${LD-ld} -32"
                   6329:          ;;
                   6330:        *N32*)
                   6331:          LD="${LD-ld} -n32"
                   6332:          ;;
                   6333:        *64-bit*)
                   6334:          LD="${LD-ld} -64"
                   6335:          ;;
                   6336:       esac
                   6337:     fi
                   6338:   fi
                   6339:   rm -rf conftest*
                   6340:   ;;
                   6341: 
                   6342: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6343: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6344:   # Find out which ABI we are using.
                   6345:   echo 'int i;' > conftest.$ac_ext
                   6346:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6347:   (eval $ac_compile) 2>&5
                   6348:   ac_status=$?
                   6349:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6350:   (exit $ac_status); }; then
                   6351:     case `/usr/bin/file conftest.o` in
                   6352:       *32-bit*)
                   6353:        case $host in
                   6354:          x86_64-*kfreebsd*-gnu)
                   6355:            LD="${LD-ld} -m elf_i386_fbsd"
                   6356:            ;;
                   6357:          x86_64-*linux*)
                   6358:            LD="${LD-ld} -m elf_i386"
                   6359:            ;;
                   6360:          ppc64-*linux*|powerpc64-*linux*)
                   6361:            LD="${LD-ld} -m elf32ppclinux"
                   6362:            ;;
                   6363:          s390x-*linux*)
                   6364:            LD="${LD-ld} -m elf_s390"
                   6365:            ;;
                   6366:          sparc64-*linux*)
                   6367:            LD="${LD-ld} -m elf32_sparc"
                   6368:            ;;
                   6369:        esac
                   6370:        ;;
                   6371:       *64-bit*)
                   6372:        case $host in
                   6373:          x86_64-*kfreebsd*-gnu)
                   6374:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6375:            ;;
                   6376:          x86_64-*linux*)
                   6377:            LD="${LD-ld} -m elf_x86_64"
                   6378:            ;;
                   6379:          ppc*-*linux*|powerpc*-*linux*)
                   6380:            LD="${LD-ld} -m elf64ppc"
                   6381:            ;;
                   6382:          s390*-*linux*|s390*-*tpf*)
                   6383:            LD="${LD-ld} -m elf64_s390"
                   6384:            ;;
                   6385:          sparc*-*linux*)
                   6386:            LD="${LD-ld} -m elf64_sparc"
                   6387:            ;;
                   6388:        esac
                   6389:        ;;
                   6390:     esac
                   6391:   fi
                   6392:   rm -rf conftest*
                   6393:   ;;
                   6394: 
                   6395: *-*-sco3.2v5*)
                   6396:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6397:   SAVE_CFLAGS="$CFLAGS"
                   6398:   CFLAGS="$CFLAGS -belf"
                   6399:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   6400: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   6401: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   6402:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6403: else
                   6404:   ac_ext=c
                   6405: ac_cpp='$CPP $CPPFLAGS'
                   6406: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6407: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6408: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6409: 
                   6410:      cat >conftest.$ac_ext <<_ACEOF
                   6411: /* confdefs.h.  */
                   6412: _ACEOF
                   6413: cat confdefs.h >>conftest.$ac_ext
                   6414: cat >>conftest.$ac_ext <<_ACEOF
                   6415: /* end confdefs.h.  */
                   6416: 
                   6417: int
                   6418: main ()
                   6419: {
                   6420: 
                   6421:   ;
                   6422:   return 0;
                   6423: }
                   6424: _ACEOF
                   6425: rm -f conftest.$ac_objext conftest$ac_exeext
                   6426: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6427:   (eval $ac_link) 2>conftest.er1
                   6428:   ac_status=$?
                   6429:   grep -v '^ *+' conftest.er1 >conftest.err
                   6430:   rm -f conftest.er1
                   6431:   cat conftest.err >&5
                   6432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6433:   (exit $ac_status); } &&
                   6434:         { ac_try='test -z "$ac_c_werror_flag"
                   6435:                         || test ! -s conftest.err'
                   6436:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6437:   (eval $ac_try) 2>&5
                   6438:   ac_status=$?
                   6439:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6440:   (exit $ac_status); }; } &&
                   6441:         { ac_try='test -s conftest$ac_exeext'
                   6442:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6443:   (eval $ac_try) 2>&5
                   6444:   ac_status=$?
                   6445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6446:   (exit $ac_status); }; }; then
                   6447:   lt_cv_cc_needs_belf=yes
                   6448: else
                   6449:   echo "$as_me: failed program was:" >&5
                   6450: sed 's/^/| /' conftest.$ac_ext >&5
                   6451: 
                   6452: lt_cv_cc_needs_belf=no
                   6453: fi
                   6454: rm -f conftest.err conftest.$ac_objext \
                   6455:       conftest$ac_exeext conftest.$ac_ext
                   6456:      ac_ext=c
                   6457: ac_cpp='$CPP $CPPFLAGS'
                   6458: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6459: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6460: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6461: 
                   6462: fi
                   6463: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   6464: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   6465:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6466:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6467:     CFLAGS="$SAVE_CFLAGS"
                   6468:   fi
                   6469:   ;;
                   6470: *-*solaris*)
                   6471:   # Find out which ABI we are using.
                   6472:   echo 'int i;' > conftest.$ac_ext
                   6473:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6474:   (eval $ac_compile) 2>&5
                   6475:   ac_status=$?
                   6476:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6477:   (exit $ac_status); }; then
                   6478:     case `/usr/bin/file conftest.o` in
                   6479:     *64-bit*)
                   6480:       case $lt_cv_prog_gnu_ld in
                   6481:       yes*)
                   6482:         case $host in
                   6483:         i?86-*-solaris*)
                   6484:           LD="${LD-ld} -m elf_x86_64"
                   6485:           ;;
                   6486:         sparc*-*-solaris*)
                   6487:           LD="${LD-ld} -m elf64_sparc"
                   6488:           ;;
                   6489:         esac
                   6490:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6491:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6492:           LD="${LD-ld}_sol2"
                   6493:         fi
                   6494:         ;;
                   6495:       *)
                   6496:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6497:          LD="${LD-ld} -64"
                   6498:        fi
                   6499:        ;;
                   6500:       esac
                   6501:       ;;
                   6502:     esac
                   6503:   fi
                   6504:   rm -rf conftest*
                   6505:   ;;
                   6506: esac
                   6507: 
                   6508: need_locks="$enable_libtool_lock"
                   6509: 
                   6510: if test -n "$ac_tool_prefix"; then
                   6511:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6512: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6513: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6514: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6515: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
                   6516:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6517: else
                   6518:   if test -n "$MANIFEST_TOOL"; then
                   6519:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6520: else
                   6521: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6522: for as_dir in $PATH
                   6523: do
                   6524:   IFS=$as_save_IFS
                   6525:   test -z "$as_dir" && as_dir=.
                   6526:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6527:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6528:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6529:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6530:     break 2
                   6531:   fi
                   6532: done
                   6533: done
                   6534: 
                   6535: fi
                   6536: fi
                   6537: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6538: if test -n "$MANIFEST_TOOL"; then
                   6539:   echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
                   6540: echo "${ECHO_T}$MANIFEST_TOOL" >&6
                   6541: else
                   6542:   echo "$as_me:$LINENO: result: no" >&5
                   6543: echo "${ECHO_T}no" >&6
                   6544: fi
                   6545: 
                   6546: fi
                   6547: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6548:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6549:   # Extract the first word of "mt", so it can be a program name with args.
                   6550: set dummy mt; ac_word=$2
                   6551: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6552: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6553: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
                   6554:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6555: else
                   6556:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6557:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6558: else
                   6559: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6560: for as_dir in $PATH
                   6561: do
                   6562:   IFS=$as_save_IFS
                   6563:   test -z "$as_dir" && as_dir=.
                   6564:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6565:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6566:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6567:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6568:     break 2
                   6569:   fi
                   6570: done
                   6571: done
                   6572: 
                   6573:   test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
                   6574: fi
                   6575: fi
                   6576: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6577: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6578:   echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
                   6579: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
                   6580: else
                   6581:   echo "$as_me:$LINENO: result: no" >&5
                   6582: echo "${ECHO_T}no" >&6
                   6583: fi
                   6584: 
                   6585:   MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6586: else
                   6587:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6588: fi
                   6589: 
                   6590: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6591: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6592: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
                   6593: if test "${lt_cv_path_mainfest_tool+set}" = set; then
                   6594:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6595: else
                   6596:   lt_cv_path_mainfest_tool=no
                   6597:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6598:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6599:   cat conftest.err >&5
                   6600:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6601:     lt_cv_path_mainfest_tool=yes
                   6602:   fi
                   6603:   rm -f conftest*
                   6604: fi
                   6605: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
                   6606: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
                   6607: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   6608:   MANIFEST_TOOL=:
                   6609: fi
                   6610: 
                   6611: 
                   6612: 
                   6613: 
                   6614: 
                   6615: 
                   6616:   case $host_os in
                   6617:     rhapsody* | darwin*)
                   6618:     if test -n "$ac_tool_prefix"; then
                   6619:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6620: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6621: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6622: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6623: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
                   6624:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6625: else
                   6626:   if test -n "$DSYMUTIL"; then
                   6627:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6628: else
                   6629: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6630: for as_dir in $PATH
                   6631: do
                   6632:   IFS=$as_save_IFS
                   6633:   test -z "$as_dir" && as_dir=.
                   6634:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6635:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6636:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6637:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6638:     break 2
                   6639:   fi
                   6640: done
                   6641: done
                   6642: 
                   6643: fi
                   6644: fi
                   6645: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6646: if test -n "$DSYMUTIL"; then
                   6647:   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
                   6648: echo "${ECHO_T}$DSYMUTIL" >&6
                   6649: else
                   6650:   echo "$as_me:$LINENO: result: no" >&5
                   6651: echo "${ECHO_T}no" >&6
                   6652: fi
                   6653: 
                   6654: fi
                   6655: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6656:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6657:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6658: set dummy dsymutil; ac_word=$2
                   6659: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6660: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6661: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
                   6662:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6663: else
                   6664:   if test -n "$ac_ct_DSYMUTIL"; then
                   6665:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6666: else
                   6667: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6668: for as_dir in $PATH
                   6669: do
                   6670:   IFS=$as_save_IFS
                   6671:   test -z "$as_dir" && as_dir=.
                   6672:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6673:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6674:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6675:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6676:     break 2
                   6677:   fi
                   6678: done
                   6679: done
                   6680: 
                   6681:   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
                   6682: fi
                   6683: fi
                   6684: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6685: if test -n "$ac_ct_DSYMUTIL"; then
                   6686:   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
                   6687: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
                   6688: else
                   6689:   echo "$as_me:$LINENO: result: no" >&5
                   6690: echo "${ECHO_T}no" >&6
                   6691: fi
                   6692: 
                   6693:   DSYMUTIL=$ac_ct_DSYMUTIL
                   6694: else
                   6695:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6696: fi
                   6697: 
                   6698:     if test -n "$ac_tool_prefix"; then
                   6699:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6700: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6701: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6702: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6703: if test "${ac_cv_prog_NMEDIT+set}" = set; then
                   6704:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6705: else
                   6706:   if test -n "$NMEDIT"; then
                   6707:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6708: else
                   6709: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6710: for as_dir in $PATH
                   6711: do
                   6712:   IFS=$as_save_IFS
                   6713:   test -z "$as_dir" && as_dir=.
                   6714:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6715:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6716:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6717:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6718:     break 2
                   6719:   fi
                   6720: done
                   6721: done
                   6722: 
                   6723: fi
                   6724: fi
                   6725: NMEDIT=$ac_cv_prog_NMEDIT
                   6726: if test -n "$NMEDIT"; then
                   6727:   echo "$as_me:$LINENO: result: $NMEDIT" >&5
                   6728: echo "${ECHO_T}$NMEDIT" >&6
                   6729: else
                   6730:   echo "$as_me:$LINENO: result: no" >&5
                   6731: echo "${ECHO_T}no" >&6
                   6732: fi
                   6733: 
                   6734: fi
                   6735: if test -z "$ac_cv_prog_NMEDIT"; then
                   6736:   ac_ct_NMEDIT=$NMEDIT
                   6737:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6738: set dummy nmedit; ac_word=$2
                   6739: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6740: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6741: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
                   6742:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6743: else
                   6744:   if test -n "$ac_ct_NMEDIT"; then
                   6745:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6746: else
                   6747: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6748: for as_dir in $PATH
                   6749: do
                   6750:   IFS=$as_save_IFS
                   6751:   test -z "$as_dir" && as_dir=.
                   6752:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6753:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6754:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6755:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6756:     break 2
                   6757:   fi
                   6758: done
                   6759: done
                   6760: 
                   6761:   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
                   6762: fi
                   6763: fi
                   6764: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6765: if test -n "$ac_ct_NMEDIT"; then
                   6766:   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
                   6767: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
                   6768: else
                   6769:   echo "$as_me:$LINENO: result: no" >&5
                   6770: echo "${ECHO_T}no" >&6
                   6771: fi
                   6772: 
                   6773:   NMEDIT=$ac_ct_NMEDIT
                   6774: else
                   6775:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6776: fi
                   6777: 
                   6778:     if test -n "$ac_tool_prefix"; then
                   6779:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6780: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6781: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6782: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6783: if test "${ac_cv_prog_LIPO+set}" = set; then
                   6784:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6785: else
                   6786:   if test -n "$LIPO"; then
                   6787:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6788: else
                   6789: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6790: for as_dir in $PATH
                   6791: do
                   6792:   IFS=$as_save_IFS
                   6793:   test -z "$as_dir" && as_dir=.
                   6794:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6795:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6796:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6797:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6798:     break 2
                   6799:   fi
                   6800: done
                   6801: done
                   6802: 
                   6803: fi
                   6804: fi
                   6805: LIPO=$ac_cv_prog_LIPO
                   6806: if test -n "$LIPO"; then
                   6807:   echo "$as_me:$LINENO: result: $LIPO" >&5
                   6808: echo "${ECHO_T}$LIPO" >&6
                   6809: else
                   6810:   echo "$as_me:$LINENO: result: no" >&5
                   6811: echo "${ECHO_T}no" >&6
                   6812: fi
                   6813: 
                   6814: fi
                   6815: if test -z "$ac_cv_prog_LIPO"; then
                   6816:   ac_ct_LIPO=$LIPO
                   6817:   # Extract the first word of "lipo", so it can be a program name with args.
                   6818: set dummy lipo; ac_word=$2
                   6819: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6820: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6821: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
                   6822:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6823: else
                   6824:   if test -n "$ac_ct_LIPO"; then
                   6825:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6826: else
                   6827: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6828: for as_dir in $PATH
                   6829: do
                   6830:   IFS=$as_save_IFS
                   6831:   test -z "$as_dir" && as_dir=.
                   6832:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6833:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6834:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6835:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6836:     break 2
                   6837:   fi
                   6838: done
                   6839: done
                   6840: 
                   6841:   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
                   6842: fi
                   6843: fi
                   6844: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6845: if test -n "$ac_ct_LIPO"; then
                   6846:   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
                   6847: echo "${ECHO_T}$ac_ct_LIPO" >&6
                   6848: else
                   6849:   echo "$as_me:$LINENO: result: no" >&5
                   6850: echo "${ECHO_T}no" >&6
                   6851: fi
                   6852: 
                   6853:   LIPO=$ac_ct_LIPO
                   6854: else
                   6855:   LIPO="$ac_cv_prog_LIPO"
                   6856: fi
                   6857: 
                   6858:     if test -n "$ac_tool_prefix"; then
                   6859:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6860: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6861: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6862: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6863: if test "${ac_cv_prog_OTOOL+set}" = set; then
                   6864:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6865: else
                   6866:   if test -n "$OTOOL"; then
                   6867:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6868: else
                   6869: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6870: for as_dir in $PATH
                   6871: do
                   6872:   IFS=$as_save_IFS
                   6873:   test -z "$as_dir" && as_dir=.
                   6874:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6875:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6876:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6877:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6878:     break 2
                   6879:   fi
                   6880: done
                   6881: done
                   6882: 
                   6883: fi
                   6884: fi
                   6885: OTOOL=$ac_cv_prog_OTOOL
                   6886: if test -n "$OTOOL"; then
                   6887:   echo "$as_me:$LINENO: result: $OTOOL" >&5
                   6888: echo "${ECHO_T}$OTOOL" >&6
                   6889: else
                   6890:   echo "$as_me:$LINENO: result: no" >&5
                   6891: echo "${ECHO_T}no" >&6
                   6892: fi
                   6893: 
                   6894: fi
                   6895: if test -z "$ac_cv_prog_OTOOL"; then
                   6896:   ac_ct_OTOOL=$OTOOL
                   6897:   # Extract the first word of "otool", so it can be a program name with args.
                   6898: set dummy otool; ac_word=$2
                   6899: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6900: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6901: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
                   6902:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6903: else
                   6904:   if test -n "$ac_ct_OTOOL"; then
                   6905:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6906: else
                   6907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6908: for as_dir in $PATH
                   6909: do
                   6910:   IFS=$as_save_IFS
                   6911:   test -z "$as_dir" && as_dir=.
                   6912:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6913:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6914:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6915:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6916:     break 2
                   6917:   fi
                   6918: done
                   6919: done
                   6920: 
                   6921:   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
                   6922: fi
                   6923: fi
                   6924: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6925: if test -n "$ac_ct_OTOOL"; then
                   6926:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
                   6927: echo "${ECHO_T}$ac_ct_OTOOL" >&6
                   6928: else
                   6929:   echo "$as_me:$LINENO: result: no" >&5
                   6930: echo "${ECHO_T}no" >&6
                   6931: fi
                   6932: 
                   6933:   OTOOL=$ac_ct_OTOOL
                   6934: else
                   6935:   OTOOL="$ac_cv_prog_OTOOL"
                   6936: fi
                   6937: 
                   6938:     if test -n "$ac_tool_prefix"; then
                   6939:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6940: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6941: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6942: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6943: if test "${ac_cv_prog_OTOOL64+set}" = set; then
                   6944:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6945: else
                   6946:   if test -n "$OTOOL64"; then
                   6947:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6948: else
                   6949: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6950: for as_dir in $PATH
                   6951: do
                   6952:   IFS=$as_save_IFS
                   6953:   test -z "$as_dir" && as_dir=.
                   6954:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6955:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6956:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6957:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6958:     break 2
                   6959:   fi
                   6960: done
                   6961: done
                   6962: 
                   6963: fi
                   6964: fi
                   6965: OTOOL64=$ac_cv_prog_OTOOL64
                   6966: if test -n "$OTOOL64"; then
                   6967:   echo "$as_me:$LINENO: result: $OTOOL64" >&5
                   6968: echo "${ECHO_T}$OTOOL64" >&6
                   6969: else
                   6970:   echo "$as_me:$LINENO: result: no" >&5
                   6971: echo "${ECHO_T}no" >&6
                   6972: fi
                   6973: 
                   6974: fi
                   6975: if test -z "$ac_cv_prog_OTOOL64"; then
                   6976:   ac_ct_OTOOL64=$OTOOL64
                   6977:   # Extract the first word of "otool64", so it can be a program name with args.
                   6978: set dummy otool64; ac_word=$2
                   6979: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6980: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6981: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
                   6982:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6983: else
                   6984:   if test -n "$ac_ct_OTOOL64"; then
                   6985:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6986: else
                   6987: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6988: for as_dir in $PATH
                   6989: do
                   6990:   IFS=$as_save_IFS
                   6991:   test -z "$as_dir" && as_dir=.
                   6992:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6993:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6994:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   6995:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6996:     break 2
                   6997:   fi
                   6998: done
                   6999: done
                   7000: 
                   7001:   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
                   7002: fi
                   7003: fi
                   7004: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7005: if test -n "$ac_ct_OTOOL64"; then
                   7006:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
                   7007: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
                   7008: else
                   7009:   echo "$as_me:$LINENO: result: no" >&5
                   7010: echo "${ECHO_T}no" >&6
                   7011: fi
                   7012: 
                   7013:   OTOOL64=$ac_ct_OTOOL64
                   7014: else
                   7015:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7016: fi
                   7017: 
                   7018: 
                   7019: 
                   7020: 
                   7021: 
                   7022: 
                   7023: 
                   7024: 
                   7025: 
                   7026: 
                   7027: 
                   7028: 
                   7029: 
                   7030: 
                   7031: 
                   7032: 
                   7033: 
                   7034: 
                   7035: 
                   7036: 
                   7037: 
                   7038: 
                   7039: 
                   7040: 
                   7041: 
                   7042: 
                   7043: 
                   7044:     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
                   7045: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
                   7046: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
                   7047:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7048: else
                   7049:   lt_cv_apple_cc_single_mod=no
                   7050:       if test -z "${LT_MULTI_MODULE}"; then
                   7051:        # By default we will add the -single_module flag. You can override
                   7052:        # by either setting the environment variable LT_MULTI_MODULE
                   7053:        # non-empty at configure time, or by adding -multi_module to the
                   7054:        # link flags.
                   7055:        rm -rf libconftest.dylib*
                   7056:        echo "int foo(void){return 1;}" > conftest.c
                   7057:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7058: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7059:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7060:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7061:         _lt_result=$?
                   7062:        # If there is a non-empty error log, and "single_module"
                   7063:        # appears in it, assume the flag caused a linker warning
                   7064:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7065:          cat conftest.err >&5
                   7066:        # Otherwise, if the output was created with a 0 exit code from
                   7067:        # the compiler, it worked.
                   7068:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   7069:          lt_cv_apple_cc_single_mod=yes
                   7070:        else
                   7071:          cat conftest.err >&5
                   7072:        fi
                   7073:        rm -rf libconftest.dylib*
                   7074:        rm -f conftest.*
                   7075:       fi
                   7076: fi
                   7077: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
                   7078: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
                   7079: 
                   7080:     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
                   7081: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
                   7082: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
                   7083:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7084: else
                   7085:   lt_cv_ld_exported_symbols_list=no
                   7086:       save_LDFLAGS=$LDFLAGS
                   7087:       echo "_main" > conftest.sym
                   7088:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7089:       cat >conftest.$ac_ext <<_ACEOF
                   7090: /* confdefs.h.  */
                   7091: _ACEOF
                   7092: cat confdefs.h >>conftest.$ac_ext
                   7093: cat >>conftest.$ac_ext <<_ACEOF
                   7094: /* end confdefs.h.  */
                   7095: 
                   7096: int
                   7097: main ()
                   7098: {
                   7099: 
                   7100:   ;
                   7101:   return 0;
                   7102: }
                   7103: _ACEOF
                   7104: rm -f conftest.$ac_objext conftest$ac_exeext
                   7105: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7106:   (eval $ac_link) 2>conftest.er1
                   7107:   ac_status=$?
                   7108:   grep -v '^ *+' conftest.er1 >conftest.err
                   7109:   rm -f conftest.er1
                   7110:   cat conftest.err >&5
                   7111:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7112:   (exit $ac_status); } &&
                   7113:         { ac_try='test -z "$ac_c_werror_flag"
                   7114:                         || test ! -s conftest.err'
                   7115:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7116:   (eval $ac_try) 2>&5
                   7117:   ac_status=$?
                   7118:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7119:   (exit $ac_status); }; } &&
                   7120:         { ac_try='test -s conftest$ac_exeext'
                   7121:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7122:   (eval $ac_try) 2>&5
                   7123:   ac_status=$?
                   7124:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7125:   (exit $ac_status); }; }; then
                   7126:   lt_cv_ld_exported_symbols_list=yes
                   7127: else
                   7128:   echo "$as_me: failed program was:" >&5
                   7129: sed 's/^/| /' conftest.$ac_ext >&5
                   7130: 
                   7131: lt_cv_ld_exported_symbols_list=no
                   7132: fi
                   7133: rm -f conftest.err conftest.$ac_objext \
                   7134:       conftest$ac_exeext conftest.$ac_ext
                   7135:        LDFLAGS="$save_LDFLAGS"
                   7136: 
                   7137: fi
                   7138: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
                   7139: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
                   7140: 
                   7141:     echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
                   7142: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
                   7143: if test "${lt_cv_ld_force_load+set}" = set; then
                   7144:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7145: else
                   7146:   lt_cv_ld_force_load=no
                   7147:       cat > conftest.c << _LT_EOF
                   7148: int forced_loaded() { return 2;}
                   7149: _LT_EOF
                   7150:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7151:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7152:       echo "$AR cru libconftest.a conftest.o" >&5
                   7153:       $AR cru libconftest.a conftest.o 2>&5
                   7154:       echo "$RANLIB libconftest.a" >&5
                   7155:       $RANLIB libconftest.a 2>&5
                   7156:       cat > conftest.c << _LT_EOF
                   7157: int main() { return 0;}
                   7158: _LT_EOF
                   7159:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7160:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7161:       _lt_result=$?
                   7162:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7163:        cat conftest.err >&5
                   7164:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7165:        lt_cv_ld_force_load=yes
                   7166:       else
                   7167:        cat conftest.err >&5
                   7168:       fi
                   7169:         rm -f conftest.err libconftest.a conftest conftest.c
                   7170:         rm -rf conftest.dSYM
                   7171: 
                   7172: fi
                   7173: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
                   7174: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
                   7175:     case $host_os in
                   7176:     rhapsody* | darwin1.[012])
                   7177:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7178:     darwin1.*)
                   7179:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7180:     darwin*) # darwin 5.x on
                   7181:       # if running on 10.5 or later, the deployment target defaults
                   7182:       # to the OS version, if on x86, and 10.4, the deployment
                   7183:       # target defaults to 10.4. Don't you love it?
                   7184:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7185:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7186:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7187:        10.[012]*)
                   7188:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7189:        10.*)
                   7190:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7191:       esac
                   7192:     ;;
                   7193:   esac
                   7194:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7195:       _lt_dar_single_mod='$single_module'
                   7196:     fi
                   7197:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7198:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7199:     else
                   7200:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7201:     fi
                   7202:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7203:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7204:     else
                   7205:       _lt_dsymutil=
                   7206:     fi
                   7207:     ;;
                   7208:   esac
                   7209: 
                   7210: ac_ext=c
                   7211: ac_cpp='$CPP $CPPFLAGS'
                   7212: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7213: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7214: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7215: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   7216: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   7217: # On Suns, sometimes $CPP names a directory.
                   7218: if test -n "$CPP" && test -d "$CPP"; then
                   7219:   CPP=
                   7220: fi
                   7221: if test -z "$CPP"; then
                   7222:   if test "${ac_cv_prog_CPP+set}" = set; then
                   7223:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7224: else
                   7225:       # Double quotes because CPP needs to be expanded
                   7226:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7227:     do
                   7228:       ac_preproc_ok=false
                   7229: for ac_c_preproc_warn_flag in '' yes
                   7230: do
                   7231:   # Use a header file that comes with gcc, so configuring glibc
                   7232:   # with a fresh cross-compiler works.
                   7233:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7234:   # <limits.h> exists even on freestanding compilers.
                   7235:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7236:   # not just through cpp. "Syntax error" is here to catch this case.
                   7237:   cat >conftest.$ac_ext <<_ACEOF
                   7238: /* confdefs.h.  */
                   7239: _ACEOF
                   7240: cat confdefs.h >>conftest.$ac_ext
                   7241: cat >>conftest.$ac_ext <<_ACEOF
                   7242: /* end confdefs.h.  */
                   7243: #ifdef __STDC__
                   7244: # include <limits.h>
                   7245: #else
                   7246: # include <assert.h>
                   7247: #endif
                   7248:                     Syntax error
                   7249: _ACEOF
                   7250: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7251:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7252:   ac_status=$?
                   7253:   grep -v '^ *+' conftest.er1 >conftest.err
                   7254:   rm -f conftest.er1
                   7255:   cat conftest.err >&5
                   7256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7257:   (exit $ac_status); } >/dev/null; then
                   7258:   if test -s conftest.err; then
                   7259:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7260:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7261:   else
                   7262:     ac_cpp_err=
                   7263:   fi
                   7264: else
                   7265:   ac_cpp_err=yes
                   7266: fi
                   7267: if test -z "$ac_cpp_err"; then
                   7268:   :
                   7269: else
                   7270:   echo "$as_me: failed program was:" >&5
                   7271: sed 's/^/| /' conftest.$ac_ext >&5
                   7272: 
                   7273:   # Broken: fails on valid input.
                   7274: continue
                   7275: fi
                   7276: rm -f conftest.err conftest.$ac_ext
                   7277: 
                   7278:   # OK, works on sane cases.  Now check whether non-existent headers
                   7279:   # can be detected and how.
                   7280:   cat >conftest.$ac_ext <<_ACEOF
                   7281: /* confdefs.h.  */
                   7282: _ACEOF
                   7283: cat confdefs.h >>conftest.$ac_ext
                   7284: cat >>conftest.$ac_ext <<_ACEOF
                   7285: /* end confdefs.h.  */
                   7286: #include <ac_nonexistent.h>
                   7287: _ACEOF
                   7288: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7289:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7290:   ac_status=$?
                   7291:   grep -v '^ *+' conftest.er1 >conftest.err
                   7292:   rm -f conftest.er1
                   7293:   cat conftest.err >&5
                   7294:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7295:   (exit $ac_status); } >/dev/null; then
                   7296:   if test -s conftest.err; then
                   7297:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7298:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7299:   else
                   7300:     ac_cpp_err=
                   7301:   fi
                   7302: else
                   7303:   ac_cpp_err=yes
                   7304: fi
                   7305: if test -z "$ac_cpp_err"; then
                   7306:   # Broken: success on invalid input.
                   7307: continue
                   7308: else
                   7309:   echo "$as_me: failed program was:" >&5
                   7310: sed 's/^/| /' conftest.$ac_ext >&5
                   7311: 
                   7312:   # Passes both tests.
                   7313: ac_preproc_ok=:
                   7314: break
                   7315: fi
                   7316: rm -f conftest.err conftest.$ac_ext
                   7317: 
                   7318: done
                   7319: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7320: rm -f conftest.err conftest.$ac_ext
                   7321: if $ac_preproc_ok; then
                   7322:   break
                   7323: fi
                   7324: 
                   7325:     done
                   7326:     ac_cv_prog_CPP=$CPP
                   7327: 
                   7328: fi
                   7329:   CPP=$ac_cv_prog_CPP
                   7330: else
                   7331:   ac_cv_prog_CPP=$CPP
                   7332: fi
                   7333: echo "$as_me:$LINENO: result: $CPP" >&5
                   7334: echo "${ECHO_T}$CPP" >&6
                   7335: ac_preproc_ok=false
                   7336: for ac_c_preproc_warn_flag in '' yes
                   7337: do
                   7338:   # Use a header file that comes with gcc, so configuring glibc
                   7339:   # with a fresh cross-compiler works.
                   7340:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7341:   # <limits.h> exists even on freestanding compilers.
                   7342:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7343:   # not just through cpp. "Syntax error" is here to catch this case.
                   7344:   cat >conftest.$ac_ext <<_ACEOF
                   7345: /* confdefs.h.  */
                   7346: _ACEOF
                   7347: cat confdefs.h >>conftest.$ac_ext
                   7348: cat >>conftest.$ac_ext <<_ACEOF
                   7349: /* end confdefs.h.  */
                   7350: #ifdef __STDC__
                   7351: # include <limits.h>
                   7352: #else
                   7353: # include <assert.h>
                   7354: #endif
                   7355:                     Syntax error
                   7356: _ACEOF
                   7357: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7358:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7359:   ac_status=$?
                   7360:   grep -v '^ *+' conftest.er1 >conftest.err
                   7361:   rm -f conftest.er1
                   7362:   cat conftest.err >&5
                   7363:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7364:   (exit $ac_status); } >/dev/null; then
                   7365:   if test -s conftest.err; then
                   7366:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7367:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7368:   else
                   7369:     ac_cpp_err=
                   7370:   fi
                   7371: else
                   7372:   ac_cpp_err=yes
                   7373: fi
                   7374: if test -z "$ac_cpp_err"; then
                   7375:   :
                   7376: else
                   7377:   echo "$as_me: failed program was:" >&5
                   7378: sed 's/^/| /' conftest.$ac_ext >&5
                   7379: 
                   7380:   # Broken: fails on valid input.
                   7381: continue
                   7382: fi
                   7383: rm -f conftest.err conftest.$ac_ext
                   7384: 
                   7385:   # OK, works on sane cases.  Now check whether non-existent headers
                   7386:   # can be detected and how.
                   7387:   cat >conftest.$ac_ext <<_ACEOF
                   7388: /* confdefs.h.  */
                   7389: _ACEOF
                   7390: cat confdefs.h >>conftest.$ac_ext
                   7391: cat >>conftest.$ac_ext <<_ACEOF
                   7392: /* end confdefs.h.  */
                   7393: #include <ac_nonexistent.h>
                   7394: _ACEOF
                   7395: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7396:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7397:   ac_status=$?
                   7398:   grep -v '^ *+' conftest.er1 >conftest.err
                   7399:   rm -f conftest.er1
                   7400:   cat conftest.err >&5
                   7401:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7402:   (exit $ac_status); } >/dev/null; then
                   7403:   if test -s conftest.err; then
                   7404:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7405:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7406:   else
                   7407:     ac_cpp_err=
                   7408:   fi
                   7409: else
                   7410:   ac_cpp_err=yes
                   7411: fi
                   7412: if test -z "$ac_cpp_err"; then
                   7413:   # Broken: success on invalid input.
                   7414: continue
                   7415: else
                   7416:   echo "$as_me: failed program was:" >&5
                   7417: sed 's/^/| /' conftest.$ac_ext >&5
                   7418: 
                   7419:   # Passes both tests.
                   7420: ac_preproc_ok=:
                   7421: break
                   7422: fi
                   7423: rm -f conftest.err conftest.$ac_ext
                   7424: 
                   7425: done
                   7426: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7427: rm -f conftest.err conftest.$ac_ext
                   7428: if $ac_preproc_ok; then
                   7429:   :
                   7430: else
                   7431:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   7432: See \`config.log' for more details." >&5
                   7433: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   7434: See \`config.log' for more details." >&2;}
                   7435:    { (exit 1); exit 1; }; }
                   7436: fi
                   7437: 
                   7438: ac_ext=c
                   7439: ac_cpp='$CPP $CPPFLAGS'
                   7440: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7441: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7442: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7443: 
                   7444: 
                   7445: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   7446: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   7447: if test "${ac_cv_header_stdc+set}" = set; then
                   7448:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7449: else
                   7450:   cat >conftest.$ac_ext <<_ACEOF
                   7451: /* confdefs.h.  */
                   7452: _ACEOF
                   7453: cat confdefs.h >>conftest.$ac_ext
                   7454: cat >>conftest.$ac_ext <<_ACEOF
                   7455: /* end confdefs.h.  */
                   7456: #include <stdlib.h>
                   7457: #include <stdarg.h>
                   7458: #include <string.h>
                   7459: #include <float.h>
                   7460: 
                   7461: int
                   7462: main ()
                   7463: {
                   7464: 
                   7465:   ;
                   7466:   return 0;
                   7467: }
                   7468: _ACEOF
                   7469: rm -f conftest.$ac_objext
                   7470: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7471:   (eval $ac_compile) 2>conftest.er1
                   7472:   ac_status=$?
                   7473:   grep -v '^ *+' conftest.er1 >conftest.err
                   7474:   rm -f conftest.er1
                   7475:   cat conftest.err >&5
                   7476:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7477:   (exit $ac_status); } &&
                   7478:         { ac_try='test -z "$ac_c_werror_flag"
                   7479:                         || test ! -s conftest.err'
                   7480:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7481:   (eval $ac_try) 2>&5
                   7482:   ac_status=$?
                   7483:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7484:   (exit $ac_status); }; } &&
                   7485:         { ac_try='test -s conftest.$ac_objext'
                   7486:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7487:   (eval $ac_try) 2>&5
                   7488:   ac_status=$?
                   7489:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7490:   (exit $ac_status); }; }; then
                   7491:   ac_cv_header_stdc=yes
                   7492: else
                   7493:   echo "$as_me: failed program was:" >&5
                   7494: sed 's/^/| /' conftest.$ac_ext >&5
                   7495: 
                   7496: ac_cv_header_stdc=no
                   7497: fi
                   7498: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7499: 
                   7500: if test $ac_cv_header_stdc = yes; then
                   7501:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7502:   cat >conftest.$ac_ext <<_ACEOF
                   7503: /* confdefs.h.  */
                   7504: _ACEOF
                   7505: cat confdefs.h >>conftest.$ac_ext
                   7506: cat >>conftest.$ac_ext <<_ACEOF
                   7507: /* end confdefs.h.  */
                   7508: #include <string.h>
                   7509: 
                   7510: _ACEOF
                   7511: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7512:   $EGREP "memchr" >/dev/null 2>&1; then
                   7513:   :
                   7514: else
                   7515:   ac_cv_header_stdc=no
                   7516: fi
                   7517: rm -f conftest*
                   7518: 
                   7519: fi
                   7520: 
                   7521: if test $ac_cv_header_stdc = yes; then
                   7522:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7523:   cat >conftest.$ac_ext <<_ACEOF
                   7524: /* confdefs.h.  */
                   7525: _ACEOF
                   7526: cat confdefs.h >>conftest.$ac_ext
                   7527: cat >>conftest.$ac_ext <<_ACEOF
                   7528: /* end confdefs.h.  */
                   7529: #include <stdlib.h>
                   7530: 
                   7531: _ACEOF
                   7532: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7533:   $EGREP "free" >/dev/null 2>&1; then
                   7534:   :
                   7535: else
                   7536:   ac_cv_header_stdc=no
                   7537: fi
                   7538: rm -f conftest*
                   7539: 
                   7540: fi
                   7541: 
                   7542: if test $ac_cv_header_stdc = yes; then
                   7543:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7544:   if test "$cross_compiling" = yes; then
                   7545:   :
                   7546: else
                   7547:   cat >conftest.$ac_ext <<_ACEOF
                   7548: /* confdefs.h.  */
                   7549: _ACEOF
                   7550: cat confdefs.h >>conftest.$ac_ext
                   7551: cat >>conftest.$ac_ext <<_ACEOF
                   7552: /* end confdefs.h.  */
                   7553: #include <ctype.h>
                   7554: #if ((' ' & 0x0FF) == 0x020)
                   7555: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7556: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7557: #else
                   7558: # define ISLOWER(c) \
                   7559:                   (('a' <= (c) && (c) <= 'i') \
                   7560:                     || ('j' <= (c) && (c) <= 'r') \
                   7561:                     || ('s' <= (c) && (c) <= 'z'))
                   7562: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7563: #endif
                   7564: 
                   7565: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7566: int
                   7567: main ()
                   7568: {
                   7569:   int i;
                   7570:   for (i = 0; i < 256; i++)
                   7571:     if (XOR (islower (i), ISLOWER (i))
                   7572:        || toupper (i) != TOUPPER (i))
                   7573:       exit(2);
                   7574:   exit (0);
                   7575: }
                   7576: _ACEOF
                   7577: rm -f conftest$ac_exeext
                   7578: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7579:   (eval $ac_link) 2>&5
                   7580:   ac_status=$?
                   7581:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7582:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   7583:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7584:   (eval $ac_try) 2>&5
                   7585:   ac_status=$?
                   7586:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7587:   (exit $ac_status); }; }; then
                   7588:   :
                   7589: else
                   7590:   echo "$as_me: program exited with status $ac_status" >&5
                   7591: echo "$as_me: failed program was:" >&5
                   7592: sed 's/^/| /' conftest.$ac_ext >&5
                   7593: 
                   7594: ( exit $ac_status )
                   7595: ac_cv_header_stdc=no
                   7596: fi
                   7597: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   7598: fi
                   7599: fi
                   7600: fi
                   7601: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   7602: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   7603: if test $ac_cv_header_stdc = yes; then
                   7604: 
                   7605: cat >>confdefs.h <<\_ACEOF
                   7606: #define STDC_HEADERS 1
                   7607: _ACEOF
                   7608: 
                   7609: fi
                   7610: 
                   7611: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7612: 
                   7613: 
                   7614: 
                   7615: 
                   7616: 
                   7617: 
                   7618: 
                   7619: 
                   7620: 
                   7621: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7622:                  inttypes.h stdint.h unistd.h
                   7623: do
                   7624: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7625: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7626: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7627: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7628:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7629: else
                   7630:   cat >conftest.$ac_ext <<_ACEOF
                   7631: /* confdefs.h.  */
                   7632: _ACEOF
                   7633: cat confdefs.h >>conftest.$ac_ext
                   7634: cat >>conftest.$ac_ext <<_ACEOF
                   7635: /* end confdefs.h.  */
                   7636: $ac_includes_default
                   7637: 
                   7638: #include <$ac_header>
                   7639: _ACEOF
                   7640: rm -f conftest.$ac_objext
                   7641: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7642:   (eval $ac_compile) 2>conftest.er1
                   7643:   ac_status=$?
                   7644:   grep -v '^ *+' conftest.er1 >conftest.err
                   7645:   rm -f conftest.er1
                   7646:   cat conftest.err >&5
                   7647:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7648:   (exit $ac_status); } &&
                   7649:         { ac_try='test -z "$ac_c_werror_flag"
                   7650:                         || test ! -s conftest.err'
                   7651:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7652:   (eval $ac_try) 2>&5
                   7653:   ac_status=$?
                   7654:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7655:   (exit $ac_status); }; } &&
                   7656:         { ac_try='test -s conftest.$ac_objext'
                   7657:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7658:   (eval $ac_try) 2>&5
                   7659:   ac_status=$?
                   7660:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7661:   (exit $ac_status); }; }; then
                   7662:   eval "$as_ac_Header=yes"
                   7663: else
                   7664:   echo "$as_me: failed program was:" >&5
                   7665: sed 's/^/| /' conftest.$ac_ext >&5
                   7666: 
                   7667: eval "$as_ac_Header=no"
                   7668: fi
                   7669: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7670: fi
                   7671: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7672: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7673: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7674:   cat >>confdefs.h <<_ACEOF
                   7675: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7676: _ACEOF
                   7677: 
                   7678: fi
                   7679: 
                   7680: done
                   7681: 
                   7682: 
                   7683: 
                   7684: for ac_header in dlfcn.h
                   7685: do
                   7686: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7687: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7688: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7689: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7690:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7691: else
                   7692:   cat >conftest.$ac_ext <<_ACEOF
                   7693: /* confdefs.h.  */
                   7694: _ACEOF
                   7695: cat confdefs.h >>conftest.$ac_ext
                   7696: cat >>conftest.$ac_ext <<_ACEOF
                   7697: /* end confdefs.h.  */
                   7698: $ac_includes_default
                   7699: 
                   7700: #include <$ac_header>
                   7701: _ACEOF
                   7702: rm -f conftest.$ac_objext
                   7703: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7704:   (eval $ac_compile) 2>conftest.er1
                   7705:   ac_status=$?
                   7706:   grep -v '^ *+' conftest.er1 >conftest.err
                   7707:   rm -f conftest.er1
                   7708:   cat conftest.err >&5
                   7709:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7710:   (exit $ac_status); } &&
                   7711:         { ac_try='test -z "$ac_c_werror_flag"
                   7712:                         || test ! -s conftest.err'
                   7713:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7714:   (eval $ac_try) 2>&5
                   7715:   ac_status=$?
                   7716:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7717:   (exit $ac_status); }; } &&
                   7718:         { ac_try='test -s conftest.$ac_objext'
                   7719:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7720:   (eval $ac_try) 2>&5
                   7721:   ac_status=$?
                   7722:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7723:   (exit $ac_status); }; }; then
                   7724:   eval "$as_ac_Header=yes"
                   7725: else
                   7726:   echo "$as_me: failed program was:" >&5
                   7727: sed 's/^/| /' conftest.$ac_ext >&5
                   7728: 
                   7729: eval "$as_ac_Header=no"
                   7730: fi
                   7731: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7732: fi
                   7733: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7734: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7735: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7736:   cat >>confdefs.h <<_ACEOF
                   7737: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7738: _ACEOF
                   7739: 
                   7740: fi
                   7741: 
                   7742: done
                   7743: 
                   7744: 
                   7745: 
                   7746: 
                   7747: func_stripname_cnf ()
                   7748: {
                   7749:   case ${2} in
                   7750:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7751:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7752:   esac
                   7753: } # func_stripname_cnf
                   7754: 
                   7755: 
                   7756: 
                   7757: 
                   7758: 
                   7759: # Set options
                   7760: enable_dlopen=yes
                   7761: enable_win32_dll=yes
                   7762: 
                   7763: case $host in
                   7764: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7765:   if test -n "$ac_tool_prefix"; then
                   7766:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7767: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7768: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7769: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7770: if test "${ac_cv_prog_AS+set}" = set; then
                   7771:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7772: else
                   7773:   if test -n "$AS"; then
                   7774:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7775: else
                   7776: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7777: for as_dir in $PATH
                   7778: do
                   7779:   IFS=$as_save_IFS
                   7780:   test -z "$as_dir" && as_dir=.
                   7781:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7782:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7783:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7784:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7785:     break 2
                   7786:   fi
                   7787: done
                   7788: done
                   7789: 
                   7790: fi
                   7791: fi
                   7792: AS=$ac_cv_prog_AS
                   7793: if test -n "$AS"; then
                   7794:   echo "$as_me:$LINENO: result: $AS" >&5
                   7795: echo "${ECHO_T}$AS" >&6
                   7796: else
                   7797:   echo "$as_me:$LINENO: result: no" >&5
                   7798: echo "${ECHO_T}no" >&6
                   7799: fi
                   7800: 
                   7801: fi
                   7802: if test -z "$ac_cv_prog_AS"; then
                   7803:   ac_ct_AS=$AS
                   7804:   # Extract the first word of "as", so it can be a program name with args.
                   7805: set dummy as; ac_word=$2
                   7806: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7807: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7808: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   7809:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7810: else
                   7811:   if test -n "$ac_ct_AS"; then
                   7812:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   7813: else
                   7814: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7815: for as_dir in $PATH
                   7816: do
                   7817:   IFS=$as_save_IFS
                   7818:   test -z "$as_dir" && as_dir=.
                   7819:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7820:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7821:     ac_cv_prog_ac_ct_AS="as"
                   7822:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7823:     break 2
                   7824:   fi
                   7825: done
                   7826: done
                   7827: 
                   7828:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
                   7829: fi
                   7830: fi
                   7831: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7832: if test -n "$ac_ct_AS"; then
                   7833:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   7834: echo "${ECHO_T}$ac_ct_AS" >&6
                   7835: else
                   7836:   echo "$as_me:$LINENO: result: no" >&5
                   7837: echo "${ECHO_T}no" >&6
                   7838: fi
                   7839: 
                   7840:   AS=$ac_ct_AS
                   7841: else
                   7842:   AS="$ac_cv_prog_AS"
                   7843: fi
                   7844: 
                   7845:   if test -n "$ac_tool_prefix"; then
                   7846:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7847: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7848: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7849: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7850: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   7851:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7852: else
                   7853:   if test -n "$DLLTOOL"; then
                   7854:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   7855: else
                   7856: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7857: for as_dir in $PATH
                   7858: do
                   7859:   IFS=$as_save_IFS
                   7860:   test -z "$as_dir" && as_dir=.
                   7861:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7862:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7863:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7864:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7865:     break 2
                   7866:   fi
                   7867: done
                   7868: done
                   7869: 
                   7870: fi
                   7871: fi
                   7872: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7873: if test -n "$DLLTOOL"; then
                   7874:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   7875: echo "${ECHO_T}$DLLTOOL" >&6
                   7876: else
                   7877:   echo "$as_me:$LINENO: result: no" >&5
                   7878: echo "${ECHO_T}no" >&6
                   7879: fi
                   7880: 
                   7881: fi
                   7882: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7883:   ac_ct_DLLTOOL=$DLLTOOL
                   7884:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7885: set dummy dlltool; ac_word=$2
                   7886: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7887: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7888: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   7889:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7890: else
                   7891:   if test -n "$ac_ct_DLLTOOL"; then
                   7892:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   7893: else
                   7894: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7895: for as_dir in $PATH
                   7896: do
                   7897:   IFS=$as_save_IFS
                   7898:   test -z "$as_dir" && as_dir=.
                   7899:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7900:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7901:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7902:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7903:     break 2
                   7904:   fi
                   7905: done
                   7906: done
                   7907: 
                   7908:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   7909: fi
                   7910: fi
                   7911: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7912: if test -n "$ac_ct_DLLTOOL"; then
                   7913:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   7914: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   7915: else
                   7916:   echo "$as_me:$LINENO: result: no" >&5
                   7917: echo "${ECHO_T}no" >&6
                   7918: fi
                   7919: 
                   7920:   DLLTOOL=$ac_ct_DLLTOOL
                   7921: else
                   7922:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7923: fi
                   7924: 
                   7925:   if test -n "$ac_tool_prefix"; then
                   7926:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7927: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7928: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7929: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7930: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   7931:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7932: else
                   7933:   if test -n "$OBJDUMP"; then
                   7934:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7935: else
                   7936: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7937: for as_dir in $PATH
                   7938: do
                   7939:   IFS=$as_save_IFS
                   7940:   test -z "$as_dir" && as_dir=.
                   7941:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7942:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7943:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7944:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7945:     break 2
                   7946:   fi
                   7947: done
                   7948: done
                   7949: 
                   7950: fi
                   7951: fi
                   7952: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7953: if test -n "$OBJDUMP"; then
                   7954:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   7955: echo "${ECHO_T}$OBJDUMP" >&6
                   7956: else
                   7957:   echo "$as_me:$LINENO: result: no" >&5
                   7958: echo "${ECHO_T}no" >&6
                   7959: fi
                   7960: 
                   7961: fi
                   7962: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7963:   ac_ct_OBJDUMP=$OBJDUMP
                   7964:   # Extract the first word of "objdump", so it can be a program name with args.
                   7965: set dummy objdump; ac_word=$2
                   7966: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7967: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7968: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   7969:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7970: else
                   7971:   if test -n "$ac_ct_OBJDUMP"; then
                   7972:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   7973: else
                   7974: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7975: for as_dir in $PATH
                   7976: do
                   7977:   IFS=$as_save_IFS
                   7978:   test -z "$as_dir" && as_dir=.
                   7979:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7980:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7981:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7982:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7983:     break 2
                   7984:   fi
                   7985: done
                   7986: done
                   7987: 
                   7988:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   7989: fi
                   7990: fi
                   7991: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7992: if test -n "$ac_ct_OBJDUMP"; then
                   7993:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   7994: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   7995: else
                   7996:   echo "$as_me:$LINENO: result: no" >&5
                   7997: echo "${ECHO_T}no" >&6
                   7998: fi
                   7999: 
                   8000:   OBJDUMP=$ac_ct_OBJDUMP
                   8001: else
                   8002:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8003: fi
                   8004: 
                   8005:   ;;
                   8006: esac
                   8007: 
                   8008: test -z "$AS" && AS=as
                   8009: 
                   8010: 
                   8011: 
                   8012: 
                   8013: 
                   8014: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8015: 
                   8016: 
                   8017: 
                   8018: 
                   8019: 
                   8020: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8021: 
                   8022: 
                   8023: 
                   8024: 
                   8025: 
1.145   ! moko     8026: # Check whether --with-pic or --without-pic was given.
        !          8027: if test "${with_pic+set}" = set; then
        !          8028:   withval="$with_pic"
        !          8029:   lt_p=${PACKAGE-default}
        !          8030:     case $withval in
        !          8031:     yes|no) pic_mode=$withval ;;
        !          8032:     *)
        !          8033:       pic_mode=default
        !          8034:       # Look at the argument we got.  We use all the common list separators.
        !          8035:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          8036:       for lt_pkg in $withval; do
        !          8037:        IFS="$lt_save_ifs"
        !          8038:        if test "X$lt_pkg" = "X$lt_p"; then
        !          8039:          pic_mode=yes
        !          8040:        fi
        !          8041:       done
        !          8042:       IFS="$lt_save_ifs"
        !          8043:       ;;
        !          8044:     esac
        !          8045: else
        !          8046:   pic_mode=default
        !          8047: fi;
        !          8048: 
        !          8049: test -z "$pic_mode" && pic_mode=no
        !          8050: 
        !          8051: 
        !          8052: 
        !          8053: 
        !          8054: 
        !          8055: 
1.128     moko     8056: 
                   8057: 
                   8058: 
                   8059: 
                   8060:             # Check whether --enable-shared or --disable-shared was given.
                   8061: if test "${enable_shared+set}" = set; then
                   8062:   enableval="$enable_shared"
                   8063:   p=${PACKAGE-default}
                   8064:     case $enableval in
                   8065:     yes) enable_shared=yes ;;
                   8066:     no) enable_shared=no ;;
                   8067:     *)
                   8068:       enable_shared=no
                   8069:       # Look at the argument we got.  We use all the common list separators.
                   8070:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8071:       for pkg in $enableval; do
                   8072:        IFS="$lt_save_ifs"
                   8073:        if test "X$pkg" = "X$p"; then
                   8074:          enable_shared=yes
                   8075:        fi
                   8076:       done
                   8077:       IFS="$lt_save_ifs"
                   8078:       ;;
                   8079:     esac
                   8080: else
                   8081:   enable_shared=yes
                   8082: fi;
                   8083: 
                   8084: 
                   8085: 
                   8086: 
                   8087: 
                   8088: 
                   8089: 
                   8090: 
1.138     moko     8091:   # Check whether --enable-static or --disable-static was given.
                   8092: if test "${enable_static+set}" = set; then
                   8093:   enableval="$enable_static"
                   8094:   p=${PACKAGE-default}
                   8095:     case $enableval in
                   8096:     yes) enable_static=yes ;;
                   8097:     no) enable_static=no ;;
                   8098:     *)
                   8099:      enable_static=no
                   8100:       # Look at the argument we got.  We use all the common list separators.
                   8101:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8102:       for pkg in $enableval; do
                   8103:        IFS="$lt_save_ifs"
                   8104:        if test "X$pkg" = "X$p"; then
                   8105:          enable_static=yes
                   8106:        fi
                   8107:       done
                   8108:       IFS="$lt_save_ifs"
                   8109:       ;;
                   8110:     esac
                   8111: else
                   8112:   enable_static=yes
                   8113: fi;
                   8114: 
                   8115: 
                   8116: 
                   8117: 
                   8118: 
                   8119: 
                   8120: 
1.128     moko     8121: 
                   8122: 
                   8123:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   8124: if test "${enable_fast_install+set}" = set; then
                   8125:   enableval="$enable_fast_install"
                   8126:   p=${PACKAGE-default}
                   8127:     case $enableval in
                   8128:     yes) enable_fast_install=yes ;;
                   8129:     no) enable_fast_install=no ;;
                   8130:     *)
                   8131:       enable_fast_install=no
                   8132:       # Look at the argument we got.  We use all the common list separators.
                   8133:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8134:       for pkg in $enableval; do
                   8135:        IFS="$lt_save_ifs"
                   8136:        if test "X$pkg" = "X$p"; then
                   8137:          enable_fast_install=yes
                   8138:        fi
                   8139:       done
                   8140:       IFS="$lt_save_ifs"
                   8141:       ;;
                   8142:     esac
                   8143: else
                   8144:   enable_fast_install=yes
                   8145: fi;
                   8146: 
                   8147: 
                   8148: 
                   8149: 
                   8150: 
                   8151: 
                   8152: 
                   8153: 
                   8154: 
                   8155: 
                   8156: # This can be used to rebuild libtool when needed
                   8157: LIBTOOL_DEPS="$ltmain"
                   8158: 
                   8159: # Always use our own libtool.
                   8160: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8161: 
                   8162: 
                   8163: 
                   8164: 
                   8165: 
                   8166: 
                   8167: 
                   8168: 
                   8169: 
                   8170: 
                   8171: 
                   8172: 
                   8173: 
                   8174: 
                   8175: 
                   8176: 
                   8177: 
                   8178: 
                   8179: 
                   8180: 
                   8181: 
                   8182: 
                   8183: 
                   8184: 
                   8185: 
                   8186: 
                   8187: 
                   8188: 
                   8189: 
                   8190: 
                   8191: test -z "$LN_S" && LN_S="ln -s"
                   8192: 
                   8193: 
                   8194: 
                   8195: 
                   8196: 
                   8197: 
                   8198: 
                   8199: 
                   8200: 
                   8201: 
                   8202: 
                   8203: 
                   8204: 
                   8205: 
                   8206: if test -n "${ZSH_VERSION+set}" ; then
                   8207:    setopt NO_GLOB_SUBST
                   8208: fi
                   8209: 
                   8210: echo "$as_me:$LINENO: checking for objdir" >&5
                   8211: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   8212: if test "${lt_cv_objdir+set}" = set; then
                   8213:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8214: else
                   8215:   rm -f .libs 2>/dev/null
                   8216: mkdir .libs 2>/dev/null
                   8217: if test -d .libs; then
                   8218:   lt_cv_objdir=.libs
                   8219: else
                   8220:   # MS-DOS does not allow filenames that begin with a dot.
                   8221:   lt_cv_objdir=_libs
                   8222: fi
                   8223: rmdir .libs 2>/dev/null
                   8224: fi
                   8225: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   8226: echo "${ECHO_T}$lt_cv_objdir" >&6
                   8227: objdir=$lt_cv_objdir
                   8228: 
                   8229: 
                   8230: 
                   8231: 
                   8232: 
                   8233: cat >>confdefs.h <<_ACEOF
                   8234: #define LT_OBJDIR "$lt_cv_objdir/"
                   8235: _ACEOF
                   8236: 
                   8237: 
                   8238: 
                   8239: 
                   8240: case $host_os in
                   8241: aix3*)
                   8242:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8243:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8244:   # vanish in a puff of smoke.
                   8245:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8246:     COLLECT_NAMES=
                   8247:     export COLLECT_NAMES
                   8248:   fi
                   8249:   ;;
                   8250: esac
                   8251: 
                   8252: # Global variables:
                   8253: ofile=libtool
                   8254: can_build_shared=yes
                   8255: 
                   8256: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8257: # which needs '.lib').
                   8258: libext=a
                   8259: 
                   8260: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   8261: 
                   8262: old_CC="$CC"
                   8263: old_CFLAGS="$CFLAGS"
                   8264: 
                   8265: # Set sane defaults for various variables
                   8266: test -z "$CC" && CC=cc
                   8267: test -z "$LTCC" && LTCC=$CC
                   8268: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8269: test -z "$LD" && LD=ld
                   8270: test -z "$ac_objext" && ac_objext=o
                   8271: 
                   8272: for cc_temp in $compiler""; do
                   8273:   case $cc_temp in
                   8274:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8275:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8276:     \-*) ;;
                   8277:     *) break;;
                   8278:   esac
                   8279: done
                   8280: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   8281: 
                   8282: 
                   8283: # Only perform the check for file, if the check method requires it
                   8284: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8285: case $deplibs_check_method in
                   8286: file_magic*)
                   8287:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8288:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   8289: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   8290: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8291:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8292: else
                   8293:   case $MAGIC_CMD in
                   8294: [\\/*] |  ?:[\\/]*)
                   8295:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8296:   ;;
                   8297: *)
                   8298:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8299:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8300:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8301:   for ac_dir in $ac_dummy; do
                   8302:     IFS="$lt_save_ifs"
                   8303:     test -z "$ac_dir" && ac_dir=.
                   8304:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8305:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8306:       if test -n "$file_magic_test_file"; then
                   8307:        case $deplibs_check_method in
                   8308:        "file_magic "*)
                   8309:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8310:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8311:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8312:            $EGREP "$file_magic_regex" > /dev/null; then
                   8313:            :
                   8314:          else
                   8315:            cat <<_LT_EOF 1>&2
                   8316: 
                   8317: *** Warning: the command libtool uses to detect shared libraries,
                   8318: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8319: *** The result is that libtool may fail to recognize shared libraries
                   8320: *** as such.  This will affect the creation of libtool libraries that
                   8321: *** depend on shared libraries, but programs linked with such libtool
                   8322: *** libraries will work regardless of this problem.  Nevertheless, you
                   8323: *** may want to report the problem to your system manager and/or to
                   8324: *** bug-libtool@gnu.org
                   8325: 
                   8326: _LT_EOF
                   8327:          fi ;;
                   8328:        esac
                   8329:       fi
                   8330:       break
                   8331:     fi
                   8332:   done
                   8333:   IFS="$lt_save_ifs"
                   8334:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8335:   ;;
                   8336: esac
                   8337: fi
                   8338: 
                   8339: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8340: if test -n "$MAGIC_CMD"; then
                   8341:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8342: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8343: else
                   8344:   echo "$as_me:$LINENO: result: no" >&5
                   8345: echo "${ECHO_T}no" >&6
                   8346: fi
                   8347: 
                   8348: 
                   8349: 
                   8350: 
                   8351: 
                   8352: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8353:   if test -n "$ac_tool_prefix"; then
                   8354:     echo "$as_me:$LINENO: checking for file" >&5
                   8355: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   8356: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8357:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8358: else
                   8359:   case $MAGIC_CMD in
                   8360: [\\/*] |  ?:[\\/]*)
                   8361:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8362:   ;;
                   8363: *)
                   8364:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8365:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8366:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8367:   for ac_dir in $ac_dummy; do
                   8368:     IFS="$lt_save_ifs"
                   8369:     test -z "$ac_dir" && ac_dir=.
                   8370:     if test -f $ac_dir/file; then
                   8371:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8372:       if test -n "$file_magic_test_file"; then
                   8373:        case $deplibs_check_method in
                   8374:        "file_magic "*)
                   8375:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8376:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8377:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8378:            $EGREP "$file_magic_regex" > /dev/null; then
                   8379:            :
                   8380:          else
                   8381:            cat <<_LT_EOF 1>&2
                   8382: 
                   8383: *** Warning: the command libtool uses to detect shared libraries,
                   8384: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8385: *** The result is that libtool may fail to recognize shared libraries
                   8386: *** as such.  This will affect the creation of libtool libraries that
                   8387: *** depend on shared libraries, but programs linked with such libtool
                   8388: *** libraries will work regardless of this problem.  Nevertheless, you
                   8389: *** may want to report the problem to your system manager and/or to
                   8390: *** bug-libtool@gnu.org
                   8391: 
                   8392: _LT_EOF
                   8393:          fi ;;
                   8394:        esac
                   8395:       fi
                   8396:       break
                   8397:     fi
                   8398:   done
                   8399:   IFS="$lt_save_ifs"
                   8400:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8401:   ;;
                   8402: esac
                   8403: fi
                   8404: 
                   8405: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8406: if test -n "$MAGIC_CMD"; then
                   8407:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8408: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8409: else
                   8410:   echo "$as_me:$LINENO: result: no" >&5
                   8411: echo "${ECHO_T}no" >&6
                   8412: fi
                   8413: 
                   8414: 
                   8415:   else
                   8416:     MAGIC_CMD=:
                   8417:   fi
                   8418: fi
                   8419: 
                   8420:   fi
                   8421:   ;;
                   8422: esac
                   8423: 
                   8424: # Use C for the default configuration in the libtool script
                   8425: 
                   8426: lt_save_CC="$CC"
                   8427: ac_ext=c
                   8428: ac_cpp='$CPP $CPPFLAGS'
                   8429: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8430: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8431: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8432: 
                   8433: 
                   8434: # Source file extension for C test sources.
                   8435: ac_ext=c
                   8436: 
                   8437: # Object file extension for compiled C test sources.
                   8438: objext=o
                   8439: objext=$objext
                   8440: 
                   8441: # Code to be used in simple compile tests
                   8442: lt_simple_compile_test_code="int some_variable = 0;"
                   8443: 
                   8444: # Code to be used in simple link tests
                   8445: lt_simple_link_test_code='int main(){return(0);}'
                   8446: 
                   8447: 
                   8448: 
                   8449: 
                   8450: 
                   8451: 
                   8452: 
                   8453: # If no C compiler was specified, use CC.
                   8454: LTCC=${LTCC-"$CC"}
                   8455: 
                   8456: # If no C compiler flags were specified, use CFLAGS.
                   8457: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8458: 
                   8459: # Allow CC to be a program name with arguments.
                   8460: compiler=$CC
                   8461: 
                   8462: # Save the default compiler, since it gets overwritten when the other
                   8463: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8464: compiler_DEFAULT=$CC
                   8465: 
                   8466: # save warnings/boilerplate of simple test code
                   8467: ac_outfile=conftest.$ac_objext
                   8468: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8469: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8470: _lt_compiler_boilerplate=`cat conftest.err`
                   8471: $RM conftest*
                   8472: 
                   8473: ac_outfile=conftest.$ac_objext
                   8474: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8475: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8476: _lt_linker_boilerplate=`cat conftest.err`
                   8477: $RM -r conftest*
                   8478: 
                   8479: 
                   8480: ## CAVEAT EMPTOR:
                   8481: ## There is no encapsulation within the following macros, do not change
                   8482: ## the running order or otherwise move them around unless you know exactly
                   8483: ## what you are doing...
                   8484: if test -n "$compiler"; then
                   8485: 
                   8486: lt_prog_compiler_no_builtin_flag=
                   8487: 
                   8488: if test "$GCC" = yes; then
                   8489:   case $cc_basename in
                   8490:   nvcc*)
                   8491:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8492:   *)
                   8493:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8494:   esac
                   8495: 
                   8496:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8497: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   8498: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
                   8499:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8500: else
                   8501:   lt_cv_prog_compiler_rtti_exceptions=no
                   8502:    ac_outfile=conftest.$ac_objext
                   8503:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8504:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8505:    # Insert the option either (1) after the last *FLAGS variable, or
                   8506:    # (2) before a word containing "conftest.", or (3) at the end.
                   8507:    # Note that $ac_compile itself does not contain backslashes and begins
                   8508:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8509:    # The option is referenced via a variable to avoid confusing sed.
                   8510:    lt_compile=`echo "$ac_compile" | $SED \
                   8511:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8512:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8513:    -e 's:$: $lt_compiler_flag:'`
                   8514:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8515:    (eval "$lt_compile" 2>conftest.err)
                   8516:    ac_status=$?
                   8517:    cat conftest.err >&5
                   8518:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8519:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8520:      # The compiler can only warn and ignore the option if not recognized
                   8521:      # So say no if there are warnings other than the usual output.
                   8522:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8523:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8524:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8525:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8526:      fi
                   8527:    fi
                   8528:    $RM conftest*
                   8529: 
                   8530: fi
                   8531: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8532: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
                   8533: 
                   8534: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8535:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8536: else
                   8537:     :
                   8538: fi
                   8539: 
                   8540: fi
                   8541: 
                   8542: 
                   8543: 
                   8544: 
                   8545: 
                   8546: 
                   8547:   lt_prog_compiler_wl=
                   8548: lt_prog_compiler_pic=
                   8549: lt_prog_compiler_static=
                   8550: 
                   8551: 
                   8552:   if test "$GCC" = yes; then
                   8553:     lt_prog_compiler_wl='-Wl,'
                   8554:     lt_prog_compiler_static='-static'
                   8555: 
                   8556:     case $host_os in
                   8557:       aix*)
                   8558:       # All AIX code is PIC.
                   8559:       if test "$host_cpu" = ia64; then
                   8560:        # AIX 5 now supports IA64 processor
                   8561:        lt_prog_compiler_static='-Bstatic'
                   8562:       fi
                   8563:       ;;
                   8564: 
                   8565:     amigaos*)
                   8566:       case $host_cpu in
                   8567:       powerpc)
                   8568:             # see comment about AmigaOS4 .so support
                   8569:             lt_prog_compiler_pic='-fPIC'
                   8570:         ;;
                   8571:       m68k)
                   8572:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8573:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8574:             # like `-m68040'.
                   8575:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8576:         ;;
                   8577:       esac
                   8578:       ;;
                   8579: 
                   8580:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8581:       # PIC is the default for these OSes.
                   8582:       ;;
                   8583: 
                   8584:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8585:       # This hack is so that the source file can tell whether it is being
                   8586:       # built for inclusion in a dll (and should export symbols for example).
                   8587:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8588:       # (--disable-auto-import) libraries
                   8589:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8590:       ;;
                   8591: 
                   8592:     darwin* | rhapsody*)
                   8593:       # PIC is the default on this platform
                   8594:       # Common symbols not allowed in MH_DYLIB files
                   8595:       lt_prog_compiler_pic='-fno-common'
                   8596:       ;;
                   8597: 
                   8598:     haiku*)
                   8599:       # PIC is the default for Haiku.
                   8600:       # The "-static" flag exists, but is broken.
                   8601:       lt_prog_compiler_static=
                   8602:       ;;
                   8603: 
                   8604:     hpux*)
                   8605:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8606:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8607:       # sets the default TLS model and affects inlining.
                   8608:       case $host_cpu in
                   8609:       hppa*64*)
                   8610:        # +Z the default
                   8611:        ;;
                   8612:       *)
                   8613:        lt_prog_compiler_pic='-fPIC'
                   8614:        ;;
                   8615:       esac
                   8616:       ;;
                   8617: 
                   8618:     interix[3-9]*)
                   8619:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8620:       # Instead, we relocate shared libraries at runtime.
                   8621:       ;;
                   8622: 
                   8623:     msdosdjgpp*)
                   8624:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8625:       # on systems that don't support them.
                   8626:       lt_prog_compiler_can_build_shared=no
                   8627:       enable_shared=no
                   8628:       ;;
                   8629: 
                   8630:     *nto* | *qnx*)
                   8631:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8632:       # it will coredump.
                   8633:       lt_prog_compiler_pic='-fPIC -shared'
                   8634:       ;;
                   8635: 
                   8636:     sysv4*MP*)
                   8637:       if test -d /usr/nec; then
                   8638:        lt_prog_compiler_pic=-Kconform_pic
                   8639:       fi
                   8640:       ;;
                   8641: 
                   8642:     *)
                   8643:       lt_prog_compiler_pic='-fPIC'
                   8644:       ;;
                   8645:     esac
                   8646: 
                   8647:     case $cc_basename in
                   8648:     nvcc*) # Cuda Compiler Driver 2.2
                   8649:       lt_prog_compiler_wl='-Xlinker '
                   8650:       if test -n "$lt_prog_compiler_pic"; then
                   8651:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8652:       fi
                   8653:       ;;
                   8654:     esac
                   8655:   else
                   8656:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8657:     case $host_os in
                   8658:     aix*)
                   8659:       lt_prog_compiler_wl='-Wl,'
                   8660:       if test "$host_cpu" = ia64; then
                   8661:        # AIX 5 now supports IA64 processor
                   8662:        lt_prog_compiler_static='-Bstatic'
                   8663:       else
                   8664:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8665:       fi
                   8666:       ;;
                   8667: 
                   8668:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8669:       # This hack is so that the source file can tell whether it is being
                   8670:       # built for inclusion in a dll (and should export symbols for example).
                   8671:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8672:       ;;
                   8673: 
                   8674:     hpux9* | hpux10* | hpux11*)
                   8675:       lt_prog_compiler_wl='-Wl,'
                   8676:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8677:       # not for PA HP-UX.
                   8678:       case $host_cpu in
                   8679:       hppa*64*|ia64*)
                   8680:        # +Z the default
                   8681:        ;;
                   8682:       *)
                   8683:        lt_prog_compiler_pic='+Z'
                   8684:        ;;
                   8685:       esac
                   8686:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8687:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8688:       ;;
                   8689: 
                   8690:     irix5* | irix6* | nonstopux*)
                   8691:       lt_prog_compiler_wl='-Wl,'
                   8692:       # PIC (with -KPIC) is the default.
                   8693:       lt_prog_compiler_static='-non_shared'
                   8694:       ;;
                   8695: 
                   8696:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8697:       case $cc_basename in
                   8698:       # old Intel for x86_64 which still supported -KPIC.
                   8699:       ecc*)
                   8700:        lt_prog_compiler_wl='-Wl,'
                   8701:        lt_prog_compiler_pic='-KPIC'
                   8702:        lt_prog_compiler_static='-static'
                   8703:         ;;
                   8704:       # icc used to be incompatible with GCC.
                   8705:       # ICC 10 doesn't accept -KPIC any more.
                   8706:       icc* | ifort*)
                   8707:        lt_prog_compiler_wl='-Wl,'
                   8708:        lt_prog_compiler_pic='-fPIC'
                   8709:        lt_prog_compiler_static='-static'
                   8710:         ;;
                   8711:       # Lahey Fortran 8.1.
                   8712:       lf95*)
                   8713:        lt_prog_compiler_wl='-Wl,'
                   8714:        lt_prog_compiler_pic='--shared'
                   8715:        lt_prog_compiler_static='--static'
                   8716:        ;;
                   8717:       nagfor*)
                   8718:        # NAG Fortran compiler
                   8719:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8720:        lt_prog_compiler_pic='-PIC'
                   8721:        lt_prog_compiler_static='-Bstatic'
                   8722:        ;;
                   8723:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8724:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8725:        # which looks to be a dead project)
                   8726:        lt_prog_compiler_wl='-Wl,'
                   8727:        lt_prog_compiler_pic='-fpic'
                   8728:        lt_prog_compiler_static='-Bstatic'
                   8729:         ;;
                   8730:       ccc*)
                   8731:         lt_prog_compiler_wl='-Wl,'
                   8732:         # All Alpha code is PIC.
                   8733:         lt_prog_compiler_static='-non_shared'
                   8734:         ;;
                   8735:       xl* | bgxl* | bgf* | mpixl*)
                   8736:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8737:        lt_prog_compiler_wl='-Wl,'
                   8738:        lt_prog_compiler_pic='-qpic'
                   8739:        lt_prog_compiler_static='-qstaticlink'
                   8740:        ;;
                   8741:       *)
                   8742:        case `$CC -V 2>&1 | sed 5q` in
                   8743:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8744:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8745:          lt_prog_compiler_pic='-KPIC'
                   8746:          lt_prog_compiler_static='-Bstatic'
                   8747:          lt_prog_compiler_wl=''
                   8748:          ;;
                   8749:        *Sun\ F* | *Sun*Fortran*)
                   8750:          lt_prog_compiler_pic='-KPIC'
                   8751:          lt_prog_compiler_static='-Bstatic'
                   8752:          lt_prog_compiler_wl='-Qoption ld '
                   8753:          ;;
                   8754:        *Sun\ C*)
                   8755:          # Sun C 5.9
                   8756:          lt_prog_compiler_pic='-KPIC'
                   8757:          lt_prog_compiler_static='-Bstatic'
                   8758:          lt_prog_compiler_wl='-Wl,'
                   8759:          ;;
                   8760:         *Intel*\ [CF]*Compiler*)
                   8761:          lt_prog_compiler_wl='-Wl,'
                   8762:          lt_prog_compiler_pic='-fPIC'
                   8763:          lt_prog_compiler_static='-static'
                   8764:          ;;
                   8765:        *Portland\ Group*)
                   8766:          lt_prog_compiler_wl='-Wl,'
                   8767:          lt_prog_compiler_pic='-fpic'
                   8768:          lt_prog_compiler_static='-Bstatic'
                   8769:          ;;
                   8770:        esac
                   8771:        ;;
                   8772:       esac
                   8773:       ;;
                   8774: 
                   8775:     newsos6)
                   8776:       lt_prog_compiler_pic='-KPIC'
                   8777:       lt_prog_compiler_static='-Bstatic'
                   8778:       ;;
                   8779: 
                   8780:     *nto* | *qnx*)
                   8781:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8782:       # it will coredump.
                   8783:       lt_prog_compiler_pic='-fPIC -shared'
                   8784:       ;;
                   8785: 
                   8786:     osf3* | osf4* | osf5*)
                   8787:       lt_prog_compiler_wl='-Wl,'
                   8788:       # All OSF/1 code is PIC.
                   8789:       lt_prog_compiler_static='-non_shared'
                   8790:       ;;
                   8791: 
                   8792:     rdos*)
                   8793:       lt_prog_compiler_static='-non_shared'
                   8794:       ;;
                   8795: 
                   8796:     solaris*)
                   8797:       lt_prog_compiler_pic='-KPIC'
                   8798:       lt_prog_compiler_static='-Bstatic'
                   8799:       case $cc_basename in
                   8800:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8801:        lt_prog_compiler_wl='-Qoption ld ';;
                   8802:       *)
                   8803:        lt_prog_compiler_wl='-Wl,';;
                   8804:       esac
                   8805:       ;;
                   8806: 
                   8807:     sunos4*)
                   8808:       lt_prog_compiler_wl='-Qoption ld '
                   8809:       lt_prog_compiler_pic='-PIC'
                   8810:       lt_prog_compiler_static='-Bstatic'
                   8811:       ;;
                   8812: 
                   8813:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8814:       lt_prog_compiler_wl='-Wl,'
                   8815:       lt_prog_compiler_pic='-KPIC'
                   8816:       lt_prog_compiler_static='-Bstatic'
                   8817:       ;;
                   8818: 
                   8819:     sysv4*MP*)
                   8820:       if test -d /usr/nec ;then
                   8821:        lt_prog_compiler_pic='-Kconform_pic'
                   8822:        lt_prog_compiler_static='-Bstatic'
                   8823:       fi
                   8824:       ;;
                   8825: 
                   8826:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8827:       lt_prog_compiler_wl='-Wl,'
                   8828:       lt_prog_compiler_pic='-KPIC'
                   8829:       lt_prog_compiler_static='-Bstatic'
                   8830:       ;;
                   8831: 
                   8832:     unicos*)
                   8833:       lt_prog_compiler_wl='-Wl,'
                   8834:       lt_prog_compiler_can_build_shared=no
                   8835:       ;;
                   8836: 
                   8837:     uts4*)
                   8838:       lt_prog_compiler_pic='-pic'
                   8839:       lt_prog_compiler_static='-Bstatic'
                   8840:       ;;
                   8841: 
                   8842:     *)
                   8843:       lt_prog_compiler_can_build_shared=no
                   8844:       ;;
                   8845:     esac
                   8846:   fi
                   8847: 
                   8848: case $host_os in
                   8849:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8850:   *djgpp*)
                   8851:     lt_prog_compiler_pic=
                   8852:     ;;
                   8853:   *)
                   8854:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8855:     ;;
                   8856: esac
                   8857: 
                   8858: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   8859: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   8860: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   8861:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8862: else
                   8863:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8864: fi
                   8865: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   8866: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
                   8867: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8868: 
                   8869: #
                   8870: # Check to make sure the PIC flag actually works.
                   8871: #
                   8872: if test -n "$lt_prog_compiler_pic"; then
                   8873:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8874: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   8875: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
                   8876:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8877: else
                   8878:   lt_cv_prog_compiler_pic_works=no
                   8879:    ac_outfile=conftest.$ac_objext
                   8880:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8881:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8882:    # Insert the option either (1) after the last *FLAGS variable, or
                   8883:    # (2) before a word containing "conftest.", or (3) at the end.
                   8884:    # Note that $ac_compile itself does not contain backslashes and begins
                   8885:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8886:    # The option is referenced via a variable to avoid confusing sed.
                   8887:    lt_compile=`echo "$ac_compile" | $SED \
                   8888:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8889:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8890:    -e 's:$: $lt_compiler_flag:'`
                   8891:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8892:    (eval "$lt_compile" 2>conftest.err)
                   8893:    ac_status=$?
                   8894:    cat conftest.err >&5
                   8895:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8896:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8897:      # The compiler can only warn and ignore the option if not recognized
                   8898:      # So say no if there are warnings other than the usual output.
                   8899:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8900:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8901:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8902:        lt_cv_prog_compiler_pic_works=yes
                   8903:      fi
                   8904:    fi
                   8905:    $RM conftest*
                   8906: 
                   8907: fi
                   8908: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   8909: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
                   8910: 
                   8911: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8912:     case $lt_prog_compiler_pic in
                   8913:      "" | " "*) ;;
                   8914:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8915:      esac
                   8916: else
                   8917:     lt_prog_compiler_pic=
                   8918:      lt_prog_compiler_can_build_shared=no
                   8919: fi
                   8920: 
                   8921: fi
                   8922: 
                   8923: 
                   8924: 
                   8925: 
                   8926: 
                   8927: 
                   8928: 
                   8929: 
                   8930: 
                   8931: 
                   8932: 
                   8933: #
                   8934: # Check to make sure the static flag actually works.
                   8935: #
                   8936: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8937: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8938: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8939: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8940:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8941: else
                   8942:   lt_cv_prog_compiler_static_works=no
                   8943:    save_LDFLAGS="$LDFLAGS"
                   8944:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8945:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8946:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8947:      # The linker can only warn and ignore the option if not recognized
                   8948:      # So say no if there are warnings
                   8949:      if test -s conftest.err; then
                   8950:        # Append any errors to the config.log.
                   8951:        cat conftest.err 1>&5
                   8952:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8953:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8954:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8955:          lt_cv_prog_compiler_static_works=yes
                   8956:        fi
                   8957:      else
                   8958:        lt_cv_prog_compiler_static_works=yes
                   8959:      fi
                   8960:    fi
                   8961:    $RM -r conftest*
                   8962:    LDFLAGS="$save_LDFLAGS"
                   8963: 
                   8964: fi
                   8965: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8966: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
                   8967: 
                   8968: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8969:     :
                   8970: else
                   8971:     lt_prog_compiler_static=
                   8972: fi
                   8973: 
                   8974: 
                   8975: 
                   8976: 
                   8977: 
                   8978: 
                   8979: 
                   8980:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8981: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8982: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8983:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8984: else
                   8985:   lt_cv_prog_compiler_c_o=no
                   8986:    $RM -r conftest 2>/dev/null
                   8987:    mkdir conftest
                   8988:    cd conftest
                   8989:    mkdir out
                   8990:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8991: 
                   8992:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8993:    # Insert the option either (1) after the last *FLAGS variable, or
                   8994:    # (2) before a word containing "conftest.", or (3) at the end.
                   8995:    # Note that $ac_compile itself does not contain backslashes and begins
                   8996:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8997:    lt_compile=`echo "$ac_compile" | $SED \
                   8998:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8999:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9000:    -e 's:$: $lt_compiler_flag:'`
                   9001:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9002:    (eval "$lt_compile" 2>out/conftest.err)
                   9003:    ac_status=$?
                   9004:    cat out/conftest.err >&5
                   9005:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9006:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9007:    then
                   9008:      # The compiler can only warn and ignore the option if not recognized
                   9009:      # So say no if there are warnings
                   9010:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9011:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9012:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9013:        lt_cv_prog_compiler_c_o=yes
                   9014:      fi
                   9015:    fi
                   9016:    chmod u+w . 2>&5
                   9017:    $RM conftest*
                   9018:    # SGI C++ compiler will create directory out/ii_files/ for
                   9019:    # template instantiation
                   9020:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9021:    $RM out/* && rmdir out
                   9022:    cd ..
                   9023:    $RM -r conftest
                   9024:    $RM conftest*
                   9025: 
                   9026: fi
                   9027: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   9028: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   9029: 
                   9030: 
                   9031: 
                   9032: 
                   9033: 
                   9034: 
                   9035:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9036: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   9037: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   9038:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9039: else
                   9040:   lt_cv_prog_compiler_c_o=no
                   9041:    $RM -r conftest 2>/dev/null
                   9042:    mkdir conftest
                   9043:    cd conftest
                   9044:    mkdir out
                   9045:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9046: 
                   9047:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9048:    # Insert the option either (1) after the last *FLAGS variable, or
                   9049:    # (2) before a word containing "conftest.", or (3) at the end.
                   9050:    # Note that $ac_compile itself does not contain backslashes and begins
                   9051:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9052:    lt_compile=`echo "$ac_compile" | $SED \
                   9053:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9054:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9055:    -e 's:$: $lt_compiler_flag:'`
                   9056:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9057:    (eval "$lt_compile" 2>out/conftest.err)
                   9058:    ac_status=$?
                   9059:    cat out/conftest.err >&5
                   9060:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9061:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9062:    then
                   9063:      # The compiler can only warn and ignore the option if not recognized
                   9064:      # So say no if there are warnings
                   9065:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9066:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9067:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9068:        lt_cv_prog_compiler_c_o=yes
                   9069:      fi
                   9070:    fi
                   9071:    chmod u+w . 2>&5
                   9072:    $RM conftest*
                   9073:    # SGI C++ compiler will create directory out/ii_files/ for
                   9074:    # template instantiation
                   9075:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9076:    $RM out/* && rmdir out
                   9077:    cd ..
                   9078:    $RM -r conftest
                   9079:    $RM conftest*
                   9080: 
                   9081: fi
                   9082: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   9083: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   9084: 
                   9085: 
                   9086: 
                   9087: 
                   9088: hard_links="nottested"
                   9089: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9090:   # do not overwrite the value of need_locks provided by the user
                   9091:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   9092: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   9093:   hard_links=yes
                   9094:   $RM conftest*
                   9095:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9096:   touch conftest.a
                   9097:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9098:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9099:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   9100: echo "${ECHO_T}$hard_links" >&6
                   9101:   if test "$hard_links" = no; then
                   9102:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9103: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   9104:     need_locks=warn
                   9105:   fi
                   9106: else
                   9107:   need_locks=no
                   9108: fi
                   9109: 
                   9110: 
                   9111: 
                   9112: 
                   9113: 
                   9114: 
                   9115:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9116: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   9117: 
                   9118:   runpath_var=
                   9119:   allow_undefined_flag=
                   9120:   always_export_symbols=no
                   9121:   archive_cmds=
                   9122:   archive_expsym_cmds=
                   9123:   compiler_needs_object=no
                   9124:   enable_shared_with_static_runtimes=no
                   9125:   export_dynamic_flag_spec=
                   9126:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9127:   hardcode_automatic=no
                   9128:   hardcode_direct=no
                   9129:   hardcode_direct_absolute=no
                   9130:   hardcode_libdir_flag_spec=
                   9131:   hardcode_libdir_separator=
                   9132:   hardcode_minus_L=no
                   9133:   hardcode_shlibpath_var=unsupported
                   9134:   inherit_rpath=no
                   9135:   link_all_deplibs=unknown
                   9136:   module_cmds=
                   9137:   module_expsym_cmds=
                   9138:   old_archive_from_new_cmds=
                   9139:   old_archive_from_expsyms_cmds=
                   9140:   thread_safe_flag_spec=
                   9141:   whole_archive_flag_spec=
                   9142:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9143:   # included in the symbol list
                   9144:   include_expsyms=
                   9145:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9146:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9147:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9148:   # as well as any symbol that contains `d'.
                   9149:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9150:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9151:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9152:   # the symbol is explicitly referenced.  Since portable code cannot
                   9153:   # rely on this symbol name, it's probably fine to never include it in
                   9154:   # preloaded symbol tables.
                   9155:   # Exclude shared library initialization/finalization symbols.
                   9156:   extract_expsyms_cmds=
                   9157: 
                   9158:   case $host_os in
                   9159:   cygwin* | mingw* | pw32* | cegcc*)
                   9160:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9161:     # When not using gcc, we currently assume that we are using
                   9162:     # Microsoft Visual C++.
                   9163:     if test "$GCC" != yes; then
                   9164:       with_gnu_ld=no
                   9165:     fi
                   9166:     ;;
                   9167:   interix*)
                   9168:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9169:     with_gnu_ld=yes
                   9170:     ;;
                   9171:   openbsd*)
                   9172:     with_gnu_ld=no
                   9173:     ;;
                   9174:   esac
                   9175: 
                   9176:   ld_shlibs=yes
                   9177: 
                   9178:   # On some targets, GNU ld is compatible enough with the native linker
                   9179:   # that we're better off using the native interface for both.
                   9180:   lt_use_gnu_ld_interface=no
                   9181:   if test "$with_gnu_ld" = yes; then
                   9182:     case $host_os in
                   9183:       aix*)
                   9184:        # The AIX port of GNU ld has always aspired to compatibility
                   9185:        # with the native linker.  However, as the warning in the GNU ld
                   9186:        # block says, versions before 2.19.5* couldn't really create working
                   9187:        # shared libraries, regardless of the interface used.
                   9188:        case `$LD -v 2>&1` in
                   9189:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9190:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9191:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9192:          *)
                   9193:            lt_use_gnu_ld_interface=yes
                   9194:            ;;
                   9195:        esac
                   9196:        ;;
                   9197:       *)
                   9198:        lt_use_gnu_ld_interface=yes
                   9199:        ;;
                   9200:     esac
                   9201:   fi
                   9202: 
                   9203:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9204:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9205:     wlarc='${wl}'
                   9206: 
                   9207:     # Set some defaults for GNU ld with shared library support. These
                   9208:     # are reset later if shared libraries are not supported. Putting them
                   9209:     # here allows them to be overridden if necessary.
                   9210:     runpath_var=LD_RUN_PATH
                   9211:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9212:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9213:     # ancient GNU ld didn't support --whole-archive et. al.
                   9214:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9215:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9216:     else
                   9217:       whole_archive_flag_spec=
                   9218:     fi
                   9219:     supports_anon_versioning=no
                   9220:     case `$LD -v 2>&1` in
                   9221:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9222:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9223:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9224:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9225:       *\ 2.11.*) ;; # other 2.11 versions
                   9226:       *) supports_anon_versioning=yes ;;
                   9227:     esac
                   9228: 
                   9229:     # See if GNU ld supports shared libraries.
                   9230:     case $host_os in
                   9231:     aix[3-9]*)
                   9232:       # On AIX/PPC, the GNU linker is very broken
                   9233:       if test "$host_cpu" != ia64; then
                   9234:        ld_shlibs=no
                   9235:        cat <<_LT_EOF 1>&2
                   9236: 
                   9237: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9238: *** to be unable to reliably create shared libraries on AIX.
                   9239: *** Therefore, libtool is disabling shared libraries support.  If you
                   9240: *** really care for shared libraries, you may want to install binutils
                   9241: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9242: *** You will then need to restart the configuration process.
                   9243: 
                   9244: _LT_EOF
                   9245:       fi
                   9246:       ;;
                   9247: 
                   9248:     amigaos*)
                   9249:       case $host_cpu in
                   9250:       powerpc)
                   9251:             # see comment about AmigaOS4 .so support
                   9252:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9253:             archive_expsym_cmds=''
                   9254:         ;;
                   9255:       m68k)
                   9256:             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)'
                   9257:             hardcode_libdir_flag_spec='-L$libdir'
                   9258:             hardcode_minus_L=yes
                   9259:         ;;
                   9260:       esac
                   9261:       ;;
                   9262: 
                   9263:     beos*)
                   9264:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9265:        allow_undefined_flag=unsupported
                   9266:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9267:        # support --undefined.  This deserves some investigation.  FIXME
                   9268:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9269:       else
                   9270:        ld_shlibs=no
                   9271:       fi
                   9272:       ;;
                   9273: 
                   9274:     cygwin* | mingw* | pw32* | cegcc*)
                   9275:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9276:       # as there is no search path for DLLs.
                   9277:       hardcode_libdir_flag_spec='-L$libdir'
                   9278:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9279:       allow_undefined_flag=unsupported
                   9280:       always_export_symbols=no
                   9281:       enable_shared_with_static_runtimes=yes
                   9282:       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'
                   9283:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9284: 
                   9285:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9286:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9287:        # If the export-symbols file already is a .def file (1st line
                   9288:        # is EXPORTS), use it as is; otherwise, prepend...
                   9289:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9290:          cp $export_symbols $output_objdir/$soname.def;
                   9291:        else
                   9292:          echo EXPORTS > $output_objdir/$soname.def;
                   9293:          cat $export_symbols >> $output_objdir/$soname.def;
                   9294:        fi~
                   9295:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9296:       else
                   9297:        ld_shlibs=no
                   9298:       fi
                   9299:       ;;
                   9300: 
                   9301:     haiku*)
                   9302:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9303:       link_all_deplibs=yes
                   9304:       ;;
                   9305: 
                   9306:     interix[3-9]*)
                   9307:       hardcode_direct=no
                   9308:       hardcode_shlibpath_var=no
                   9309:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9310:       export_dynamic_flag_spec='${wl}-E'
                   9311:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9312:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9313:       # default) and relocated if they conflict, which is a slow very memory
                   9314:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9315:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9316:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9317:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9318:       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'
                   9319:       ;;
                   9320: 
                   9321:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9322:       tmp_diet=no
                   9323:       if test "$host_os" = linux-dietlibc; then
                   9324:        case $cc_basename in
                   9325:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9326:        esac
                   9327:       fi
                   9328:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9329:         && test "$tmp_diet" = no
                   9330:       then
                   9331:        tmp_addflag=' $pic_flag'
                   9332:        tmp_sharedflag='-shared'
                   9333:        case $cc_basename,$host_cpu in
                   9334:         pgcc*)                         # Portland Group C compiler
                   9335:          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'
                   9336:          tmp_addflag=' $pic_flag'
                   9337:          ;;
                   9338:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9339:                                        # Portland Group f77 and f90 compilers
                   9340:          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'
                   9341:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9342:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9343:          tmp_addflag=' -i_dynamic' ;;
                   9344:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9345:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9346:        ifc* | ifort*)                  # Intel Fortran compiler
                   9347:          tmp_addflag=' -nofor_main' ;;
                   9348:        lf95*)                          # Lahey Fortran 8.1
                   9349:          whole_archive_flag_spec=
                   9350:          tmp_sharedflag='--shared' ;;
                   9351:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9352:          tmp_sharedflag='-qmkshrobj'
                   9353:          tmp_addflag= ;;
                   9354:        nvcc*)  # Cuda Compiler Driver 2.2
                   9355:          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'
                   9356:          compiler_needs_object=yes
                   9357:          ;;
                   9358:        esac
                   9359:        case `$CC -V 2>&1 | sed 5q` in
                   9360:        *Sun\ C*)                       # Sun C 5.9
                   9361:          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'
                   9362:          compiler_needs_object=yes
                   9363:          tmp_sharedflag='-G' ;;
                   9364:        *Sun\ F*)                       # Sun Fortran 8.3
                   9365:          tmp_sharedflag='-G' ;;
                   9366:        esac
                   9367:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9368: 
                   9369:         if test "x$supports_anon_versioning" = xyes; then
                   9370:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9371:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9372:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9373:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9374:         fi
                   9375: 
                   9376:        case $cc_basename in
                   9377:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9378:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9379:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   9380:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9381:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9382:          if test "x$supports_anon_versioning" = xyes; then
                   9383:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9384:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9385:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9386:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9387:          fi
                   9388:          ;;
                   9389:        esac
                   9390:       else
                   9391:         ld_shlibs=no
                   9392:       fi
                   9393:       ;;
                   9394: 
                   9395:     netbsd*)
                   9396:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9397:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9398:        wlarc=
                   9399:       else
                   9400:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9401:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9402:       fi
                   9403:       ;;
                   9404: 
                   9405:     solaris*)
                   9406:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9407:        ld_shlibs=no
                   9408:        cat <<_LT_EOF 1>&2
                   9409: 
                   9410: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9411: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9412: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9413: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9414: *** your PATH or compiler configuration so that the native linker is
                   9415: *** used, and then restart.
                   9416: 
                   9417: _LT_EOF
                   9418:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9419:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9420:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9421:       else
                   9422:        ld_shlibs=no
                   9423:       fi
                   9424:       ;;
                   9425: 
                   9426:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9427:       case `$LD -v 2>&1` in
                   9428:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9429:        ld_shlibs=no
                   9430:        cat <<_LT_EOF 1>&2
                   9431: 
                   9432: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9433: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9434: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9435: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9436: *** your PATH or compiler configuration so that the native linker is
                   9437: *** used, and then restart.
                   9438: 
                   9439: _LT_EOF
                   9440:        ;;
                   9441:        *)
                   9442:          # For security reasons, it is highly recommended that you always
                   9443:          # use absolute paths for naming shared libraries, and exclude the
                   9444:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9445:          # requires that you compile everything twice, which is a pain.
                   9446:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9447:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9448:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9449:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9450:          else
                   9451:            ld_shlibs=no
                   9452:          fi
                   9453:        ;;
                   9454:       esac
                   9455:       ;;
                   9456: 
                   9457:     sunos4*)
                   9458:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9459:       wlarc=
                   9460:       hardcode_direct=yes
                   9461:       hardcode_shlibpath_var=no
                   9462:       ;;
                   9463: 
                   9464:     *)
                   9465:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9466:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9467:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9468:       else
                   9469:        ld_shlibs=no
                   9470:       fi
                   9471:       ;;
                   9472:     esac
                   9473: 
                   9474:     if test "$ld_shlibs" = no; then
                   9475:       runpath_var=
                   9476:       hardcode_libdir_flag_spec=
                   9477:       export_dynamic_flag_spec=
                   9478:       whole_archive_flag_spec=
                   9479:     fi
                   9480:   else
                   9481:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9482:     case $host_os in
                   9483:     aix3*)
                   9484:       allow_undefined_flag=unsupported
                   9485:       always_export_symbols=yes
                   9486:       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'
                   9487:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9488:       # are no directories specified by -L.
                   9489:       hardcode_minus_L=yes
                   9490:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9491:        # Neither direct hardcoding nor static linking is supported with a
                   9492:        # broken collect2.
                   9493:        hardcode_direct=unsupported
                   9494:       fi
                   9495:       ;;
                   9496: 
                   9497:     aix[4-9]*)
                   9498:       if test "$host_cpu" = ia64; then
                   9499:        # On IA64, the linker does run time linking by default, so we don't
                   9500:        # have to do anything special.
                   9501:        aix_use_runtimelinking=no
                   9502:        exp_sym_flag='-Bexport'
                   9503:        no_entry_flag=""
                   9504:       else
                   9505:        # If we're using GNU nm, then we don't want the "-C" option.
                   9506:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9507:        # Also, AIX nm treats weak defined symbols like other global
                   9508:        # defined symbols, whereas GNU nm marks them as "W".
                   9509:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9510:          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'
                   9511:        else
                   9512:          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'
                   9513:        fi
                   9514:        aix_use_runtimelinking=no
                   9515: 
                   9516:        # Test if we are trying to use run time linking or normal
                   9517:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9518:        # need to do runtime linking.
                   9519:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9520:          for ld_flag in $LDFLAGS; do
                   9521:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9522:            aix_use_runtimelinking=yes
                   9523:            break
                   9524:          fi
                   9525:          done
                   9526:          ;;
                   9527:        esac
                   9528: 
                   9529:        exp_sym_flag='-bexport'
                   9530:        no_entry_flag='-bnoentry'
                   9531:       fi
                   9532: 
                   9533:       # When large executables or shared objects are built, AIX ld can
                   9534:       # have problems creating the table of contents.  If linking a library
                   9535:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9536:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9537:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9538: 
                   9539:       archive_cmds=''
                   9540:       hardcode_direct=yes
                   9541:       hardcode_direct_absolute=yes
                   9542:       hardcode_libdir_separator=':'
                   9543:       link_all_deplibs=yes
                   9544:       file_list_spec='${wl}-f,'
                   9545: 
                   9546:       if test "$GCC" = yes; then
                   9547:        case $host_os in aix4.[012]|aix4.[012].*)
                   9548:        # We only want to do this on AIX 4.2 and lower, the check
                   9549:        # below for broken collect2 doesn't work under 4.3+
                   9550:          collect2name=`${CC} -print-prog-name=collect2`
                   9551:          if test -f "$collect2name" &&
                   9552:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9553:          then
                   9554:          # We have reworked collect2
                   9555:          :
                   9556:          else
                   9557:          # We have old collect2
                   9558:          hardcode_direct=unsupported
                   9559:          # It fails to find uninstalled libraries when the uninstalled
                   9560:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9561:          # to unsupported forces relinking
                   9562:          hardcode_minus_L=yes
                   9563:          hardcode_libdir_flag_spec='-L$libdir'
                   9564:          hardcode_libdir_separator=
                   9565:          fi
                   9566:          ;;
                   9567:        esac
                   9568:        shared_flag='-shared'
                   9569:        if test "$aix_use_runtimelinking" = yes; then
                   9570:          shared_flag="$shared_flag "'${wl}-G'
                   9571:        fi
                   9572:       else
                   9573:        # not using gcc
                   9574:        if test "$host_cpu" = ia64; then
                   9575:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9576:        # chokes on -Wl,-G. The following line is correct:
                   9577:          shared_flag='-G'
                   9578:        else
                   9579:          if test "$aix_use_runtimelinking" = yes; then
                   9580:            shared_flag='${wl}-G'
                   9581:          else
                   9582:            shared_flag='${wl}-bM:SRE'
                   9583:          fi
                   9584:        fi
                   9585:       fi
                   9586: 
                   9587:       export_dynamic_flag_spec='${wl}-bexpall'
                   9588:       # It seems that -bexpall does not export symbols beginning with
                   9589:       # underscore (_), so it is better to generate a list of symbols to export.
                   9590:       always_export_symbols=yes
                   9591:       if test "$aix_use_runtimelinking" = yes; then
                   9592:        # Warning - without using the other runtime loading flags (-brtl),
                   9593:        # -berok will link without error, but may produce a broken library.
                   9594:        allow_undefined_flag='-berok'
                   9595:         # Determine the default libpath from the value encoded in an
                   9596:         # empty executable.
                   9597:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9598:   aix_libpath=$lt_cv_aix_libpath
                   9599: else
                   9600:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9601:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9602: else
                   9603:   cat >conftest.$ac_ext <<_ACEOF
                   9604: /* confdefs.h.  */
                   9605: _ACEOF
                   9606: cat confdefs.h >>conftest.$ac_ext
                   9607: cat >>conftest.$ac_ext <<_ACEOF
                   9608: /* end confdefs.h.  */
                   9609: 
                   9610: int
                   9611: main ()
                   9612: {
                   9613: 
                   9614:   ;
                   9615:   return 0;
                   9616: }
                   9617: _ACEOF
                   9618: rm -f conftest.$ac_objext conftest$ac_exeext
                   9619: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9620:   (eval $ac_link) 2>conftest.er1
                   9621:   ac_status=$?
                   9622:   grep -v '^ *+' conftest.er1 >conftest.err
                   9623:   rm -f conftest.er1
                   9624:   cat conftest.err >&5
                   9625:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9626:   (exit $ac_status); } &&
                   9627:         { ac_try='test -z "$ac_c_werror_flag"
                   9628:                         || test ! -s conftest.err'
                   9629:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9630:   (eval $ac_try) 2>&5
                   9631:   ac_status=$?
                   9632:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9633:   (exit $ac_status); }; } &&
                   9634:         { ac_try='test -s conftest$ac_exeext'
                   9635:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9636:   (eval $ac_try) 2>&5
                   9637:   ac_status=$?
                   9638:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9639:   (exit $ac_status); }; }; then
                   9640: 
                   9641:   lt_aix_libpath_sed='
                   9642:       /Import File Strings/,/^$/ {
                   9643:          /^0/ {
                   9644:              s/^0  *\([^ ]*\) *$/\1/
                   9645:              p
                   9646:          }
                   9647:       }'
                   9648:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9649:   # Check for a 64-bit object if we didn't find anything.
                   9650:   if test -z "$lt_cv_aix_libpath_"; then
                   9651:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9652:   fi
                   9653: else
                   9654:   echo "$as_me: failed program was:" >&5
                   9655: sed 's/^/| /' conftest.$ac_ext >&5
                   9656: 
                   9657: fi
                   9658: rm -f conftest.err conftest.$ac_objext \
                   9659:       conftest$ac_exeext conftest.$ac_ext
                   9660:   if test -z "$lt_cv_aix_libpath_"; then
                   9661:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9662:   fi
                   9663: 
                   9664: fi
                   9665: 
                   9666:   aix_libpath=$lt_cv_aix_libpath_
                   9667: fi
                   9668: 
                   9669:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9670:         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"
                   9671:       else
                   9672:        if test "$host_cpu" = ia64; then
                   9673:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9674:          allow_undefined_flag="-z nodefs"
                   9675:          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"
                   9676:        else
                   9677:         # Determine the default libpath from the value encoded in an
                   9678:         # empty executable.
                   9679:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9680:   aix_libpath=$lt_cv_aix_libpath
                   9681: else
                   9682:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9683:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9684: else
                   9685:   cat >conftest.$ac_ext <<_ACEOF
                   9686: /* confdefs.h.  */
                   9687: _ACEOF
                   9688: cat confdefs.h >>conftest.$ac_ext
                   9689: cat >>conftest.$ac_ext <<_ACEOF
                   9690: /* end confdefs.h.  */
                   9691: 
                   9692: int
                   9693: main ()
                   9694: {
                   9695: 
                   9696:   ;
                   9697:   return 0;
                   9698: }
                   9699: _ACEOF
                   9700: rm -f conftest.$ac_objext conftest$ac_exeext
                   9701: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9702:   (eval $ac_link) 2>conftest.er1
                   9703:   ac_status=$?
                   9704:   grep -v '^ *+' conftest.er1 >conftest.err
                   9705:   rm -f conftest.er1
                   9706:   cat conftest.err >&5
                   9707:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9708:   (exit $ac_status); } &&
                   9709:         { ac_try='test -z "$ac_c_werror_flag"
                   9710:                         || test ! -s conftest.err'
                   9711:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9712:   (eval $ac_try) 2>&5
                   9713:   ac_status=$?
                   9714:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9715:   (exit $ac_status); }; } &&
                   9716:         { ac_try='test -s conftest$ac_exeext'
                   9717:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9718:   (eval $ac_try) 2>&5
                   9719:   ac_status=$?
                   9720:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9721:   (exit $ac_status); }; }; then
                   9722: 
                   9723:   lt_aix_libpath_sed='
                   9724:       /Import File Strings/,/^$/ {
                   9725:          /^0/ {
                   9726:              s/^0  *\([^ ]*\) *$/\1/
                   9727:              p
                   9728:          }
                   9729:       }'
                   9730:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9731:   # Check for a 64-bit object if we didn't find anything.
                   9732:   if test -z "$lt_cv_aix_libpath_"; then
                   9733:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9734:   fi
                   9735: else
                   9736:   echo "$as_me: failed program was:" >&5
                   9737: sed 's/^/| /' conftest.$ac_ext >&5
                   9738: 
                   9739: fi
                   9740: rm -f conftest.err conftest.$ac_objext \
                   9741:       conftest$ac_exeext conftest.$ac_ext
                   9742:   if test -z "$lt_cv_aix_libpath_"; then
                   9743:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9744:   fi
                   9745: 
                   9746: fi
                   9747: 
                   9748:   aix_libpath=$lt_cv_aix_libpath_
                   9749: fi
                   9750: 
                   9751:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9752:          # Warning - without using the other run time loading flags,
                   9753:          # -berok will link without error, but may produce a broken library.
                   9754:          no_undefined_flag=' ${wl}-bernotok'
                   9755:          allow_undefined_flag=' ${wl}-berok'
                   9756:          if test "$with_gnu_ld" = yes; then
                   9757:            # We only use this code for GNU lds that support --whole-archive.
                   9758:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9759:          else
                   9760:            # Exported symbols can be pulled into shared objects from archives
                   9761:            whole_archive_flag_spec='$convenience'
                   9762:          fi
                   9763:          archive_cmds_need_lc=yes
                   9764:          # This is similar to how AIX traditionally builds its shared libraries.
                   9765:          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'
                   9766:        fi
                   9767:       fi
                   9768:       ;;
                   9769: 
                   9770:     amigaos*)
                   9771:       case $host_cpu in
                   9772:       powerpc)
                   9773:             # see comment about AmigaOS4 .so support
                   9774:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9775:             archive_expsym_cmds=''
                   9776:         ;;
                   9777:       m68k)
                   9778:             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)'
                   9779:             hardcode_libdir_flag_spec='-L$libdir'
                   9780:             hardcode_minus_L=yes
                   9781:         ;;
                   9782:       esac
                   9783:       ;;
                   9784: 
                   9785:     bsdi[45]*)
                   9786:       export_dynamic_flag_spec=-rdynamic
                   9787:       ;;
                   9788: 
                   9789:     cygwin* | mingw* | pw32* | cegcc*)
                   9790:       # When not using gcc, we currently assume that we are using
                   9791:       # Microsoft Visual C++.
                   9792:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9793:       # no search path for DLLs.
                   9794:       case $cc_basename in
                   9795:       cl*)
                   9796:        # Native MSVC
                   9797:        hardcode_libdir_flag_spec=' '
                   9798:        allow_undefined_flag=unsupported
                   9799:        always_export_symbols=yes
                   9800:        file_list_spec='@'
                   9801:        # Tell ltmain to make .lib files, not .a files.
                   9802:        libext=lib
                   9803:        # Tell ltmain to make .dll files, not .so files.
                   9804:        shrext_cmds=".dll"
                   9805:        # FIXME: Setting linknames here is a bad hack.
                   9806:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9807:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9808:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9809:          else
                   9810:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9811:          fi~
                   9812:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9813:          linknames='
                   9814:        # The linker will not automatically build a static lib if we build a DLL.
                   9815:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9816:        enable_shared_with_static_runtimes=yes
                   9817:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9818:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9819:        # Don't use ranlib
                   9820:        old_postinstall_cmds='chmod 644 $oldlib'
                   9821:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9822:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9823:          case $lt_outputfile in
                   9824:            *.exe|*.EXE) ;;
                   9825:            *)
                   9826:              lt_outputfile="$lt_outputfile.exe"
                   9827:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9828:              ;;
                   9829:          esac~
                   9830:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9831:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9832:            $RM "$lt_outputfile.manifest";
                   9833:          fi'
                   9834:        ;;
                   9835:       *)
                   9836:        # Assume MSVC wrapper
                   9837:        hardcode_libdir_flag_spec=' '
                   9838:        allow_undefined_flag=unsupported
                   9839:        # Tell ltmain to make .lib files, not .a files.
                   9840:        libext=lib
                   9841:        # Tell ltmain to make .dll files, not .so files.
                   9842:        shrext_cmds=".dll"
                   9843:        # FIXME: Setting linknames here is a bad hack.
                   9844:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9845:        # The linker will automatically build a .lib file if we build a DLL.
                   9846:        old_archive_from_new_cmds='true'
                   9847:        # FIXME: Should let the user specify the lib program.
                   9848:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9849:        enable_shared_with_static_runtimes=yes
                   9850:        ;;
                   9851:       esac
                   9852:       ;;
                   9853: 
                   9854:     darwin* | rhapsody*)
                   9855: 
                   9856: 
                   9857:   archive_cmds_need_lc=no
                   9858:   hardcode_direct=no
                   9859:   hardcode_automatic=yes
                   9860:   hardcode_shlibpath_var=unsupported
                   9861:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9862:     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\"`'
                   9863: 
                   9864:   else
                   9865:     whole_archive_flag_spec=''
                   9866:   fi
                   9867:   link_all_deplibs=yes
                   9868:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9869:   case $cc_basename in
                   9870:      ifort*) _lt_dar_can_shared=yes ;;
                   9871:      *) _lt_dar_can_shared=$GCC ;;
                   9872:   esac
                   9873:   if test "$_lt_dar_can_shared" = "yes"; then
                   9874:     output_verbose_link_cmd=func_echo_all
                   9875:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9876:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9877:     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}"
                   9878:     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}"
                   9879: 
                   9880:   else
                   9881:   ld_shlibs=no
                   9882:   fi
                   9883: 
                   9884:       ;;
                   9885: 
                   9886:     dgux*)
                   9887:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9888:       hardcode_libdir_flag_spec='-L$libdir'
                   9889:       hardcode_shlibpath_var=no
                   9890:       ;;
                   9891: 
                   9892:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9893:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9894:     # does not break anything, and helps significantly (at the cost of a little
                   9895:     # extra space).
                   9896:     freebsd2.2*)
                   9897:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9898:       hardcode_libdir_flag_spec='-R$libdir'
                   9899:       hardcode_direct=yes
                   9900:       hardcode_shlibpath_var=no
                   9901:       ;;
                   9902: 
                   9903:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9904:     freebsd2.*)
                   9905:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9906:       hardcode_direct=yes
                   9907:       hardcode_minus_L=yes
                   9908:       hardcode_shlibpath_var=no
                   9909:       ;;
                   9910: 
                   9911:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9912:     freebsd* | dragonfly*)
                   9913:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9914:       hardcode_libdir_flag_spec='-R$libdir'
                   9915:       hardcode_direct=yes
                   9916:       hardcode_shlibpath_var=no
                   9917:       ;;
                   9918: 
                   9919:     hpux9*)
                   9920:       if test "$GCC" = yes; then
                   9921:        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'
                   9922:       else
                   9923:        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'
                   9924:       fi
                   9925:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9926:       hardcode_libdir_separator=:
                   9927:       hardcode_direct=yes
                   9928: 
                   9929:       # hardcode_minus_L: Not really in the search PATH,
                   9930:       # but as the default location of the library.
                   9931:       hardcode_minus_L=yes
                   9932:       export_dynamic_flag_spec='${wl}-E'
                   9933:       ;;
                   9934: 
                   9935:     hpux10*)
                   9936:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9937:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9938:       else
                   9939:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9940:       fi
                   9941:       if test "$with_gnu_ld" = no; then
                   9942:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9943:        hardcode_libdir_separator=:
                   9944:        hardcode_direct=yes
                   9945:        hardcode_direct_absolute=yes
                   9946:        export_dynamic_flag_spec='${wl}-E'
                   9947:        # hardcode_minus_L: Not really in the search PATH,
                   9948:        # but as the default location of the library.
                   9949:        hardcode_minus_L=yes
                   9950:       fi
                   9951:       ;;
                   9952: 
                   9953:     hpux11*)
                   9954:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9955:        case $host_cpu in
                   9956:        hppa*64*)
                   9957:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9958:          ;;
                   9959:        ia64*)
                   9960:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9961:          ;;
                   9962:        *)
                   9963:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9964:          ;;
                   9965:        esac
                   9966:       else
                   9967:        case $host_cpu in
                   9968:        hppa*64*)
                   9969:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9970:          ;;
                   9971:        ia64*)
                   9972:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9973:          ;;
                   9974:        *)
                   9975: 
                   9976:          # Older versions of the 11.00 compiler do not understand -b yet
                   9977:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9978:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9979: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9980: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9981:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9982: else
                   9983:   lt_cv_prog_compiler__b=no
                   9984:    save_LDFLAGS="$LDFLAGS"
                   9985:    LDFLAGS="$LDFLAGS -b"
                   9986:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9987:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9988:      # The linker can only warn and ignore the option if not recognized
                   9989:      # So say no if there are warnings
                   9990:      if test -s conftest.err; then
                   9991:        # Append any errors to the config.log.
                   9992:        cat conftest.err 1>&5
                   9993:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9994:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9995:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9996:          lt_cv_prog_compiler__b=yes
                   9997:        fi
                   9998:      else
                   9999:        lt_cv_prog_compiler__b=yes
                   10000:      fi
                   10001:    fi
                   10002:    $RM -r conftest*
                   10003:    LDFLAGS="$save_LDFLAGS"
                   10004: 
                   10005: fi
                   10006: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   10007: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
                   10008: 
                   10009: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10010:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10011: else
                   10012:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10013: fi
                   10014: 
                   10015:          ;;
                   10016:        esac
                   10017:       fi
                   10018:       if test "$with_gnu_ld" = no; then
                   10019:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10020:        hardcode_libdir_separator=:
                   10021: 
                   10022:        case $host_cpu in
                   10023:        hppa*64*|ia64*)
                   10024:          hardcode_direct=no
                   10025:          hardcode_shlibpath_var=no
                   10026:          ;;
                   10027:        *)
                   10028:          hardcode_direct=yes
                   10029:          hardcode_direct_absolute=yes
                   10030:          export_dynamic_flag_spec='${wl}-E'
                   10031: 
                   10032:          # hardcode_minus_L: Not really in the search PATH,
                   10033:          # but as the default location of the library.
                   10034:          hardcode_minus_L=yes
                   10035:          ;;
                   10036:        esac
                   10037:       fi
                   10038:       ;;
                   10039: 
                   10040:     irix5* | irix6* | nonstopux*)
                   10041:       if test "$GCC" = yes; then
                   10042:        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'
                   10043:        # Try to use the -exported_symbol ld option, if it does not
                   10044:        # work, assume that -exports_file does not work either and
                   10045:        # implicitly export all symbols.
                   10046:        # This should be the same for all languages, so no per-tag cache variable.
                   10047:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10048: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   10049: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   10050:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10051: else
                   10052:   save_LDFLAGS="$LDFLAGS"
                   10053:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   10054:           cat >conftest.$ac_ext <<_ACEOF
                   10055: /* confdefs.h.  */
                   10056: _ACEOF
                   10057: cat confdefs.h >>conftest.$ac_ext
                   10058: cat >>conftest.$ac_ext <<_ACEOF
                   10059: /* end confdefs.h.  */
                   10060: int foo (void) { return 0; }
                   10061: _ACEOF
                   10062: rm -f conftest.$ac_objext conftest$ac_exeext
                   10063: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10064:   (eval $ac_link) 2>conftest.er1
                   10065:   ac_status=$?
                   10066:   grep -v '^ *+' conftest.er1 >conftest.err
                   10067:   rm -f conftest.er1
                   10068:   cat conftest.err >&5
                   10069:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10070:   (exit $ac_status); } &&
                   10071:         { ac_try='test -z "$ac_c_werror_flag"
                   10072:                         || test ! -s conftest.err'
                   10073:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10074:   (eval $ac_try) 2>&5
                   10075:   ac_status=$?
                   10076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10077:   (exit $ac_status); }; } &&
                   10078:         { ac_try='test -s conftest$ac_exeext'
                   10079:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10080:   (eval $ac_try) 2>&5
                   10081:   ac_status=$?
                   10082:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10083:   (exit $ac_status); }; }; then
                   10084:   lt_cv_irix_exported_symbol=yes
                   10085: else
                   10086:   echo "$as_me: failed program was:" >&5
                   10087: sed 's/^/| /' conftest.$ac_ext >&5
                   10088: 
                   10089: lt_cv_irix_exported_symbol=no
                   10090: fi
                   10091: rm -f conftest.err conftest.$ac_objext \
                   10092:       conftest$ac_exeext conftest.$ac_ext
                   10093:            LDFLAGS="$save_LDFLAGS"
                   10094: fi
                   10095: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   10096: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
                   10097:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10098:           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'
                   10099:        fi
                   10100:       else
                   10101:        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'
                   10102:        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'
                   10103:       fi
                   10104:       archive_cmds_need_lc='no'
                   10105:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10106:       hardcode_libdir_separator=:
                   10107:       inherit_rpath=yes
                   10108:       link_all_deplibs=yes
                   10109:       ;;
                   10110: 
                   10111:     netbsd*)
                   10112:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10113:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10114:       else
                   10115:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10116:       fi
                   10117:       hardcode_libdir_flag_spec='-R$libdir'
                   10118:       hardcode_direct=yes
                   10119:       hardcode_shlibpath_var=no
                   10120:       ;;
                   10121: 
                   10122:     newsos6)
                   10123:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10124:       hardcode_direct=yes
                   10125:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10126:       hardcode_libdir_separator=:
                   10127:       hardcode_shlibpath_var=no
                   10128:       ;;
                   10129: 
                   10130:     *nto* | *qnx*)
                   10131:       ;;
                   10132: 
                   10133:     openbsd*)
                   10134:       if test -f /usr/libexec/ld.so; then
                   10135:        hardcode_direct=yes
                   10136:        hardcode_shlibpath_var=no
                   10137:        hardcode_direct_absolute=yes
                   10138:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10139:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10140:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10141:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10142:          export_dynamic_flag_spec='${wl}-E'
                   10143:        else
                   10144:          case $host_os in
                   10145:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10146:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10147:             hardcode_libdir_flag_spec='-R$libdir'
                   10148:             ;;
                   10149:           *)
                   10150:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10151:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10152:             ;;
                   10153:          esac
                   10154:        fi
                   10155:       else
                   10156:        ld_shlibs=no
                   10157:       fi
                   10158:       ;;
                   10159: 
                   10160:     os2*)
                   10161:       hardcode_libdir_flag_spec='-L$libdir'
                   10162:       hardcode_minus_L=yes
                   10163:       allow_undefined_flag=unsupported
                   10164:       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'
                   10165:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10166:       ;;
                   10167: 
                   10168:     osf3*)
                   10169:       if test "$GCC" = yes; then
                   10170:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10171:        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'
                   10172:       else
                   10173:        allow_undefined_flag=' -expect_unresolved \*'
                   10174:        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'
                   10175:       fi
                   10176:       archive_cmds_need_lc='no'
                   10177:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10178:       hardcode_libdir_separator=:
                   10179:       ;;
                   10180: 
                   10181:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10182:       if test "$GCC" = yes; then
                   10183:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10184:        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'
                   10185:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10186:       else
                   10187:        allow_undefined_flag=' -expect_unresolved \*'
                   10188:        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'
                   10189:        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~
                   10190:        $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'
                   10191: 
                   10192:        # Both c and cxx compiler support -rpath directly
                   10193:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10194:       fi
                   10195:       archive_cmds_need_lc='no'
                   10196:       hardcode_libdir_separator=:
                   10197:       ;;
                   10198: 
                   10199:     solaris*)
                   10200:       no_undefined_flag=' -z defs'
                   10201:       if test "$GCC" = yes; then
                   10202:        wlarc='${wl}'
                   10203:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10204:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10205:          $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'
                   10206:       else
                   10207:        case `$CC -V 2>&1` in
                   10208:        *"Compilers 5.0"*)
                   10209:          wlarc=''
                   10210:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10211:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10212:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10213:          ;;
                   10214:        *)
                   10215:          wlarc='${wl}'
                   10216:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10217:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10218:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10219:          ;;
                   10220:        esac
                   10221:       fi
                   10222:       hardcode_libdir_flag_spec='-R$libdir'
                   10223:       hardcode_shlibpath_var=no
                   10224:       case $host_os in
                   10225:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10226:       *)
                   10227:        # The compiler driver will combine and reorder linker options,
                   10228:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10229:        # but is careful enough not to reorder.
                   10230:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10231:        if test "$GCC" = yes; then
                   10232:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10233:        else
                   10234:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10235:        fi
                   10236:        ;;
                   10237:       esac
                   10238:       link_all_deplibs=yes
                   10239:       ;;
                   10240: 
                   10241:     sunos4*)
                   10242:       if test "x$host_vendor" = xsequent; then
                   10243:        # Use $CC to link under sequent, because it throws in some extra .o
                   10244:        # files that make .init and .fini sections work.
                   10245:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10246:       else
                   10247:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10248:       fi
                   10249:       hardcode_libdir_flag_spec='-L$libdir'
                   10250:       hardcode_direct=yes
                   10251:       hardcode_minus_L=yes
                   10252:       hardcode_shlibpath_var=no
                   10253:       ;;
                   10254: 
                   10255:     sysv4)
                   10256:       case $host_vendor in
                   10257:        sni)
                   10258:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10259:          hardcode_direct=yes # is this really true???
                   10260:        ;;
                   10261:        siemens)
                   10262:          ## LD is ld it makes a PLAMLIB
                   10263:          ## CC just makes a GrossModule.
                   10264:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10265:          reload_cmds='$CC -r -o $output$reload_objs'
                   10266:          hardcode_direct=no
                   10267:         ;;
                   10268:        motorola)
                   10269:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10270:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10271:        ;;
                   10272:       esac
                   10273:       runpath_var='LD_RUN_PATH'
                   10274:       hardcode_shlibpath_var=no
                   10275:       ;;
                   10276: 
                   10277:     sysv4.3*)
                   10278:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10279:       hardcode_shlibpath_var=no
                   10280:       export_dynamic_flag_spec='-Bexport'
                   10281:       ;;
                   10282: 
                   10283:     sysv4*MP*)
                   10284:       if test -d /usr/nec; then
                   10285:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10286:        hardcode_shlibpath_var=no
                   10287:        runpath_var=LD_RUN_PATH
                   10288:        hardcode_runpath_var=yes
                   10289:        ld_shlibs=yes
                   10290:       fi
                   10291:       ;;
                   10292: 
                   10293:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10294:       no_undefined_flag='${wl}-z,text'
                   10295:       archive_cmds_need_lc=no
                   10296:       hardcode_shlibpath_var=no
                   10297:       runpath_var='LD_RUN_PATH'
                   10298: 
                   10299:       if test "$GCC" = yes; then
                   10300:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10301:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10302:       else
                   10303:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10304:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10305:       fi
                   10306:       ;;
                   10307: 
                   10308:     sysv5* | sco3.2v5* | sco5v6*)
                   10309:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10310:       # link with -lc, and that would cause any symbols used from libc to
                   10311:       # always be unresolved, which means just about no library would
                   10312:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10313:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10314:       # as -z defs.
                   10315:       no_undefined_flag='${wl}-z,text'
                   10316:       allow_undefined_flag='${wl}-z,nodefs'
                   10317:       archive_cmds_need_lc=no
                   10318:       hardcode_shlibpath_var=no
                   10319:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10320:       hardcode_libdir_separator=':'
                   10321:       link_all_deplibs=yes
                   10322:       export_dynamic_flag_spec='${wl}-Bexport'
                   10323:       runpath_var='LD_RUN_PATH'
                   10324: 
                   10325:       if test "$GCC" = yes; then
                   10326:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10327:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10328:       else
                   10329:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10330:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10331:       fi
                   10332:       ;;
                   10333: 
                   10334:     uts4*)
                   10335:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10336:       hardcode_libdir_flag_spec='-L$libdir'
                   10337:       hardcode_shlibpath_var=no
                   10338:       ;;
                   10339: 
                   10340:     *)
                   10341:       ld_shlibs=no
                   10342:       ;;
                   10343:     esac
                   10344: 
                   10345:     if test x$host_vendor = xsni; then
                   10346:       case $host in
                   10347:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10348:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10349:        ;;
                   10350:       esac
                   10351:     fi
                   10352:   fi
                   10353: 
                   10354: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   10355: echo "${ECHO_T}$ld_shlibs" >&6
                   10356: test "$ld_shlibs" = no && can_build_shared=no
                   10357: 
                   10358: with_gnu_ld=$with_gnu_ld
                   10359: 
                   10360: 
                   10361: 
                   10362: 
                   10363: 
                   10364: 
                   10365: 
                   10366: 
                   10367: 
                   10368: 
                   10369: 
                   10370: 
                   10371: 
                   10372: 
                   10373: 
                   10374: #
                   10375: # Do we need to explicitly link libc?
                   10376: #
                   10377: case "x$archive_cmds_need_lc" in
                   10378: x|xyes)
                   10379:   # Assume -lc should be added
                   10380:   archive_cmds_need_lc=yes
                   10381: 
                   10382:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10383:     case $archive_cmds in
                   10384:     *'~'*)
                   10385:       # FIXME: we may have to deal with multi-command sequences.
                   10386:       ;;
                   10387:     '$CC '*)
                   10388:       # Test whether the compiler implicitly links with -lc since on some
                   10389:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10390:       # to ld, don't add -lc before -lgcc.
                   10391:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   10392: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   10393: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   10394:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10395: else
                   10396:   $RM conftest*
                   10397:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10398: 
                   10399:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10400:   (eval $ac_compile) 2>&5
                   10401:   ac_status=$?
                   10402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10403:   (exit $ac_status); } 2>conftest.err; then
                   10404:          soname=conftest
                   10405:          lib=conftest
                   10406:          libobjs=conftest.$ac_objext
                   10407:          deplibs=
                   10408:          wl=$lt_prog_compiler_wl
                   10409:          pic_flag=$lt_prog_compiler_pic
                   10410:          compiler_flags=-v
                   10411:          linker_flags=-v
                   10412:          verstring=
                   10413:          output_objdir=.
                   10414:          libname=conftest
                   10415:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10416:          allow_undefined_flag=
                   10417:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   10418:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10419:   ac_status=$?
                   10420:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10421:   (exit $ac_status); }
                   10422:          then
                   10423:            lt_cv_archive_cmds_need_lc=no
                   10424:          else
                   10425:            lt_cv_archive_cmds_need_lc=yes
                   10426:          fi
                   10427:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10428:        else
                   10429:          cat conftest.err 1>&5
                   10430:        fi
                   10431:        $RM conftest*
                   10432: 
                   10433: fi
                   10434: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   10435: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   10436:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10437:       ;;
                   10438:     esac
                   10439:   fi
                   10440:   ;;
                   10441: esac
                   10442: 
                   10443: 
                   10444: 
                   10445: 
                   10446: 
                   10447: 
                   10448: 
                   10449: 
                   10450: 
                   10451: 
                   10452: 
                   10453: 
                   10454: 
                   10455: 
                   10456: 
                   10457: 
                   10458: 
                   10459: 
                   10460: 
                   10461: 
                   10462: 
                   10463: 
                   10464: 
                   10465: 
                   10466: 
                   10467: 
                   10468: 
                   10469: 
                   10470: 
                   10471: 
                   10472: 
                   10473: 
                   10474: 
                   10475: 
                   10476: 
                   10477: 
                   10478: 
                   10479: 
                   10480: 
                   10481: 
                   10482: 
                   10483: 
                   10484: 
                   10485: 
                   10486: 
                   10487: 
                   10488: 
                   10489: 
                   10490: 
                   10491: 
                   10492: 
                   10493: 
                   10494: 
                   10495: 
                   10496: 
                   10497: 
                   10498: 
                   10499: 
                   10500: 
                   10501: 
                   10502: 
                   10503: 
                   10504: 
                   10505: 
                   10506: 
                   10507: 
                   10508: 
                   10509: 
                   10510: 
                   10511: 
                   10512: 
                   10513: 
                   10514: 
                   10515: 
                   10516: 
                   10517: 
                   10518: 
                   10519: 
                   10520: 
                   10521: 
                   10522: 
                   10523: 
                   10524: 
                   10525: 
                   10526: 
                   10527: 
                   10528: 
                   10529: 
                   10530: 
                   10531: 
                   10532: 
                   10533: 
                   10534: 
                   10535: 
                   10536: 
                   10537: 
                   10538: 
                   10539: 
                   10540: 
                   10541: 
                   10542: 
                   10543: 
                   10544: 
                   10545: 
                   10546: 
                   10547: 
                   10548: 
                   10549: 
                   10550: 
                   10551: 
                   10552: 
                   10553: 
                   10554: 
                   10555: 
                   10556: 
                   10557: 
                   10558: 
                   10559: 
                   10560: 
                   10561: 
                   10562: 
                   10563: 
                   10564: 
                   10565: 
                   10566: 
                   10567: 
                   10568: 
                   10569: 
                   10570: 
                   10571: 
                   10572: 
                   10573: 
                   10574: 
                   10575: 
                   10576: 
                   10577: 
                   10578: 
                   10579: 
                   10580: 
                   10581: 
                   10582: 
                   10583: 
                   10584: 
                   10585: 
                   10586: 
                   10587: 
                   10588: 
                   10589: 
                   10590: 
                   10591: 
                   10592: 
                   10593: 
                   10594:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   10595: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   10596: 
                   10597: if test "$GCC" = yes; then
                   10598:   case $host_os in
                   10599:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10600:     *) lt_awk_arg="/^libraries:/" ;;
                   10601:   esac
                   10602:   case $host_os in
                   10603:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10604:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10605:   esac
                   10606:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10607:   case $lt_search_path_spec in
                   10608:   *\;*)
                   10609:     # if the path contains ";" then we assume it to be the separator
                   10610:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10611:     # assumed that no part of a normal pathname contains ";" but that should
                   10612:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10613:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10614:     ;;
                   10615:   *)
                   10616:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10617:     ;;
                   10618:   esac
                   10619:   # Ok, now we have the path, separated by spaces, we can step through it
                   10620:   # and add multilib dir if necessary.
                   10621:   lt_tmp_lt_search_path_spec=
                   10622:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10623:   for lt_sys_path in $lt_search_path_spec; do
                   10624:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10625:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10626:     else
                   10627:       test -d "$lt_sys_path" && \
                   10628:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10629:     fi
                   10630:   done
                   10631:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10632: BEGIN {RS=" "; FS="/|\n";} {
                   10633:   lt_foo="";
                   10634:   lt_count=0;
                   10635:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10636:     if ($lt_i != "" && $lt_i != ".") {
                   10637:       if ($lt_i == "..") {
                   10638:         lt_count++;
                   10639:       } else {
                   10640:         if (lt_count == 0) {
                   10641:           lt_foo="/" $lt_i lt_foo;
                   10642:         } else {
                   10643:           lt_count--;
                   10644:         }
                   10645:       }
                   10646:     }
                   10647:   }
                   10648:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10649:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10650: }'`
                   10651:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10652:   # for these hosts.
                   10653:   case $host_os in
                   10654:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10655:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10656:   esac
                   10657:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10658: else
                   10659:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10660: fi
                   10661: library_names_spec=
                   10662: libname_spec='lib$name'
                   10663: soname_spec=
                   10664: shrext_cmds=".so"
                   10665: postinstall_cmds=
                   10666: postuninstall_cmds=
                   10667: finish_cmds=
                   10668: finish_eval=
                   10669: shlibpath_var=
                   10670: shlibpath_overrides_runpath=unknown
                   10671: version_type=none
                   10672: dynamic_linker="$host_os ld.so"
                   10673: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10674: need_lib_prefix=unknown
                   10675: hardcode_into_libs=no
                   10676: 
                   10677: # when you set need_version to no, make sure it does not cause -set_version
                   10678: # flags to be left without arguments
                   10679: need_version=unknown
                   10680: 
                   10681: case $host_os in
                   10682: aix3*)
                   10683:   version_type=linux # correct to gnu/linux during the next big refactor
                   10684:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10685:   shlibpath_var=LIBPATH
                   10686: 
                   10687:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10688:   soname_spec='${libname}${release}${shared_ext}$major'
                   10689:   ;;
                   10690: 
                   10691: aix[4-9]*)
                   10692:   version_type=linux # correct to gnu/linux during the next big refactor
                   10693:   need_lib_prefix=no
                   10694:   need_version=no
                   10695:   hardcode_into_libs=yes
                   10696:   if test "$host_cpu" = ia64; then
                   10697:     # AIX 5 supports IA64
                   10698:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10699:     shlibpath_var=LD_LIBRARY_PATH
                   10700:   else
                   10701:     # With GCC up to 2.95.x, collect2 would create an import file
                   10702:     # for dependence libraries.  The import file would start with
                   10703:     # the line `#! .'.  This would cause the generated library to
                   10704:     # depend on `.', always an invalid library.  This was fixed in
                   10705:     # development snapshots of GCC prior to 3.0.
                   10706:     case $host_os in
                   10707:       aix4 | aix4.[01] | aix4.[01].*)
                   10708:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10709:           echo ' yes '
                   10710:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10711:        :
                   10712:       else
                   10713:        can_build_shared=no
                   10714:       fi
                   10715:       ;;
                   10716:     esac
                   10717:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10718:     # soname into executable. Probably we can add versioning support to
                   10719:     # collect2, so additional links can be useful in future.
                   10720:     if test "$aix_use_runtimelinking" = yes; then
                   10721:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10722:       # instead of lib<name>.a to let people know that these are not
                   10723:       # typical AIX shared libraries.
                   10724:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10725:     else
                   10726:       # We preserve .a as extension for shared libraries through AIX4.2
                   10727:       # and later when we are not doing run time linking.
                   10728:       library_names_spec='${libname}${release}.a $libname.a'
                   10729:       soname_spec='${libname}${release}${shared_ext}$major'
                   10730:     fi
                   10731:     shlibpath_var=LIBPATH
                   10732:   fi
                   10733:   ;;
                   10734: 
                   10735: amigaos*)
                   10736:   case $host_cpu in
                   10737:   powerpc)
                   10738:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10739:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10740:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10741:     ;;
                   10742:   m68k)
                   10743:     library_names_spec='$libname.ixlibrary $libname.a'
                   10744:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10745:     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'
                   10746:     ;;
                   10747:   esac
                   10748:   ;;
                   10749: 
                   10750: beos*)
                   10751:   library_names_spec='${libname}${shared_ext}'
                   10752:   dynamic_linker="$host_os ld.so"
                   10753:   shlibpath_var=LIBRARY_PATH
                   10754:   ;;
                   10755: 
                   10756: bsdi[45]*)
                   10757:   version_type=linux # correct to gnu/linux during the next big refactor
                   10758:   need_version=no
                   10759:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10760:   soname_spec='${libname}${release}${shared_ext}$major'
                   10761:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10762:   shlibpath_var=LD_LIBRARY_PATH
                   10763:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10764:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10765:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10766:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10767:   # libtool to hard-code these into programs
                   10768:   ;;
                   10769: 
                   10770: cygwin* | mingw* | pw32* | cegcc*)
                   10771:   version_type=windows
                   10772:   shrext_cmds=".dll"
                   10773:   need_version=no
                   10774:   need_lib_prefix=no
                   10775: 
                   10776:   case $GCC,$cc_basename in
                   10777:   yes,*)
                   10778:     # gcc
                   10779:     library_names_spec='$libname.dll.a'
                   10780:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10781:     postinstall_cmds='base_file=`basename \${file}`~
                   10782:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10783:       dldir=$destdir/`dirname \$dlpath`~
                   10784:       test -d \$dldir || mkdir -p \$dldir~
                   10785:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10786:       chmod a+x \$dldir/$dlname~
                   10787:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10788:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10789:       fi'
                   10790:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10791:       dlpath=$dir/\$dldll~
                   10792:        $RM \$dlpath'
                   10793:     shlibpath_overrides_runpath=yes
                   10794: 
                   10795:     case $host_os in
                   10796:     cygwin*)
                   10797:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10798:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10799: 
                   10800:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10801:       ;;
                   10802:     mingw* | cegcc*)
                   10803:       # MinGW DLLs use traditional 'lib' prefix
                   10804:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10805:       ;;
                   10806:     pw32*)
                   10807:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10808:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10809:       ;;
                   10810:     esac
                   10811:     dynamic_linker='Win32 ld.exe'
                   10812:     ;;
                   10813: 
                   10814:   *,cl*)
                   10815:     # Native MSVC
                   10816:     libname_spec='$name'
                   10817:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10818:     library_names_spec='${libname}.dll.lib'
                   10819: 
                   10820:     case $build_os in
                   10821:     mingw*)
                   10822:       sys_lib_search_path_spec=
                   10823:       lt_save_ifs=$IFS
                   10824:       IFS=';'
                   10825:       for lt_path in $LIB
                   10826:       do
                   10827:         IFS=$lt_save_ifs
                   10828:         # Let DOS variable expansion print the short 8.3 style file name.
                   10829:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10830:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10831:       done
                   10832:       IFS=$lt_save_ifs
                   10833:       # Convert to MSYS style.
                   10834:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10835:       ;;
                   10836:     cygwin*)
                   10837:       # Convert to unix form, then to dos form, then back to unix form
                   10838:       # but this time dos style (no spaces!) so that the unix form looks
                   10839:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10840:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10841:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10842:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10843:       ;;
                   10844:     *)
                   10845:       sys_lib_search_path_spec="$LIB"
                   10846:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10847:         # It is most probably a Windows format PATH.
                   10848:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10849:       else
                   10850:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10851:       fi
                   10852:       # FIXME: find the short name or the path components, as spaces are
                   10853:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10854:       ;;
                   10855:     esac
                   10856: 
                   10857:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10858:     postinstall_cmds='base_file=`basename \${file}`~
                   10859:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10860:       dldir=$destdir/`dirname \$dlpath`~
                   10861:       test -d \$dldir || mkdir -p \$dldir~
                   10862:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10863:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10864:       dlpath=$dir/\$dldll~
                   10865:        $RM \$dlpath'
                   10866:     shlibpath_overrides_runpath=yes
                   10867:     dynamic_linker='Win32 link.exe'
                   10868:     ;;
                   10869: 
                   10870:   *)
                   10871:     # Assume MSVC wrapper
                   10872:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10873:     dynamic_linker='Win32 ld.exe'
                   10874:     ;;
                   10875:   esac
                   10876:   # FIXME: first we should search . and the directory the executable is in
                   10877:   shlibpath_var=PATH
                   10878:   ;;
                   10879: 
                   10880: darwin* | rhapsody*)
                   10881:   dynamic_linker="$host_os dyld"
                   10882:   version_type=darwin
                   10883:   need_lib_prefix=no
                   10884:   need_version=no
                   10885:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10886:   soname_spec='${libname}${release}${major}$shared_ext'
                   10887:   shlibpath_overrides_runpath=yes
                   10888:   shlibpath_var=DYLD_LIBRARY_PATH
                   10889:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10890: 
                   10891:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10892:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10893:   ;;
                   10894: 
                   10895: dgux*)
                   10896:   version_type=linux # correct to gnu/linux during the next big refactor
                   10897:   need_lib_prefix=no
                   10898:   need_version=no
                   10899:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10900:   soname_spec='${libname}${release}${shared_ext}$major'
                   10901:   shlibpath_var=LD_LIBRARY_PATH
                   10902:   ;;
                   10903: 
                   10904: freebsd* | dragonfly*)
                   10905:   # DragonFly does not have aout.  When/if they implement a new
                   10906:   # versioning mechanism, adjust this.
                   10907:   if test -x /usr/bin/objformat; then
                   10908:     objformat=`/usr/bin/objformat`
                   10909:   else
                   10910:     case $host_os in
                   10911:     freebsd[23].*) objformat=aout ;;
                   10912:     *) objformat=elf ;;
                   10913:     esac
                   10914:   fi
                   10915:   version_type=freebsd-$objformat
                   10916:   case $version_type in
                   10917:     freebsd-elf*)
                   10918:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10919:       need_version=no
                   10920:       need_lib_prefix=no
                   10921:       ;;
                   10922:     freebsd-*)
                   10923:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10924:       need_version=yes
                   10925:       ;;
                   10926:   esac
                   10927:   shlibpath_var=LD_LIBRARY_PATH
                   10928:   case $host_os in
                   10929:   freebsd2.*)
                   10930:     shlibpath_overrides_runpath=yes
                   10931:     ;;
                   10932:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10933:     shlibpath_overrides_runpath=yes
                   10934:     hardcode_into_libs=yes
                   10935:     ;;
                   10936:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10937:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10938:     shlibpath_overrides_runpath=no
                   10939:     hardcode_into_libs=yes
                   10940:     ;;
                   10941:   *) # from 4.6 on, and DragonFly
                   10942:     shlibpath_overrides_runpath=yes
                   10943:     hardcode_into_libs=yes
                   10944:     ;;
                   10945:   esac
                   10946:   ;;
                   10947: 
                   10948: gnu*)
                   10949:   version_type=linux # correct to gnu/linux during the next big refactor
                   10950:   need_lib_prefix=no
                   10951:   need_version=no
                   10952:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10953:   soname_spec='${libname}${release}${shared_ext}$major'
                   10954:   shlibpath_var=LD_LIBRARY_PATH
                   10955:   shlibpath_overrides_runpath=no
                   10956:   hardcode_into_libs=yes
                   10957:   ;;
                   10958: 
                   10959: haiku*)
                   10960:   version_type=linux # correct to gnu/linux during the next big refactor
                   10961:   need_lib_prefix=no
                   10962:   need_version=no
                   10963:   dynamic_linker="$host_os runtime_loader"
                   10964:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10965:   soname_spec='${libname}${release}${shared_ext}$major'
                   10966:   shlibpath_var=LIBRARY_PATH
                   10967:   shlibpath_overrides_runpath=yes
                   10968:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10969:   hardcode_into_libs=yes
                   10970:   ;;
                   10971: 
                   10972: hpux9* | hpux10* | hpux11*)
                   10973:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10974:   # link against other versions.
                   10975:   version_type=sunos
                   10976:   need_lib_prefix=no
                   10977:   need_version=no
                   10978:   case $host_cpu in
                   10979:   ia64*)
                   10980:     shrext_cmds='.so'
                   10981:     hardcode_into_libs=yes
                   10982:     dynamic_linker="$host_os dld.so"
                   10983:     shlibpath_var=LD_LIBRARY_PATH
                   10984:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10985:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10986:     soname_spec='${libname}${release}${shared_ext}$major'
                   10987:     if test "X$HPUX_IA64_MODE" = X32; then
                   10988:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10989:     else
                   10990:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10991:     fi
                   10992:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10993:     ;;
                   10994:   hppa*64*)
                   10995:     shrext_cmds='.sl'
                   10996:     hardcode_into_libs=yes
                   10997:     dynamic_linker="$host_os dld.sl"
                   10998:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10999:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11000:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11001:     soname_spec='${libname}${release}${shared_ext}$major'
                   11002:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11003:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11004:     ;;
                   11005:   *)
                   11006:     shrext_cmds='.sl'
                   11007:     dynamic_linker="$host_os dld.sl"
                   11008:     shlibpath_var=SHLIB_PATH
                   11009:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11010:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11011:     soname_spec='${libname}${release}${shared_ext}$major'
                   11012:     ;;
                   11013:   esac
                   11014:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11015:   postinstall_cmds='chmod 555 $lib'
                   11016:   # or fails outright, so override atomically:
                   11017:   install_override_mode=555
                   11018:   ;;
                   11019: 
                   11020: interix[3-9]*)
                   11021:   version_type=linux # correct to gnu/linux during the next big refactor
                   11022:   need_lib_prefix=no
                   11023:   need_version=no
                   11024:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11025:   soname_spec='${libname}${release}${shared_ext}$major'
                   11026:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11027:   shlibpath_var=LD_LIBRARY_PATH
                   11028:   shlibpath_overrides_runpath=no
                   11029:   hardcode_into_libs=yes
                   11030:   ;;
                   11031: 
                   11032: irix5* | irix6* | nonstopux*)
                   11033:   case $host_os in
                   11034:     nonstopux*) version_type=nonstopux ;;
                   11035:     *)
                   11036:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11037:                version_type=linux # correct to gnu/linux during the next big refactor
                   11038:        else
                   11039:                version_type=irix
                   11040:        fi ;;
                   11041:   esac
                   11042:   need_lib_prefix=no
                   11043:   need_version=no
                   11044:   soname_spec='${libname}${release}${shared_ext}$major'
                   11045:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11046:   case $host_os in
                   11047:   irix5* | nonstopux*)
                   11048:     libsuff= shlibsuff=
                   11049:     ;;
                   11050:   *)
                   11051:     case $LD in # libtool.m4 will add one of these switches to LD
                   11052:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11053:       libsuff= shlibsuff= libmagic=32-bit;;
                   11054:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11055:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11056:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11057:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11058:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11059:     esac
                   11060:     ;;
                   11061:   esac
                   11062:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11063:   shlibpath_overrides_runpath=no
                   11064:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11065:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11066:   hardcode_into_libs=yes
                   11067:   ;;
                   11068: 
                   11069: # No shared lib support for Linux oldld, aout, or coff.
                   11070: linux*oldld* | linux*aout* | linux*coff*)
                   11071:   dynamic_linker=no
                   11072:   ;;
                   11073: 
                   11074: # This must be glibc/ELF.
                   11075: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11076:   version_type=linux # correct to gnu/linux during the next big refactor
                   11077:   need_lib_prefix=no
                   11078:   need_version=no
                   11079:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11080:   soname_spec='${libname}${release}${shared_ext}$major'
                   11081:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11082:   shlibpath_var=LD_LIBRARY_PATH
                   11083:   shlibpath_overrides_runpath=no
                   11084: 
                   11085:   # Some binutils ld are patched to set DT_RUNPATH
                   11086:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   11087:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11088: else
                   11089:   lt_cv_shlibpath_overrides_runpath=no
                   11090:     save_LDFLAGS=$LDFLAGS
                   11091:     save_libdir=$libdir
                   11092:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11093:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   11094:     cat >conftest.$ac_ext <<_ACEOF
                   11095: /* confdefs.h.  */
                   11096: _ACEOF
                   11097: cat confdefs.h >>conftest.$ac_ext
                   11098: cat >>conftest.$ac_ext <<_ACEOF
                   11099: /* end confdefs.h.  */
                   11100: 
                   11101: int
                   11102: main ()
                   11103: {
                   11104: 
                   11105:   ;
                   11106:   return 0;
                   11107: }
                   11108: _ACEOF
                   11109: rm -f conftest.$ac_objext conftest$ac_exeext
                   11110: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11111:   (eval $ac_link) 2>conftest.er1
                   11112:   ac_status=$?
                   11113:   grep -v '^ *+' conftest.er1 >conftest.err
                   11114:   rm -f conftest.er1
                   11115:   cat conftest.err >&5
                   11116:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11117:   (exit $ac_status); } &&
                   11118:         { ac_try='test -z "$ac_c_werror_flag"
                   11119:                         || test ! -s conftest.err'
                   11120:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11121:   (eval $ac_try) 2>&5
                   11122:   ac_status=$?
                   11123:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11124:   (exit $ac_status); }; } &&
                   11125:         { ac_try='test -s conftest$ac_exeext'
                   11126:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11127:   (eval $ac_try) 2>&5
                   11128:   ac_status=$?
                   11129:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11130:   (exit $ac_status); }; }; then
                   11131:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   11132:   lt_cv_shlibpath_overrides_runpath=yes
                   11133: fi
                   11134: 
                   11135: else
                   11136:   echo "$as_me: failed program was:" >&5
                   11137: sed 's/^/| /' conftest.$ac_ext >&5
                   11138: 
                   11139: fi
                   11140: rm -f conftest.err conftest.$ac_objext \
                   11141:       conftest$ac_exeext conftest.$ac_ext
                   11142:     LDFLAGS=$save_LDFLAGS
                   11143:     libdir=$save_libdir
                   11144: 
                   11145: fi
                   11146: 
                   11147:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11148: 
                   11149:   # This implies no fast_install, which is unacceptable.
                   11150:   # Some rework will be needed to allow for fast_install
                   11151:   # before this can be enabled.
                   11152:   hardcode_into_libs=yes
                   11153: 
                   11154:   # Append ld.so.conf contents to the search path
                   11155:   if test -f /etc/ld.so.conf; then
                   11156:     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' ' '`
                   11157:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11158:   fi
                   11159: 
                   11160:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11161:   # powerpc, because MkLinux only supported shared libraries with the
                   11162:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11163:   # most powerpc-linux boxes support dynamic linking these days and
                   11164:   # people can always --disable-shared, the test was removed, and we
                   11165:   # assume the GNU/Linux dynamic linker is in use.
                   11166:   dynamic_linker='GNU/Linux ld.so'
                   11167:   ;;
                   11168: 
                   11169: netbsd*)
                   11170:   version_type=sunos
                   11171:   need_lib_prefix=no
                   11172:   need_version=no
                   11173:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11174:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11175:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11176:     dynamic_linker='NetBSD (a.out) ld.so'
                   11177:   else
                   11178:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11179:     soname_spec='${libname}${release}${shared_ext}$major'
                   11180:     dynamic_linker='NetBSD ld.elf_so'
                   11181:   fi
                   11182:   shlibpath_var=LD_LIBRARY_PATH
                   11183:   shlibpath_overrides_runpath=yes
                   11184:   hardcode_into_libs=yes
                   11185:   ;;
                   11186: 
                   11187: newsos6)
                   11188:   version_type=linux # correct to gnu/linux during the next big refactor
                   11189:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11190:   shlibpath_var=LD_LIBRARY_PATH
                   11191:   shlibpath_overrides_runpath=yes
                   11192:   ;;
                   11193: 
                   11194: *nto* | *qnx*)
                   11195:   version_type=qnx
                   11196:   need_lib_prefix=no
                   11197:   need_version=no
                   11198:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11199:   soname_spec='${libname}${release}${shared_ext}$major'
                   11200:   shlibpath_var=LD_LIBRARY_PATH
                   11201:   shlibpath_overrides_runpath=no
                   11202:   hardcode_into_libs=yes
                   11203:   dynamic_linker='ldqnx.so'
                   11204:   ;;
                   11205: 
                   11206: openbsd*)
                   11207:   version_type=sunos
                   11208:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11209:   need_lib_prefix=no
                   11210:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11211:   case $host_os in
                   11212:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11213:     *)                         need_version=no  ;;
                   11214:   esac
                   11215:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11216:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11217:   shlibpath_var=LD_LIBRARY_PATH
                   11218:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11219:     case $host_os in
                   11220:       openbsd2.[89] | openbsd2.[89].*)
                   11221:        shlibpath_overrides_runpath=no
                   11222:        ;;
                   11223:       *)
                   11224:        shlibpath_overrides_runpath=yes
                   11225:        ;;
                   11226:       esac
                   11227:   else
                   11228:     shlibpath_overrides_runpath=yes
                   11229:   fi
                   11230:   ;;
                   11231: 
                   11232: os2*)
                   11233:   libname_spec='$name'
                   11234:   shrext_cmds=".dll"
                   11235:   need_lib_prefix=no
                   11236:   library_names_spec='$libname${shared_ext} $libname.a'
                   11237:   dynamic_linker='OS/2 ld.exe'
                   11238:   shlibpath_var=LIBPATH
                   11239:   ;;
                   11240: 
                   11241: osf3* | osf4* | osf5*)
                   11242:   version_type=osf
                   11243:   need_lib_prefix=no
                   11244:   need_version=no
                   11245:   soname_spec='${libname}${release}${shared_ext}$major'
                   11246:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11247:   shlibpath_var=LD_LIBRARY_PATH
                   11248:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11249:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11250:   ;;
                   11251: 
                   11252: rdos*)
                   11253:   dynamic_linker=no
                   11254:   ;;
                   11255: 
                   11256: solaris*)
                   11257:   version_type=linux # correct to gnu/linux during the next big refactor
                   11258:   need_lib_prefix=no
                   11259:   need_version=no
                   11260:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11261:   soname_spec='${libname}${release}${shared_ext}$major'
                   11262:   shlibpath_var=LD_LIBRARY_PATH
                   11263:   shlibpath_overrides_runpath=yes
                   11264:   hardcode_into_libs=yes
                   11265:   # ldd complains unless libraries are executable
                   11266:   postinstall_cmds='chmod +x $lib'
                   11267:   ;;
                   11268: 
                   11269: sunos4*)
                   11270:   version_type=sunos
                   11271:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11272:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11273:   shlibpath_var=LD_LIBRARY_PATH
                   11274:   shlibpath_overrides_runpath=yes
                   11275:   if test "$with_gnu_ld" = yes; then
                   11276:     need_lib_prefix=no
                   11277:   fi
                   11278:   need_version=yes
                   11279:   ;;
                   11280: 
                   11281: sysv4 | sysv4.3*)
                   11282:   version_type=linux # correct to gnu/linux during the next big refactor
                   11283:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11284:   soname_spec='${libname}${release}${shared_ext}$major'
                   11285:   shlibpath_var=LD_LIBRARY_PATH
                   11286:   case $host_vendor in
                   11287:     sni)
                   11288:       shlibpath_overrides_runpath=no
                   11289:       need_lib_prefix=no
                   11290:       runpath_var=LD_RUN_PATH
                   11291:       ;;
                   11292:     siemens)
                   11293:       need_lib_prefix=no
                   11294:       ;;
                   11295:     motorola)
                   11296:       need_lib_prefix=no
                   11297:       need_version=no
                   11298:       shlibpath_overrides_runpath=no
                   11299:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11300:       ;;
                   11301:   esac
                   11302:   ;;
                   11303: 
                   11304: sysv4*MP*)
                   11305:   if test -d /usr/nec ;then
                   11306:     version_type=linux # correct to gnu/linux during the next big refactor
                   11307:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11308:     soname_spec='$libname${shared_ext}.$major'
                   11309:     shlibpath_var=LD_LIBRARY_PATH
                   11310:   fi
                   11311:   ;;
                   11312: 
                   11313: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11314:   version_type=freebsd-elf
                   11315:   need_lib_prefix=no
                   11316:   need_version=no
                   11317:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11318:   soname_spec='${libname}${release}${shared_ext}$major'
                   11319:   shlibpath_var=LD_LIBRARY_PATH
                   11320:   shlibpath_overrides_runpath=yes
                   11321:   hardcode_into_libs=yes
                   11322:   if test "$with_gnu_ld" = yes; then
                   11323:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11324:   else
                   11325:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11326:     case $host_os in
                   11327:       sco3.2v5*)
                   11328:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11329:        ;;
                   11330:     esac
                   11331:   fi
                   11332:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11333:   ;;
                   11334: 
                   11335: tpf*)
                   11336:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11337:   version_type=linux # correct to gnu/linux during the next big refactor
                   11338:   need_lib_prefix=no
                   11339:   need_version=no
                   11340:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11341:   shlibpath_var=LD_LIBRARY_PATH
                   11342:   shlibpath_overrides_runpath=no
                   11343:   hardcode_into_libs=yes
                   11344:   ;;
                   11345: 
                   11346: uts4*)
                   11347:   version_type=linux # correct to gnu/linux during the next big refactor
                   11348:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11349:   soname_spec='${libname}${release}${shared_ext}$major'
                   11350:   shlibpath_var=LD_LIBRARY_PATH
                   11351:   ;;
                   11352: 
                   11353: *)
                   11354:   dynamic_linker=no
                   11355:   ;;
                   11356: esac
                   11357: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   11358: echo "${ECHO_T}$dynamic_linker" >&6
                   11359: test "$dynamic_linker" = no && can_build_shared=no
                   11360: 
                   11361: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11362: if test "$GCC" = yes; then
                   11363:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11364: fi
                   11365: 
                   11366: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11367:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11368: fi
                   11369: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11370:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11371: fi
                   11372: 
                   11373: 
                   11374: 
                   11375: 
                   11376: 
                   11377: 
                   11378: 
                   11379: 
                   11380: 
                   11381: 
                   11382: 
                   11383: 
                   11384: 
                   11385: 
                   11386: 
                   11387: 
                   11388: 
                   11389: 
                   11390: 
                   11391: 
                   11392: 
                   11393: 
                   11394: 
                   11395: 
                   11396: 
                   11397: 
                   11398: 
                   11399: 
                   11400: 
                   11401: 
                   11402: 
                   11403: 
                   11404: 
                   11405: 
                   11406: 
                   11407: 
                   11408: 
                   11409: 
                   11410: 
                   11411: 
                   11412: 
                   11413: 
                   11414: 
                   11415: 
                   11416: 
                   11417: 
                   11418: 
                   11419: 
                   11420: 
                   11421: 
                   11422: 
                   11423: 
                   11424: 
                   11425: 
                   11426: 
                   11427: 
                   11428: 
                   11429: 
                   11430: 
                   11431: 
                   11432: 
                   11433: 
                   11434: 
                   11435: 
                   11436: 
                   11437: 
                   11438: 
                   11439: 
                   11440: 
                   11441: 
                   11442: 
                   11443: 
                   11444: 
                   11445: 
                   11446: 
                   11447: 
                   11448: 
                   11449: 
                   11450: 
                   11451: 
                   11452: 
                   11453: 
                   11454: 
                   11455: 
                   11456: 
                   11457: 
                   11458: 
                   11459: 
                   11460: 
                   11461: 
                   11462: 
                   11463: 
                   11464:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   11465: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   11466: hardcode_action=
                   11467: if test -n "$hardcode_libdir_flag_spec" ||
                   11468:    test -n "$runpath_var" ||
                   11469:    test "X$hardcode_automatic" = "Xyes" ; then
                   11470: 
                   11471:   # We can hardcode non-existent directories.
                   11472:   if test "$hardcode_direct" != no &&
                   11473:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11474:      # have to relink, otherwise we might link with an installed library
                   11475:      # when we should be linking with a yet-to-be-installed one
                   11476:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11477:      test "$hardcode_minus_L" != no; then
                   11478:     # Linking always hardcodes the temporary library directory.
                   11479:     hardcode_action=relink
                   11480:   else
                   11481:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11482:     hardcode_action=immediate
                   11483:   fi
                   11484: else
                   11485:   # We cannot hardcode anything, or else we can only hardcode existing
                   11486:   # directories.
                   11487:   hardcode_action=unsupported
                   11488: fi
                   11489: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   11490: echo "${ECHO_T}$hardcode_action" >&6
                   11491: 
                   11492: if test "$hardcode_action" = relink ||
                   11493:    test "$inherit_rpath" = yes; then
                   11494:   # Fast installation is not supported
                   11495:   enable_fast_install=no
                   11496: elif test "$shlibpath_overrides_runpath" = yes ||
                   11497:      test "$enable_shared" = no; then
                   11498:   # Fast installation is not necessary
                   11499:   enable_fast_install=needless
                   11500: fi
                   11501: 
                   11502: 
                   11503: 
                   11504: 
                   11505: 
                   11506: 
                   11507:   if test "x$enable_dlopen" != xyes; then
                   11508:   enable_dlopen=unknown
                   11509:   enable_dlopen_self=unknown
                   11510:   enable_dlopen_self_static=unknown
                   11511: else
                   11512:   lt_cv_dlopen=no
                   11513:   lt_cv_dlopen_libs=
                   11514: 
                   11515:   case $host_os in
                   11516:   beos*)
                   11517:     lt_cv_dlopen="load_add_on"
                   11518:     lt_cv_dlopen_libs=
                   11519:     lt_cv_dlopen_self=yes
                   11520:     ;;
                   11521: 
                   11522:   mingw* | pw32* | cegcc*)
                   11523:     lt_cv_dlopen="LoadLibrary"
                   11524:     lt_cv_dlopen_libs=
                   11525:     ;;
                   11526: 
                   11527:   cygwin*)
                   11528:     lt_cv_dlopen="dlopen"
                   11529:     lt_cv_dlopen_libs=
                   11530:     ;;
                   11531: 
                   11532:   darwin*)
                   11533:   # if libdl is installed we need to link against it
                   11534:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11535: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11536: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11537:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11538: else
                   11539:   ac_check_lib_save_LIBS=$LIBS
                   11540: LIBS="-ldl  $LIBS"
                   11541: cat >conftest.$ac_ext <<_ACEOF
                   11542: /* confdefs.h.  */
                   11543: _ACEOF
                   11544: cat confdefs.h >>conftest.$ac_ext
                   11545: cat >>conftest.$ac_ext <<_ACEOF
                   11546: /* end confdefs.h.  */
                   11547: 
                   11548: /* Override any gcc2 internal prototype to avoid an error.  */
                   11549: #ifdef __cplusplus
                   11550: extern "C"
                   11551: #endif
                   11552: /* We use char because int might match the return type of a gcc2
                   11553:    builtin and then its argument prototype would still apply.  */
                   11554: char dlopen ();
                   11555: int
                   11556: main ()
                   11557: {
                   11558: dlopen ();
                   11559:   ;
                   11560:   return 0;
                   11561: }
                   11562: _ACEOF
                   11563: rm -f conftest.$ac_objext conftest$ac_exeext
                   11564: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11565:   (eval $ac_link) 2>conftest.er1
                   11566:   ac_status=$?
                   11567:   grep -v '^ *+' conftest.er1 >conftest.err
                   11568:   rm -f conftest.er1
                   11569:   cat conftest.err >&5
                   11570:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11571:   (exit $ac_status); } &&
                   11572:         { ac_try='test -z "$ac_c_werror_flag"
                   11573:                         || test ! -s conftest.err'
                   11574:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11575:   (eval $ac_try) 2>&5
                   11576:   ac_status=$?
                   11577:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11578:   (exit $ac_status); }; } &&
                   11579:         { ac_try='test -s conftest$ac_exeext'
                   11580:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11581:   (eval $ac_try) 2>&5
                   11582:   ac_status=$?
                   11583:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11584:   (exit $ac_status); }; }; then
                   11585:   ac_cv_lib_dl_dlopen=yes
                   11586: else
                   11587:   echo "$as_me: failed program was:" >&5
                   11588: sed 's/^/| /' conftest.$ac_ext >&5
                   11589: 
                   11590: ac_cv_lib_dl_dlopen=no
                   11591: fi
                   11592: rm -f conftest.err conftest.$ac_objext \
                   11593:       conftest$ac_exeext conftest.$ac_ext
                   11594: LIBS=$ac_check_lib_save_LIBS
                   11595: fi
                   11596: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11597: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11598: if test $ac_cv_lib_dl_dlopen = yes; then
                   11599:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11600: else
                   11601: 
                   11602:     lt_cv_dlopen="dyld"
                   11603:     lt_cv_dlopen_libs=
                   11604:     lt_cv_dlopen_self=yes
                   11605: 
                   11606: fi
                   11607: 
                   11608:     ;;
                   11609: 
                   11610:   *)
                   11611:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   11612: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   11613: if test "${ac_cv_func_shl_load+set}" = set; then
                   11614:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11615: else
                   11616:   cat >conftest.$ac_ext <<_ACEOF
                   11617: /* confdefs.h.  */
                   11618: _ACEOF
                   11619: cat confdefs.h >>conftest.$ac_ext
                   11620: cat >>conftest.$ac_ext <<_ACEOF
                   11621: /* end confdefs.h.  */
                   11622: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   11623:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11624: #define shl_load innocuous_shl_load
                   11625: 
                   11626: /* System header to define __stub macros and hopefully few prototypes,
                   11627:     which can conflict with char shl_load (); below.
                   11628:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11629:     <limits.h> exists even on freestanding compilers.  */
                   11630: 
                   11631: #ifdef __STDC__
                   11632: # include <limits.h>
                   11633: #else
                   11634: # include <assert.h>
                   11635: #endif
                   11636: 
                   11637: #undef shl_load
                   11638: 
                   11639: /* Override any gcc2 internal prototype to avoid an error.  */
                   11640: #ifdef __cplusplus
                   11641: extern "C"
                   11642: {
                   11643: #endif
                   11644: /* We use char because int might match the return type of a gcc2
                   11645:    builtin and then its argument prototype would still apply.  */
                   11646: char shl_load ();
                   11647: /* The GNU C library defines this for functions which it implements
                   11648:     to always fail with ENOSYS.  Some functions are actually named
                   11649:     something starting with __ and the normal name is an alias.  */
                   11650: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   11651: choke me
                   11652: #else
                   11653: char (*f) () = shl_load;
                   11654: #endif
                   11655: #ifdef __cplusplus
                   11656: }
                   11657: #endif
                   11658: 
                   11659: int
                   11660: main ()
                   11661: {
                   11662: return f != shl_load;
                   11663:   ;
                   11664:   return 0;
                   11665: }
                   11666: _ACEOF
                   11667: rm -f conftest.$ac_objext conftest$ac_exeext
                   11668: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11669:   (eval $ac_link) 2>conftest.er1
                   11670:   ac_status=$?
                   11671:   grep -v '^ *+' conftest.er1 >conftest.err
                   11672:   rm -f conftest.er1
                   11673:   cat conftest.err >&5
                   11674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11675:   (exit $ac_status); } &&
                   11676:         { ac_try='test -z "$ac_c_werror_flag"
                   11677:                         || test ! -s conftest.err'
                   11678:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11679:   (eval $ac_try) 2>&5
                   11680:   ac_status=$?
                   11681:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11682:   (exit $ac_status); }; } &&
                   11683:         { ac_try='test -s conftest$ac_exeext'
                   11684:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11685:   (eval $ac_try) 2>&5
                   11686:   ac_status=$?
                   11687:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11688:   (exit $ac_status); }; }; then
                   11689:   ac_cv_func_shl_load=yes
                   11690: else
                   11691:   echo "$as_me: failed program was:" >&5
                   11692: sed 's/^/| /' conftest.$ac_ext >&5
                   11693: 
                   11694: ac_cv_func_shl_load=no
                   11695: fi
                   11696: rm -f conftest.err conftest.$ac_objext \
                   11697:       conftest$ac_exeext conftest.$ac_ext
                   11698: fi
                   11699: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   11700: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   11701: if test $ac_cv_func_shl_load = yes; then
                   11702:   lt_cv_dlopen="shl_load"
                   11703: else
                   11704:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   11705: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   11706: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   11707:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11708: else
                   11709:   ac_check_lib_save_LIBS=$LIBS
                   11710: LIBS="-ldld  $LIBS"
                   11711: cat >conftest.$ac_ext <<_ACEOF
                   11712: /* confdefs.h.  */
                   11713: _ACEOF
                   11714: cat confdefs.h >>conftest.$ac_ext
                   11715: cat >>conftest.$ac_ext <<_ACEOF
                   11716: /* end confdefs.h.  */
                   11717: 
                   11718: /* Override any gcc2 internal prototype to avoid an error.  */
                   11719: #ifdef __cplusplus
                   11720: extern "C"
                   11721: #endif
                   11722: /* We use char because int might match the return type of a gcc2
                   11723:    builtin and then its argument prototype would still apply.  */
                   11724: char shl_load ();
                   11725: int
                   11726: main ()
                   11727: {
                   11728: shl_load ();
                   11729:   ;
                   11730:   return 0;
                   11731: }
                   11732: _ACEOF
                   11733: rm -f conftest.$ac_objext conftest$ac_exeext
                   11734: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11735:   (eval $ac_link) 2>conftest.er1
                   11736:   ac_status=$?
                   11737:   grep -v '^ *+' conftest.er1 >conftest.err
                   11738:   rm -f conftest.er1
                   11739:   cat conftest.err >&5
                   11740:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11741:   (exit $ac_status); } &&
                   11742:         { ac_try='test -z "$ac_c_werror_flag"
                   11743:                         || test ! -s conftest.err'
                   11744:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11745:   (eval $ac_try) 2>&5
                   11746:   ac_status=$?
                   11747:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11748:   (exit $ac_status); }; } &&
                   11749:         { ac_try='test -s conftest$ac_exeext'
                   11750:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11751:   (eval $ac_try) 2>&5
                   11752:   ac_status=$?
                   11753:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11754:   (exit $ac_status); }; }; then
                   11755:   ac_cv_lib_dld_shl_load=yes
                   11756: else
                   11757:   echo "$as_me: failed program was:" >&5
                   11758: sed 's/^/| /' conftest.$ac_ext >&5
                   11759: 
                   11760: ac_cv_lib_dld_shl_load=no
                   11761: fi
                   11762: rm -f conftest.err conftest.$ac_objext \
                   11763:       conftest$ac_exeext conftest.$ac_ext
                   11764: LIBS=$ac_check_lib_save_LIBS
                   11765: fi
                   11766: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   11767: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   11768: if test $ac_cv_lib_dld_shl_load = yes; then
                   11769:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11770: else
                   11771:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   11772: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   11773: if test "${ac_cv_func_dlopen+set}" = set; then
                   11774:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11775: else
                   11776:   cat >conftest.$ac_ext <<_ACEOF
                   11777: /* confdefs.h.  */
                   11778: _ACEOF
                   11779: cat confdefs.h >>conftest.$ac_ext
                   11780: cat >>conftest.$ac_ext <<_ACEOF
                   11781: /* end confdefs.h.  */
                   11782: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   11783:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11784: #define dlopen innocuous_dlopen
                   11785: 
                   11786: /* System header to define __stub macros and hopefully few prototypes,
                   11787:     which can conflict with char dlopen (); below.
                   11788:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11789:     <limits.h> exists even on freestanding compilers.  */
                   11790: 
                   11791: #ifdef __STDC__
                   11792: # include <limits.h>
                   11793: #else
                   11794: # include <assert.h>
                   11795: #endif
                   11796: 
                   11797: #undef dlopen
                   11798: 
                   11799: /* Override any gcc2 internal prototype to avoid an error.  */
                   11800: #ifdef __cplusplus
                   11801: extern "C"
                   11802: {
                   11803: #endif
                   11804: /* We use char because int might match the return type of a gcc2
                   11805:    builtin and then its argument prototype would still apply.  */
                   11806: char dlopen ();
                   11807: /* The GNU C library defines this for functions which it implements
                   11808:     to always fail with ENOSYS.  Some functions are actually named
                   11809:     something starting with __ and the normal name is an alias.  */
                   11810: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   11811: choke me
                   11812: #else
                   11813: char (*f) () = dlopen;
                   11814: #endif
                   11815: #ifdef __cplusplus
                   11816: }
                   11817: #endif
                   11818: 
                   11819: int
                   11820: main ()
                   11821: {
                   11822: return f != dlopen;
                   11823:   ;
                   11824:   return 0;
                   11825: }
                   11826: _ACEOF
                   11827: rm -f conftest.$ac_objext conftest$ac_exeext
                   11828: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11829:   (eval $ac_link) 2>conftest.er1
                   11830:   ac_status=$?
                   11831:   grep -v '^ *+' conftest.er1 >conftest.err
                   11832:   rm -f conftest.er1
                   11833:   cat conftest.err >&5
                   11834:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11835:   (exit $ac_status); } &&
                   11836:         { ac_try='test -z "$ac_c_werror_flag"
                   11837:                         || test ! -s conftest.err'
                   11838:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11839:   (eval $ac_try) 2>&5
                   11840:   ac_status=$?
                   11841:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11842:   (exit $ac_status); }; } &&
                   11843:         { ac_try='test -s conftest$ac_exeext'
                   11844:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11845:   (eval $ac_try) 2>&5
                   11846:   ac_status=$?
                   11847:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11848:   (exit $ac_status); }; }; then
                   11849:   ac_cv_func_dlopen=yes
                   11850: else
                   11851:   echo "$as_me: failed program was:" >&5
                   11852: sed 's/^/| /' conftest.$ac_ext >&5
                   11853: 
                   11854: ac_cv_func_dlopen=no
                   11855: fi
                   11856: rm -f conftest.err conftest.$ac_objext \
                   11857:       conftest$ac_exeext conftest.$ac_ext
                   11858: fi
                   11859: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   11860: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   11861: if test $ac_cv_func_dlopen = yes; then
                   11862:   lt_cv_dlopen="dlopen"
                   11863: else
                   11864:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11865: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11866: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11867:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11868: else
                   11869:   ac_check_lib_save_LIBS=$LIBS
                   11870: LIBS="-ldl  $LIBS"
                   11871: cat >conftest.$ac_ext <<_ACEOF
                   11872: /* confdefs.h.  */
                   11873: _ACEOF
                   11874: cat confdefs.h >>conftest.$ac_ext
                   11875: cat >>conftest.$ac_ext <<_ACEOF
                   11876: /* end confdefs.h.  */
                   11877: 
                   11878: /* Override any gcc2 internal prototype to avoid an error.  */
                   11879: #ifdef __cplusplus
                   11880: extern "C"
                   11881: #endif
                   11882: /* We use char because int might match the return type of a gcc2
                   11883:    builtin and then its argument prototype would still apply.  */
                   11884: char dlopen ();
                   11885: int
                   11886: main ()
                   11887: {
                   11888: dlopen ();
                   11889:   ;
                   11890:   return 0;
                   11891: }
                   11892: _ACEOF
                   11893: rm -f conftest.$ac_objext conftest$ac_exeext
                   11894: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11895:   (eval $ac_link) 2>conftest.er1
                   11896:   ac_status=$?
                   11897:   grep -v '^ *+' conftest.er1 >conftest.err
                   11898:   rm -f conftest.er1
                   11899:   cat conftest.err >&5
                   11900:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11901:   (exit $ac_status); } &&
                   11902:         { ac_try='test -z "$ac_c_werror_flag"
                   11903:                         || test ! -s conftest.err'
                   11904:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11905:   (eval $ac_try) 2>&5
                   11906:   ac_status=$?
                   11907:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11908:   (exit $ac_status); }; } &&
                   11909:         { ac_try='test -s conftest$ac_exeext'
                   11910:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11911:   (eval $ac_try) 2>&5
                   11912:   ac_status=$?
                   11913:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11914:   (exit $ac_status); }; }; then
                   11915:   ac_cv_lib_dl_dlopen=yes
                   11916: else
                   11917:   echo "$as_me: failed program was:" >&5
                   11918: sed 's/^/| /' conftest.$ac_ext >&5
                   11919: 
                   11920: ac_cv_lib_dl_dlopen=no
                   11921: fi
                   11922: rm -f conftest.err conftest.$ac_objext \
                   11923:       conftest$ac_exeext conftest.$ac_ext
                   11924: LIBS=$ac_check_lib_save_LIBS
                   11925: fi
                   11926: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11927: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11928: if test $ac_cv_lib_dl_dlopen = yes; then
                   11929:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11930: else
                   11931:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   11932: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   11933: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   11934:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11935: else
                   11936:   ac_check_lib_save_LIBS=$LIBS
                   11937: LIBS="-lsvld  $LIBS"
                   11938: cat >conftest.$ac_ext <<_ACEOF
                   11939: /* confdefs.h.  */
                   11940: _ACEOF
                   11941: cat confdefs.h >>conftest.$ac_ext
                   11942: cat >>conftest.$ac_ext <<_ACEOF
                   11943: /* end confdefs.h.  */
                   11944: 
                   11945: /* Override any gcc2 internal prototype to avoid an error.  */
                   11946: #ifdef __cplusplus
                   11947: extern "C"
                   11948: #endif
                   11949: /* We use char because int might match the return type of a gcc2
                   11950:    builtin and then its argument prototype would still apply.  */
                   11951: char dlopen ();
                   11952: int
                   11953: main ()
                   11954: {
                   11955: dlopen ();
                   11956:   ;
                   11957:   return 0;
                   11958: }
                   11959: _ACEOF
                   11960: rm -f conftest.$ac_objext conftest$ac_exeext
                   11961: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11962:   (eval $ac_link) 2>conftest.er1
                   11963:   ac_status=$?
                   11964:   grep -v '^ *+' conftest.er1 >conftest.err
                   11965:   rm -f conftest.er1
                   11966:   cat conftest.err >&5
                   11967:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11968:   (exit $ac_status); } &&
                   11969:         { ac_try='test -z "$ac_c_werror_flag"
                   11970:                         || test ! -s conftest.err'
                   11971:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11972:   (eval $ac_try) 2>&5
                   11973:   ac_status=$?
                   11974:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11975:   (exit $ac_status); }; } &&
                   11976:         { ac_try='test -s conftest$ac_exeext'
                   11977:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11978:   (eval $ac_try) 2>&5
                   11979:   ac_status=$?
                   11980:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11981:   (exit $ac_status); }; }; then
                   11982:   ac_cv_lib_svld_dlopen=yes
                   11983: else
                   11984:   echo "$as_me: failed program was:" >&5
                   11985: sed 's/^/| /' conftest.$ac_ext >&5
                   11986: 
                   11987: ac_cv_lib_svld_dlopen=no
                   11988: fi
                   11989: rm -f conftest.err conftest.$ac_objext \
                   11990:       conftest$ac_exeext conftest.$ac_ext
                   11991: LIBS=$ac_check_lib_save_LIBS
                   11992: fi
                   11993: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   11994: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   11995: if test $ac_cv_lib_svld_dlopen = yes; then
                   11996:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11997: else
                   11998:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   11999: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   12000: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   12001:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12002: else
                   12003:   ac_check_lib_save_LIBS=$LIBS
                   12004: LIBS="-ldld  $LIBS"
                   12005: cat >conftest.$ac_ext <<_ACEOF
                   12006: /* confdefs.h.  */
                   12007: _ACEOF
                   12008: cat confdefs.h >>conftest.$ac_ext
                   12009: cat >>conftest.$ac_ext <<_ACEOF
                   12010: /* end confdefs.h.  */
                   12011: 
                   12012: /* Override any gcc2 internal prototype to avoid an error.  */
                   12013: #ifdef __cplusplus
                   12014: extern "C"
                   12015: #endif
                   12016: /* We use char because int might match the return type of a gcc2
                   12017:    builtin and then its argument prototype would still apply.  */
                   12018: char dld_link ();
                   12019: int
                   12020: main ()
                   12021: {
                   12022: dld_link ();
                   12023:   ;
                   12024:   return 0;
                   12025: }
                   12026: _ACEOF
                   12027: rm -f conftest.$ac_objext conftest$ac_exeext
                   12028: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12029:   (eval $ac_link) 2>conftest.er1
                   12030:   ac_status=$?
                   12031:   grep -v '^ *+' conftest.er1 >conftest.err
                   12032:   rm -f conftest.er1
                   12033:   cat conftest.err >&5
                   12034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12035:   (exit $ac_status); } &&
                   12036:         { ac_try='test -z "$ac_c_werror_flag"
                   12037:                         || test ! -s conftest.err'
                   12038:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12039:   (eval $ac_try) 2>&5
                   12040:   ac_status=$?
                   12041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12042:   (exit $ac_status); }; } &&
                   12043:         { ac_try='test -s conftest$ac_exeext'
                   12044:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12045:   (eval $ac_try) 2>&5
                   12046:   ac_status=$?
                   12047:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12048:   (exit $ac_status); }; }; then
                   12049:   ac_cv_lib_dld_dld_link=yes
                   12050: else
                   12051:   echo "$as_me: failed program was:" >&5
                   12052: sed 's/^/| /' conftest.$ac_ext >&5
                   12053: 
                   12054: ac_cv_lib_dld_dld_link=no
                   12055: fi
                   12056: rm -f conftest.err conftest.$ac_objext \
                   12057:       conftest$ac_exeext conftest.$ac_ext
                   12058: LIBS=$ac_check_lib_save_LIBS
                   12059: fi
                   12060: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   12061: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   12062: if test $ac_cv_lib_dld_dld_link = yes; then
                   12063:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12064: fi
                   12065: 
                   12066: 
                   12067: fi
                   12068: 
                   12069: 
                   12070: fi
                   12071: 
                   12072: 
                   12073: fi
                   12074: 
                   12075: 
                   12076: fi
                   12077: 
                   12078: 
                   12079: fi
                   12080: 
                   12081:     ;;
                   12082:   esac
                   12083: 
                   12084:   if test "x$lt_cv_dlopen" != xno; then
                   12085:     enable_dlopen=yes
                   12086:   else
                   12087:     enable_dlopen=no
                   12088:   fi
                   12089: 
                   12090:   case $lt_cv_dlopen in
                   12091:   dlopen)
                   12092:     save_CPPFLAGS="$CPPFLAGS"
                   12093:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12094: 
                   12095:     save_LDFLAGS="$LDFLAGS"
                   12096:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12097: 
                   12098:     save_LIBS="$LIBS"
                   12099:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12100: 
                   12101:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   12102: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   12103: if test "${lt_cv_dlopen_self+set}" = set; then
                   12104:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12105: else
                   12106:          if test "$cross_compiling" = yes; then :
                   12107:   lt_cv_dlopen_self=cross
                   12108: else
                   12109:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12110:   lt_status=$lt_dlunknown
                   12111:   cat > conftest.$ac_ext <<_LT_EOF
                   12112: #line $LINENO "configure"
                   12113: #include "confdefs.h"
                   12114: 
                   12115: #if HAVE_DLFCN_H
                   12116: #include <dlfcn.h>
                   12117: #endif
                   12118: 
                   12119: #include <stdio.h>
                   12120: 
                   12121: #ifdef RTLD_GLOBAL
                   12122: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12123: #else
                   12124: #  ifdef DL_GLOBAL
                   12125: #    define LT_DLGLOBAL                DL_GLOBAL
                   12126: #  else
                   12127: #    define LT_DLGLOBAL                0
                   12128: #  endif
                   12129: #endif
                   12130: 
                   12131: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12132:    find out it does not work in some platform. */
                   12133: #ifndef LT_DLLAZY_OR_NOW
                   12134: #  ifdef RTLD_LAZY
                   12135: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12136: #  else
                   12137: #    ifdef DL_LAZY
                   12138: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12139: #    else
                   12140: #      ifdef RTLD_NOW
                   12141: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12142: #      else
                   12143: #        ifdef DL_NOW
                   12144: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12145: #        else
                   12146: #          define LT_DLLAZY_OR_NOW     0
                   12147: #        endif
                   12148: #      endif
                   12149: #    endif
                   12150: #  endif
                   12151: #endif
                   12152: 
                   12153: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12154:    correspondingly for the symbols needed.  */
                   12155: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12156: int fnord () __attribute__((visibility("default")));
                   12157: #endif
                   12158: 
                   12159: int fnord () { return 42; }
                   12160: int main ()
                   12161: {
                   12162:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12163:   int status = $lt_dlunknown;
                   12164: 
                   12165:   if (self)
                   12166:     {
                   12167:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12168:       else
                   12169:         {
                   12170:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12171:           else puts (dlerror ());
                   12172:        }
                   12173:       /* dlclose (self); */
                   12174:     }
                   12175:   else
                   12176:     puts (dlerror ());
                   12177: 
                   12178:   return status;
                   12179: }
                   12180: _LT_EOF
                   12181:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12182:   (eval $ac_link) 2>&5
                   12183:   ac_status=$?
                   12184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12185:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12186:     (./conftest; exit; ) >&5 2>/dev/null
                   12187:     lt_status=$?
                   12188:     case x$lt_status in
                   12189:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12190:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12191:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12192:     esac
                   12193:   else :
                   12194:     # compilation failed
                   12195:     lt_cv_dlopen_self=no
                   12196:   fi
                   12197: fi
                   12198: rm -fr conftest*
                   12199: 
                   12200: 
                   12201: fi
                   12202: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   12203: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   12204: 
                   12205:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12206:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   12207:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   12208: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   12209: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   12210:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12211: else
                   12212:          if test "$cross_compiling" = yes; then :
                   12213:   lt_cv_dlopen_self_static=cross
                   12214: else
                   12215:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12216:   lt_status=$lt_dlunknown
                   12217:   cat > conftest.$ac_ext <<_LT_EOF
                   12218: #line $LINENO "configure"
                   12219: #include "confdefs.h"
                   12220: 
                   12221: #if HAVE_DLFCN_H
                   12222: #include <dlfcn.h>
                   12223: #endif
                   12224: 
                   12225: #include <stdio.h>
                   12226: 
                   12227: #ifdef RTLD_GLOBAL
                   12228: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12229: #else
                   12230: #  ifdef DL_GLOBAL
                   12231: #    define LT_DLGLOBAL                DL_GLOBAL
                   12232: #  else
                   12233: #    define LT_DLGLOBAL                0
                   12234: #  endif
                   12235: #endif
                   12236: 
                   12237: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12238:    find out it does not work in some platform. */
                   12239: #ifndef LT_DLLAZY_OR_NOW
                   12240: #  ifdef RTLD_LAZY
                   12241: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12242: #  else
                   12243: #    ifdef DL_LAZY
                   12244: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12245: #    else
                   12246: #      ifdef RTLD_NOW
                   12247: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12248: #      else
                   12249: #        ifdef DL_NOW
                   12250: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12251: #        else
                   12252: #          define LT_DLLAZY_OR_NOW     0
                   12253: #        endif
                   12254: #      endif
                   12255: #    endif
                   12256: #  endif
                   12257: #endif
                   12258: 
                   12259: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12260:    correspondingly for the symbols needed.  */
                   12261: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12262: int fnord () __attribute__((visibility("default")));
                   12263: #endif
                   12264: 
                   12265: int fnord () { return 42; }
                   12266: int main ()
                   12267: {
                   12268:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12269:   int status = $lt_dlunknown;
                   12270: 
                   12271:   if (self)
                   12272:     {
                   12273:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12274:       else
                   12275:         {
                   12276:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12277:           else puts (dlerror ());
                   12278:        }
                   12279:       /* dlclose (self); */
                   12280:     }
                   12281:   else
                   12282:     puts (dlerror ());
                   12283: 
                   12284:   return status;
                   12285: }
                   12286: _LT_EOF
                   12287:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12288:   (eval $ac_link) 2>&5
                   12289:   ac_status=$?
                   12290:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12291:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12292:     (./conftest; exit; ) >&5 2>/dev/null
                   12293:     lt_status=$?
                   12294:     case x$lt_status in
                   12295:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12296:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12297:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12298:     esac
                   12299:   else :
                   12300:     # compilation failed
                   12301:     lt_cv_dlopen_self_static=no
                   12302:   fi
                   12303: fi
                   12304: rm -fr conftest*
                   12305: 
                   12306: 
                   12307: fi
                   12308: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   12309: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   12310:     fi
                   12311: 
                   12312:     CPPFLAGS="$save_CPPFLAGS"
                   12313:     LDFLAGS="$save_LDFLAGS"
                   12314:     LIBS="$save_LIBS"
                   12315:     ;;
                   12316:   esac
                   12317: 
                   12318:   case $lt_cv_dlopen_self in
                   12319:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12320:   *) enable_dlopen_self=unknown ;;
                   12321:   esac
                   12322: 
                   12323:   case $lt_cv_dlopen_self_static in
                   12324:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12325:   *) enable_dlopen_self_static=unknown ;;
                   12326:   esac
                   12327: fi
                   12328: 
                   12329: 
                   12330: 
                   12331: 
                   12332: 
                   12333: 
                   12334: 
                   12335: 
                   12336: 
                   12337: 
                   12338: 
                   12339: 
                   12340: 
                   12341: 
                   12342: 
                   12343: 
                   12344: 
                   12345: striplib=
                   12346: old_striplib=
                   12347: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   12348: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   12349: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12350:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12351:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   12352:   echo "$as_me:$LINENO: result: yes" >&5
                   12353: echo "${ECHO_T}yes" >&6
                   12354: else
                   12355: # FIXME - insert some real tests, host_os isn't really good enough
                   12356:   case $host_os in
                   12357:   darwin*)
                   12358:     if test -n "$STRIP" ; then
                   12359:       striplib="$STRIP -x"
                   12360:       old_striplib="$STRIP -S"
                   12361:       echo "$as_me:$LINENO: result: yes" >&5
                   12362: echo "${ECHO_T}yes" >&6
                   12363:     else
                   12364:       echo "$as_me:$LINENO: result: no" >&5
                   12365: echo "${ECHO_T}no" >&6
                   12366:     fi
                   12367:     ;;
                   12368:   *)
                   12369:     echo "$as_me:$LINENO: result: no" >&5
                   12370: echo "${ECHO_T}no" >&6
                   12371:     ;;
                   12372:   esac
                   12373: fi
                   12374: 
                   12375: 
                   12376: 
                   12377: 
                   12378: 
                   12379: 
                   12380: 
                   12381: 
                   12382: 
                   12383: 
                   12384: 
                   12385: 
                   12386:   # Report which library types will actually be built
                   12387:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   12388: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   12389:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   12390: echo "${ECHO_T}$can_build_shared" >&6
                   12391: 
                   12392:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   12393: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   12394:   test "$can_build_shared" = "no" && enable_shared=no
                   12395: 
                   12396:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12397:   # are all built from PIC.
                   12398:   case $host_os in
                   12399:   aix3*)
                   12400:     test "$enable_shared" = yes && enable_static=no
                   12401:     if test -n "$RANLIB"; then
                   12402:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12403:       postinstall_cmds='$RANLIB $lib'
                   12404:     fi
                   12405:     ;;
                   12406: 
                   12407:   aix[4-9]*)
                   12408:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12409:       test "$enable_shared" = yes && enable_static=no
                   12410:     fi
                   12411:     ;;
                   12412:   esac
                   12413:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   12414: echo "${ECHO_T}$enable_shared" >&6
                   12415: 
                   12416:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   12417: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   12418:   # Make sure either enable_shared or enable_static is yes.
                   12419:   test "$enable_shared" = yes || enable_static=yes
                   12420:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   12421: echo "${ECHO_T}$enable_static" >&6
                   12422: 
                   12423: 
                   12424: 
                   12425: 
                   12426: fi
                   12427: ac_ext=c
                   12428: ac_cpp='$CPP $CPPFLAGS'
                   12429: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12430: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12431: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12432: 
                   12433: CC="$lt_save_CC"
                   12434: 
                   12435:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12436:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12437:     (test "X$CXX" != "Xg++"))) ; then
                   12438:   ac_ext=cc
                   12439: ac_cpp='$CXXCPP $CPPFLAGS'
                   12440: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12441: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12442: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12443: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   12444: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
                   12445: if test -z "$CXXCPP"; then
                   12446:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   12447:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12448: else
                   12449:       # Double quotes because CXXCPP needs to be expanded
                   12450:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12451:     do
                   12452:       ac_preproc_ok=false
                   12453: for ac_cxx_preproc_warn_flag in '' yes
                   12454: do
                   12455:   # Use a header file that comes with gcc, so configuring glibc
                   12456:   # with a fresh cross-compiler works.
                   12457:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12458:   # <limits.h> exists even on freestanding compilers.
                   12459:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12460:   # not just through cpp. "Syntax error" is here to catch this case.
                   12461:   cat >conftest.$ac_ext <<_ACEOF
                   12462: /* confdefs.h.  */
                   12463: _ACEOF
                   12464: cat confdefs.h >>conftest.$ac_ext
                   12465: cat >>conftest.$ac_ext <<_ACEOF
                   12466: /* end confdefs.h.  */
                   12467: #ifdef __STDC__
                   12468: # include <limits.h>
                   12469: #else
                   12470: # include <assert.h>
                   12471: #endif
                   12472:                     Syntax error
                   12473: _ACEOF
                   12474: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12475:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12476:   ac_status=$?
                   12477:   grep -v '^ *+' conftest.er1 >conftest.err
                   12478:   rm -f conftest.er1
                   12479:   cat conftest.err >&5
                   12480:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12481:   (exit $ac_status); } >/dev/null; then
                   12482:   if test -s conftest.err; then
                   12483:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12484:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12485:   else
                   12486:     ac_cpp_err=
                   12487:   fi
                   12488: else
                   12489:   ac_cpp_err=yes
                   12490: fi
                   12491: if test -z "$ac_cpp_err"; then
                   12492:   :
                   12493: else
                   12494:   echo "$as_me: failed program was:" >&5
                   12495: sed 's/^/| /' conftest.$ac_ext >&5
                   12496: 
                   12497:   # Broken: fails on valid input.
                   12498: continue
                   12499: fi
                   12500: rm -f conftest.err conftest.$ac_ext
                   12501: 
                   12502:   # OK, works on sane cases.  Now check whether non-existent headers
                   12503:   # can be detected and how.
                   12504:   cat >conftest.$ac_ext <<_ACEOF
                   12505: /* confdefs.h.  */
                   12506: _ACEOF
                   12507: cat confdefs.h >>conftest.$ac_ext
                   12508: cat >>conftest.$ac_ext <<_ACEOF
                   12509: /* end confdefs.h.  */
                   12510: #include <ac_nonexistent.h>
                   12511: _ACEOF
                   12512: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12513:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12514:   ac_status=$?
                   12515:   grep -v '^ *+' conftest.er1 >conftest.err
                   12516:   rm -f conftest.er1
                   12517:   cat conftest.err >&5
                   12518:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12519:   (exit $ac_status); } >/dev/null; then
                   12520:   if test -s conftest.err; then
                   12521:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12522:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12523:   else
                   12524:     ac_cpp_err=
                   12525:   fi
                   12526: else
                   12527:   ac_cpp_err=yes
                   12528: fi
                   12529: if test -z "$ac_cpp_err"; then
                   12530:   # Broken: success on invalid input.
                   12531: continue
                   12532: else
                   12533:   echo "$as_me: failed program was:" >&5
                   12534: sed 's/^/| /' conftest.$ac_ext >&5
                   12535: 
                   12536:   # Passes both tests.
                   12537: ac_preproc_ok=:
                   12538: break
                   12539: fi
                   12540: rm -f conftest.err conftest.$ac_ext
                   12541: 
                   12542: done
                   12543: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12544: rm -f conftest.err conftest.$ac_ext
                   12545: if $ac_preproc_ok; then
                   12546:   break
                   12547: fi
                   12548: 
                   12549:     done
                   12550:     ac_cv_prog_CXXCPP=$CXXCPP
                   12551: 
                   12552: fi
                   12553:   CXXCPP=$ac_cv_prog_CXXCPP
                   12554: else
                   12555:   ac_cv_prog_CXXCPP=$CXXCPP
                   12556: fi
                   12557: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   12558: echo "${ECHO_T}$CXXCPP" >&6
                   12559: ac_preproc_ok=false
                   12560: for ac_cxx_preproc_warn_flag in '' yes
                   12561: do
                   12562:   # Use a header file that comes with gcc, so configuring glibc
                   12563:   # with a fresh cross-compiler works.
                   12564:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12565:   # <limits.h> exists even on freestanding compilers.
                   12566:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12567:   # not just through cpp. "Syntax error" is here to catch this case.
                   12568:   cat >conftest.$ac_ext <<_ACEOF
                   12569: /* confdefs.h.  */
                   12570: _ACEOF
                   12571: cat confdefs.h >>conftest.$ac_ext
                   12572: cat >>conftest.$ac_ext <<_ACEOF
                   12573: /* end confdefs.h.  */
                   12574: #ifdef __STDC__
                   12575: # include <limits.h>
                   12576: #else
                   12577: # include <assert.h>
                   12578: #endif
                   12579:                     Syntax error
                   12580: _ACEOF
                   12581: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12582:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12583:   ac_status=$?
                   12584:   grep -v '^ *+' conftest.er1 >conftest.err
                   12585:   rm -f conftest.er1
                   12586:   cat conftest.err >&5
                   12587:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12588:   (exit $ac_status); } >/dev/null; then
                   12589:   if test -s conftest.err; then
                   12590:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12591:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12592:   else
                   12593:     ac_cpp_err=
                   12594:   fi
                   12595: else
                   12596:   ac_cpp_err=yes
                   12597: fi
                   12598: if test -z "$ac_cpp_err"; then
                   12599:   :
                   12600: else
                   12601:   echo "$as_me: failed program was:" >&5
                   12602: sed 's/^/| /' conftest.$ac_ext >&5
                   12603: 
                   12604:   # Broken: fails on valid input.
                   12605: continue
                   12606: fi
                   12607: rm -f conftest.err conftest.$ac_ext
                   12608: 
                   12609:   # OK, works on sane cases.  Now check whether non-existent headers
                   12610:   # can be detected and how.
                   12611:   cat >conftest.$ac_ext <<_ACEOF
                   12612: /* confdefs.h.  */
                   12613: _ACEOF
                   12614: cat confdefs.h >>conftest.$ac_ext
                   12615: cat >>conftest.$ac_ext <<_ACEOF
                   12616: /* end confdefs.h.  */
                   12617: #include <ac_nonexistent.h>
                   12618: _ACEOF
                   12619: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12620:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12621:   ac_status=$?
                   12622:   grep -v '^ *+' conftest.er1 >conftest.err
                   12623:   rm -f conftest.er1
                   12624:   cat conftest.err >&5
                   12625:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12626:   (exit $ac_status); } >/dev/null; then
                   12627:   if test -s conftest.err; then
                   12628:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12629:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12630:   else
                   12631:     ac_cpp_err=
                   12632:   fi
                   12633: else
                   12634:   ac_cpp_err=yes
                   12635: fi
                   12636: if test -z "$ac_cpp_err"; then
                   12637:   # Broken: success on invalid input.
                   12638: continue
                   12639: else
                   12640:   echo "$as_me: failed program was:" >&5
                   12641: sed 's/^/| /' conftest.$ac_ext >&5
                   12642: 
                   12643:   # Passes both tests.
                   12644: ac_preproc_ok=:
                   12645: break
                   12646: fi
                   12647: rm -f conftest.err conftest.$ac_ext
                   12648: 
                   12649: done
                   12650: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12651: rm -f conftest.err conftest.$ac_ext
                   12652: if $ac_preproc_ok; then
                   12653:   :
                   12654: else
                   12655:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12656: See \`config.log' for more details." >&5
                   12657: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12658: See \`config.log' for more details." >&2;}
                   12659:    { (exit 1); exit 1; }; }
                   12660: fi
                   12661: 
                   12662: ac_ext=c
                   12663: ac_cpp='$CPP $CPPFLAGS'
                   12664: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12665: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12666: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12667: 
                   12668: else
                   12669:   _lt_caught_CXX_error=yes
                   12670: fi
                   12671: 
                   12672: ac_ext=cc
                   12673: ac_cpp='$CXXCPP $CPPFLAGS'
                   12674: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12675: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12676: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12677: 
                   12678: archive_cmds_need_lc_CXX=no
                   12679: allow_undefined_flag_CXX=
                   12680: always_export_symbols_CXX=no
                   12681: archive_expsym_cmds_CXX=
                   12682: compiler_needs_object_CXX=no
                   12683: export_dynamic_flag_spec_CXX=
                   12684: hardcode_direct_CXX=no
                   12685: hardcode_direct_absolute_CXX=no
                   12686: hardcode_libdir_flag_spec_CXX=
                   12687: hardcode_libdir_separator_CXX=
                   12688: hardcode_minus_L_CXX=no
                   12689: hardcode_shlibpath_var_CXX=unsupported
                   12690: hardcode_automatic_CXX=no
                   12691: inherit_rpath_CXX=no
                   12692: module_cmds_CXX=
                   12693: module_expsym_cmds_CXX=
                   12694: link_all_deplibs_CXX=unknown
                   12695: old_archive_cmds_CXX=$old_archive_cmds
                   12696: reload_flag_CXX=$reload_flag
                   12697: reload_cmds_CXX=$reload_cmds
                   12698: no_undefined_flag_CXX=
                   12699: whole_archive_flag_spec_CXX=
                   12700: enable_shared_with_static_runtimes_CXX=no
                   12701: 
                   12702: # Source file extension for C++ test sources.
                   12703: ac_ext=cpp
                   12704: 
                   12705: # Object file extension for compiled C++ test sources.
                   12706: objext=o
                   12707: objext_CXX=$objext
                   12708: 
                   12709: # No sense in running all these tests if we already determined that
                   12710: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12711: # are currently assumed to apply to all compilers on this platform,
                   12712: # and will be corrupted by setting them based on a non-working compiler.
                   12713: if test "$_lt_caught_CXX_error" != yes; then
                   12714:   # Code to be used in simple compile tests
                   12715:   lt_simple_compile_test_code="int some_variable = 0;"
                   12716: 
                   12717:   # Code to be used in simple link tests
                   12718:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12719: 
                   12720:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12721: 
                   12722: 
                   12723: 
                   12724: 
                   12725: 
                   12726: 
                   12727: # If no C compiler was specified, use CC.
                   12728: LTCC=${LTCC-"$CC"}
                   12729: 
                   12730: # If no C compiler flags were specified, use CFLAGS.
                   12731: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12732: 
                   12733: # Allow CC to be a program name with arguments.
                   12734: compiler=$CC
                   12735: 
                   12736: 
                   12737:   # save warnings/boilerplate of simple test code
                   12738:   ac_outfile=conftest.$ac_objext
                   12739: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12740: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12741: _lt_compiler_boilerplate=`cat conftest.err`
                   12742: $RM conftest*
                   12743: 
                   12744:   ac_outfile=conftest.$ac_objext
                   12745: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12746: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12747: _lt_linker_boilerplate=`cat conftest.err`
                   12748: $RM -r conftest*
                   12749: 
                   12750: 
                   12751:   # Allow CC to be a program name with arguments.
                   12752:   lt_save_CC=$CC
                   12753:   lt_save_CFLAGS=$CFLAGS
                   12754:   lt_save_LD=$LD
                   12755:   lt_save_GCC=$GCC
                   12756:   GCC=$GXX
                   12757:   lt_save_with_gnu_ld=$with_gnu_ld
                   12758:   lt_save_path_LD=$lt_cv_path_LD
                   12759:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12760:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12761:   else
                   12762:     $as_unset lt_cv_prog_gnu_ld
                   12763:   fi
                   12764:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12765:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12766:   else
                   12767:     $as_unset lt_cv_path_LD
                   12768:   fi
                   12769:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12770:   CC=${CXX-"c++"}
                   12771:   CFLAGS=$CXXFLAGS
                   12772:   compiler=$CC
                   12773:   compiler_CXX=$CC
                   12774:   for cc_temp in $compiler""; do
                   12775:   case $cc_temp in
                   12776:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12777:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12778:     \-*) ;;
                   12779:     *) break;;
                   12780:   esac
                   12781: done
                   12782: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12783: 
                   12784: 
                   12785:   if test -n "$compiler"; then
                   12786:     # We don't want -fno-exception when compiling C++ code, so set the
                   12787:     # no_builtin_flag separately
                   12788:     if test "$GXX" = yes; then
                   12789:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12790:     else
                   12791:       lt_prog_compiler_no_builtin_flag_CXX=
                   12792:     fi
                   12793: 
                   12794:     if test "$GXX" = yes; then
                   12795:       # Set up default GNU C++ configuration
                   12796: 
                   12797: 
                   12798: 
                   12799: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   12800: if test "${with_gnu_ld+set}" = set; then
                   12801:   withval="$with_gnu_ld"
                   12802:   test "$withval" = no || with_gnu_ld=yes
                   12803: else
                   12804:   with_gnu_ld=no
                   12805: fi;
                   12806: ac_prog=ld
                   12807: if test "$GCC" = yes; then
                   12808:   # Check if gcc -print-prog-name=ld gives a path.
                   12809:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   12810: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   12811:   case $host in
                   12812:   *-*-mingw*)
                   12813:     # gcc leaves a trailing carriage return which upsets mingw
                   12814:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12815:   *)
                   12816:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12817:   esac
                   12818:   case $ac_prog in
                   12819:     # Accept absolute paths.
                   12820:     [\\/]* | ?:[\\/]*)
                   12821:       re_direlt='/[^/][^/]*/\.\./'
                   12822:       # Canonicalize the pathname of ld
                   12823:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12824:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12825:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12826:       done
                   12827:       test -z "$LD" && LD="$ac_prog"
                   12828:       ;;
                   12829:   "")
                   12830:     # If it fails, then pretend we aren't using GCC.
                   12831:     ac_prog=ld
                   12832:     ;;
                   12833:   *)
                   12834:     # If it is relative, then search for the first ld in PATH.
                   12835:     with_gnu_ld=unknown
                   12836:     ;;
                   12837:   esac
                   12838: elif test "$with_gnu_ld" = yes; then
                   12839:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   12840: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   12841: else
                   12842:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   12843: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   12844: fi
                   12845: if test "${lt_cv_path_LD+set}" = set; then
                   12846:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12847: else
                   12848:   if test -z "$LD"; then
                   12849:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12850:   for ac_dir in $PATH; do
                   12851:     IFS="$lt_save_ifs"
                   12852:     test -z "$ac_dir" && ac_dir=.
                   12853:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12854:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12855:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12856:       # but apparently some variants of GNU ld only accept -v.
                   12857:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12858:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12859:       *GNU* | *'with BFD'*)
                   12860:        test "$with_gnu_ld" != no && break
                   12861:        ;;
                   12862:       *)
                   12863:        test "$with_gnu_ld" != yes && break
                   12864:        ;;
                   12865:       esac
                   12866:     fi
                   12867:   done
                   12868:   IFS="$lt_save_ifs"
                   12869: else
                   12870:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12871: fi
                   12872: fi
                   12873: 
                   12874: LD="$lt_cv_path_LD"
                   12875: if test -n "$LD"; then
                   12876:   echo "$as_me:$LINENO: result: $LD" >&5
                   12877: echo "${ECHO_T}$LD" >&6
                   12878: else
                   12879:   echo "$as_me:$LINENO: result: no" >&5
                   12880: echo "${ECHO_T}no" >&6
                   12881: fi
                   12882: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   12883: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   12884:    { (exit 1); exit 1; }; }
                   12885: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   12886: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   12887: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   12888:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12889: else
                   12890:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12891: case `$LD -v 2>&1 </dev/null` in
                   12892: *GNU* | *'with BFD'*)
                   12893:   lt_cv_prog_gnu_ld=yes
                   12894:   ;;
                   12895: *)
                   12896:   lt_cv_prog_gnu_ld=no
                   12897:   ;;
                   12898: esac
                   12899: fi
                   12900: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   12901: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   12902: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12903: 
                   12904: 
                   12905: 
                   12906: 
                   12907: 
                   12908: 
                   12909: 
                   12910:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12911:       # archiving commands below assume that GNU ld is being used.
                   12912:       if test "$with_gnu_ld" = yes; then
                   12913:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12914:         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'
                   12915: 
                   12916:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12917:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12918: 
                   12919:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12920:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12921:         #     investigate it a little bit more. (MM)
                   12922:         wlarc='${wl}'
                   12923: 
                   12924:         # ancient GNU ld didn't support --whole-archive et. al.
                   12925:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12926:          $GREP 'no-whole-archive' > /dev/null; then
                   12927:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12928:         else
                   12929:           whole_archive_flag_spec_CXX=
                   12930:         fi
                   12931:       else
                   12932:         with_gnu_ld=no
                   12933:         wlarc=
                   12934: 
                   12935:         # A generic and very simple default shared library creation
                   12936:         # command for GNU C++ for the case where it uses the native
                   12937:         # linker, instead of GNU ld.  If possible, this setting should
                   12938:         # overridden to take advantage of the native linker features on
                   12939:         # the platform it is being used on.
                   12940:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12941:       fi
                   12942: 
                   12943:       # Commands to make compiler produce verbose output that lists
                   12944:       # what "hidden" libraries, object files and flags are used when
                   12945:       # linking a shared library.
                   12946:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12947: 
                   12948:     else
                   12949:       GXX=no
                   12950:       with_gnu_ld=no
                   12951:       wlarc=
                   12952:     fi
                   12953: 
                   12954:     # PORTME: fill in a description of your system's C++ link characteristics
                   12955:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12956: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   12957:     ld_shlibs_CXX=yes
                   12958:     case $host_os in
                   12959:       aix3*)
                   12960:         # FIXME: insert proper C++ library support
                   12961:         ld_shlibs_CXX=no
                   12962:         ;;
                   12963:       aix[4-9]*)
                   12964:         if test "$host_cpu" = ia64; then
                   12965:           # On IA64, the linker does run time linking by default, so we don't
                   12966:           # have to do anything special.
                   12967:           aix_use_runtimelinking=no
                   12968:           exp_sym_flag='-Bexport'
                   12969:           no_entry_flag=""
                   12970:         else
                   12971:           aix_use_runtimelinking=no
                   12972: 
                   12973:           # Test if we are trying to use run time linking or normal
                   12974:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12975:           # need to do runtime linking.
                   12976:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12977:            for ld_flag in $LDFLAGS; do
                   12978:              case $ld_flag in
                   12979:              *-brtl*)
                   12980:                aix_use_runtimelinking=yes
                   12981:                break
                   12982:                ;;
                   12983:              esac
                   12984:            done
                   12985:            ;;
                   12986:           esac
                   12987: 
                   12988:           exp_sym_flag='-bexport'
                   12989:           no_entry_flag='-bnoentry'
                   12990:         fi
                   12991: 
                   12992:         # When large executables or shared objects are built, AIX ld can
                   12993:         # have problems creating the table of contents.  If linking a library
                   12994:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12995:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12996:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12997: 
                   12998:         archive_cmds_CXX=''
                   12999:         hardcode_direct_CXX=yes
                   13000:         hardcode_direct_absolute_CXX=yes
                   13001:         hardcode_libdir_separator_CXX=':'
                   13002:         link_all_deplibs_CXX=yes
                   13003:         file_list_spec_CXX='${wl}-f,'
                   13004: 
                   13005:         if test "$GXX" = yes; then
                   13006:           case $host_os in aix4.[012]|aix4.[012].*)
                   13007:           # We only want to do this on AIX 4.2 and lower, the check
                   13008:           # below for broken collect2 doesn't work under 4.3+
                   13009:          collect2name=`${CC} -print-prog-name=collect2`
                   13010:          if test -f "$collect2name" &&
                   13011:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13012:          then
                   13013:            # We have reworked collect2
                   13014:            :
                   13015:          else
                   13016:            # We have old collect2
                   13017:            hardcode_direct_CXX=unsupported
                   13018:            # It fails to find uninstalled libraries when the uninstalled
                   13019:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13020:            # to unsupported forces relinking
                   13021:            hardcode_minus_L_CXX=yes
                   13022:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13023:            hardcode_libdir_separator_CXX=
                   13024:          fi
                   13025:           esac
                   13026:           shared_flag='-shared'
                   13027:          if test "$aix_use_runtimelinking" = yes; then
                   13028:            shared_flag="$shared_flag "'${wl}-G'
                   13029:          fi
                   13030:         else
                   13031:           # not using gcc
                   13032:           if test "$host_cpu" = ia64; then
                   13033:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13034:          # chokes on -Wl,-G. The following line is correct:
                   13035:          shared_flag='-G'
                   13036:           else
                   13037:            if test "$aix_use_runtimelinking" = yes; then
                   13038:              shared_flag='${wl}-G'
                   13039:            else
                   13040:              shared_flag='${wl}-bM:SRE'
                   13041:            fi
                   13042:           fi
                   13043:         fi
                   13044: 
                   13045:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13046:         # It seems that -bexpall does not export symbols beginning with
                   13047:         # underscore (_), so it is better to generate a list of symbols to
                   13048:        # export.
                   13049:         always_export_symbols_CXX=yes
                   13050:         if test "$aix_use_runtimelinking" = yes; then
                   13051:           # Warning - without using the other runtime loading flags (-brtl),
                   13052:           # -berok will link without error, but may produce a broken library.
                   13053:           allow_undefined_flag_CXX='-berok'
                   13054:           # Determine the default libpath from the value encoded in an empty
                   13055:           # executable.
                   13056:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13057:   aix_libpath=$lt_cv_aix_libpath
                   13058: else
                   13059:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13060:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13061: else
                   13062:   cat >conftest.$ac_ext <<_ACEOF
                   13063: /* confdefs.h.  */
                   13064: _ACEOF
                   13065: cat confdefs.h >>conftest.$ac_ext
                   13066: cat >>conftest.$ac_ext <<_ACEOF
                   13067: /* end confdefs.h.  */
                   13068: 
                   13069: int
                   13070: main ()
                   13071: {
                   13072: 
                   13073:   ;
                   13074:   return 0;
                   13075: }
                   13076: _ACEOF
                   13077: rm -f conftest.$ac_objext conftest$ac_exeext
                   13078: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13079:   (eval $ac_link) 2>conftest.er1
                   13080:   ac_status=$?
                   13081:   grep -v '^ *+' conftest.er1 >conftest.err
                   13082:   rm -f conftest.er1
                   13083:   cat conftest.err >&5
                   13084:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13085:   (exit $ac_status); } &&
                   13086:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13087:                         || test ! -s conftest.err'
                   13088:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13089:   (eval $ac_try) 2>&5
                   13090:   ac_status=$?
                   13091:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13092:   (exit $ac_status); }; } &&
                   13093:         { ac_try='test -s conftest$ac_exeext'
                   13094:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13095:   (eval $ac_try) 2>&5
                   13096:   ac_status=$?
                   13097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13098:   (exit $ac_status); }; }; then
                   13099: 
                   13100:   lt_aix_libpath_sed='
                   13101:       /Import File Strings/,/^$/ {
                   13102:          /^0/ {
                   13103:              s/^0  *\([^ ]*\) *$/\1/
                   13104:              p
                   13105:          }
                   13106:       }'
                   13107:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13108:   # Check for a 64-bit object if we didn't find anything.
                   13109:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13110:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13111:   fi
                   13112: else
                   13113:   echo "$as_me: failed program was:" >&5
                   13114: sed 's/^/| /' conftest.$ac_ext >&5
                   13115: 
                   13116: fi
                   13117: rm -f conftest.err conftest.$ac_objext \
                   13118:       conftest$ac_exeext conftest.$ac_ext
                   13119:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13120:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13121:   fi
                   13122: 
                   13123: fi
                   13124: 
                   13125:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13126: fi
                   13127: 
                   13128:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13129: 
                   13130:           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"
                   13131:         else
                   13132:           if test "$host_cpu" = ia64; then
                   13133:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13134:            allow_undefined_flag_CXX="-z nodefs"
                   13135:            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"
                   13136:           else
                   13137:            # Determine the default libpath from the value encoded in an
                   13138:            # empty executable.
                   13139:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13140:   aix_libpath=$lt_cv_aix_libpath
                   13141: else
                   13142:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13143:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13144: else
                   13145:   cat >conftest.$ac_ext <<_ACEOF
                   13146: /* confdefs.h.  */
                   13147: _ACEOF
                   13148: cat confdefs.h >>conftest.$ac_ext
                   13149: cat >>conftest.$ac_ext <<_ACEOF
                   13150: /* end confdefs.h.  */
                   13151: 
                   13152: int
                   13153: main ()
                   13154: {
                   13155: 
                   13156:   ;
                   13157:   return 0;
                   13158: }
                   13159: _ACEOF
                   13160: rm -f conftest.$ac_objext conftest$ac_exeext
                   13161: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13162:   (eval $ac_link) 2>conftest.er1
                   13163:   ac_status=$?
                   13164:   grep -v '^ *+' conftest.er1 >conftest.err
                   13165:   rm -f conftest.er1
                   13166:   cat conftest.err >&5
                   13167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13168:   (exit $ac_status); } &&
                   13169:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13170:                         || test ! -s conftest.err'
                   13171:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13172:   (eval $ac_try) 2>&5
                   13173:   ac_status=$?
                   13174:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13175:   (exit $ac_status); }; } &&
                   13176:         { ac_try='test -s conftest$ac_exeext'
                   13177:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13178:   (eval $ac_try) 2>&5
                   13179:   ac_status=$?
                   13180:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13181:   (exit $ac_status); }; }; then
                   13182: 
                   13183:   lt_aix_libpath_sed='
                   13184:       /Import File Strings/,/^$/ {
                   13185:          /^0/ {
                   13186:              s/^0  *\([^ ]*\) *$/\1/
                   13187:              p
                   13188:          }
                   13189:       }'
                   13190:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13191:   # Check for a 64-bit object if we didn't find anything.
                   13192:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13193:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13194:   fi
                   13195: else
                   13196:   echo "$as_me: failed program was:" >&5
                   13197: sed 's/^/| /' conftest.$ac_ext >&5
                   13198: 
                   13199: fi
                   13200: rm -f conftest.err conftest.$ac_objext \
                   13201:       conftest$ac_exeext conftest.$ac_ext
                   13202:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13203:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13204:   fi
                   13205: 
                   13206: fi
                   13207: 
                   13208:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13209: fi
                   13210: 
                   13211:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13212:            # Warning - without using the other run time loading flags,
                   13213:            # -berok will link without error, but may produce a broken library.
                   13214:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13215:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13216:            if test "$with_gnu_ld" = yes; then
                   13217:              # We only use this code for GNU lds that support --whole-archive.
                   13218:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13219:            else
                   13220:              # Exported symbols can be pulled into shared objects from archives
                   13221:              whole_archive_flag_spec_CXX='$convenience'
                   13222:            fi
                   13223:            archive_cmds_need_lc_CXX=yes
                   13224:            # This is similar to how AIX traditionally builds its shared
                   13225:            # libraries.
                   13226:            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'
                   13227:           fi
                   13228:         fi
                   13229:         ;;
                   13230: 
                   13231:       beos*)
                   13232:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13233:          allow_undefined_flag_CXX=unsupported
                   13234:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13235:          # support --undefined.  This deserves some investigation.  FIXME
                   13236:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13237:        else
                   13238:          ld_shlibs_CXX=no
                   13239:        fi
                   13240:        ;;
                   13241: 
                   13242:       chorus*)
                   13243:         case $cc_basename in
                   13244:           *)
                   13245:          # FIXME: insert proper C++ library support
                   13246:          ld_shlibs_CXX=no
                   13247:          ;;
                   13248:         esac
                   13249:         ;;
                   13250: 
                   13251:       cygwin* | mingw* | pw32* | cegcc*)
                   13252:        case $GXX,$cc_basename in
                   13253:        ,cl* | no,cl*)
                   13254:          # Native MSVC
                   13255:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13256:          # no search path for DLLs.
                   13257:          hardcode_libdir_flag_spec_CXX=' '
                   13258:          allow_undefined_flag_CXX=unsupported
                   13259:          always_export_symbols_CXX=yes
                   13260:          file_list_spec_CXX='@'
                   13261:          # Tell ltmain to make .lib files, not .a files.
                   13262:          libext=lib
                   13263:          # Tell ltmain to make .dll files, not .so files.
                   13264:          shrext_cmds=".dll"
                   13265:          # FIXME: Setting linknames here is a bad hack.
                   13266:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13267:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13268:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13269:            else
                   13270:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13271:            fi~
                   13272:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13273:            linknames='
                   13274:          # The linker will not automatically build a static lib if we build a DLL.
                   13275:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13276:          enable_shared_with_static_runtimes_CXX=yes
                   13277:          # Don't use ranlib
                   13278:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13279:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13280:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13281:            case $lt_outputfile in
                   13282:              *.exe|*.EXE) ;;
                   13283:              *)
                   13284:                lt_outputfile="$lt_outputfile.exe"
                   13285:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13286:                ;;
                   13287:            esac~
                   13288:            func_to_tool_file "$lt_outputfile"~
                   13289:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13290:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13291:              $RM "$lt_outputfile.manifest";
                   13292:            fi'
                   13293:          ;;
                   13294:        *)
                   13295:          # g++
                   13296:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13297:          # as there is no search path for DLLs.
                   13298:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13299:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13300:          allow_undefined_flag_CXX=unsupported
                   13301:          always_export_symbols_CXX=no
                   13302:          enable_shared_with_static_runtimes_CXX=yes
                   13303: 
                   13304:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13305:            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'
                   13306:            # If the export-symbols file already is a .def file (1st line
                   13307:            # is EXPORTS), use it as is; otherwise, prepend...
                   13308:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13309:              cp $export_symbols $output_objdir/$soname.def;
                   13310:            else
                   13311:              echo EXPORTS > $output_objdir/$soname.def;
                   13312:              cat $export_symbols >> $output_objdir/$soname.def;
                   13313:            fi~
                   13314:            $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'
                   13315:          else
                   13316:            ld_shlibs_CXX=no
                   13317:          fi
                   13318:          ;;
                   13319:        esac
                   13320:        ;;
                   13321:       darwin* | rhapsody*)
                   13322: 
                   13323: 
                   13324:   archive_cmds_need_lc_CXX=no
                   13325:   hardcode_direct_CXX=no
                   13326:   hardcode_automatic_CXX=yes
                   13327:   hardcode_shlibpath_var_CXX=unsupported
                   13328:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13329:     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\"`'
                   13330: 
                   13331:   else
                   13332:     whole_archive_flag_spec_CXX=''
                   13333:   fi
                   13334:   link_all_deplibs_CXX=yes
                   13335:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13336:   case $cc_basename in
                   13337:      ifort*) _lt_dar_can_shared=yes ;;
                   13338:      *) _lt_dar_can_shared=$GCC ;;
                   13339:   esac
                   13340:   if test "$_lt_dar_can_shared" = "yes"; then
                   13341:     output_verbose_link_cmd=func_echo_all
                   13342:     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}"
                   13343:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13344:     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}"
                   13345:     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}"
                   13346:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13347:       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}"
                   13348:       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}"
                   13349:     fi
                   13350: 
                   13351:   else
                   13352:   ld_shlibs_CXX=no
                   13353:   fi
                   13354: 
                   13355:        ;;
                   13356: 
                   13357:       dgux*)
                   13358:         case $cc_basename in
                   13359:           ec++*)
                   13360:            # FIXME: insert proper C++ library support
                   13361:            ld_shlibs_CXX=no
                   13362:            ;;
                   13363:           ghcx*)
                   13364:            # Green Hills C++ Compiler
                   13365:            # FIXME: insert proper C++ library support
                   13366:            ld_shlibs_CXX=no
                   13367:            ;;
                   13368:           *)
                   13369:            # FIXME: insert proper C++ library support
                   13370:            ld_shlibs_CXX=no
                   13371:            ;;
                   13372:         esac
                   13373:         ;;
                   13374: 
                   13375:       freebsd2.*)
                   13376:         # C++ shared libraries reported to be fairly broken before
                   13377:        # switch to ELF
                   13378:         ld_shlibs_CXX=no
                   13379:         ;;
                   13380: 
                   13381:       freebsd-elf*)
                   13382:         archive_cmds_need_lc_CXX=no
                   13383:         ;;
                   13384: 
                   13385:       freebsd* | dragonfly*)
                   13386:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13387:         # conventions
                   13388:         ld_shlibs_CXX=yes
                   13389:         ;;
                   13390: 
                   13391:       gnu*)
                   13392:         ;;
                   13393: 
                   13394:       haiku*)
                   13395:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13396:         link_all_deplibs_CXX=yes
                   13397:         ;;
                   13398: 
                   13399:       hpux9*)
                   13400:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13401:         hardcode_libdir_separator_CXX=:
                   13402:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13403:         hardcode_direct_CXX=yes
                   13404:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13405:                                             # but as the default
                   13406:                                             # location of the library.
                   13407: 
                   13408:         case $cc_basename in
                   13409:           CC*)
                   13410:             # FIXME: insert proper C++ library support
                   13411:             ld_shlibs_CXX=no
                   13412:             ;;
                   13413:           aCC*)
                   13414:             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'
                   13415:             # Commands to make compiler produce verbose output that lists
                   13416:             # what "hidden" libraries, object files and flags are used when
                   13417:             # linking a shared library.
                   13418:             #
                   13419:             # There doesn't appear to be a way to prevent this compiler from
                   13420:             # explicitly linking system object files so we need to strip them
                   13421:             # from the output so that they don't get included in the library
                   13422:             # dependencies.
                   13423:             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"'
                   13424:             ;;
                   13425:           *)
                   13426:             if test "$GXX" = yes; then
                   13427:               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'
                   13428:             else
                   13429:               # FIXME: insert proper C++ library support
                   13430:               ld_shlibs_CXX=no
                   13431:             fi
                   13432:             ;;
                   13433:         esac
                   13434:         ;;
                   13435: 
                   13436:       hpux10*|hpux11*)
                   13437:         if test $with_gnu_ld = no; then
                   13438:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13439:          hardcode_libdir_separator_CXX=:
                   13440: 
                   13441:           case $host_cpu in
                   13442:             hppa*64*|ia64*)
                   13443:               ;;
                   13444:             *)
                   13445:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13446:               ;;
                   13447:           esac
                   13448:         fi
                   13449:         case $host_cpu in
                   13450:           hppa*64*|ia64*)
                   13451:             hardcode_direct_CXX=no
                   13452:             hardcode_shlibpath_var_CXX=no
                   13453:             ;;
                   13454:           *)
                   13455:             hardcode_direct_CXX=yes
                   13456:             hardcode_direct_absolute_CXX=yes
                   13457:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13458:                                                 # but as the default
                   13459:                                                 # location of the library.
                   13460:             ;;
                   13461:         esac
                   13462: 
                   13463:         case $cc_basename in
                   13464:           CC*)
                   13465:            # FIXME: insert proper C++ library support
                   13466:            ld_shlibs_CXX=no
                   13467:            ;;
                   13468:           aCC*)
                   13469:            case $host_cpu in
                   13470:              hppa*64*)
                   13471:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13472:                ;;
                   13473:              ia64*)
                   13474:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13475:                ;;
                   13476:              *)
                   13477:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13478:                ;;
                   13479:            esac
                   13480:            # Commands to make compiler produce verbose output that lists
                   13481:            # what "hidden" libraries, object files and flags are used when
                   13482:            # linking a shared library.
                   13483:            #
                   13484:            # There doesn't appear to be a way to prevent this compiler from
                   13485:            # explicitly linking system object files so we need to strip them
                   13486:            # from the output so that they don't get included in the library
                   13487:            # dependencies.
                   13488:            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"'
                   13489:            ;;
                   13490:           *)
                   13491:            if test "$GXX" = yes; then
                   13492:              if test $with_gnu_ld = no; then
                   13493:                case $host_cpu in
                   13494:                  hppa*64*)
                   13495:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13496:                    ;;
                   13497:                  ia64*)
                   13498:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13499:                    ;;
                   13500:                  *)
                   13501:                    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'
                   13502:                    ;;
                   13503:                esac
                   13504:              fi
                   13505:            else
                   13506:              # FIXME: insert proper C++ library support
                   13507:              ld_shlibs_CXX=no
                   13508:            fi
                   13509:            ;;
                   13510:         esac
                   13511:         ;;
                   13512: 
                   13513:       interix[3-9]*)
                   13514:        hardcode_direct_CXX=no
                   13515:        hardcode_shlibpath_var_CXX=no
                   13516:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13517:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13518:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13519:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13520:        # default) and relocated if they conflict, which is a slow very memory
                   13521:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13522:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13523:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13524:        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'
                   13525:        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'
                   13526:        ;;
                   13527:       irix5* | irix6*)
                   13528:         case $cc_basename in
                   13529:           CC*)
                   13530:            # SGI C++
                   13531:            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'
                   13532: 
                   13533:            # Archives containing C++ object files must be created using
                   13534:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13535:            # necessary to make sure instantiated templates are included
                   13536:            # in the archive.
                   13537:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13538:            ;;
                   13539:           *)
                   13540:            if test "$GXX" = yes; then
                   13541:              if test "$with_gnu_ld" = no; then
                   13542:                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'
                   13543:              else
                   13544:                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'
                   13545:              fi
                   13546:            fi
                   13547:            link_all_deplibs_CXX=yes
                   13548:            ;;
                   13549:         esac
                   13550:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13551:         hardcode_libdir_separator_CXX=:
                   13552:         inherit_rpath_CXX=yes
                   13553:         ;;
                   13554: 
                   13555:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13556:         case $cc_basename in
                   13557:           KCC*)
                   13558:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13559: 
                   13560:            # KCC will only create a shared library if the output file
                   13561:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13562:            # to its proper name (with version) after linking.
                   13563:            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'
                   13564:            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'
                   13565:            # Commands to make compiler produce verbose output that lists
                   13566:            # what "hidden" libraries, object files and flags are used when
                   13567:            # linking a shared library.
                   13568:            #
                   13569:            # There doesn't appear to be a way to prevent this compiler from
                   13570:            # explicitly linking system object files so we need to strip them
                   13571:            # from the output so that they don't get included in the library
                   13572:            # dependencies.
                   13573:            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"'
                   13574: 
                   13575:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13576:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13577: 
                   13578:            # Archives containing C++ object files must be created using
                   13579:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13580:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13581:            ;;
                   13582:          icpc* | ecpc* )
                   13583:            # Intel C++
                   13584:            with_gnu_ld=yes
                   13585:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13586:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13587:            # earlier do not add the objects themselves.
                   13588:            case `$CC -V 2>&1` in
                   13589:              *"Version 7."*)
                   13590:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13591:                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'
                   13592:                ;;
                   13593:              *)  # Version 8.0 or newer
                   13594:                tmp_idyn=
                   13595:                case $host_cpu in
                   13596:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13597:                esac
                   13598:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13599:                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'
                   13600:                ;;
                   13601:            esac
                   13602:            archive_cmds_need_lc_CXX=no
                   13603:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13604:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13605:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13606:            ;;
                   13607:           pgCC* | pgcpp*)
                   13608:             # Portland Group C++ compiler
                   13609:            case `$CC -V` in
                   13610:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13611:              prelink_cmds_CXX='tpldir=Template.dir~
                   13612:                rm -rf $tpldir~
                   13613:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13614:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13615:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13616:                rm -rf $tpldir~
                   13617:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13618:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13619:                $RANLIB $oldlib'
                   13620:              archive_cmds_CXX='tpldir=Template.dir~
                   13621:                rm -rf $tpldir~
                   13622:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13623:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13624:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13625:                rm -rf $tpldir~
                   13626:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13627:                $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'
                   13628:              ;;
                   13629:            *) # Version 6 and above use weak symbols
                   13630:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13631:              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'
                   13632:              ;;
                   13633:            esac
                   13634: 
                   13635:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13636:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13637:            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'
                   13638:             ;;
                   13639:          cxx*)
                   13640:            # Compaq C++
                   13641:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13642:            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'
                   13643: 
                   13644:            runpath_var=LD_RUN_PATH
                   13645:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13646:            hardcode_libdir_separator_CXX=:
                   13647: 
                   13648:            # Commands to make compiler produce verbose output that lists
                   13649:            # what "hidden" libraries, object files and flags are used when
                   13650:            # linking a shared library.
                   13651:            #
                   13652:            # There doesn't appear to be a way to prevent this compiler from
                   13653:            # explicitly linking system object files so we need to strip them
                   13654:            # from the output so that they don't get included in the library
                   13655:            # dependencies.
                   13656:            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'
                   13657:            ;;
                   13658:          xl* | mpixl* | bgxl*)
                   13659:            # IBM XL 8.0 on PPC, with GNU ld
                   13660:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13661:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13662:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13663:            if test "x$supports_anon_versioning" = xyes; then
                   13664:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13665:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13666:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13667:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13668:            fi
                   13669:            ;;
                   13670:          *)
                   13671:            case `$CC -V 2>&1 | sed 5q` in
                   13672:            *Sun\ C*)
                   13673:              # Sun C++ 5.9
                   13674:              no_undefined_flag_CXX=' -zdefs'
                   13675:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13676:              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'
                   13677:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13678:              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'
                   13679:              compiler_needs_object_CXX=yes
                   13680: 
                   13681:              # Not sure whether something based on
                   13682:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13683:              # would be better.
                   13684:              output_verbose_link_cmd='func_echo_all'
                   13685: 
                   13686:              # Archives containing C++ object files must be created using
                   13687:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13688:              # necessary to make sure instantiated templates are included
                   13689:              # in the archive.
                   13690:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13691:              ;;
                   13692:            esac
                   13693:            ;;
                   13694:        esac
                   13695:        ;;
                   13696: 
                   13697:       lynxos*)
                   13698:         # FIXME: insert proper C++ library support
                   13699:        ld_shlibs_CXX=no
                   13700:        ;;
                   13701: 
                   13702:       m88k*)
                   13703:         # FIXME: insert proper C++ library support
                   13704:         ld_shlibs_CXX=no
                   13705:        ;;
                   13706: 
                   13707:       mvs*)
                   13708:         case $cc_basename in
                   13709:           cxx*)
                   13710:            # FIXME: insert proper C++ library support
                   13711:            ld_shlibs_CXX=no
                   13712:            ;;
                   13713:          *)
                   13714:            # FIXME: insert proper C++ library support
                   13715:            ld_shlibs_CXX=no
                   13716:            ;;
                   13717:        esac
                   13718:        ;;
                   13719: 
                   13720:       netbsd*)
                   13721:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13722:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13723:          wlarc=
                   13724:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13725:          hardcode_direct_CXX=yes
                   13726:          hardcode_shlibpath_var_CXX=no
                   13727:        fi
                   13728:        # Workaround some broken pre-1.5 toolchains
                   13729:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13730:        ;;
                   13731: 
                   13732:       *nto* | *qnx*)
                   13733:         ld_shlibs_CXX=yes
                   13734:        ;;
                   13735: 
                   13736:       openbsd2*)
                   13737:         # C++ shared libraries are fairly broken
                   13738:        ld_shlibs_CXX=no
                   13739:        ;;
                   13740: 
                   13741:       openbsd*)
                   13742:        if test -f /usr/libexec/ld.so; then
                   13743:          hardcode_direct_CXX=yes
                   13744:          hardcode_shlibpath_var_CXX=no
                   13745:          hardcode_direct_absolute_CXX=yes
                   13746:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13747:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13748:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13749:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13750:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13751:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13752:          fi
                   13753:          output_verbose_link_cmd=func_echo_all
                   13754:        else
                   13755:          ld_shlibs_CXX=no
                   13756:        fi
                   13757:        ;;
                   13758: 
                   13759:       osf3* | osf4* | osf5*)
                   13760:         case $cc_basename in
                   13761:           KCC*)
                   13762:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13763: 
                   13764:            # KCC will only create a shared library if the output file
                   13765:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13766:            # to its proper name (with version) after linking.
                   13767:            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'
                   13768: 
                   13769:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13770:            hardcode_libdir_separator_CXX=:
                   13771: 
                   13772:            # Archives containing C++ object files must be created using
                   13773:            # the KAI C++ compiler.
                   13774:            case $host in
                   13775:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13776:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13777:            esac
                   13778:            ;;
                   13779:           RCC*)
                   13780:            # Rational C++ 2.4.1
                   13781:            # FIXME: insert proper C++ library support
                   13782:            ld_shlibs_CXX=no
                   13783:            ;;
                   13784:           cxx*)
                   13785:            case $host in
                   13786:              osf3*)
                   13787:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13788:                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'
                   13789:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13790:                ;;
                   13791:              *)
                   13792:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13793:                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'
                   13794:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13795:                  echo "-hidden">> $lib.exp~
                   13796:                  $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~
                   13797:                  $RM $lib.exp'
                   13798:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13799:                ;;
                   13800:            esac
                   13801: 
                   13802:            hardcode_libdir_separator_CXX=:
                   13803: 
                   13804:            # Commands to make compiler produce verbose output that lists
                   13805:            # what "hidden" libraries, object files and flags are used when
                   13806:            # linking a shared library.
                   13807:            #
                   13808:            # There doesn't appear to be a way to prevent this compiler from
                   13809:            # explicitly linking system object files so we need to strip them
                   13810:            # from the output so that they don't get included in the library
                   13811:            # dependencies.
                   13812:            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"'
                   13813:            ;;
                   13814:          *)
                   13815:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13816:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13817:              case $host in
                   13818:                osf3*)
                   13819:                  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'
                   13820:                  ;;
                   13821:                *)
                   13822:                  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'
                   13823:                  ;;
                   13824:              esac
                   13825: 
                   13826:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13827:              hardcode_libdir_separator_CXX=:
                   13828: 
                   13829:              # Commands to make compiler produce verbose output that lists
                   13830:              # what "hidden" libraries, object files and flags are used when
                   13831:              # linking a shared library.
                   13832:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13833: 
                   13834:            else
                   13835:              # FIXME: insert proper C++ library support
                   13836:              ld_shlibs_CXX=no
                   13837:            fi
                   13838:            ;;
                   13839:         esac
                   13840:         ;;
                   13841: 
                   13842:       psos*)
                   13843:         # FIXME: insert proper C++ library support
                   13844:         ld_shlibs_CXX=no
                   13845:         ;;
                   13846: 
                   13847:       sunos4*)
                   13848:         case $cc_basename in
                   13849:           CC*)
                   13850:            # Sun C++ 4.x
                   13851:            # FIXME: insert proper C++ library support
                   13852:            ld_shlibs_CXX=no
                   13853:            ;;
                   13854:           lcc*)
                   13855:            # Lucid
                   13856:            # FIXME: insert proper C++ library support
                   13857:            ld_shlibs_CXX=no
                   13858:            ;;
                   13859:           *)
                   13860:            # FIXME: insert proper C++ library support
                   13861:            ld_shlibs_CXX=no
                   13862:            ;;
                   13863:         esac
                   13864:         ;;
                   13865: 
                   13866:       solaris*)
                   13867:         case $cc_basename in
                   13868:           CC* | sunCC*)
                   13869:            # Sun C++ 4.2, 5.x and Centerline C++
                   13870:             archive_cmds_need_lc_CXX=yes
                   13871:            no_undefined_flag_CXX=' -zdefs'
                   13872:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13873:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13874:              $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'
                   13875: 
                   13876:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13877:            hardcode_shlibpath_var_CXX=no
                   13878:            case $host_os in
                   13879:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13880:              *)
                   13881:                # The compiler driver will combine and reorder linker options,
                   13882:                # but understands `-z linker_flag'.
                   13883:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13884:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13885:                ;;
                   13886:            esac
                   13887:            link_all_deplibs_CXX=yes
                   13888: 
                   13889:            output_verbose_link_cmd='func_echo_all'
                   13890: 
                   13891:            # Archives containing C++ object files must be created using
                   13892:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13893:            # necessary to make sure instantiated templates are included
                   13894:            # in the archive.
                   13895:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13896:            ;;
                   13897:           gcx*)
                   13898:            # Green Hills C++ Compiler
                   13899:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13900: 
                   13901:            # The C++ compiler must be used to create the archive.
                   13902:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13903:            ;;
                   13904:           *)
                   13905:            # GNU C++ compiler with Solaris linker
                   13906:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13907:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13908:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13909:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13910:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13911:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13912: 
                   13913:                # Commands to make compiler produce verbose output that lists
                   13914:                # what "hidden" libraries, object files and flags are used when
                   13915:                # linking a shared library.
                   13916:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13917:              else
                   13918:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13919:                # platform.
                   13920:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13921:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13922:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13923: 
                   13924:                # Commands to make compiler produce verbose output that lists
                   13925:                # what "hidden" libraries, object files and flags are used when
                   13926:                # linking a shared library.
                   13927:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13928:              fi
                   13929: 
                   13930:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13931:              case $host_os in
                   13932:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13933:                *)
                   13934:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13935:                  ;;
                   13936:              esac
                   13937:            fi
                   13938:            ;;
                   13939:         esac
                   13940:         ;;
                   13941: 
                   13942:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13943:       no_undefined_flag_CXX='${wl}-z,text'
                   13944:       archive_cmds_need_lc_CXX=no
                   13945:       hardcode_shlibpath_var_CXX=no
                   13946:       runpath_var='LD_RUN_PATH'
                   13947: 
                   13948:       case $cc_basename in
                   13949:         CC*)
                   13950:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13951:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13952:          ;;
                   13953:        *)
                   13954:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13955:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13956:          ;;
                   13957:       esac
                   13958:       ;;
                   13959: 
                   13960:       sysv5* | sco3.2v5* | sco5v6*)
                   13961:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13962:        # link with -lc, and that would cause any symbols used from libc to
                   13963:        # always be unresolved, which means just about no library would
                   13964:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13965:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13966:        # as -z defs.
                   13967:        no_undefined_flag_CXX='${wl}-z,text'
                   13968:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13969:        archive_cmds_need_lc_CXX=no
                   13970:        hardcode_shlibpath_var_CXX=no
                   13971:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13972:        hardcode_libdir_separator_CXX=':'
                   13973:        link_all_deplibs_CXX=yes
                   13974:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13975:        runpath_var='LD_RUN_PATH'
                   13976: 
                   13977:        case $cc_basename in
                   13978:           CC*)
                   13979:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13980:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13981:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13982:              '"$old_archive_cmds_CXX"
                   13983:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13984:              '"$reload_cmds_CXX"
                   13985:            ;;
                   13986:          *)
                   13987:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13988:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13989:            ;;
                   13990:        esac
                   13991:       ;;
                   13992: 
                   13993:       tandem*)
                   13994:         case $cc_basename in
                   13995:           NCC*)
                   13996:            # NonStop-UX NCC 3.20
                   13997:            # FIXME: insert proper C++ library support
                   13998:            ld_shlibs_CXX=no
                   13999:            ;;
                   14000:           *)
                   14001:            # FIXME: insert proper C++ library support
                   14002:            ld_shlibs_CXX=no
                   14003:            ;;
                   14004:         esac
                   14005:         ;;
                   14006: 
                   14007:       vxworks*)
                   14008:         # FIXME: insert proper C++ library support
                   14009:         ld_shlibs_CXX=no
                   14010:         ;;
                   14011: 
                   14012:       *)
                   14013:         # FIXME: insert proper C++ library support
                   14014:         ld_shlibs_CXX=no
                   14015:         ;;
                   14016:     esac
                   14017: 
                   14018:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14019: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14020:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14021: 
                   14022:     GCC_CXX="$GXX"
                   14023:     LD_CXX="$LD"
                   14024: 
                   14025:     ## CAVEAT EMPTOR:
                   14026:     ## There is no encapsulation within the following macros, do not change
                   14027:     ## the running order or otherwise move them around unless you know exactly
                   14028:     ## what you are doing...
                   14029:     # Dependencies to place before and after the object being linked:
                   14030: predep_objects_CXX=
                   14031: postdep_objects_CXX=
                   14032: predeps_CXX=
                   14033: postdeps_CXX=
                   14034: compiler_lib_search_path_CXX=
                   14035: 
                   14036: cat > conftest.$ac_ext <<_LT_EOF
                   14037: class Foo
                   14038: {
                   14039: public:
                   14040:   Foo (void) { a = 0; }
                   14041: private:
                   14042:   int a;
                   14043: };
                   14044: _LT_EOF
                   14045: 
                   14046: 
                   14047: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14048: case "$CC $CFLAGS " in #(
                   14049: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14050: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14051: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14052: esac
                   14053: 
                   14054: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14055:   (eval $ac_compile) 2>&5
                   14056:   ac_status=$?
                   14057:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14058:   (exit $ac_status); }; then
                   14059:   # Parse the compiler output and extract the necessary
                   14060:   # objects, libraries and library flags.
                   14061: 
                   14062:   # Sentinel used to keep track of whether or not we are before
                   14063:   # the conftest object file.
                   14064:   pre_test_object_deps_done=no
                   14065: 
                   14066:   for p in `eval "$output_verbose_link_cmd"`; do
                   14067:     case ${prev}${p} in
                   14068: 
                   14069:     -L* | -R* | -l*)
                   14070:        # Some compilers place space between "-{L,R}" and the path.
                   14071:        # Remove the space.
                   14072:        if test $p = "-L" ||
                   14073:           test $p = "-R"; then
                   14074:         prev=$p
                   14075:         continue
                   14076:        fi
                   14077: 
                   14078:        # Expand the sysroot to ease extracting the directories later.
                   14079:        if test -z "$prev"; then
                   14080:          case $p in
                   14081:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14082:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14083:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14084:          esac
                   14085:        fi
                   14086:        case $p in
                   14087:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14088:        esac
                   14089:        if test "$pre_test_object_deps_done" = no; then
                   14090:         case ${prev} in
                   14091:         -L | -R)
                   14092:           # Internal compiler library paths should come after those
                   14093:           # provided the user.  The postdeps already come after the
                   14094:           # user supplied libs so there is no need to process them.
                   14095:           if test -z "$compiler_lib_search_path_CXX"; then
                   14096:             compiler_lib_search_path_CXX="${prev}${p}"
                   14097:           else
                   14098:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14099:           fi
                   14100:           ;;
                   14101:         # The "-l" case would never come before the object being
                   14102:         # linked, so don't bother handling this case.
                   14103:         esac
                   14104:        else
                   14105:         if test -z "$postdeps_CXX"; then
                   14106:           postdeps_CXX="${prev}${p}"
                   14107:         else
                   14108:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14109:         fi
                   14110:        fi
                   14111:        prev=
                   14112:        ;;
                   14113: 
                   14114:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14115:     *.$objext)
                   14116:        # This assumes that the test object file only shows up
                   14117:        # once in the compiler output.
                   14118:        if test "$p" = "conftest.$objext"; then
                   14119:         pre_test_object_deps_done=yes
                   14120:         continue
                   14121:        fi
                   14122: 
                   14123:        if test "$pre_test_object_deps_done" = no; then
                   14124:         if test -z "$predep_objects_CXX"; then
                   14125:           predep_objects_CXX="$p"
                   14126:         else
                   14127:           predep_objects_CXX="$predep_objects_CXX $p"
                   14128:         fi
                   14129:        else
                   14130:         if test -z "$postdep_objects_CXX"; then
                   14131:           postdep_objects_CXX="$p"
                   14132:         else
                   14133:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14134:         fi
                   14135:        fi
                   14136:        ;;
                   14137: 
                   14138:     *) ;; # Ignore the rest.
                   14139: 
                   14140:     esac
                   14141:   done
                   14142: 
                   14143:   # Clean up.
                   14144:   rm -f a.out a.exe
                   14145: else
                   14146:   echo "libtool.m4: error: problem compiling CXX test program"
                   14147: fi
                   14148: 
                   14149: $RM -f confest.$objext
                   14150: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14151: 
                   14152: # PORTME: override above test on systems where it is broken
                   14153: case $host_os in
                   14154: interix[3-9]*)
                   14155:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14156:   # hack all around it, let's just trust "g++" to DTRT.
                   14157:   predep_objects_CXX=
                   14158:   postdep_objects_CXX=
                   14159:   postdeps_CXX=
                   14160:   ;;
                   14161: 
                   14162: linux*)
                   14163:   case `$CC -V 2>&1 | sed 5q` in
                   14164:   *Sun\ C*)
                   14165:     # Sun C++ 5.9
                   14166: 
                   14167:     # The more standards-conforming stlport4 library is
                   14168:     # incompatible with the Cstd library. Avoid specifying
                   14169:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14170:     # -library=stlport4 depends on it.
                   14171:     case " $CXX $CXXFLAGS " in
                   14172:     *" -library=stlport4 "*)
                   14173:       solaris_use_stlport4=yes
                   14174:       ;;
                   14175:     esac
                   14176: 
                   14177:     if test "$solaris_use_stlport4" != yes; then
                   14178:       postdeps_CXX='-library=Cstd -library=Crun'
                   14179:     fi
                   14180:     ;;
                   14181:   esac
                   14182:   ;;
                   14183: 
                   14184: solaris*)
                   14185:   case $cc_basename in
                   14186:   CC* | sunCC*)
                   14187:     # The more standards-conforming stlport4 library is
                   14188:     # incompatible with the Cstd library. Avoid specifying
                   14189:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14190:     # -library=stlport4 depends on it.
                   14191:     case " $CXX $CXXFLAGS " in
                   14192:     *" -library=stlport4 "*)
                   14193:       solaris_use_stlport4=yes
                   14194:       ;;
                   14195:     esac
                   14196: 
                   14197:     # Adding this requires a known-good setup of shared libraries for
                   14198:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14199:     # archive will be linked into the output, leading to subtle bugs.
                   14200:     if test "$solaris_use_stlport4" != yes; then
                   14201:       postdeps_CXX='-library=Cstd -library=Crun'
                   14202:     fi
                   14203:     ;;
                   14204:   esac
                   14205:   ;;
                   14206: esac
                   14207: 
                   14208: 
                   14209: case " $postdeps_CXX " in
                   14210: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14211: esac
                   14212:  compiler_lib_search_dirs_CXX=
                   14213: if test -n "${compiler_lib_search_path_CXX}"; then
                   14214:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14215: fi
                   14216: 
                   14217: 
                   14218: 
                   14219: 
                   14220: 
                   14221: 
                   14222: 
                   14223: 
                   14224: 
                   14225: 
                   14226: 
                   14227: 
                   14228: 
                   14229: 
                   14230: 
                   14231: 
                   14232: 
                   14233: 
                   14234: 
                   14235: 
                   14236: 
                   14237: 
                   14238: 
                   14239: 
                   14240: 
                   14241: 
                   14242: 
                   14243: 
                   14244: 
                   14245: 
                   14246: 
                   14247:     lt_prog_compiler_wl_CXX=
                   14248: lt_prog_compiler_pic_CXX=
                   14249: lt_prog_compiler_static_CXX=
                   14250: 
                   14251: 
                   14252:   # C++ specific cases for pic, static, wl, etc.
                   14253:   if test "$GXX" = yes; then
                   14254:     lt_prog_compiler_wl_CXX='-Wl,'
                   14255:     lt_prog_compiler_static_CXX='-static'
                   14256: 
                   14257:     case $host_os in
                   14258:     aix*)
                   14259:       # All AIX code is PIC.
                   14260:       if test "$host_cpu" = ia64; then
                   14261:        # AIX 5 now supports IA64 processor
                   14262:        lt_prog_compiler_static_CXX='-Bstatic'
                   14263:       fi
                   14264:       ;;
                   14265: 
                   14266:     amigaos*)
                   14267:       case $host_cpu in
                   14268:       powerpc)
                   14269:             # see comment about AmigaOS4 .so support
                   14270:             lt_prog_compiler_pic_CXX='-fPIC'
                   14271:         ;;
                   14272:       m68k)
                   14273:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14274:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14275:             # like `-m68040'.
                   14276:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14277:         ;;
                   14278:       esac
                   14279:       ;;
                   14280: 
                   14281:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14282:       # PIC is the default for these OSes.
                   14283:       ;;
                   14284:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14285:       # This hack is so that the source file can tell whether it is being
                   14286:       # built for inclusion in a dll (and should export symbols for example).
                   14287:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14288:       # (--disable-auto-import) libraries
                   14289:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14290:       ;;
                   14291:     darwin* | rhapsody*)
                   14292:       # PIC is the default on this platform
                   14293:       # Common symbols not allowed in MH_DYLIB files
                   14294:       lt_prog_compiler_pic_CXX='-fno-common'
                   14295:       ;;
                   14296:     *djgpp*)
                   14297:       # DJGPP does not support shared libraries at all
                   14298:       lt_prog_compiler_pic_CXX=
                   14299:       ;;
                   14300:     haiku*)
                   14301:       # PIC is the default for Haiku.
                   14302:       # The "-static" flag exists, but is broken.
                   14303:       lt_prog_compiler_static_CXX=
                   14304:       ;;
                   14305:     interix[3-9]*)
                   14306:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14307:       # Instead, we relocate shared libraries at runtime.
                   14308:       ;;
                   14309:     sysv4*MP*)
                   14310:       if test -d /usr/nec; then
                   14311:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14312:       fi
                   14313:       ;;
                   14314:     hpux*)
                   14315:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14316:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14317:       # sets the default TLS model and affects inlining.
                   14318:       case $host_cpu in
                   14319:       hppa*64*)
                   14320:        ;;
                   14321:       *)
                   14322:        lt_prog_compiler_pic_CXX='-fPIC'
                   14323:        ;;
                   14324:       esac
                   14325:       ;;
                   14326:     *qnx* | *nto*)
                   14327:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14328:       # it will coredump.
                   14329:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14330:       ;;
                   14331:     *)
                   14332:       lt_prog_compiler_pic_CXX='-fPIC'
                   14333:       ;;
                   14334:     esac
                   14335:   else
                   14336:     case $host_os in
                   14337:       aix[4-9]*)
                   14338:        # All AIX code is PIC.
                   14339:        if test "$host_cpu" = ia64; then
                   14340:          # AIX 5 now supports IA64 processor
                   14341:          lt_prog_compiler_static_CXX='-Bstatic'
                   14342:        else
                   14343:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14344:        fi
                   14345:        ;;
                   14346:       chorus*)
                   14347:        case $cc_basename in
                   14348:        cxch68*)
                   14349:          # Green Hills C++ Compiler
                   14350:          # _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"
                   14351:          ;;
                   14352:        esac
                   14353:        ;;
                   14354:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14355:        # This hack is so that the source file can tell whether it is being
                   14356:        # built for inclusion in a dll (and should export symbols for example).
                   14357:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14358:        ;;
                   14359:       dgux*)
                   14360:        case $cc_basename in
                   14361:          ec++*)
                   14362:            lt_prog_compiler_pic_CXX='-KPIC'
                   14363:            ;;
                   14364:          ghcx*)
                   14365:            # Green Hills C++ Compiler
                   14366:            lt_prog_compiler_pic_CXX='-pic'
                   14367:            ;;
                   14368:          *)
                   14369:            ;;
                   14370:        esac
                   14371:        ;;
                   14372:       freebsd* | dragonfly*)
                   14373:        # FreeBSD uses GNU C++
                   14374:        ;;
                   14375:       hpux9* | hpux10* | hpux11*)
                   14376:        case $cc_basename in
                   14377:          CC*)
                   14378:            lt_prog_compiler_wl_CXX='-Wl,'
                   14379:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14380:            if test "$host_cpu" != ia64; then
                   14381:              lt_prog_compiler_pic_CXX='+Z'
                   14382:            fi
                   14383:            ;;
                   14384:          aCC*)
                   14385:            lt_prog_compiler_wl_CXX='-Wl,'
                   14386:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14387:            case $host_cpu in
                   14388:            hppa*64*|ia64*)
                   14389:              # +Z the default
                   14390:              ;;
                   14391:            *)
                   14392:              lt_prog_compiler_pic_CXX='+Z'
                   14393:              ;;
                   14394:            esac
                   14395:            ;;
                   14396:          *)
                   14397:            ;;
                   14398:        esac
                   14399:        ;;
                   14400:       interix*)
                   14401:        # This is c89, which is MS Visual C++ (no shared libs)
                   14402:        # Anyone wants to do a port?
                   14403:        ;;
                   14404:       irix5* | irix6* | nonstopux*)
                   14405:        case $cc_basename in
                   14406:          CC*)
                   14407:            lt_prog_compiler_wl_CXX='-Wl,'
                   14408:            lt_prog_compiler_static_CXX='-non_shared'
                   14409:            # CC pic flag -KPIC is the default.
                   14410:            ;;
                   14411:          *)
                   14412:            ;;
                   14413:        esac
                   14414:        ;;
                   14415:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14416:        case $cc_basename in
                   14417:          KCC*)
                   14418:            # KAI C++ Compiler
                   14419:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14420:            lt_prog_compiler_pic_CXX='-fPIC'
                   14421:            ;;
                   14422:          ecpc* )
                   14423:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14424:            lt_prog_compiler_wl_CXX='-Wl,'
                   14425:            lt_prog_compiler_pic_CXX='-KPIC'
                   14426:            lt_prog_compiler_static_CXX='-static'
                   14427:            ;;
                   14428:          icpc* )
                   14429:            # Intel C++, used to be incompatible with GCC.
                   14430:            # ICC 10 doesn't accept -KPIC any more.
                   14431:            lt_prog_compiler_wl_CXX='-Wl,'
                   14432:            lt_prog_compiler_pic_CXX='-fPIC'
                   14433:            lt_prog_compiler_static_CXX='-static'
                   14434:            ;;
                   14435:          pgCC* | pgcpp*)
                   14436:            # Portland Group C++ compiler
                   14437:            lt_prog_compiler_wl_CXX='-Wl,'
                   14438:            lt_prog_compiler_pic_CXX='-fpic'
                   14439:            lt_prog_compiler_static_CXX='-Bstatic'
                   14440:            ;;
                   14441:          cxx*)
                   14442:            # Compaq C++
                   14443:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14444:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14445:            lt_prog_compiler_pic_CXX=
                   14446:            lt_prog_compiler_static_CXX='-non_shared'
                   14447:            ;;
                   14448:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14449:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14450:            lt_prog_compiler_wl_CXX='-Wl,'
                   14451:            lt_prog_compiler_pic_CXX='-qpic'
                   14452:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14453:            ;;
                   14454:          *)
                   14455:            case `$CC -V 2>&1 | sed 5q` in
                   14456:            *Sun\ C*)
                   14457:              # Sun C++ 5.9
                   14458:              lt_prog_compiler_pic_CXX='-KPIC'
                   14459:              lt_prog_compiler_static_CXX='-Bstatic'
                   14460:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14461:              ;;
                   14462:            esac
                   14463:            ;;
                   14464:        esac
                   14465:        ;;
                   14466:       lynxos*)
                   14467:        ;;
                   14468:       m88k*)
                   14469:        ;;
                   14470:       mvs*)
                   14471:        case $cc_basename in
                   14472:          cxx*)
                   14473:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14474:            ;;
                   14475:          *)
                   14476:            ;;
                   14477:        esac
                   14478:        ;;
                   14479:       netbsd*)
                   14480:        ;;
                   14481:       *qnx* | *nto*)
                   14482:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14483:         # it will coredump.
                   14484:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14485:         ;;
                   14486:       osf3* | osf4* | osf5*)
                   14487:        case $cc_basename in
                   14488:          KCC*)
                   14489:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14490:            ;;
                   14491:          RCC*)
                   14492:            # Rational C++ 2.4.1
                   14493:            lt_prog_compiler_pic_CXX='-pic'
                   14494:            ;;
                   14495:          cxx*)
                   14496:            # Digital/Compaq C++
                   14497:            lt_prog_compiler_wl_CXX='-Wl,'
                   14498:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14499:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14500:            lt_prog_compiler_pic_CXX=
                   14501:            lt_prog_compiler_static_CXX='-non_shared'
                   14502:            ;;
                   14503:          *)
                   14504:            ;;
                   14505:        esac
                   14506:        ;;
                   14507:       psos*)
                   14508:        ;;
                   14509:       solaris*)
                   14510:        case $cc_basename in
                   14511:          CC* | sunCC*)
                   14512:            # Sun C++ 4.2, 5.x and Centerline C++
                   14513:            lt_prog_compiler_pic_CXX='-KPIC'
                   14514:            lt_prog_compiler_static_CXX='-Bstatic'
                   14515:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14516:            ;;
                   14517:          gcx*)
                   14518:            # Green Hills C++ Compiler
                   14519:            lt_prog_compiler_pic_CXX='-PIC'
                   14520:            ;;
                   14521:          *)
                   14522:            ;;
                   14523:        esac
                   14524:        ;;
                   14525:       sunos4*)
                   14526:        case $cc_basename in
                   14527:          CC*)
                   14528:            # Sun C++ 4.x
                   14529:            lt_prog_compiler_pic_CXX='-pic'
                   14530:            lt_prog_compiler_static_CXX='-Bstatic'
                   14531:            ;;
                   14532:          lcc*)
                   14533:            # Lucid
                   14534:            lt_prog_compiler_pic_CXX='-pic'
                   14535:            ;;
                   14536:          *)
                   14537:            ;;
                   14538:        esac
                   14539:        ;;
                   14540:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14541:        case $cc_basename in
                   14542:          CC*)
                   14543:            lt_prog_compiler_wl_CXX='-Wl,'
                   14544:            lt_prog_compiler_pic_CXX='-KPIC'
                   14545:            lt_prog_compiler_static_CXX='-Bstatic'
                   14546:            ;;
                   14547:        esac
                   14548:        ;;
                   14549:       tandem*)
                   14550:        case $cc_basename in
                   14551:          NCC*)
                   14552:            # NonStop-UX NCC 3.20
                   14553:            lt_prog_compiler_pic_CXX='-KPIC'
                   14554:            ;;
                   14555:          *)
                   14556:            ;;
                   14557:        esac
                   14558:        ;;
                   14559:       vxworks*)
                   14560:        ;;
                   14561:       *)
                   14562:        lt_prog_compiler_can_build_shared_CXX=no
                   14563:        ;;
                   14564:     esac
                   14565:   fi
                   14566: 
                   14567: case $host_os in
                   14568:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14569:   *djgpp*)
                   14570:     lt_prog_compiler_pic_CXX=
                   14571:     ;;
                   14572:   *)
                   14573:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14574:     ;;
                   14575: esac
                   14576: 
                   14577: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   14578: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   14579: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   14580:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14581: else
                   14582:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14583: fi
                   14584: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14585: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
                   14586: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14587: 
                   14588: #
                   14589: # Check to make sure the PIC flag actually works.
                   14590: #
                   14591: if test -n "$lt_prog_compiler_pic_CXX"; then
                   14592:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14593: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   14594: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   14595:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14596: else
                   14597:   lt_cv_prog_compiler_pic_works_CXX=no
                   14598:    ac_outfile=conftest.$ac_objext
                   14599:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14600:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14601:    # Insert the option either (1) after the last *FLAGS variable, or
                   14602:    # (2) before a word containing "conftest.", or (3) at the end.
                   14603:    # Note that $ac_compile itself does not contain backslashes and begins
                   14604:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14605:    # The option is referenced via a variable to avoid confusing sed.
                   14606:    lt_compile=`echo "$ac_compile" | $SED \
                   14607:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14608:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14609:    -e 's:$: $lt_compiler_flag:'`
                   14610:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14611:    (eval "$lt_compile" 2>conftest.err)
                   14612:    ac_status=$?
                   14613:    cat conftest.err >&5
                   14614:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14615:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14616:      # The compiler can only warn and ignore the option if not recognized
                   14617:      # So say no if there are warnings other than the usual output.
                   14618:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14619:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14620:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14621:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14622:      fi
                   14623:    fi
                   14624:    $RM conftest*
                   14625: 
                   14626: fi
                   14627: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14628: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
                   14629: 
                   14630: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14631:     case $lt_prog_compiler_pic_CXX in
                   14632:      "" | " "*) ;;
                   14633:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14634:      esac
                   14635: else
                   14636:     lt_prog_compiler_pic_CXX=
                   14637:      lt_prog_compiler_can_build_shared_CXX=no
                   14638: fi
                   14639: 
                   14640: fi
                   14641: 
                   14642: 
                   14643: 
                   14644: 
                   14645: 
                   14646: #
                   14647: # Check to make sure the static flag actually works.
                   14648: #
                   14649: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   14650: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14651: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   14652: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   14653:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14654: else
                   14655:   lt_cv_prog_compiler_static_works_CXX=no
                   14656:    save_LDFLAGS="$LDFLAGS"
                   14657:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14658:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14659:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14660:      # The linker can only warn and ignore the option if not recognized
                   14661:      # So say no if there are warnings
                   14662:      if test -s conftest.err; then
                   14663:        # Append any errors to the config.log.
                   14664:        cat conftest.err 1>&5
                   14665:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14666:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14667:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14668:          lt_cv_prog_compiler_static_works_CXX=yes
                   14669:        fi
                   14670:      else
                   14671:        lt_cv_prog_compiler_static_works_CXX=yes
                   14672:      fi
                   14673:    fi
                   14674:    $RM -r conftest*
                   14675:    LDFLAGS="$save_LDFLAGS"
                   14676: 
                   14677: fi
                   14678: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14679: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
                   14680: 
                   14681: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14682:     :
                   14683: else
                   14684:     lt_prog_compiler_static_CXX=
                   14685: fi
                   14686: 
                   14687: 
                   14688: 
                   14689: 
                   14690:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14691: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14692: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14693:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14694: else
                   14695:   lt_cv_prog_compiler_c_o_CXX=no
                   14696:    $RM -r conftest 2>/dev/null
                   14697:    mkdir conftest
                   14698:    cd conftest
                   14699:    mkdir out
                   14700:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14701: 
                   14702:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14703:    # Insert the option either (1) after the last *FLAGS variable, or
                   14704:    # (2) before a word containing "conftest.", or (3) at the end.
                   14705:    # Note that $ac_compile itself does not contain backslashes and begins
                   14706:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14707:    lt_compile=`echo "$ac_compile" | $SED \
                   14708:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14709:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14710:    -e 's:$: $lt_compiler_flag:'`
                   14711:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14712:    (eval "$lt_compile" 2>out/conftest.err)
                   14713:    ac_status=$?
                   14714:    cat out/conftest.err >&5
                   14715:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14716:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14717:    then
                   14718:      # The compiler can only warn and ignore the option if not recognized
                   14719:      # So say no if there are warnings
                   14720:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14721:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14722:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14723:        lt_cv_prog_compiler_c_o_CXX=yes
                   14724:      fi
                   14725:    fi
                   14726:    chmod u+w . 2>&5
                   14727:    $RM conftest*
                   14728:    # SGI C++ compiler will create directory out/ii_files/ for
                   14729:    # template instantiation
                   14730:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14731:    $RM out/* && rmdir out
                   14732:    cd ..
                   14733:    $RM -r conftest
                   14734:    $RM conftest*
                   14735: 
                   14736: fi
                   14737: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14738: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14739: 
                   14740: 
                   14741: 
                   14742:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14743: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14744: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14745:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14746: else
                   14747:   lt_cv_prog_compiler_c_o_CXX=no
                   14748:    $RM -r conftest 2>/dev/null
                   14749:    mkdir conftest
                   14750:    cd conftest
                   14751:    mkdir out
                   14752:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14753: 
                   14754:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14755:    # Insert the option either (1) after the last *FLAGS variable, or
                   14756:    # (2) before a word containing "conftest.", or (3) at the end.
                   14757:    # Note that $ac_compile itself does not contain backslashes and begins
                   14758:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14759:    lt_compile=`echo "$ac_compile" | $SED \
                   14760:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14761:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14762:    -e 's:$: $lt_compiler_flag:'`
                   14763:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14764:    (eval "$lt_compile" 2>out/conftest.err)
                   14765:    ac_status=$?
                   14766:    cat out/conftest.err >&5
                   14767:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14768:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14769:    then
                   14770:      # The compiler can only warn and ignore the option if not recognized
                   14771:      # So say no if there are warnings
                   14772:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14773:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14774:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14775:        lt_cv_prog_compiler_c_o_CXX=yes
                   14776:      fi
                   14777:    fi
                   14778:    chmod u+w . 2>&5
                   14779:    $RM conftest*
                   14780:    # SGI C++ compiler will create directory out/ii_files/ for
                   14781:    # template instantiation
                   14782:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14783:    $RM out/* && rmdir out
                   14784:    cd ..
                   14785:    $RM -r conftest
                   14786:    $RM conftest*
                   14787: 
                   14788: fi
                   14789: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14790: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14791: 
                   14792: 
                   14793: 
                   14794: 
                   14795: hard_links="nottested"
                   14796: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14797:   # do not overwrite the value of need_locks provided by the user
                   14798:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   14799: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   14800:   hard_links=yes
                   14801:   $RM conftest*
                   14802:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14803:   touch conftest.a
                   14804:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14805:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14806:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   14807: echo "${ECHO_T}$hard_links" >&6
                   14808:   if test "$hard_links" = no; then
                   14809:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14810: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   14811:     need_locks=warn
                   14812:   fi
                   14813: else
                   14814:   need_locks=no
                   14815: fi
                   14816: 
                   14817: 
                   14818: 
                   14819:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14820: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   14821: 
                   14822:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14823:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14824:   case $host_os in
                   14825:   aix[4-9]*)
                   14826:     # If we're using GNU nm, then we don't want the "-C" option.
                   14827:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14828:     # Also, AIX nm treats weak defined symbols like other global defined
                   14829:     # symbols, whereas GNU nm marks them as "W".
                   14830:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14831:       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'
                   14832:     else
                   14833:       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'
                   14834:     fi
                   14835:     ;;
                   14836:   pw32*)
                   14837:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14838:     ;;
                   14839:   cygwin* | mingw* | cegcc*)
                   14840:     case $cc_basename in
                   14841:     cl*)
                   14842:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14843:       ;;
                   14844:     *)
                   14845:       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'
                   14846:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14847:       ;;
                   14848:     esac
                   14849:     ;;
                   14850:   *)
                   14851:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14852:     ;;
                   14853:   esac
                   14854: 
                   14855: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14856: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14857: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14858: 
                   14859: with_gnu_ld_CXX=$with_gnu_ld
                   14860: 
                   14861: 
                   14862: 
                   14863: 
                   14864: 
                   14865: 
                   14866: #
                   14867: # Do we need to explicitly link libc?
                   14868: #
                   14869: case "x$archive_cmds_need_lc_CXX" in
                   14870: x|xyes)
                   14871:   # Assume -lc should be added
                   14872:   archive_cmds_need_lc_CXX=yes
                   14873: 
                   14874:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14875:     case $archive_cmds_CXX in
                   14876:     *'~'*)
                   14877:       # FIXME: we may have to deal with multi-command sequences.
                   14878:       ;;
                   14879:     '$CC '*)
                   14880:       # Test whether the compiler implicitly links with -lc since on some
                   14881:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14882:       # to ld, don't add -lc before -lgcc.
                   14883:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   14884: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   14885: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   14886:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14887: else
                   14888:   $RM conftest*
                   14889:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14890: 
                   14891:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14892:   (eval $ac_compile) 2>&5
                   14893:   ac_status=$?
                   14894:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14895:   (exit $ac_status); } 2>conftest.err; then
                   14896:          soname=conftest
                   14897:          lib=conftest
                   14898:          libobjs=conftest.$ac_objext
                   14899:          deplibs=
                   14900:          wl=$lt_prog_compiler_wl_CXX
                   14901:          pic_flag=$lt_prog_compiler_pic_CXX
                   14902:          compiler_flags=-v
                   14903:          linker_flags=-v
                   14904:          verstring=
                   14905:          output_objdir=.
                   14906:          libname=conftest
                   14907:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14908:          allow_undefined_flag_CXX=
                   14909:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   14910:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14911:   ac_status=$?
                   14912:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14913:   (exit $ac_status); }
                   14914:          then
                   14915:            lt_cv_archive_cmds_need_lc_CXX=no
                   14916:          else
                   14917:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14918:          fi
                   14919:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14920:        else
                   14921:          cat conftest.err 1>&5
                   14922:        fi
                   14923:        $RM conftest*
                   14924: 
                   14925: fi
                   14926: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14927: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
                   14928:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14929:       ;;
                   14930:     esac
                   14931:   fi
                   14932:   ;;
                   14933: esac
                   14934: 
                   14935: 
                   14936: 
                   14937: 
                   14938: 
                   14939: 
                   14940: 
                   14941: 
                   14942: 
                   14943: 
                   14944: 
                   14945: 
                   14946: 
                   14947: 
                   14948: 
                   14949: 
                   14950: 
                   14951: 
                   14952: 
                   14953: 
                   14954: 
                   14955: 
                   14956: 
                   14957: 
                   14958: 
                   14959: 
                   14960: 
                   14961: 
                   14962: 
                   14963: 
                   14964: 
                   14965: 
                   14966: 
                   14967: 
                   14968: 
                   14969: 
                   14970: 
                   14971: 
                   14972: 
                   14973: 
                   14974: 
                   14975: 
                   14976: 
                   14977: 
                   14978: 
                   14979: 
                   14980: 
                   14981: 
                   14982: 
                   14983: 
                   14984: 
                   14985: 
                   14986: 
                   14987: 
                   14988: 
                   14989: 
                   14990: 
                   14991: 
                   14992: 
                   14993: 
                   14994: 
                   14995: 
                   14996:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   14997: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   14998: 
                   14999: library_names_spec=
                   15000: libname_spec='lib$name'
                   15001: soname_spec=
                   15002: shrext_cmds=".so"
                   15003: postinstall_cmds=
                   15004: postuninstall_cmds=
                   15005: finish_cmds=
                   15006: finish_eval=
                   15007: shlibpath_var=
                   15008: shlibpath_overrides_runpath=unknown
                   15009: version_type=none
                   15010: dynamic_linker="$host_os ld.so"
                   15011: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15012: need_lib_prefix=unknown
                   15013: hardcode_into_libs=no
                   15014: 
                   15015: # when you set need_version to no, make sure it does not cause -set_version
                   15016: # flags to be left without arguments
                   15017: need_version=unknown
                   15018: 
                   15019: case $host_os in
                   15020: aix3*)
                   15021:   version_type=linux # correct to gnu/linux during the next big refactor
                   15022:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15023:   shlibpath_var=LIBPATH
                   15024: 
                   15025:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15026:   soname_spec='${libname}${release}${shared_ext}$major'
                   15027:   ;;
                   15028: 
                   15029: aix[4-9]*)
                   15030:   version_type=linux # correct to gnu/linux during the next big refactor
                   15031:   need_lib_prefix=no
                   15032:   need_version=no
                   15033:   hardcode_into_libs=yes
                   15034:   if test "$host_cpu" = ia64; then
                   15035:     # AIX 5 supports IA64
                   15036:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15037:     shlibpath_var=LD_LIBRARY_PATH
                   15038:   else
                   15039:     # With GCC up to 2.95.x, collect2 would create an import file
                   15040:     # for dependence libraries.  The import file would start with
                   15041:     # the line `#! .'.  This would cause the generated library to
                   15042:     # depend on `.', always an invalid library.  This was fixed in
                   15043:     # development snapshots of GCC prior to 3.0.
                   15044:     case $host_os in
                   15045:       aix4 | aix4.[01] | aix4.[01].*)
                   15046:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15047:           echo ' yes '
                   15048:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15049:        :
                   15050:       else
                   15051:        can_build_shared=no
                   15052:       fi
                   15053:       ;;
                   15054:     esac
                   15055:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15056:     # soname into executable. Probably we can add versioning support to
                   15057:     # collect2, so additional links can be useful in future.
                   15058:     if test "$aix_use_runtimelinking" = yes; then
                   15059:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15060:       # instead of lib<name>.a to let people know that these are not
                   15061:       # typical AIX shared libraries.
                   15062:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15063:     else
                   15064:       # We preserve .a as extension for shared libraries through AIX4.2
                   15065:       # and later when we are not doing run time linking.
                   15066:       library_names_spec='${libname}${release}.a $libname.a'
                   15067:       soname_spec='${libname}${release}${shared_ext}$major'
                   15068:     fi
                   15069:     shlibpath_var=LIBPATH
                   15070:   fi
                   15071:   ;;
                   15072: 
                   15073: amigaos*)
                   15074:   case $host_cpu in
                   15075:   powerpc)
                   15076:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15077:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15078:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15079:     ;;
                   15080:   m68k)
                   15081:     library_names_spec='$libname.ixlibrary $libname.a'
                   15082:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15083:     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'
                   15084:     ;;
                   15085:   esac
                   15086:   ;;
                   15087: 
                   15088: beos*)
                   15089:   library_names_spec='${libname}${shared_ext}'
                   15090:   dynamic_linker="$host_os ld.so"
                   15091:   shlibpath_var=LIBRARY_PATH
                   15092:   ;;
                   15093: 
                   15094: bsdi[45]*)
                   15095:   version_type=linux # correct to gnu/linux during the next big refactor
                   15096:   need_version=no
                   15097:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15098:   soname_spec='${libname}${release}${shared_ext}$major'
                   15099:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15100:   shlibpath_var=LD_LIBRARY_PATH
                   15101:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15102:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15103:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15104:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15105:   # libtool to hard-code these into programs
                   15106:   ;;
                   15107: 
                   15108: cygwin* | mingw* | pw32* | cegcc*)
                   15109:   version_type=windows
                   15110:   shrext_cmds=".dll"
                   15111:   need_version=no
                   15112:   need_lib_prefix=no
                   15113: 
                   15114:   case $GCC,$cc_basename in
                   15115:   yes,*)
                   15116:     # gcc
                   15117:     library_names_spec='$libname.dll.a'
                   15118:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15119:     postinstall_cmds='base_file=`basename \${file}`~
                   15120:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15121:       dldir=$destdir/`dirname \$dlpath`~
                   15122:       test -d \$dldir || mkdir -p \$dldir~
                   15123:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15124:       chmod a+x \$dldir/$dlname~
                   15125:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15126:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15127:       fi'
                   15128:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15129:       dlpath=$dir/\$dldll~
                   15130:        $RM \$dlpath'
                   15131:     shlibpath_overrides_runpath=yes
                   15132: 
                   15133:     case $host_os in
                   15134:     cygwin*)
                   15135:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15136:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15137: 
                   15138:       ;;
                   15139:     mingw* | cegcc*)
                   15140:       # MinGW DLLs use traditional 'lib' prefix
                   15141:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15142:       ;;
                   15143:     pw32*)
                   15144:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15145:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15146:       ;;
                   15147:     esac
                   15148:     dynamic_linker='Win32 ld.exe'
                   15149:     ;;
                   15150: 
                   15151:   *,cl*)
                   15152:     # Native MSVC
                   15153:     libname_spec='$name'
                   15154:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15155:     library_names_spec='${libname}.dll.lib'
                   15156: 
                   15157:     case $build_os in
                   15158:     mingw*)
                   15159:       sys_lib_search_path_spec=
                   15160:       lt_save_ifs=$IFS
                   15161:       IFS=';'
                   15162:       for lt_path in $LIB
                   15163:       do
                   15164:         IFS=$lt_save_ifs
                   15165:         # Let DOS variable expansion print the short 8.3 style file name.
                   15166:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15167:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15168:       done
                   15169:       IFS=$lt_save_ifs
                   15170:       # Convert to MSYS style.
                   15171:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15172:       ;;
                   15173:     cygwin*)
                   15174:       # Convert to unix form, then to dos form, then back to unix form
                   15175:       # but this time dos style (no spaces!) so that the unix form looks
                   15176:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15177:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15178:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15179:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15180:       ;;
                   15181:     *)
                   15182:       sys_lib_search_path_spec="$LIB"
                   15183:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15184:         # It is most probably a Windows format PATH.
                   15185:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15186:       else
                   15187:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15188:       fi
                   15189:       # FIXME: find the short name or the path components, as spaces are
                   15190:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15191:       ;;
                   15192:     esac
                   15193: 
                   15194:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15195:     postinstall_cmds='base_file=`basename \${file}`~
                   15196:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15197:       dldir=$destdir/`dirname \$dlpath`~
                   15198:       test -d \$dldir || mkdir -p \$dldir~
                   15199:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15200:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15201:       dlpath=$dir/\$dldll~
                   15202:        $RM \$dlpath'
                   15203:     shlibpath_overrides_runpath=yes
                   15204:     dynamic_linker='Win32 link.exe'
                   15205:     ;;
                   15206: 
                   15207:   *)
                   15208:     # Assume MSVC wrapper
                   15209:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15210:     dynamic_linker='Win32 ld.exe'
                   15211:     ;;
                   15212:   esac
                   15213:   # FIXME: first we should search . and the directory the executable is in
                   15214:   shlibpath_var=PATH
                   15215:   ;;
                   15216: 
                   15217: darwin* | rhapsody*)
                   15218:   dynamic_linker="$host_os dyld"
                   15219:   version_type=darwin
                   15220:   need_lib_prefix=no
                   15221:   need_version=no
                   15222:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15223:   soname_spec='${libname}${release}${major}$shared_ext'
                   15224:   shlibpath_overrides_runpath=yes
                   15225:   shlibpath_var=DYLD_LIBRARY_PATH
                   15226:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15227: 
                   15228:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15229:   ;;
                   15230: 
                   15231: dgux*)
                   15232:   version_type=linux # correct to gnu/linux during the next big refactor
                   15233:   need_lib_prefix=no
                   15234:   need_version=no
                   15235:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15236:   soname_spec='${libname}${release}${shared_ext}$major'
                   15237:   shlibpath_var=LD_LIBRARY_PATH
                   15238:   ;;
                   15239: 
                   15240: freebsd* | dragonfly*)
                   15241:   # DragonFly does not have aout.  When/if they implement a new
                   15242:   # versioning mechanism, adjust this.
                   15243:   if test -x /usr/bin/objformat; then
                   15244:     objformat=`/usr/bin/objformat`
                   15245:   else
                   15246:     case $host_os in
                   15247:     freebsd[23].*) objformat=aout ;;
                   15248:     *) objformat=elf ;;
                   15249:     esac
                   15250:   fi
                   15251:   version_type=freebsd-$objformat
                   15252:   case $version_type in
                   15253:     freebsd-elf*)
                   15254:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15255:       need_version=no
                   15256:       need_lib_prefix=no
                   15257:       ;;
                   15258:     freebsd-*)
                   15259:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15260:       need_version=yes
                   15261:       ;;
                   15262:   esac
                   15263:   shlibpath_var=LD_LIBRARY_PATH
                   15264:   case $host_os in
                   15265:   freebsd2.*)
                   15266:     shlibpath_overrides_runpath=yes
                   15267:     ;;
                   15268:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15269:     shlibpath_overrides_runpath=yes
                   15270:     hardcode_into_libs=yes
                   15271:     ;;
                   15272:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15273:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15274:     shlibpath_overrides_runpath=no
                   15275:     hardcode_into_libs=yes
                   15276:     ;;
                   15277:   *) # from 4.6 on, and DragonFly
                   15278:     shlibpath_overrides_runpath=yes
                   15279:     hardcode_into_libs=yes
                   15280:     ;;
                   15281:   esac
                   15282:   ;;
                   15283: 
                   15284: gnu*)
                   15285:   version_type=linux # correct to gnu/linux during the next big refactor
                   15286:   need_lib_prefix=no
                   15287:   need_version=no
                   15288:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15289:   soname_spec='${libname}${release}${shared_ext}$major'
                   15290:   shlibpath_var=LD_LIBRARY_PATH
                   15291:   shlibpath_overrides_runpath=no
                   15292:   hardcode_into_libs=yes
                   15293:   ;;
                   15294: 
                   15295: haiku*)
                   15296:   version_type=linux # correct to gnu/linux during the next big refactor
                   15297:   need_lib_prefix=no
                   15298:   need_version=no
                   15299:   dynamic_linker="$host_os runtime_loader"
                   15300:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15301:   soname_spec='${libname}${release}${shared_ext}$major'
                   15302:   shlibpath_var=LIBRARY_PATH
                   15303:   shlibpath_overrides_runpath=yes
                   15304:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15305:   hardcode_into_libs=yes
                   15306:   ;;
                   15307: 
                   15308: hpux9* | hpux10* | hpux11*)
                   15309:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15310:   # link against other versions.
                   15311:   version_type=sunos
                   15312:   need_lib_prefix=no
                   15313:   need_version=no
                   15314:   case $host_cpu in
                   15315:   ia64*)
                   15316:     shrext_cmds='.so'
                   15317:     hardcode_into_libs=yes
                   15318:     dynamic_linker="$host_os dld.so"
                   15319:     shlibpath_var=LD_LIBRARY_PATH
                   15320:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15321:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15322:     soname_spec='${libname}${release}${shared_ext}$major'
                   15323:     if test "X$HPUX_IA64_MODE" = X32; then
                   15324:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15325:     else
                   15326:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15327:     fi
                   15328:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15329:     ;;
                   15330:   hppa*64*)
                   15331:     shrext_cmds='.sl'
                   15332:     hardcode_into_libs=yes
                   15333:     dynamic_linker="$host_os dld.sl"
                   15334:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15335:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15336:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15337:     soname_spec='${libname}${release}${shared_ext}$major'
                   15338:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15339:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15340:     ;;
                   15341:   *)
                   15342:     shrext_cmds='.sl'
                   15343:     dynamic_linker="$host_os dld.sl"
                   15344:     shlibpath_var=SHLIB_PATH
                   15345:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15346:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15347:     soname_spec='${libname}${release}${shared_ext}$major'
                   15348:     ;;
                   15349:   esac
                   15350:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15351:   postinstall_cmds='chmod 555 $lib'
                   15352:   # or fails outright, so override atomically:
                   15353:   install_override_mode=555
                   15354:   ;;
                   15355: 
                   15356: interix[3-9]*)
                   15357:   version_type=linux # correct to gnu/linux during the next big refactor
                   15358:   need_lib_prefix=no
                   15359:   need_version=no
                   15360:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15361:   soname_spec='${libname}${release}${shared_ext}$major'
                   15362:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15363:   shlibpath_var=LD_LIBRARY_PATH
                   15364:   shlibpath_overrides_runpath=no
                   15365:   hardcode_into_libs=yes
                   15366:   ;;
                   15367: 
                   15368: irix5* | irix6* | nonstopux*)
                   15369:   case $host_os in
                   15370:     nonstopux*) version_type=nonstopux ;;
                   15371:     *)
                   15372:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15373:                version_type=linux # correct to gnu/linux during the next big refactor
                   15374:        else
                   15375:                version_type=irix
                   15376:        fi ;;
                   15377:   esac
                   15378:   need_lib_prefix=no
                   15379:   need_version=no
                   15380:   soname_spec='${libname}${release}${shared_ext}$major'
                   15381:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15382:   case $host_os in
                   15383:   irix5* | nonstopux*)
                   15384:     libsuff= shlibsuff=
                   15385:     ;;
                   15386:   *)
                   15387:     case $LD in # libtool.m4 will add one of these switches to LD
                   15388:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15389:       libsuff= shlibsuff= libmagic=32-bit;;
                   15390:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15391:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15392:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15393:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15394:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15395:     esac
                   15396:     ;;
                   15397:   esac
                   15398:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15399:   shlibpath_overrides_runpath=no
                   15400:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15401:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15402:   hardcode_into_libs=yes
                   15403:   ;;
                   15404: 
                   15405: # No shared lib support for Linux oldld, aout, or coff.
                   15406: linux*oldld* | linux*aout* | linux*coff*)
                   15407:   dynamic_linker=no
                   15408:   ;;
                   15409: 
                   15410: # This must be glibc/ELF.
                   15411: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15412:   version_type=linux # correct to gnu/linux during the next big refactor
                   15413:   need_lib_prefix=no
                   15414:   need_version=no
                   15415:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15416:   soname_spec='${libname}${release}${shared_ext}$major'
                   15417:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15418:   shlibpath_var=LD_LIBRARY_PATH
                   15419:   shlibpath_overrides_runpath=no
                   15420: 
                   15421:   # Some binutils ld are patched to set DT_RUNPATH
                   15422:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   15423:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15424: else
                   15425:   lt_cv_shlibpath_overrides_runpath=no
                   15426:     save_LDFLAGS=$LDFLAGS
                   15427:     save_libdir=$libdir
                   15428:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15429:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   15430:     cat >conftest.$ac_ext <<_ACEOF
                   15431: /* confdefs.h.  */
                   15432: _ACEOF
                   15433: cat confdefs.h >>conftest.$ac_ext
                   15434: cat >>conftest.$ac_ext <<_ACEOF
                   15435: /* end confdefs.h.  */
                   15436: 
                   15437: int
                   15438: main ()
                   15439: {
                   15440: 
                   15441:   ;
                   15442:   return 0;
                   15443: }
                   15444: _ACEOF
                   15445: rm -f conftest.$ac_objext conftest$ac_exeext
                   15446: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15447:   (eval $ac_link) 2>conftest.er1
                   15448:   ac_status=$?
                   15449:   grep -v '^ *+' conftest.er1 >conftest.err
                   15450:   rm -f conftest.er1
                   15451:   cat conftest.err >&5
                   15452:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15453:   (exit $ac_status); } &&
                   15454:         { ac_try='test -z "$ac_cxx_werror_flag"
                   15455:                         || test ! -s conftest.err'
                   15456:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15457:   (eval $ac_try) 2>&5
                   15458:   ac_status=$?
                   15459:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15460:   (exit $ac_status); }; } &&
                   15461:         { ac_try='test -s conftest$ac_exeext'
                   15462:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15463:   (eval $ac_try) 2>&5
                   15464:   ac_status=$?
                   15465:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15466:   (exit $ac_status); }; }; then
                   15467:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   15468:   lt_cv_shlibpath_overrides_runpath=yes
                   15469: fi
                   15470: 
                   15471: else
                   15472:   echo "$as_me: failed program was:" >&5
                   15473: sed 's/^/| /' conftest.$ac_ext >&5
                   15474: 
                   15475: fi
                   15476: rm -f conftest.err conftest.$ac_objext \
                   15477:       conftest$ac_exeext conftest.$ac_ext
                   15478:     LDFLAGS=$save_LDFLAGS
                   15479:     libdir=$save_libdir
                   15480: 
                   15481: fi
                   15482: 
                   15483:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15484: 
                   15485:   # This implies no fast_install, which is unacceptable.
                   15486:   # Some rework will be needed to allow for fast_install
                   15487:   # before this can be enabled.
                   15488:   hardcode_into_libs=yes
                   15489: 
                   15490:   # Append ld.so.conf contents to the search path
                   15491:   if test -f /etc/ld.so.conf; then
                   15492:     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' ' '`
                   15493:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15494:   fi
                   15495: 
                   15496:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15497:   # powerpc, because MkLinux only supported shared libraries with the
                   15498:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15499:   # most powerpc-linux boxes support dynamic linking these days and
                   15500:   # people can always --disable-shared, the test was removed, and we
                   15501:   # assume the GNU/Linux dynamic linker is in use.
                   15502:   dynamic_linker='GNU/Linux ld.so'
                   15503:   ;;
                   15504: 
                   15505: netbsd*)
                   15506:   version_type=sunos
                   15507:   need_lib_prefix=no
                   15508:   need_version=no
                   15509:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15510:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15511:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15512:     dynamic_linker='NetBSD (a.out) ld.so'
                   15513:   else
                   15514:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15515:     soname_spec='${libname}${release}${shared_ext}$major'
                   15516:     dynamic_linker='NetBSD ld.elf_so'
                   15517:   fi
                   15518:   shlibpath_var=LD_LIBRARY_PATH
                   15519:   shlibpath_overrides_runpath=yes
                   15520:   hardcode_into_libs=yes
                   15521:   ;;
                   15522: 
                   15523: newsos6)
                   15524:   version_type=linux # correct to gnu/linux during the next big refactor
                   15525:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15526:   shlibpath_var=LD_LIBRARY_PATH
                   15527:   shlibpath_overrides_runpath=yes
                   15528:   ;;
                   15529: 
                   15530: *nto* | *qnx*)
                   15531:   version_type=qnx
                   15532:   need_lib_prefix=no
                   15533:   need_version=no
                   15534:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15535:   soname_spec='${libname}${release}${shared_ext}$major'
                   15536:   shlibpath_var=LD_LIBRARY_PATH
                   15537:   shlibpath_overrides_runpath=no
                   15538:   hardcode_into_libs=yes
                   15539:   dynamic_linker='ldqnx.so'
                   15540:   ;;
                   15541: 
                   15542: openbsd*)
                   15543:   version_type=sunos
                   15544:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15545:   need_lib_prefix=no
                   15546:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15547:   case $host_os in
                   15548:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15549:     *)                         need_version=no  ;;
                   15550:   esac
                   15551:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15552:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15553:   shlibpath_var=LD_LIBRARY_PATH
                   15554:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15555:     case $host_os in
                   15556:       openbsd2.[89] | openbsd2.[89].*)
                   15557:        shlibpath_overrides_runpath=no
                   15558:        ;;
                   15559:       *)
                   15560:        shlibpath_overrides_runpath=yes
                   15561:        ;;
                   15562:       esac
                   15563:   else
                   15564:     shlibpath_overrides_runpath=yes
                   15565:   fi
                   15566:   ;;
                   15567: 
                   15568: os2*)
                   15569:   libname_spec='$name'
                   15570:   shrext_cmds=".dll"
                   15571:   need_lib_prefix=no
                   15572:   library_names_spec='$libname${shared_ext} $libname.a'
                   15573:   dynamic_linker='OS/2 ld.exe'
                   15574:   shlibpath_var=LIBPATH
                   15575:   ;;
                   15576: 
                   15577: osf3* | osf4* | osf5*)
                   15578:   version_type=osf
                   15579:   need_lib_prefix=no
                   15580:   need_version=no
                   15581:   soname_spec='${libname}${release}${shared_ext}$major'
                   15582:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15583:   shlibpath_var=LD_LIBRARY_PATH
                   15584:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15585:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15586:   ;;
                   15587: 
                   15588: rdos*)
                   15589:   dynamic_linker=no
                   15590:   ;;
                   15591: 
                   15592: solaris*)
                   15593:   version_type=linux # correct to gnu/linux during the next big refactor
                   15594:   need_lib_prefix=no
                   15595:   need_version=no
                   15596:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15597:   soname_spec='${libname}${release}${shared_ext}$major'
                   15598:   shlibpath_var=LD_LIBRARY_PATH
                   15599:   shlibpath_overrides_runpath=yes
                   15600:   hardcode_into_libs=yes
                   15601:   # ldd complains unless libraries are executable
                   15602:   postinstall_cmds='chmod +x $lib'
                   15603:   ;;
                   15604: 
                   15605: sunos4*)
                   15606:   version_type=sunos
                   15607:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15608:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15609:   shlibpath_var=LD_LIBRARY_PATH
                   15610:   shlibpath_overrides_runpath=yes
                   15611:   if test "$with_gnu_ld" = yes; then
                   15612:     need_lib_prefix=no
                   15613:   fi
                   15614:   need_version=yes
                   15615:   ;;
                   15616: 
                   15617: sysv4 | sysv4.3*)
                   15618:   version_type=linux # correct to gnu/linux during the next big refactor
                   15619:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15620:   soname_spec='${libname}${release}${shared_ext}$major'
                   15621:   shlibpath_var=LD_LIBRARY_PATH
                   15622:   case $host_vendor in
                   15623:     sni)
                   15624:       shlibpath_overrides_runpath=no
                   15625:       need_lib_prefix=no
                   15626:       runpath_var=LD_RUN_PATH
                   15627:       ;;
                   15628:     siemens)
                   15629:       need_lib_prefix=no
                   15630:       ;;
                   15631:     motorola)
                   15632:       need_lib_prefix=no
                   15633:       need_version=no
                   15634:       shlibpath_overrides_runpath=no
                   15635:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15636:       ;;
                   15637:   esac
                   15638:   ;;
                   15639: 
                   15640: sysv4*MP*)
                   15641:   if test -d /usr/nec ;then
                   15642:     version_type=linux # correct to gnu/linux during the next big refactor
                   15643:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15644:     soname_spec='$libname${shared_ext}.$major'
                   15645:     shlibpath_var=LD_LIBRARY_PATH
                   15646:   fi
                   15647:   ;;
                   15648: 
                   15649: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15650:   version_type=freebsd-elf
                   15651:   need_lib_prefix=no
                   15652:   need_version=no
                   15653:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15654:   soname_spec='${libname}${release}${shared_ext}$major'
                   15655:   shlibpath_var=LD_LIBRARY_PATH
                   15656:   shlibpath_overrides_runpath=yes
                   15657:   hardcode_into_libs=yes
                   15658:   if test "$with_gnu_ld" = yes; then
                   15659:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15660:   else
                   15661:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15662:     case $host_os in
                   15663:       sco3.2v5*)
                   15664:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15665:        ;;
                   15666:     esac
                   15667:   fi
                   15668:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15669:   ;;
                   15670: 
                   15671: tpf*)
                   15672:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15673:   version_type=linux # correct to gnu/linux during the next big refactor
                   15674:   need_lib_prefix=no
                   15675:   need_version=no
                   15676:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15677:   shlibpath_var=LD_LIBRARY_PATH
                   15678:   shlibpath_overrides_runpath=no
                   15679:   hardcode_into_libs=yes
                   15680:   ;;
                   15681: 
                   15682: uts4*)
                   15683:   version_type=linux # correct to gnu/linux during the next big refactor
                   15684:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15685:   soname_spec='${libname}${release}${shared_ext}$major'
                   15686:   shlibpath_var=LD_LIBRARY_PATH
                   15687:   ;;
                   15688: 
                   15689: *)
                   15690:   dynamic_linker=no
                   15691:   ;;
                   15692: esac
                   15693: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   15694: echo "${ECHO_T}$dynamic_linker" >&6
                   15695: test "$dynamic_linker" = no && can_build_shared=no
                   15696: 
                   15697: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15698: if test "$GCC" = yes; then
                   15699:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15700: fi
                   15701: 
                   15702: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15703:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15704: fi
                   15705: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15706:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15707: fi
                   15708: 
                   15709: 
                   15710: 
                   15711: 
                   15712: 
                   15713: 
                   15714: 
                   15715: 
                   15716: 
                   15717: 
                   15718: 
                   15719: 
                   15720: 
                   15721: 
                   15722: 
                   15723: 
                   15724: 
                   15725: 
                   15726: 
                   15727: 
                   15728: 
                   15729: 
                   15730: 
                   15731: 
                   15732: 
                   15733: 
                   15734: 
                   15735: 
                   15736: 
                   15737: 
                   15738: 
                   15739: 
                   15740: 
                   15741: 
                   15742: 
                   15743: 
                   15744: 
                   15745: 
                   15746:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   15747: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   15748: hardcode_action_CXX=
                   15749: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15750:    test -n "$runpath_var_CXX" ||
                   15751:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15752: 
                   15753:   # We can hardcode non-existent directories.
                   15754:   if test "$hardcode_direct_CXX" != no &&
                   15755:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15756:      # have to relink, otherwise we might link with an installed library
                   15757:      # when we should be linking with a yet-to-be-installed one
                   15758:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15759:      test "$hardcode_minus_L_CXX" != no; then
                   15760:     # Linking always hardcodes the temporary library directory.
                   15761:     hardcode_action_CXX=relink
                   15762:   else
                   15763:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15764:     hardcode_action_CXX=immediate
                   15765:   fi
                   15766: else
                   15767:   # We cannot hardcode anything, or else we can only hardcode existing
                   15768:   # directories.
                   15769:   hardcode_action_CXX=unsupported
                   15770: fi
                   15771: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   15772: echo "${ECHO_T}$hardcode_action_CXX" >&6
                   15773: 
                   15774: if test "$hardcode_action_CXX" = relink ||
                   15775:    test "$inherit_rpath_CXX" = yes; then
                   15776:   # Fast installation is not supported
                   15777:   enable_fast_install=no
                   15778: elif test "$shlibpath_overrides_runpath" = yes ||
                   15779:      test "$enable_shared" = no; then
                   15780:   # Fast installation is not necessary
                   15781:   enable_fast_install=needless
                   15782: fi
                   15783: 
                   15784: 
                   15785: 
                   15786: 
                   15787: 
                   15788: 
                   15789: 
                   15790:   fi # test -n "$compiler"
                   15791: 
                   15792:   CC=$lt_save_CC
                   15793:   CFLAGS=$lt_save_CFLAGS
                   15794:   LDCXX=$LD
                   15795:   LD=$lt_save_LD
                   15796:   GCC=$lt_save_GCC
                   15797:   with_gnu_ld=$lt_save_with_gnu_ld
                   15798:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15799:   lt_cv_path_LD=$lt_save_path_LD
                   15800:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15801:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15802: fi # test "$_lt_caught_CXX_error" != yes
                   15803: 
                   15804: ac_ext=c
                   15805: ac_cpp='$CPP $CPPFLAGS'
                   15806: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15807: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15808: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15809: 
                   15810: 
                   15811: 
                   15812: 
                   15813: 
                   15814: 
                   15815: 
                   15816: 
                   15817: 
                   15818: 
                   15819: 
                   15820: 
                   15821: 
                   15822: 
                   15823: 
                   15824:                   ac_config_commands="$ac_config_commands libtool"
                   15825: 
                   15826: 
                   15827: 
                   15828: 
                   15829: # Only expand once:
                   15830: 
                   15831: 
                   15832: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15833: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15834: if test "${libltdl_cv_shlibext+set}" = set; then
                   15835:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15836: else
                   15837: 
                   15838: module=yes
                   15839: eval libltdl_cv_shlibext=$shrext_cmds
                   15840: module=no
                   15841: eval libltdl_cv_shrext=$shrext_cmds
                   15842: 
                   15843: fi
                   15844: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15845: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   15846: if test -n "$libltdl_cv_shlibext"; then
                   15847: 
                   15848: cat >>confdefs.h <<_ACEOF
                   15849: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15850: _ACEOF
                   15851: 
                   15852: fi
                   15853: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15854: 
                   15855: cat >>confdefs.h <<_ACEOF
                   15856: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15857: _ACEOF
                   15858: 
                   15859: fi
                   15860: 
                   15861: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15862: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15863: if test "${lt_cv_module_path_var+set}" = set; then
                   15864:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15865: else
                   15866:   lt_cv_module_path_var="$shlibpath_var"
                   15867: fi
                   15868: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15869: echo "${ECHO_T}$lt_cv_module_path_var" >&6
                   15870: if test -n "$lt_cv_module_path_var"; then
                   15871: 
                   15872: cat >>confdefs.h <<_ACEOF
                   15873: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15874: _ACEOF
                   15875: 
                   15876: fi
                   15877: 
                   15878: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15879: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15880: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15881:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15882: else
                   15883:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15884: fi
                   15885: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15886: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
                   15887: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15888:   sys_dlsearch_path=
                   15889:   for dir in $lt_cv_sys_dlsearch_path; do
                   15890:     if test -z "$sys_dlsearch_path"; then
                   15891:       sys_dlsearch_path="$dir"
                   15892:     else
                   15893:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15894:     fi
                   15895:   done
                   15896: 
                   15897: cat >>confdefs.h <<_ACEOF
                   15898: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15899: _ACEOF
                   15900: 
                   15901: fi
                   15902: 
                   15903: 
                   15904: LT_DLLOADERS=
                   15905: 
                   15906: 
                   15907: ac_ext=c
                   15908: ac_cpp='$CPP $CPPFLAGS'
                   15909: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15910: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15911: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15912: 
                   15913: 
                   15914: LIBADD_DLOPEN=
                   15915: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15916: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15917: if test "${ac_cv_search_dlopen+set}" = set; then
                   15918:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15919: else
                   15920:   ac_func_search_save_LIBS=$LIBS
                   15921: ac_cv_search_dlopen=no
                   15922: cat >conftest.$ac_ext <<_ACEOF
                   15923: /* confdefs.h.  */
                   15924: _ACEOF
                   15925: cat confdefs.h >>conftest.$ac_ext
                   15926: cat >>conftest.$ac_ext <<_ACEOF
                   15927: /* end confdefs.h.  */
                   15928: 
                   15929: /* Override any gcc2 internal prototype to avoid an error.  */
                   15930: #ifdef __cplusplus
                   15931: extern "C"
                   15932: #endif
                   15933: /* We use char because int might match the return type of a gcc2
                   15934:    builtin and then its argument prototype would still apply.  */
                   15935: char dlopen ();
                   15936: int
                   15937: main ()
                   15938: {
                   15939: dlopen ();
                   15940:   ;
                   15941:   return 0;
                   15942: }
                   15943: _ACEOF
                   15944: rm -f conftest.$ac_objext conftest$ac_exeext
                   15945: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15946:   (eval $ac_link) 2>conftest.er1
                   15947:   ac_status=$?
                   15948:   grep -v '^ *+' conftest.er1 >conftest.err
                   15949:   rm -f conftest.er1
                   15950:   cat conftest.err >&5
                   15951:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15952:   (exit $ac_status); } &&
                   15953:         { ac_try='test -z "$ac_c_werror_flag"
                   15954:                         || test ! -s conftest.err'
                   15955:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15956:   (eval $ac_try) 2>&5
                   15957:   ac_status=$?
                   15958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15959:   (exit $ac_status); }; } &&
                   15960:         { ac_try='test -s conftest$ac_exeext'
                   15961:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15962:   (eval $ac_try) 2>&5
                   15963:   ac_status=$?
                   15964:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15965:   (exit $ac_status); }; }; then
                   15966:   ac_cv_search_dlopen="none required"
                   15967: else
                   15968:   echo "$as_me: failed program was:" >&5
                   15969: sed 's/^/| /' conftest.$ac_ext >&5
                   15970: 
                   15971: fi
                   15972: rm -f conftest.err conftest.$ac_objext \
                   15973:       conftest$ac_exeext conftest.$ac_ext
                   15974: if test "$ac_cv_search_dlopen" = no; then
                   15975:   for ac_lib in dl; do
                   15976:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15977:     cat >conftest.$ac_ext <<_ACEOF
                   15978: /* confdefs.h.  */
                   15979: _ACEOF
                   15980: cat confdefs.h >>conftest.$ac_ext
                   15981: cat >>conftest.$ac_ext <<_ACEOF
                   15982: /* end confdefs.h.  */
                   15983: 
                   15984: /* Override any gcc2 internal prototype to avoid an error.  */
                   15985: #ifdef __cplusplus
                   15986: extern "C"
                   15987: #endif
                   15988: /* We use char because int might match the return type of a gcc2
                   15989:    builtin and then its argument prototype would still apply.  */
                   15990: char dlopen ();
                   15991: int
                   15992: main ()
                   15993: {
                   15994: dlopen ();
                   15995:   ;
                   15996:   return 0;
                   15997: }
                   15998: _ACEOF
                   15999: rm -f conftest.$ac_objext conftest$ac_exeext
                   16000: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16001:   (eval $ac_link) 2>conftest.er1
                   16002:   ac_status=$?
                   16003:   grep -v '^ *+' conftest.er1 >conftest.err
                   16004:   rm -f conftest.er1
                   16005:   cat conftest.err >&5
                   16006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16007:   (exit $ac_status); } &&
                   16008:         { ac_try='test -z "$ac_c_werror_flag"
                   16009:                         || test ! -s conftest.err'
                   16010:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16011:   (eval $ac_try) 2>&5
                   16012:   ac_status=$?
                   16013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16014:   (exit $ac_status); }; } &&
                   16015:         { ac_try='test -s conftest$ac_exeext'
                   16016:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16017:   (eval $ac_try) 2>&5
                   16018:   ac_status=$?
                   16019:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16020:   (exit $ac_status); }; }; then
                   16021:   ac_cv_search_dlopen="-l$ac_lib"
                   16022: break
                   16023: else
                   16024:   echo "$as_me: failed program was:" >&5
                   16025: sed 's/^/| /' conftest.$ac_ext >&5
                   16026: 
                   16027: fi
                   16028: rm -f conftest.err conftest.$ac_objext \
                   16029:       conftest$ac_exeext conftest.$ac_ext
                   16030:   done
                   16031: fi
                   16032: LIBS=$ac_func_search_save_LIBS
                   16033: fi
                   16034: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   16035: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   16036: if test "$ac_cv_search_dlopen" != no; then
                   16037:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
                   16038: 
                   16039: cat >>confdefs.h <<\_ACEOF
                   16040: #define HAVE_LIBDL 1
                   16041: _ACEOF
                   16042: 
                   16043:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16044:          LIBADD_DLOPEN="-ldl"
                   16045:        fi
                   16046:        libltdl_cv_lib_dl_dlopen="yes"
                   16047:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16048: else
                   16049:   cat >conftest.$ac_ext <<_ACEOF
                   16050: /* confdefs.h.  */
                   16051: _ACEOF
                   16052: cat confdefs.h >>conftest.$ac_ext
                   16053: cat >>conftest.$ac_ext <<_ACEOF
                   16054: /* end confdefs.h.  */
                   16055: #if HAVE_DLFCN_H
                   16056: #  include <dlfcn.h>
                   16057: #endif
                   16058: 
                   16059: int
                   16060: main ()
                   16061: {
                   16062: dlopen(0, 0);
                   16063:   ;
                   16064:   return 0;
                   16065: }
                   16066: _ACEOF
                   16067: rm -f conftest.$ac_objext conftest$ac_exeext
                   16068: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16069:   (eval $ac_link) 2>conftest.er1
                   16070:   ac_status=$?
                   16071:   grep -v '^ *+' conftest.er1 >conftest.err
                   16072:   rm -f conftest.er1
                   16073:   cat conftest.err >&5
                   16074:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16075:   (exit $ac_status); } &&
                   16076:         { ac_try='test -z "$ac_c_werror_flag"
                   16077:                         || test ! -s conftest.err'
                   16078:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16079:   (eval $ac_try) 2>&5
                   16080:   ac_status=$?
                   16081:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16082:   (exit $ac_status); }; } &&
                   16083:         { ac_try='test -s conftest$ac_exeext'
                   16084:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16085:   (eval $ac_try) 2>&5
                   16086:   ac_status=$?
                   16087:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16088:   (exit $ac_status); }; }; then
                   16089: 
                   16090: cat >>confdefs.h <<\_ACEOF
                   16091: #define HAVE_LIBDL 1
                   16092: _ACEOF
                   16093: 
                   16094:            libltdl_cv_func_dlopen="yes"
                   16095:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16096: else
                   16097:   echo "$as_me: failed program was:" >&5
                   16098: sed 's/^/| /' conftest.$ac_ext >&5
                   16099: 
                   16100: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   16101: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   16102: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   16103:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16104: else
                   16105:   ac_check_lib_save_LIBS=$LIBS
                   16106: LIBS="-lsvld  $LIBS"
                   16107: cat >conftest.$ac_ext <<_ACEOF
                   16108: /* confdefs.h.  */
                   16109: _ACEOF
                   16110: cat confdefs.h >>conftest.$ac_ext
                   16111: cat >>conftest.$ac_ext <<_ACEOF
                   16112: /* end confdefs.h.  */
                   16113: 
                   16114: /* Override any gcc2 internal prototype to avoid an error.  */
                   16115: #ifdef __cplusplus
                   16116: extern "C"
                   16117: #endif
                   16118: /* We use char because int might match the return type of a gcc2
                   16119:    builtin and then its argument prototype would still apply.  */
                   16120: char dlopen ();
                   16121: int
                   16122: main ()
                   16123: {
                   16124: dlopen ();
                   16125:   ;
                   16126:   return 0;
                   16127: }
                   16128: _ACEOF
                   16129: rm -f conftest.$ac_objext conftest$ac_exeext
                   16130: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16131:   (eval $ac_link) 2>conftest.er1
                   16132:   ac_status=$?
                   16133:   grep -v '^ *+' conftest.er1 >conftest.err
                   16134:   rm -f conftest.er1
                   16135:   cat conftest.err >&5
                   16136:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16137:   (exit $ac_status); } &&
                   16138:         { ac_try='test -z "$ac_c_werror_flag"
                   16139:                         || test ! -s conftest.err'
                   16140:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16141:   (eval $ac_try) 2>&5
                   16142:   ac_status=$?
                   16143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16144:   (exit $ac_status); }; } &&
                   16145:         { ac_try='test -s conftest$ac_exeext'
                   16146:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16147:   (eval $ac_try) 2>&5
                   16148:   ac_status=$?
                   16149:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16150:   (exit $ac_status); }; }; then
                   16151:   ac_cv_lib_svld_dlopen=yes
                   16152: else
                   16153:   echo "$as_me: failed program was:" >&5
                   16154: sed 's/^/| /' conftest.$ac_ext >&5
                   16155: 
                   16156: ac_cv_lib_svld_dlopen=no
                   16157: fi
                   16158: rm -f conftest.err conftest.$ac_objext \
                   16159:       conftest$ac_exeext conftest.$ac_ext
                   16160: LIBS=$ac_check_lib_save_LIBS
                   16161: fi
                   16162: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   16163: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   16164: if test $ac_cv_lib_svld_dlopen = yes; then
                   16165: 
                   16166: cat >>confdefs.h <<\_ACEOF
                   16167: #define HAVE_LIBDL 1
                   16168: _ACEOF
                   16169: 
                   16170:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16171:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16172: fi
                   16173: 
                   16174: fi
                   16175: rm -f conftest.err conftest.$ac_objext \
                   16176:       conftest$ac_exeext conftest.$ac_ext
                   16177: fi
                   16178: 
                   16179: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16180: then
                   16181:   lt_save_LIBS="$LIBS"
                   16182:   LIBS="$LIBS $LIBADD_DLOPEN"
                   16183: 
                   16184: for ac_func in dlerror
                   16185: do
                   16186: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16187: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16188: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16189: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16190:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16191: else
                   16192:   cat >conftest.$ac_ext <<_ACEOF
                   16193: /* confdefs.h.  */
                   16194: _ACEOF
                   16195: cat confdefs.h >>conftest.$ac_ext
                   16196: cat >>conftest.$ac_ext <<_ACEOF
                   16197: /* end confdefs.h.  */
                   16198: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16199:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16200: #define $ac_func innocuous_$ac_func
                   16201: 
                   16202: /* System header to define __stub macros and hopefully few prototypes,
                   16203:     which can conflict with char $ac_func (); below.
                   16204:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16205:     <limits.h> exists even on freestanding compilers.  */
                   16206: 
                   16207: #ifdef __STDC__
                   16208: # include <limits.h>
                   16209: #else
                   16210: # include <assert.h>
                   16211: #endif
                   16212: 
                   16213: #undef $ac_func
                   16214: 
                   16215: /* Override any gcc2 internal prototype to avoid an error.  */
                   16216: #ifdef __cplusplus
                   16217: extern "C"
                   16218: {
                   16219: #endif
                   16220: /* We use char because int might match the return type of a gcc2
                   16221:    builtin and then its argument prototype would still apply.  */
                   16222: char $ac_func ();
                   16223: /* The GNU C library defines this for functions which it implements
                   16224:     to always fail with ENOSYS.  Some functions are actually named
                   16225:     something starting with __ and the normal name is an alias.  */
                   16226: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16227: choke me
                   16228: #else
                   16229: char (*f) () = $ac_func;
                   16230: #endif
                   16231: #ifdef __cplusplus
                   16232: }
                   16233: #endif
                   16234: 
                   16235: int
                   16236: main ()
                   16237: {
                   16238: return f != $ac_func;
                   16239:   ;
                   16240:   return 0;
                   16241: }
                   16242: _ACEOF
                   16243: rm -f conftest.$ac_objext conftest$ac_exeext
                   16244: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16245:   (eval $ac_link) 2>conftest.er1
                   16246:   ac_status=$?
                   16247:   grep -v '^ *+' conftest.er1 >conftest.err
                   16248:   rm -f conftest.er1
                   16249:   cat conftest.err >&5
                   16250:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16251:   (exit $ac_status); } &&
                   16252:         { ac_try='test -z "$ac_c_werror_flag"
                   16253:                         || test ! -s conftest.err'
                   16254:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16255:   (eval $ac_try) 2>&5
                   16256:   ac_status=$?
                   16257:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16258:   (exit $ac_status); }; } &&
                   16259:         { ac_try='test -s conftest$ac_exeext'
                   16260:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16261:   (eval $ac_try) 2>&5
                   16262:   ac_status=$?
                   16263:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16264:   (exit $ac_status); }; }; then
                   16265:   eval "$as_ac_var=yes"
                   16266: else
                   16267:   echo "$as_me: failed program was:" >&5
                   16268: sed 's/^/| /' conftest.$ac_ext >&5
                   16269: 
                   16270: eval "$as_ac_var=no"
                   16271: fi
                   16272: rm -f conftest.err conftest.$ac_objext \
                   16273:       conftest$ac_exeext conftest.$ac_ext
                   16274: fi
                   16275: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16276: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16277: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   16278:   cat >>confdefs.h <<_ACEOF
                   16279: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16280: _ACEOF
                   16281: 
                   16282: fi
                   16283: done
                   16284: 
                   16285:   LIBS="$lt_save_LIBS"
                   16286: fi
                   16287: 
                   16288: 
                   16289: LIBADD_SHL_LOAD=
                   16290: echo "$as_me:$LINENO: checking for shl_load" >&5
                   16291: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   16292: if test "${ac_cv_func_shl_load+set}" = set; then
                   16293:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16294: else
                   16295:   cat >conftest.$ac_ext <<_ACEOF
                   16296: /* confdefs.h.  */
                   16297: _ACEOF
                   16298: cat confdefs.h >>conftest.$ac_ext
                   16299: cat >>conftest.$ac_ext <<_ACEOF
                   16300: /* end confdefs.h.  */
                   16301: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   16302:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16303: #define shl_load innocuous_shl_load
                   16304: 
                   16305: /* System header to define __stub macros and hopefully few prototypes,
                   16306:     which can conflict with char shl_load (); below.
                   16307:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16308:     <limits.h> exists even on freestanding compilers.  */
                   16309: 
                   16310: #ifdef __STDC__
                   16311: # include <limits.h>
                   16312: #else
                   16313: # include <assert.h>
                   16314: #endif
                   16315: 
                   16316: #undef shl_load
                   16317: 
                   16318: /* Override any gcc2 internal prototype to avoid an error.  */
                   16319: #ifdef __cplusplus
                   16320: extern "C"
                   16321: {
                   16322: #endif
                   16323: /* We use char because int might match the return type of a gcc2
                   16324:    builtin and then its argument prototype would still apply.  */
                   16325: char shl_load ();
                   16326: /* The GNU C library defines this for functions which it implements
                   16327:     to always fail with ENOSYS.  Some functions are actually named
                   16328:     something starting with __ and the normal name is an alias.  */
                   16329: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   16330: choke me
                   16331: #else
                   16332: char (*f) () = shl_load;
                   16333: #endif
                   16334: #ifdef __cplusplus
                   16335: }
                   16336: #endif
                   16337: 
                   16338: int
                   16339: main ()
                   16340: {
                   16341: return f != shl_load;
                   16342:   ;
                   16343:   return 0;
                   16344: }
                   16345: _ACEOF
                   16346: rm -f conftest.$ac_objext conftest$ac_exeext
                   16347: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16348:   (eval $ac_link) 2>conftest.er1
                   16349:   ac_status=$?
                   16350:   grep -v '^ *+' conftest.er1 >conftest.err
                   16351:   rm -f conftest.er1
                   16352:   cat conftest.err >&5
                   16353:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16354:   (exit $ac_status); } &&
                   16355:         { ac_try='test -z "$ac_c_werror_flag"
                   16356:                         || test ! -s conftest.err'
                   16357:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16358:   (eval $ac_try) 2>&5
                   16359:   ac_status=$?
                   16360:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16361:   (exit $ac_status); }; } &&
                   16362:         { ac_try='test -s conftest$ac_exeext'
                   16363:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16364:   (eval $ac_try) 2>&5
                   16365:   ac_status=$?
                   16366:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16367:   (exit $ac_status); }; }; then
                   16368:   ac_cv_func_shl_load=yes
                   16369: else
                   16370:   echo "$as_me: failed program was:" >&5
                   16371: sed 's/^/| /' conftest.$ac_ext >&5
                   16372: 
                   16373: ac_cv_func_shl_load=no
                   16374: fi
                   16375: rm -f conftest.err conftest.$ac_objext \
                   16376:       conftest$ac_exeext conftest.$ac_ext
                   16377: fi
                   16378: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   16379: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   16380: if test $ac_cv_func_shl_load = yes; then
                   16381: 
                   16382: cat >>confdefs.h <<\_ACEOF
                   16383: #define HAVE_SHL_LOAD 1
                   16384: _ACEOF
                   16385: 
                   16386:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16387: else
                   16388:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   16389: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   16390: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   16391:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16392: else
                   16393:   ac_check_lib_save_LIBS=$LIBS
                   16394: LIBS="-ldld  $LIBS"
                   16395: cat >conftest.$ac_ext <<_ACEOF
                   16396: /* confdefs.h.  */
                   16397: _ACEOF
                   16398: cat confdefs.h >>conftest.$ac_ext
                   16399: cat >>conftest.$ac_ext <<_ACEOF
                   16400: /* end confdefs.h.  */
1.10      paf      16401: 
1.66      paf      16402: /* Override any gcc2 internal prototype to avoid an error.  */
                   16403: #ifdef __cplusplus
                   16404: extern "C"
                   16405: #endif
                   16406: /* We use char because int might match the return type of a gcc2
                   16407:    builtin and then its argument prototype would still apply.  */
                   16408: char shl_load ();
                   16409: int
                   16410: main ()
                   16411: {
                   16412: shl_load ();
                   16413:   ;
                   16414:   return 0;
                   16415: }
                   16416: _ACEOF
                   16417: rm -f conftest.$ac_objext conftest$ac_exeext
                   16418: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16419:   (eval $ac_link) 2>conftest.er1
1.66      paf      16420:   ac_status=$?
1.86      paf      16421:   grep -v '^ *+' conftest.er1 >conftest.err
                   16422:   rm -f conftest.er1
                   16423:   cat conftest.err >&5
1.66      paf      16424:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16425:   (exit $ac_status); } &&
1.86      paf      16426:         { ac_try='test -z "$ac_c_werror_flag"
                   16427:                         || test ! -s conftest.err'
                   16428:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16429:   (eval $ac_try) 2>&5
                   16430:   ac_status=$?
                   16431:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16432:   (exit $ac_status); }; } &&
                   16433:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16434:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16435:   (eval $ac_try) 2>&5
                   16436:   ac_status=$?
                   16437:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16438:   (exit $ac_status); }; }; then
                   16439:   ac_cv_lib_dld_shl_load=yes
                   16440: else
                   16441:   echo "$as_me: failed program was:" >&5
                   16442: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      16443: 
1.66      paf      16444: ac_cv_lib_dld_shl_load=no
                   16445: fi
1.86      paf      16446: rm -f conftest.err conftest.$ac_objext \
                   16447:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      16448: LIBS=$ac_check_lib_save_LIBS
                   16449: fi
                   16450: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   16451: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   16452: if test $ac_cv_lib_dld_shl_load = yes; then
1.1       paf      16453: 
1.66      paf      16454: cat >>confdefs.h <<\_ACEOF
                   16455: #define HAVE_SHL_LOAD 1
                   16456: _ACEOF
1.1       paf      16457: 
1.128     moko     16458:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16459:            LIBADD_SHL_LOAD="-ldld"
                   16460: fi
                   16461: 
                   16462: fi
                   16463: 
                   16464: 
                   16465: 
                   16466: case $host_os in
                   16467: darwin[1567].*)
                   16468: # We only want this for pre-Mac OS X 10.4.
                   16469:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   16470: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   16471: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   16472:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16473: else
                   16474:   cat >conftest.$ac_ext <<_ACEOF
                   16475: /* confdefs.h.  */
                   16476: _ACEOF
                   16477: cat confdefs.h >>conftest.$ac_ext
                   16478: cat >>conftest.$ac_ext <<_ACEOF
                   16479: /* end confdefs.h.  */
                   16480: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   16481:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16482: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   16483: 
                   16484: /* System header to define __stub macros and hopefully few prototypes,
                   16485:     which can conflict with char _dyld_func_lookup (); below.
                   16486:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16487:     <limits.h> exists even on freestanding compilers.  */
                   16488: 
                   16489: #ifdef __STDC__
                   16490: # include <limits.h>
                   16491: #else
                   16492: # include <assert.h>
                   16493: #endif
                   16494: 
                   16495: #undef _dyld_func_lookup
                   16496: 
                   16497: /* Override any gcc2 internal prototype to avoid an error.  */
                   16498: #ifdef __cplusplus
                   16499: extern "C"
                   16500: {
                   16501: #endif
                   16502: /* We use char because int might match the return type of a gcc2
                   16503:    builtin and then its argument prototype would still apply.  */
                   16504: char _dyld_func_lookup ();
                   16505: /* The GNU C library defines this for functions which it implements
                   16506:     to always fail with ENOSYS.  Some functions are actually named
                   16507:     something starting with __ and the normal name is an alias.  */
                   16508: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   16509: choke me
                   16510: #else
                   16511: char (*f) () = _dyld_func_lookup;
                   16512: #endif
                   16513: #ifdef __cplusplus
                   16514: }
                   16515: #endif
                   16516: 
                   16517: int
                   16518: main ()
                   16519: {
                   16520: return f != _dyld_func_lookup;
                   16521:   ;
                   16522:   return 0;
                   16523: }
                   16524: _ACEOF
                   16525: rm -f conftest.$ac_objext conftest$ac_exeext
                   16526: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16527:   (eval $ac_link) 2>conftest.er1
                   16528:   ac_status=$?
                   16529:   grep -v '^ *+' conftest.er1 >conftest.err
                   16530:   rm -f conftest.er1
                   16531:   cat conftest.err >&5
                   16532:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16533:   (exit $ac_status); } &&
                   16534:         { ac_try='test -z "$ac_c_werror_flag"
                   16535:                         || test ! -s conftest.err'
                   16536:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16537:   (eval $ac_try) 2>&5
                   16538:   ac_status=$?
                   16539:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16540:   (exit $ac_status); }; } &&
                   16541:         { ac_try='test -s conftest$ac_exeext'
                   16542:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16543:   (eval $ac_try) 2>&5
                   16544:   ac_status=$?
                   16545:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16546:   (exit $ac_status); }; }; then
                   16547:   ac_cv_func__dyld_func_lookup=yes
                   16548: else
                   16549:   echo "$as_me: failed program was:" >&5
                   16550: sed 's/^/| /' conftest.$ac_ext >&5
                   16551: 
                   16552: ac_cv_func__dyld_func_lookup=no
                   16553: fi
                   16554: rm -f conftest.err conftest.$ac_objext \
                   16555:       conftest$ac_exeext conftest.$ac_ext
                   16556: fi
                   16557: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   16558: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   16559: if test $ac_cv_func__dyld_func_lookup = yes; then
                   16560: 
                   16561: cat >>confdefs.h <<\_ACEOF
                   16562: #define HAVE_DYLD 1
                   16563: _ACEOF
                   16564: 
                   16565:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16566: fi
                   16567: 
                   16568:   ;;
                   16569: beos*)
                   16570:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16571:   ;;
                   16572: cygwin* | mingw* | os2* | pw32*)
                   16573:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   16574: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   16575: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   16576:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16577: else
                   16578:   cat >conftest.$ac_ext <<_ACEOF
                   16579: /* confdefs.h.  */
                   16580: _ACEOF
                   16581: cat confdefs.h >>conftest.$ac_ext
                   16582: cat >>conftest.$ac_ext <<_ACEOF
                   16583: /* end confdefs.h.  */
                   16584: #include <sys/cygwin.h>
                   16585: 
                   16586: int
                   16587: main ()
                   16588: {
                   16589: #ifndef cygwin_conv_path
                   16590:   char *p = (char *) cygwin_conv_path;
                   16591: #endif
                   16592: 
                   16593:   ;
                   16594:   return 0;
                   16595: }
                   16596: _ACEOF
                   16597: rm -f conftest.$ac_objext
                   16598: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16599:   (eval $ac_compile) 2>conftest.er1
                   16600:   ac_status=$?
                   16601:   grep -v '^ *+' conftest.er1 >conftest.err
                   16602:   rm -f conftest.er1
                   16603:   cat conftest.err >&5
                   16604:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16605:   (exit $ac_status); } &&
                   16606:         { ac_try='test -z "$ac_c_werror_flag"
                   16607:                         || test ! -s conftest.err'
                   16608:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16609:   (eval $ac_try) 2>&5
                   16610:   ac_status=$?
                   16611:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16612:   (exit $ac_status); }; } &&
                   16613:         { ac_try='test -s conftest.$ac_objext'
                   16614:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16615:   (eval $ac_try) 2>&5
                   16616:   ac_status=$?
                   16617:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16618:   (exit $ac_status); }; }; then
                   16619:   ac_cv_have_decl_cygwin_conv_path=yes
                   16620: else
                   16621:   echo "$as_me: failed program was:" >&5
                   16622: sed 's/^/| /' conftest.$ac_ext >&5
                   16623: 
                   16624: ac_cv_have_decl_cygwin_conv_path=no
                   16625: fi
                   16626: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16627: fi
                   16628: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   16629: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   16630: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
                   16631: 
                   16632: cat >>confdefs.h <<_ACEOF
                   16633: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   16634: _ACEOF
                   16635: 
                   16636: 
1.66      paf      16637: else
1.128     moko     16638:   cat >>confdefs.h <<_ACEOF
                   16639: #define HAVE_DECL_CYGWIN_CONV_PATH 0
                   16640: _ACEOF
                   16641: 
                   16642: 
                   16643: fi
                   16644: 
                   16645: 
                   16646:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16647:   ;;
                   16648: esac
                   16649: 
                   16650: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   16651: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   16652: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.66      paf      16653:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16654: else
                   16655:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16656: LIBS="-ldld  $LIBS"
1.66      paf      16657: cat >conftest.$ac_ext <<_ACEOF
                   16658: /* confdefs.h.  */
                   16659: _ACEOF
                   16660: cat confdefs.h >>conftest.$ac_ext
                   16661: cat >>conftest.$ac_ext <<_ACEOF
                   16662: /* end confdefs.h.  */
1.62      paf      16663: 
1.66      paf      16664: /* Override any gcc2 internal prototype to avoid an error.  */
                   16665: #ifdef __cplusplus
                   16666: extern "C"
                   16667: #endif
                   16668: /* We use char because int might match the return type of a gcc2
                   16669:    builtin and then its argument prototype would still apply.  */
1.128     moko     16670: char dld_link ();
1.66      paf      16671: int
                   16672: main ()
                   16673: {
1.128     moko     16674: dld_link ();
1.66      paf      16675:   ;
                   16676:   return 0;
                   16677: }
                   16678: _ACEOF
                   16679: rm -f conftest.$ac_objext conftest$ac_exeext
                   16680: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16681:   (eval $ac_link) 2>conftest.er1
1.66      paf      16682:   ac_status=$?
1.86      paf      16683:   grep -v '^ *+' conftest.er1 >conftest.err
                   16684:   rm -f conftest.er1
                   16685:   cat conftest.err >&5
1.66      paf      16686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16687:   (exit $ac_status); } &&
1.86      paf      16688:         { ac_try='test -z "$ac_c_werror_flag"
                   16689:                         || test ! -s conftest.err'
                   16690:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16691:   (eval $ac_try) 2>&5
                   16692:   ac_status=$?
                   16693:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16694:   (exit $ac_status); }; } &&
                   16695:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16696:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16697:   (eval $ac_try) 2>&5
                   16698:   ac_status=$?
                   16699:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16700:   (exit $ac_status); }; }; then
1.128     moko     16701:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16702: else
                   16703:   echo "$as_me: failed program was:" >&5
1.128     moko     16704: sed 's/^/| /' conftest.$ac_ext >&5
                   16705: 
                   16706: ac_cv_lib_dld_dld_link=no
                   16707: fi
                   16708: rm -f conftest.err conftest.$ac_objext \
                   16709:       conftest$ac_exeext conftest.$ac_ext
                   16710: LIBS=$ac_check_lib_save_LIBS
                   16711: fi
                   16712: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16713: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16714: if test $ac_cv_lib_dld_dld_link = yes; then
                   16715: 
                   16716: cat >>confdefs.h <<\_ACEOF
                   16717: #define HAVE_DLD 1
                   16718: _ACEOF
                   16719: 
                   16720:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16721: fi
                   16722: 
                   16723: 
                   16724: 
                   16725: 
                   16726: LT_DLPREOPEN=
                   16727: if test -n "$LT_DLLOADERS"
                   16728: then
                   16729:   for lt_loader in $LT_DLLOADERS; do
                   16730:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16731:   done
                   16732: 
                   16733: cat >>confdefs.h <<\_ACEOF
                   16734: #define HAVE_LIBDLLOADER 1
                   16735: _ACEOF
                   16736: 
                   16737: fi
                   16738: 
                   16739: 
                   16740: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16741: 
                   16742: 
                   16743: ac_ext=c
                   16744: ac_cpp='$CPP $CPPFLAGS'
                   16745: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16746: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16747: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16748: 
                   16749: 
                   16750: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16751: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16752: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16753:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16754: else
                   16755:   lt_cv_sys_symbol_underscore=no
                   16756:   cat > conftest.$ac_ext <<_LT_EOF
                   16757: void nm_test_func(){}
                   16758: int main(){nm_test_func;return 0;}
                   16759: _LT_EOF
                   16760:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16761:   (eval $ac_compile) 2>&5
                   16762:   ac_status=$?
                   16763:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16764:   (exit $ac_status); }; then
                   16765:     # Now try to grab the symbols.
                   16766:     ac_nlist=conftest.nm
                   16767:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
                   16768:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16769:   ac_status=$?
                   16770:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16771:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   16772:       # See whether the symbols have a leading underscore.
                   16773:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16774:         lt_cv_sys_symbol_underscore=yes
                   16775:       else
                   16776:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16777:          :
                   16778:         else
                   16779:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16780:         fi
                   16781:       fi
                   16782:     else
                   16783:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16784:     fi
                   16785:   else
                   16786:     echo "configure: failed program was:" >&5
                   16787:     cat conftest.c >&5
                   16788:   fi
                   16789:   rm -rf conftest*
1.29      paf      16790: 
1.66      paf      16791: fi
1.128     moko     16792: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16793: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
                   16794:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16795: 
1.62      paf      16796: 
1.128     moko     16797: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16798:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16799:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   16800:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16801: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16802: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16803:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16804: else
1.128     moko     16805:   libltdl_cv_need_uscore=unknown
                   16806:           save_LIBS="$LIBS"
                   16807:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16808:          if test "$cross_compiling" = yes; then :
                   16809:   libltdl_cv_need_uscore=cross
                   16810: else
                   16811:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16812:   lt_status=$lt_dlunknown
                   16813:   cat > conftest.$ac_ext <<_LT_EOF
                   16814: #line $LINENO "configure"
                   16815: #include "confdefs.h"
                   16816: 
1.66      paf      16817: #if HAVE_DLFCN_H
1.128     moko     16818: #include <dlfcn.h>
                   16819: #endif
                   16820: 
                   16821: #include <stdio.h>
                   16822: 
                   16823: #ifdef RTLD_GLOBAL
                   16824: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16825: #else
                   16826: #  ifdef DL_GLOBAL
                   16827: #    define LT_DLGLOBAL                DL_GLOBAL
                   16828: #  else
                   16829: #    define LT_DLGLOBAL                0
                   16830: #  endif
                   16831: #endif
                   16832: 
                   16833: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16834:    find out it does not work in some platform. */
                   16835: #ifndef LT_DLLAZY_OR_NOW
                   16836: #  ifdef RTLD_LAZY
                   16837: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16838: #  else
                   16839: #    ifdef DL_LAZY
                   16840: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16841: #    else
                   16842: #      ifdef RTLD_NOW
                   16843: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16844: #      else
                   16845: #        ifdef DL_NOW
                   16846: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16847: #        else
                   16848: #          define LT_DLLAZY_OR_NOW     0
                   16849: #        endif
                   16850: #      endif
                   16851: #    endif
                   16852: #  endif
                   16853: #endif
                   16854: 
                   16855: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16856:    correspondingly for the symbols needed.  */
                   16857: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16858: int fnord () __attribute__((visibility("default")));
1.66      paf      16859: #endif
1.62      paf      16860: 
1.128     moko     16861: int fnord () { return 42; }
                   16862: int main ()
1.66      paf      16863: {
1.128     moko     16864:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16865:   int status = $lt_dlunknown;
                   16866: 
                   16867:   if (self)
                   16868:     {
                   16869:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16870:       else
                   16871:         {
                   16872:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16873:           else puts (dlerror ());
                   16874:        }
                   16875:       /* dlclose (self); */
                   16876:     }
                   16877:   else
                   16878:     puts (dlerror ());
                   16879: 
                   16880:   return status;
1.66      paf      16881: }
1.128     moko     16882: _LT_EOF
                   16883:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16884:   (eval $ac_link) 2>&5
1.66      paf      16885:   ac_status=$?
                   16886:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     16887:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   16888:     (./conftest; exit; ) >&5 2>/dev/null
                   16889:     lt_status=$?
                   16890:     case x$lt_status in
                   16891:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16892:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16893:       x$lt_dlunknown|x*)  ;;
                   16894:     esac
                   16895:   else :
                   16896:     # compilation failed
                   16897: 
                   16898:   fi
                   16899: fi
                   16900: rm -fr conftest*
                   16901: 
                   16902:          LIBS="$save_LIBS"
                   16903: 
                   16904: fi
                   16905: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16906: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   16907:   fi
                   16908: fi
                   16909: 
                   16910: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16911: 
1.66      paf      16912: cat >>confdefs.h <<\_ACEOF
1.128     moko     16913: #define NEED_USCORE 1
1.66      paf      16914: _ACEOF
1.29      paf      16915: 
1.128     moko     16916: fi
                   16917: 
                   16918: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16919: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16920: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16921:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16922: else
1.128     moko     16923:   # PORTME does your system automatically load deplibs for dlopen?
                   16924:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16925:   # For now, we just catch OSes we know something about -- in the
                   16926:   # future, we'll try test this programmatically.
                   16927:   lt_cv_sys_dlopen_deplibs=unknown
                   16928:   case $host_os in
                   16929:   aix3*|aix4.1.*|aix4.2.*)
                   16930:     # Unknown whether this is true for these versions of AIX, but
                   16931:     # we want this `case' here to explicitly catch those versions.
                   16932:     lt_cv_sys_dlopen_deplibs=unknown
                   16933:     ;;
                   16934:   aix[4-9]*)
                   16935:     lt_cv_sys_dlopen_deplibs=yes
                   16936:     ;;
                   16937:   amigaos*)
                   16938:     case $host_cpu in
                   16939:     powerpc)
                   16940:       lt_cv_sys_dlopen_deplibs=no
                   16941:       ;;
                   16942:     esac
                   16943:     ;;
                   16944:   darwin*)
                   16945:     # Assuming the user has installed a libdl from somewhere, this is true
                   16946:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16947:     lt_cv_sys_dlopen_deplibs=yes
                   16948:     ;;
                   16949:   freebsd* | dragonfly*)
                   16950:     lt_cv_sys_dlopen_deplibs=yes
                   16951:     ;;
                   16952:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16953:     # GNU and its variants, using gnu ld.so (Glibc)
                   16954:     lt_cv_sys_dlopen_deplibs=yes
                   16955:     ;;
                   16956:   hpux10*|hpux11*)
                   16957:     lt_cv_sys_dlopen_deplibs=yes
                   16958:     ;;
                   16959:   interix*)
                   16960:     lt_cv_sys_dlopen_deplibs=yes
                   16961:     ;;
                   16962:   irix[12345]*|irix6.[01]*)
                   16963:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16964:     # know how it worked for any of those versions.
                   16965:     lt_cv_sys_dlopen_deplibs=unknown
                   16966:     ;;
                   16967:   irix*)
                   16968:     # The case above catches anything before 6.2, and it's known that
                   16969:     # at 6.2 and later dlopen does load deplibs.
                   16970:     lt_cv_sys_dlopen_deplibs=yes
                   16971:     ;;
                   16972:   netbsd*)
                   16973:     lt_cv_sys_dlopen_deplibs=yes
                   16974:     ;;
                   16975:   openbsd*)
                   16976:     lt_cv_sys_dlopen_deplibs=yes
                   16977:     ;;
                   16978:   osf[1234]*)
                   16979:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16980:     # it did *not* use an RPATH in a shared library to find objects the
                   16981:     # library depends on, so we explicitly say `no'.
                   16982:     lt_cv_sys_dlopen_deplibs=no
                   16983:     ;;
                   16984:   osf5.0|osf5.0a|osf5.1)
                   16985:     # dlopen *does* load deplibs and with the right loader patch applied
                   16986:     # it even uses RPATH in a shared library to search for shared objects
                   16987:     # that the library depends on, but there's no easy way to know if that
                   16988:     # patch is installed.  Since this is the case, all we can really
                   16989:     # say is unknown -- it depends on the patch being installed.  If
                   16990:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16991:     lt_cv_sys_dlopen_deplibs=unknown
                   16992:     ;;
                   16993:   osf*)
                   16994:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16995:     # the comments above for what we know about them.
                   16996:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16997:     # is used to find them so we can finally say `yes'.
                   16998:     lt_cv_sys_dlopen_deplibs=yes
                   16999:     ;;
                   17000:   qnx*)
                   17001:     lt_cv_sys_dlopen_deplibs=yes
                   17002:     ;;
                   17003:   solaris*)
                   17004:     lt_cv_sys_dlopen_deplibs=yes
                   17005:     ;;
                   17006:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   17007:     libltdl_cv_sys_dlopen_deplibs=yes
                   17008:     ;;
                   17009:   esac
                   17010: 
                   17011: fi
                   17012: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17013: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
                   17014: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17015: 
                   17016: cat >>confdefs.h <<\_ACEOF
                   17017: #define LTDL_DLOPEN_DEPLIBS 1
                   17018: _ACEOF
                   17019: 
                   17020: fi
                   17021: 
                   17022: :
                   17023: 
1.29      paf      17024: 
1.128     moko     17025: for ac_header in argz.h
                   17026: do
                   17027: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17028: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17029: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17030: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.66      paf      17031:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17032: else
1.128     moko     17033:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17034: /* confdefs.h.  */
                   17035: _ACEOF
                   17036: cat confdefs.h >>conftest.$ac_ext
                   17037: cat >>conftest.$ac_ext <<_ACEOF
                   17038: /* end confdefs.h.  */
1.128     moko     17039: $ac_includes_default
1.29      paf      17040: 
1.128     moko     17041: #include <$ac_header>
1.66      paf      17042: _ACEOF
1.128     moko     17043: rm -f conftest.$ac_objext
                   17044: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17045:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17046:   ac_status=$?
1.86      paf      17047:   grep -v '^ *+' conftest.er1 >conftest.err
                   17048:   rm -f conftest.er1
                   17049:   cat conftest.err >&5
1.66      paf      17050:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17051:   (exit $ac_status); } &&
1.86      paf      17052:         { ac_try='test -z "$ac_c_werror_flag"
                   17053:                         || test ! -s conftest.err'
                   17054:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17055:   (eval $ac_try) 2>&5
                   17056:   ac_status=$?
                   17057:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17058:   (exit $ac_status); }; } &&
1.128     moko     17059:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17060:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17061:   (eval $ac_try) 2>&5
                   17062:   ac_status=$?
                   17063:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17064:   (exit $ac_status); }; }; then
1.128     moko     17065:   eval "$as_ac_Header=yes"
1.66      paf      17066: else
                   17067:   echo "$as_me: failed program was:" >&5
                   17068: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17069: 
1.128     moko     17070: eval "$as_ac_Header=no"
                   17071: fi
                   17072: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17073: fi
1.128     moko     17074: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17075: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17076: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17077:   cat >>confdefs.h <<_ACEOF
                   17078: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17079: _ACEOF
                   17080: 
1.66      paf      17081: fi
1.62      paf      17082: 
1.128     moko     17083: done
                   17084: 
1.29      paf      17085: 
1.128     moko     17086: echo "$as_me:$LINENO: checking for error_t" >&5
                   17087: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   17088: if test "${ac_cv_type_error_t+set}" = set; then
1.66      paf      17089:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17090: else
1.128     moko     17091:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17092: /* confdefs.h.  */
                   17093: _ACEOF
                   17094: cat confdefs.h >>conftest.$ac_ext
                   17095: cat >>conftest.$ac_ext <<_ACEOF
                   17096: /* end confdefs.h.  */
1.128     moko     17097: #if defined(HAVE_ARGZ_H)
                   17098: #  include <argz.h>
                   17099: #endif
1.29      paf      17100: 
1.66      paf      17101: int
                   17102: main ()
                   17103: {
1.128     moko     17104: if ((error_t *) 0)
                   17105:   return 0;
                   17106: if (sizeof (error_t))
                   17107:   return 0;
1.66      paf      17108:   ;
                   17109:   return 0;
                   17110: }
                   17111: _ACEOF
1.128     moko     17112: rm -f conftest.$ac_objext
                   17113: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17114:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17115:   ac_status=$?
1.86      paf      17116:   grep -v '^ *+' conftest.er1 >conftest.err
                   17117:   rm -f conftest.er1
                   17118:   cat conftest.err >&5
1.66      paf      17119:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17120:   (exit $ac_status); } &&
1.86      paf      17121:         { ac_try='test -z "$ac_c_werror_flag"
                   17122:                         || test ! -s conftest.err'
                   17123:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17124:   (eval $ac_try) 2>&5
                   17125:   ac_status=$?
                   17126:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17127:   (exit $ac_status); }; } &&
1.128     moko     17128:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17129:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17130:   (eval $ac_try) 2>&5
                   17131:   ac_status=$?
                   17132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17133:   (exit $ac_status); }; }; then
1.128     moko     17134:   ac_cv_type_error_t=yes
1.66      paf      17135: else
                   17136:   echo "$as_me: failed program was:" >&5
                   17137: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17138: 
1.128     moko     17139: ac_cv_type_error_t=no
1.66      paf      17140: fi
1.128     moko     17141: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17142: fi
1.128     moko     17143: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   17144: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   17145: if test $ac_cv_type_error_t = yes; then
1.29      paf      17146: 
1.128     moko     17147: cat >>confdefs.h <<_ACEOF
                   17148: #define HAVE_ERROR_T 1
1.62      paf      17149: _ACEOF
1.16      paf      17150: 
                   17151: 
1.128     moko     17152: else
1.16      paf      17153: 
1.128     moko     17154: cat >>confdefs.h <<\_ACEOF
                   17155: #define error_t int
                   17156: _ACEOF
1.16      paf      17157: 
1.12      paf      17158: 
1.128     moko     17159: cat >>confdefs.h <<\_ACEOF
                   17160: #define __error_t_defined 1
                   17161: _ACEOF
1.12      paf      17162: 
1.66      paf      17163: fi
1.12      paf      17164: 
1.128     moko     17165: 
                   17166: ARGZ_H=
1.12      paf      17167: 
                   17168: 
1.62      paf      17169: 
1.1       paf      17170: 
                   17171: 
                   17172: 
                   17173: 
1.128     moko     17174: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17175:        argz_next argz_stringify
1.66      paf      17176: do
                   17177: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17178: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17179: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17180: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17181:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      17182: else
1.64      paf      17183:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17184: /* confdefs.h.  */
                   17185: _ACEOF
                   17186: cat confdefs.h >>conftest.$ac_ext
                   17187: cat >>conftest.$ac_ext <<_ACEOF
                   17188: /* end confdefs.h.  */
1.86      paf      17189: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17190:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17191: #define $ac_func innocuous_$ac_func
                   17192: 
1.64      paf      17193: /* System header to define __stub macros and hopefully few prototypes,
1.66      paf      17194:     which can conflict with char $ac_func (); below.
1.64      paf      17195:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17196:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      17197: 
1.64      paf      17198: #ifdef __STDC__
                   17199: # include <limits.h>
                   17200: #else
                   17201: # include <assert.h>
                   17202: #endif
1.86      paf      17203: 
                   17204: #undef $ac_func
                   17205: 
1.8       paf      17206: /* Override any gcc2 internal prototype to avoid an error.  */
                   17207: #ifdef __cplusplus
                   17208: extern "C"
1.64      paf      17209: {
1.8       paf      17210: #endif
                   17211: /* We use char because int might match the return type of a gcc2
1.62      paf      17212:    builtin and then its argument prototype would still apply.  */
1.66      paf      17213: char $ac_func ();
1.64      paf      17214: /* The GNU C library defines this for functions which it implements
                   17215:     to always fail with ENOSYS.  Some functions are actually named
                   17216:     something starting with __ and the normal name is an alias.  */
1.66      paf      17217: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64      paf      17218: choke me
                   17219: #else
1.66      paf      17220: char (*f) () = $ac_func;
1.64      paf      17221: #endif
                   17222: #ifdef __cplusplus
                   17223: }
                   17224: #endif
                   17225: 
1.62      paf      17226: int
                   17227: main ()
                   17228: {
1.66      paf      17229: return f != $ac_func;
1.62      paf      17230:   ;
                   17231:   return 0;
                   17232: }
                   17233: _ACEOF
                   17234: rm -f conftest.$ac_objext conftest$ac_exeext
                   17235: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      17236:   (eval $ac_link) 2>conftest.er1
1.62      paf      17237:   ac_status=$?
1.86      paf      17238:   grep -v '^ *+' conftest.er1 >conftest.err
                   17239:   rm -f conftest.er1
                   17240:   cat conftest.err >&5
1.62      paf      17241:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17242:   (exit $ac_status); } &&
1.86      paf      17243:         { ac_try='test -z "$ac_c_werror_flag"
                   17244:                         || test ! -s conftest.err'
                   17245:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17246:   (eval $ac_try) 2>&5
                   17247:   ac_status=$?
                   17248:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17249:   (exit $ac_status); }; } &&
                   17250:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17251:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.128     moko     17252:   (eval $ac_try) 2>&5
                   17253:   ac_status=$?
                   17254:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17255:   (exit $ac_status); }; }; then
                   17256:   eval "$as_ac_var=yes"
                   17257: else
                   17258:   echo "$as_me: failed program was:" >&5
                   17259: sed 's/^/| /' conftest.$ac_ext >&5
                   17260: 
                   17261: eval "$as_ac_var=no"
                   17262: fi
                   17263: rm -f conftest.err conftest.$ac_objext \
                   17264:       conftest$ac_exeext conftest.$ac_ext
                   17265: fi
                   17266: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17267: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17268: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17269:   cat >>confdefs.h <<_ACEOF
                   17270: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17271: _ACEOF
                   17272: 
                   17273: else
                   17274:   ARGZ_H=argz.h;
                   17275: 
                   17276:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17277: 
                   17278: fi
                   17279: done
                   17280: 
                   17281: 
                   17282: if test -z "$ARGZ_H"; then
                   17283:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   17284: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   17285: if test "${lt_cv_sys_argz_works+set}" = set; then
                   17286:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17287: else
                   17288:   case $host_os in #(
                   17289:         *cygwin*)
                   17290:           lt_cv_sys_argz_works=no
                   17291:           if test "$cross_compiling" != no; then
                   17292:             lt_cv_sys_argz_works="guessing no"
                   17293:           else
                   17294:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17295:             save_IFS=$IFS
                   17296:             IFS=-.
                   17297:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17298:             IFS=$save_IFS
                   17299:             lt_os_major=${2-0}
                   17300:             lt_os_minor=${3-0}
                   17301:             lt_os_micro=${4-0}
                   17302:             if test "$lt_os_major" -gt 1 \
                   17303:                || { test "$lt_os_major" -eq 1 \
                   17304:                  && { test "$lt_os_minor" -gt 5 \
                   17305:                    || { test "$lt_os_minor" -eq 5 \
                   17306:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17307:               lt_cv_sys_argz_works=yes
                   17308:             fi
                   17309:           fi
                   17310:           ;; #(
                   17311:         *) lt_cv_sys_argz_works=yes ;;
                   17312:         esac
                   17313: fi
                   17314: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   17315: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   17316:      if test "$lt_cv_sys_argz_works" = yes; then
                   17317: 
                   17318: cat >>confdefs.h <<\_ACEOF
                   17319: #define HAVE_WORKING_ARGZ 1
                   17320: _ACEOF
                   17321: 
1.62      paf      17322: else
1.128     moko     17323:   ARGZ_H=argz.h
                   17324: 
                   17325: 
                   17326:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17327: 
                   17328: fi
1.62      paf      17329: 
                   17330: fi
1.128     moko     17331: 
                   17332: 
                   17333: 
                   17334: 
                   17335: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17336: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   17337: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   17338:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17339: else
                   17340:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17341:     libltdl_cv_preloaded_symbols=yes
                   17342:   else
                   17343:     libltdl_cv_preloaded_symbols=no
                   17344:   fi
                   17345: 
1.62      paf      17346: fi
1.128     moko     17347: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   17348: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   17349: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17350: 
                   17351: cat >>confdefs.h <<\_ACEOF
                   17352: #define HAVE_PRELOADED_SYMBOLS 1
1.66      paf      17353: _ACEOF
                   17354: 
                   17355: fi
                   17356: 
1.128     moko     17357: # Set options
                   17358: 
                   17359: 
                   17360: 
                   17361: 
                   17362: 
                   17363: 
                   17364: 
                   17365: 
                   17366: 
                   17367: 
1.66      paf      17368: 
                   17369: 
1.128     moko     17370: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   17371: if test "${with_included_ltdl+set}" = set; then
                   17372:   withval="$with_included_ltdl"
1.64      paf      17373: 
1.128     moko     17374: fi;
1.64      paf      17375: 
1.128     moko     17376: if test "x$with_included_ltdl" != xyes; then
                   17377:   # We are not being forced to use the included libltdl sources, so
                   17378:   # decide whether there is a useful installed version we can use.
                   17379:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   17380: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   17381: if test "${ac_cv_header_ltdl_h+set}" = set; then
1.79      paf      17382:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17383: else
1.128     moko     17384:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17385: /* confdefs.h.  */
                   17386: _ACEOF
                   17387: cat confdefs.h >>conftest.$ac_ext
                   17388: cat >>conftest.$ac_ext <<_ACEOF
                   17389: /* end confdefs.h.  */
1.128     moko     17390: $ac_includes_default
1.79      paf      17391: 
                   17392: 
1.128     moko     17393: #include <ltdl.h>
1.79      paf      17394: _ACEOF
                   17395: rm -f conftest.$ac_objext
                   17396: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17397:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17398:   ac_status=$?
1.86      paf      17399:   grep -v '^ *+' conftest.er1 >conftest.err
                   17400:   rm -f conftest.er1
                   17401:   cat conftest.err >&5
1.79      paf      17402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17403:   (exit $ac_status); } &&
1.86      paf      17404:         { ac_try='test -z "$ac_c_werror_flag"
                   17405:                         || test ! -s conftest.err'
                   17406:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17407:   (eval $ac_try) 2>&5
                   17408:   ac_status=$?
                   17409:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17410:   (exit $ac_status); }; } &&
                   17411:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17412:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17413:   (eval $ac_try) 2>&5
                   17414:   ac_status=$?
                   17415:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17416:   (exit $ac_status); }; }; then
1.128     moko     17417:   ac_cv_header_ltdl_h=yes
                   17418: else
                   17419:   echo "$as_me: failed program was:" >&5
                   17420: sed 's/^/| /' conftest.$ac_ext >&5
                   17421: 
                   17422: ac_cv_header_ltdl_h=no
                   17423: fi
                   17424: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17425: fi
                   17426: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   17427: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   17428: if test $ac_cv_header_ltdl_h = yes; then
                   17429:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   17430: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   17431: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   17432:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17433: else
                   17434:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17435: /* confdefs.h.  */
                   17436: _ACEOF
                   17437: cat confdefs.h >>conftest.$ac_ext
                   17438: cat >>conftest.$ac_ext <<_ACEOF
                   17439: /* end confdefs.h.  */
1.128     moko     17440: $ac_includes_default
                   17441:            #include <ltdl.h>
1.79      paf      17442: 
                   17443: int
                   17444: main ()
                   17445: {
1.128     moko     17446: #ifndef lt_dlinterface_register
                   17447:   char *p = (char *) lt_dlinterface_register;
1.79      paf      17448: #endif
                   17449: 
                   17450:   ;
                   17451:   return 0;
                   17452: }
                   17453: _ACEOF
                   17454: rm -f conftest.$ac_objext
                   17455: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17456:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17457:   ac_status=$?
1.86      paf      17458:   grep -v '^ *+' conftest.er1 >conftest.err
                   17459:   rm -f conftest.er1
                   17460:   cat conftest.err >&5
1.79      paf      17461:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17462:   (exit $ac_status); } &&
1.86      paf      17463:         { ac_try='test -z "$ac_c_werror_flag"
                   17464:                         || test ! -s conftest.err'
                   17465:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17466:   (eval $ac_try) 2>&5
                   17467:   ac_status=$?
                   17468:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17469:   (exit $ac_status); }; } &&
                   17470:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17471:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17472:   (eval $ac_try) 2>&5
                   17473:   ac_status=$?
                   17474:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17475:   (exit $ac_status); }; }; then
1.128     moko     17476:   ac_cv_have_decl_lt_dlinterface_register=yes
1.79      paf      17477: else
                   17478:   echo "$as_me: failed program was:" >&5
                   17479: sed 's/^/| /' conftest.$ac_ext >&5
                   17480: 
1.128     moko     17481: ac_cv_have_decl_lt_dlinterface_register=no
1.79      paf      17482: fi
1.86      paf      17483: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17484: fi
                   17485: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   17486: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   17487: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   17488:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   17489: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   17490: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   17491:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.79      paf      17492: else
1.128     moko     17493:   ac_check_lib_save_LIBS=$LIBS
                   17494: LIBS="-lltdl  $LIBS"
                   17495: cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17496: /* confdefs.h.  */
                   17497: _ACEOF
                   17498: cat confdefs.h >>conftest.$ac_ext
                   17499: cat >>conftest.$ac_ext <<_ACEOF
                   17500: /* end confdefs.h.  */
1.128     moko     17501: 
                   17502: /* Override any gcc2 internal prototype to avoid an error.  */
                   17503: #ifdef __cplusplus
                   17504: extern "C"
                   17505: #endif
                   17506: /* We use char because int might match the return type of a gcc2
                   17507:    builtin and then its argument prototype would still apply.  */
                   17508: char lt_dladvise_preload ();
1.79      paf      17509: int
                   17510: main ()
                   17511: {
1.128     moko     17512: lt_dladvise_preload ();
1.79      paf      17513:   ;
                   17514:   return 0;
                   17515: }
                   17516: _ACEOF
1.128     moko     17517: rm -f conftest.$ac_objext conftest$ac_exeext
                   17518: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17519:   (eval $ac_link) 2>conftest.er1
1.79      paf      17520:   ac_status=$?
1.86      paf      17521:   grep -v '^ *+' conftest.er1 >conftest.err
                   17522:   rm -f conftest.er1
                   17523:   cat conftest.err >&5
1.79      paf      17524:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17525:   (exit $ac_status); } &&
1.86      paf      17526:         { ac_try='test -z "$ac_c_werror_flag"
                   17527:                         || test ! -s conftest.err'
                   17528:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17529:   (eval $ac_try) 2>&5
                   17530:   ac_status=$?
                   17531:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17532:   (exit $ac_status); }; } &&
1.128     moko     17533:         { ac_try='test -s conftest$ac_exeext'
1.79      paf      17534:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17535:   (eval $ac_try) 2>&5
                   17536:   ac_status=$?
                   17537:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17538:   (exit $ac_status); }; }; then
1.128     moko     17539:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17540: else
                   17541:   echo "$as_me: failed program was:" >&5
                   17542: sed 's/^/| /' conftest.$ac_ext >&5
                   17543: 
1.128     moko     17544: ac_cv_lib_ltdl_lt_dladvise_preload=no
                   17545: fi
                   17546: rm -f conftest.err conftest.$ac_objext \
                   17547:       conftest$ac_exeext conftest.$ac_ext
                   17548: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17549: fi
1.128     moko     17550: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17551: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   17552: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
                   17553:   with_included_ltdl=no
1.79      paf      17554: else
1.128     moko     17555:   with_included_ltdl=yes
                   17556: fi
                   17557: 
1.79      paf      17558: else
1.128     moko     17559:   with_included_ltdl=yes
                   17560: fi
1.79      paf      17561: 
1.128     moko     17562: else
                   17563:   with_included_ltdl=yes
1.79      paf      17564: fi
1.128     moko     17565: 
                   17566: 
1.79      paf      17567: fi
1.128     moko     17568: 
                   17569: 
                   17570: 
                   17571: 
                   17572: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   17573: if test "${with_ltdl_include+set}" = set; then
                   17574:   withval="$with_ltdl_include"
                   17575: 
                   17576: fi;
                   17577: 
                   17578: if test -n "$with_ltdl_include"; then
                   17579:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17580:   else
                   17581:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   17582: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   17583:    { (exit 1); exit 1; }; }
                   17584:   fi
                   17585: else
                   17586:   with_ltdl_include=no
1.79      paf      17587: fi
1.128     moko     17588: 
                   17589: 
                   17590: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   17591: if test "${with_ltdl_lib+set}" = set; then
                   17592:   withval="$with_ltdl_lib"
                   17593: 
                   17594: fi;
                   17595: 
                   17596: if test -n "$with_ltdl_lib"; then
                   17597:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17598:   else
                   17599:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   17600: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   17601:    { (exit 1); exit 1; }; }
                   17602:   fi
                   17603: else
                   17604:   with_ltdl_lib=no
1.79      paf      17605: fi
                   17606: 
1.128     moko     17607: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17608:   ,yes,no,no,)
                   17609:        case $enable_ltdl_convenience in
                   17610:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   17611: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   17612:    { (exit 1); exit 1; }; } ;;
                   17613:   "") enable_ltdl_convenience=yes
                   17614:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17615: esac
                   17616: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   17617: LTDLDEPS=$LIBLTDL
                   17618: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17619: 
                   17620: 
                   17621: 
                   17622: 
                   17623: 
                   17624: # For backwards non-gettext consistent compatibility...
                   17625: INCLTDL="$LTDLINCL"
                   17626: 
1.79      paf      17627: 
1.128     moko     17628:        ;;
                   17629:   ,no,no,no,)
                   17630:        # If the included ltdl is not to be used, then use the
                   17631:        # preinstalled libltdl we found.
1.79      paf      17632: 
                   17633: cat >>confdefs.h <<\_ACEOF
1.128     moko     17634: #define HAVE_LTDL 1
1.79      paf      17635: _ACEOF
                   17636: 
1.128     moko     17637:        LIBLTDL=-lltdl
                   17638:        LTDLDEPS=
                   17639:        LTDLINCL=
                   17640:        ;;
                   17641:   ,no*,no,*)
                   17642:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   17643: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
1.79      paf      17644:    { (exit 1); exit 1; }; }
1.128     moko     17645:        ;;
                   17646:   *)   with_included_ltdl=no
                   17647:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17648:        LTDLDEPS=
                   17649:        LTDLINCL="-I$with_ltdl_include"
                   17650:        ;;
                   17651: esac
                   17652: INCLTDL="$LTDLINCL"
                   17653: 
                   17654: # Report our decision...
                   17655: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   17656: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   17657: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   17658: echo "${ECHO_T}$LTDLINCL" >&6
                   17659: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   17660: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   17661: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   17662: echo "${ECHO_T}$LIBLTDL" >&6
                   17663: 
                   17664: 
                   17665: 
                   17666: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   17667: if test "${enable_ltdl_install+set}" = set; then
                   17668:   enableval="$enable_ltdl_install"
                   17669: 
                   17670: fi;
                   17671: 
                   17672: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17673:   *yes*) ;;
                   17674:   *) enable_ltdl_convenience=yes ;;
                   17675: esac
                   17676: 
                   17677: 
                   17678: 
                   17679: if test x"${enable_ltdl_install-no}" != xno; then
                   17680:   INSTALL_LTDL_TRUE=
                   17681:   INSTALL_LTDL_FALSE='#'
                   17682: else
                   17683:   INSTALL_LTDL_TRUE='#'
                   17684:   INSTALL_LTDL_FALSE=
                   17685: fi
                   17686: 
                   17687: 
                   17688: 
                   17689: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17690:   CONVENIENCE_LTDL_TRUE=
                   17691:   CONVENIENCE_LTDL_FALSE='#'
                   17692: else
                   17693:   CONVENIENCE_LTDL_TRUE='#'
                   17694:   CONVENIENCE_LTDL_FALSE=
                   17695: fi
                   17696: 
                   17697: 
                   17698: 
                   17699: 
                   17700: 
                   17701: subdirs="$subdirs src/lib/ltdl"
                   17702: 
                   17703: 
                   17704: 
                   17705: 
                   17706: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17707: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17708: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17709: # definitions required by ltdl.c.
                   17710: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17711: 
                   17712: 
                   17713: 
                   17714: 
                   17715: 
                   17716: 
                   17717: 
1.79      paf      17718: 
                   17719: 
1.128     moko     17720: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17721: do
                   17722: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17723: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17724: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17725: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62      paf      17726:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17727: else
1.66      paf      17728:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17729: /* confdefs.h.  */
                   17730: _ACEOF
                   17731: cat confdefs.h >>conftest.$ac_ext
                   17732: cat >>conftest.$ac_ext <<_ACEOF
                   17733: /* end confdefs.h.  */
1.128     moko     17734: $ac_includes_default
                   17735: 
                   17736: #include <$ac_header>
1.62      paf      17737: _ACEOF
1.128     moko     17738: rm -f conftest.$ac_objext
                   17739: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17740:   (eval $ac_compile) 2>conftest.er1
1.62      paf      17741:   ac_status=$?
1.66      paf      17742:   grep -v '^ *+' conftest.er1 >conftest.err
                   17743:   rm -f conftest.er1
                   17744:   cat conftest.err >&5
1.62      paf      17745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17746:   (exit $ac_status); } &&
                   17747:         { ac_try='test -z "$ac_c_werror_flag"
                   17748:                         || test ! -s conftest.err'
                   17749:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17750:   (eval $ac_try) 2>&5
                   17751:   ac_status=$?
                   17752:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17753:   (exit $ac_status); }; } &&
                   17754:         { ac_try='test -s conftest.$ac_objext'
                   17755:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17756:   (eval $ac_try) 2>&5
                   17757:   ac_status=$?
                   17758:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17759:   (exit $ac_status); }; }; then
                   17760:   eval "$as_ac_Header=yes"
1.62      paf      17761: else
                   17762:   echo "$as_me: failed program was:" >&5
                   17763: sed 's/^/| /' conftest.$ac_ext >&5
                   17764: 
1.128     moko     17765: eval "$as_ac_Header=no"
                   17766: fi
                   17767: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      17768: fi
1.128     moko     17769: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17770: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17771: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17772:   cat >>confdefs.h <<_ACEOF
                   17773: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17774: _ACEOF
                   17775: 
                   17776: fi
1.66      paf      17777: 
                   17778: done
1.64      paf      17779: 
                   17780: 
1.128     moko     17781: 
                   17782: 
                   17783: 
                   17784: for ac_func in closedir opendir readdir
                   17785: do
                   17786: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17787: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17788: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17789: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17790:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.64      paf      17791: else
                   17792:   cat >conftest.$ac_ext <<_ACEOF
                   17793: /* confdefs.h.  */
                   17794: _ACEOF
                   17795: cat confdefs.h >>conftest.$ac_ext
                   17796: cat >>conftest.$ac_ext <<_ACEOF
                   17797: /* end confdefs.h.  */
1.128     moko     17798: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17799:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17800: #define $ac_func innocuous_$ac_func
                   17801: 
                   17802: /* System header to define __stub macros and hopefully few prototypes,
                   17803:     which can conflict with char $ac_func (); below.
                   17804:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17805:     <limits.h> exists even on freestanding compilers.  */
                   17806: 
1.66      paf      17807: #ifdef __STDC__
                   17808: # include <limits.h>
                   17809: #else
                   17810: # include <assert.h>
1.64      paf      17811: #endif
1.128     moko     17812: 
                   17813: #undef $ac_func
                   17814: 
                   17815: /* Override any gcc2 internal prototype to avoid an error.  */
                   17816: #ifdef __cplusplus
                   17817: extern "C"
                   17818: {
                   17819: #endif
                   17820: /* We use char because int might match the return type of a gcc2
                   17821:    builtin and then its argument prototype would still apply.  */
                   17822: char $ac_func ();
                   17823: /* The GNU C library defines this for functions which it implements
                   17824:     to always fail with ENOSYS.  Some functions are actually named
                   17825:     something starting with __ and the normal name is an alias.  */
                   17826: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17827: choke me
                   17828: #else
                   17829: char (*f) () = $ac_func;
                   17830: #endif
                   17831: #ifdef __cplusplus
                   17832: }
                   17833: #endif
                   17834: 
                   17835: int
                   17836: main ()
                   17837: {
                   17838: return f != $ac_func;
                   17839:   ;
                   17840:   return 0;
                   17841: }
1.64      paf      17842: _ACEOF
1.128     moko     17843: rm -f conftest.$ac_objext conftest$ac_exeext
                   17844: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17845:   (eval $ac_link) 2>conftest.er1
1.64      paf      17846:   ac_status=$?
1.66      paf      17847:   grep -v '^ *+' conftest.er1 >conftest.err
                   17848:   rm -f conftest.er1
                   17849:   cat conftest.err >&5
1.64      paf      17850:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17851:   (exit $ac_status); } &&
                   17852:         { ac_try='test -z "$ac_c_werror_flag"
                   17853:                         || test ! -s conftest.err'
                   17854:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17855:   (eval $ac_try) 2>&5
                   17856:   ac_status=$?
                   17857:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17858:   (exit $ac_status); }; } &&
                   17859:         { ac_try='test -s conftest$ac_exeext'
                   17860:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17861:   (eval $ac_try) 2>&5
1.62      paf      17862:   ac_status=$?
                   17863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17864:   (exit $ac_status); }; }; then
                   17865:   eval "$as_ac_var=yes"
1.62      paf      17866: else
                   17867:   echo "$as_me: failed program was:" >&5
                   17868: sed 's/^/| /' conftest.$ac_ext >&5
                   17869: 
1.128     moko     17870: eval "$as_ac_var=no"
                   17871: fi
                   17872: rm -f conftest.err conftest.$ac_objext \
                   17873:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      17874: fi
1.128     moko     17875: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17876: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17877: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17878:   cat >>confdefs.h <<_ACEOF
                   17879: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17880: _ACEOF
1.66      paf      17881: 
                   17882: else
1.64      paf      17883: 
1.66      paf      17884: 
1.128     moko     17885:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17886: 
1.66      paf      17887: fi
1.128     moko     17888: done
                   17889: 
1.66      paf      17890: 
                   17891: 
1.128     moko     17892: for ac_func in strlcat strlcpy
                   17893: do
                   17894: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17895: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17896: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17897: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17898:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      17899: else
1.66      paf      17900:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17901: /* confdefs.h.  */
                   17902: _ACEOF
                   17903: cat confdefs.h >>conftest.$ac_ext
                   17904: cat >>conftest.$ac_ext <<_ACEOF
                   17905: /* end confdefs.h.  */
1.128     moko     17906: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17907:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17908: #define $ac_func innocuous_$ac_func
                   17909: 
                   17910: /* System header to define __stub macros and hopefully few prototypes,
                   17911:     which can conflict with char $ac_func (); below.
                   17912:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17913:     <limits.h> exists even on freestanding compilers.  */
                   17914: 
                   17915: #ifdef __STDC__
                   17916: # include <limits.h>
                   17917: #else
                   17918: # include <assert.h>
                   17919: #endif
                   17920: 
                   17921: #undef $ac_func
                   17922: 
                   17923: /* Override any gcc2 internal prototype to avoid an error.  */
                   17924: #ifdef __cplusplus
                   17925: extern "C"
                   17926: {
                   17927: #endif
                   17928: /* We use char because int might match the return type of a gcc2
                   17929:    builtin and then its argument prototype would still apply.  */
                   17930: char $ac_func ();
                   17931: /* The GNU C library defines this for functions which it implements
                   17932:     to always fail with ENOSYS.  Some functions are actually named
                   17933:     something starting with __ and the normal name is an alias.  */
                   17934: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17935: choke me
                   17936: #else
                   17937: char (*f) () = $ac_func;
                   17938: #endif
                   17939: #ifdef __cplusplus
                   17940: }
                   17941: #endif
1.62      paf      17942: 
                   17943: int
                   17944: main ()
                   17945: {
1.128     moko     17946: return f != $ac_func;
1.62      paf      17947:   ;
                   17948:   return 0;
                   17949: }
                   17950: _ACEOF
1.128     moko     17951: rm -f conftest.$ac_objext conftest$ac_exeext
                   17952: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17953:   (eval $ac_link) 2>conftest.er1
1.62      paf      17954:   ac_status=$?
1.86      paf      17955:   grep -v '^ *+' conftest.er1 >conftest.err
                   17956:   rm -f conftest.er1
                   17957:   cat conftest.err >&5
1.62      paf      17958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17959:   (exit $ac_status); } &&
1.86      paf      17960:         { ac_try='test -z "$ac_c_werror_flag"
                   17961:                         || test ! -s conftest.err'
                   17962:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17963:   (eval $ac_try) 2>&5
                   17964:   ac_status=$?
                   17965:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17966:   (exit $ac_status); }; } &&
1.128     moko     17967:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17968:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17969:   (eval $ac_try) 2>&5
                   17970:   ac_status=$?
                   17971:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17972:   (exit $ac_status); }; }; then
1.128     moko     17973:   eval "$as_ac_var=yes"
1.62      paf      17974: else
                   17975:   echo "$as_me: failed program was:" >&5
                   17976: sed 's/^/| /' conftest.$ac_ext >&5
                   17977: 
1.128     moko     17978: eval "$as_ac_var=no"
                   17979: fi
                   17980: rm -f conftest.err conftest.$ac_objext \
                   17981:       conftest$ac_exeext conftest.$ac_ext
                   17982: fi
                   17983: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17984: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17985: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17986:   cat >>confdefs.h <<_ACEOF
                   17987: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17988: _ACEOF
                   17989: 
                   17990: else
                   17991: 
                   17992: 
                   17993:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17994: 
1.62      paf      17995: fi
1.128     moko     17996: done
                   17997: 
                   17998: 
1.64      paf      17999: 
1.128     moko     18000: cat >>confdefs.h <<_ACEOF
                   18001: #define LT_LIBEXT "$libext"
1.62      paf      18002: _ACEOF
1.64      paf      18003: 
1.128     moko     18004: 
                   18005: name=
                   18006: eval "lt_libprefix=\"$libname_spec\""
                   18007: 
                   18008: cat >>confdefs.h <<_ACEOF
                   18009: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      18010: _ACEOF
1.128     moko     18011: 
                   18012: 
                   18013: name=ltdl
                   18014: eval "LTDLOPEN=\"$libname_spec\""
                   18015: 
                   18016: 
                   18017: 
                   18018: 
                   18019: 
                   18020: 
                   18021: 
                   18022: 
                   18023: # Only expand once:
                   18024: 
                   18025: 
                   18026: 
                   18027: 
                   18028: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
                   18029: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
                   18030: if test "${ac_cv_c_bigendian+set}" = set; then
                   18031:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18032: else
                   18033:   # See if sys/param.h defines the BYTE_ORDER macro.
                   18034: cat >conftest.$ac_ext <<_ACEOF
1.66      paf      18035: /* confdefs.h.  */
                   18036: _ACEOF
                   18037: cat confdefs.h >>conftest.$ac_ext
                   18038: cat >>conftest.$ac_ext <<_ACEOF
                   18039: /* end confdefs.h.  */
1.128     moko     18040: #include <sys/types.h>
                   18041: #include <sys/param.h>
                   18042: 
                   18043: int
                   18044: main ()
                   18045: {
                   18046: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
                   18047:  bogus endian macros
                   18048: #endif
1.64      paf      18049: 
1.128     moko     18050:   ;
                   18051:   return 0;
                   18052: }
1.66      paf      18053: _ACEOF
1.128     moko     18054: rm -f conftest.$ac_objext
                   18055: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18056:   (eval $ac_compile) 2>conftest.er1
                   18057:   ac_status=$?
                   18058:   grep -v '^ *+' conftest.er1 >conftest.err
                   18059:   rm -f conftest.er1
                   18060:   cat conftest.err >&5
                   18061:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18062:   (exit $ac_status); } &&
                   18063:         { ac_try='test -z "$ac_c_werror_flag"
                   18064:                         || test ! -s conftest.err'
                   18065:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18066:   (eval $ac_try) 2>&5
                   18067:   ac_status=$?
                   18068:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18069:   (exit $ac_status); }; } &&
                   18070:         { ac_try='test -s conftest.$ac_objext'
                   18071:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18072:   (eval $ac_try) 2>&5
                   18073:   ac_status=$?
                   18074:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18075:   (exit $ac_status); }; }; then
                   18076:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   18077: cat >conftest.$ac_ext <<_ACEOF
1.64      paf      18078: /* confdefs.h.  */
                   18079: _ACEOF
                   18080: cat confdefs.h >>conftest.$ac_ext
                   18081: cat >>conftest.$ac_ext <<_ACEOF
                   18082: /* end confdefs.h.  */
1.128     moko     18083: #include <sys/types.h>
                   18084: #include <sys/param.h>
1.64      paf      18085: 
                   18086: int
                   18087: main ()
1.128     moko     18088: {
                   18089: #if BYTE_ORDER != BIG_ENDIAN
                   18090:  not big endian
                   18091: #endif
                   18092: 
                   18093:   ;
                   18094:   return 0;
1.64      paf      18095: }
                   18096: _ACEOF
1.128     moko     18097: rm -f conftest.$ac_objext
                   18098: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18099:   (eval $ac_compile) 2>conftest.er1
                   18100:   ac_status=$?
                   18101:   grep -v '^ *+' conftest.er1 >conftest.err
                   18102:   rm -f conftest.er1
                   18103:   cat conftest.err >&5
                   18104:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18105:   (exit $ac_status); } &&
                   18106:         { ac_try='test -z "$ac_c_werror_flag"
                   18107:                         || test ! -s conftest.err'
                   18108:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18109:   (eval $ac_try) 2>&5
1.64      paf      18110:   ac_status=$?
                   18111:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     18112:   (exit $ac_status); }; } &&
                   18113:         { ac_try='test -s conftest.$ac_objext'
1.64      paf      18114:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18115:   (eval $ac_try) 2>&5
                   18116:   ac_status=$?
                   18117:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18118:   (exit $ac_status); }; }; then
1.128     moko     18119:   ac_cv_c_bigendian=yes
1.64      paf      18120: else
1.128     moko     18121:   echo "$as_me: failed program was:" >&5
1.64      paf      18122: sed 's/^/| /' conftest.$ac_ext >&5
                   18123: 
1.128     moko     18124: ac_cv_c_bigendian=no
1.66      paf      18125: fi
1.128     moko     18126: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18127: else
                   18128:   echo "$as_me: failed program was:" >&5
                   18129: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      18130: 
1.128     moko     18131: # It does not; compile a test program.
                   18132: if test "$cross_compiling" = yes; then
                   18133:   # try to guess the endianness by grepping values into an object file
                   18134:   ac_cv_c_bigendian=unknown
1.62      paf      18135:   cat >conftest.$ac_ext <<_ACEOF
                   18136: /* confdefs.h.  */
                   18137: _ACEOF
                   18138: cat confdefs.h >>conftest.$ac_ext
                   18139: cat >>conftest.$ac_ext <<_ACEOF
                   18140: /* end confdefs.h.  */
1.128     moko     18141: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   18142: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   18143: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
                   18144: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   18145: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   18146: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
                   18147: int
                   18148: main ()
                   18149: {
                   18150:  _ascii (); _ebcdic ();
                   18151:   ;
                   18152:   return 0;
                   18153: }
1.62      paf      18154: _ACEOF
1.66      paf      18155: rm -f conftest.$ac_objext
                   18156: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18157:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18158:   ac_status=$?
1.86      paf      18159:   grep -v '^ *+' conftest.er1 >conftest.err
                   18160:   rm -f conftest.er1
                   18161:   cat conftest.err >&5
1.66      paf      18162:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18163:   (exit $ac_status); } &&
1.86      paf      18164:         { ac_try='test -z "$ac_c_werror_flag"
                   18165:                         || test ! -s conftest.err'
                   18166:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18167:   (eval $ac_try) 2>&5
                   18168:   ac_status=$?
                   18169:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18170:   (exit $ac_status); }; } &&
                   18171:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18172:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18173:   (eval $ac_try) 2>&5
1.62      paf      18174:   ac_status=$?
                   18175:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18176:   (exit $ac_status); }; }; then
1.128     moko     18177:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
                   18178:   ac_cv_c_bigendian=yes
                   18179: fi
                   18180: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   18181:   if test "$ac_cv_c_bigendian" = unknown; then
                   18182:     ac_cv_c_bigendian=no
                   18183:   else
                   18184:     # finding both strings is unlikely to happen, but who knows?
                   18185:     ac_cv_c_bigendian=unknown
                   18186:   fi
                   18187: fi
1.62      paf      18188: else
                   18189:   echo "$as_me: failed program was:" >&5
                   18190: sed 's/^/| /' conftest.$ac_ext >&5
                   18191: 
1.128     moko     18192: fi
                   18193: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18194: else
                   18195:   cat >conftest.$ac_ext <<_ACEOF
                   18196: /* confdefs.h.  */
                   18197: _ACEOF
                   18198: cat confdefs.h >>conftest.$ac_ext
                   18199: cat >>conftest.$ac_ext <<_ACEOF
                   18200: /* end confdefs.h.  */
                   18201: int
                   18202: main ()
                   18203: {
                   18204:   /* Are we little or big endian?  From Harbison&Steele.  */
                   18205:   union
                   18206:   {
                   18207:     long l;
                   18208:     char c[sizeof (long)];
                   18209:   } u;
                   18210:   u.l = 1;
                   18211:   exit (u.c[sizeof (long) - 1] == 1);
                   18212: }
                   18213: _ACEOF
                   18214: rm -f conftest$ac_exeext
                   18215: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   18216:   (eval $ac_link) 2>&5
                   18217:   ac_status=$?
                   18218:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18219:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   18220:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18221:   (eval $ac_try) 2>&5
                   18222:   ac_status=$?
                   18223:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18224:   (exit $ac_status); }; }; then
                   18225:   ac_cv_c_bigendian=no
                   18226: else
                   18227:   echo "$as_me: program exited with status $ac_status" >&5
                   18228: echo "$as_me: failed program was:" >&5
                   18229: sed 's/^/| /' conftest.$ac_ext >&5
                   18230: 
                   18231: ( exit $ac_status )
                   18232: ac_cv_c_bigendian=yes
                   18233: fi
                   18234: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   18235: fi
1.66      paf      18236: fi
1.86      paf      18237: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18238: fi
1.128     moko     18239: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
                   18240: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
                   18241: case $ac_cv_c_bigendian in
                   18242:   yes)
                   18243: 
                   18244: cat >>confdefs.h <<\_ACEOF
                   18245: #define PA_BIG_ENDIAN
1.66      paf      18246: _ACEOF
                   18247: 
1.128     moko     18248:  ;;
                   18249:   no)
                   18250: 
                   18251: cat >>confdefs.h <<\_ACEOF
                   18252: #define PA_LITTLE_ENDIAN
                   18253: _ACEOF
1.1       paf      18254: 
1.128     moko     18255:  ;;
                   18256:   *)
                   18257:     { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5
                   18258: echo "$as_me: error: word endianness not determined for some obscure reason" >&2;}
                   18259:    { (exit 1); exit 1; }; }
                   18260:  ;;
                   18261: esac
1.66      paf      18262: 
                   18263: 
                   18264: echo "$as_me:$LINENO: checking for size_t" >&5
                   18265: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   18266: if test "${ac_cv_type_size_t+set}" = set; then
                   18267:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18268: else
1.62      paf      18269:   cat >conftest.$ac_ext <<_ACEOF
                   18270: /* confdefs.h.  */
                   18271: _ACEOF
                   18272: cat confdefs.h >>conftest.$ac_ext
                   18273: cat >>conftest.$ac_ext <<_ACEOF
                   18274: /* end confdefs.h.  */
1.66      paf      18275: $ac_includes_default
                   18276: int
                   18277: main ()
                   18278: {
                   18279: if ((size_t *) 0)
                   18280:   return 0;
                   18281: if (sizeof (size_t))
                   18282:   return 0;
                   18283:   ;
                   18284:   return 0;
                   18285: }
1.62      paf      18286: _ACEOF
1.66      paf      18287: rm -f conftest.$ac_objext
                   18288: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18289:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18290:   ac_status=$?
1.86      paf      18291:   grep -v '^ *+' conftest.er1 >conftest.err
                   18292:   rm -f conftest.er1
                   18293:   cat conftest.err >&5
1.66      paf      18294:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18295:   (exit $ac_status); } &&
1.86      paf      18296:         { ac_try='test -z "$ac_c_werror_flag"
                   18297:                         || test ! -s conftest.err'
                   18298:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18299:   (eval $ac_try) 2>&5
                   18300:   ac_status=$?
                   18301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18302:   (exit $ac_status); }; } &&
                   18303:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18304:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18305:   (eval $ac_try) 2>&5
1.62      paf      18306:   ac_status=$?
                   18307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18308:   (exit $ac_status); }; }; then
                   18309:   ac_cv_type_size_t=yes
1.1       paf      18310: else
1.62      paf      18311:   echo "$as_me: failed program was:" >&5
                   18312: sed 's/^/| /' conftest.$ac_ext >&5
                   18313: 
1.66      paf      18314: ac_cv_type_size_t=no
1.1       paf      18315: fi
1.86      paf      18316: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18317: fi
1.66      paf      18318: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   18319: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   18320: if test $ac_cv_type_size_t = yes; then
                   18321:   :
                   18322: else
1.1       paf      18323: 
1.66      paf      18324: cat >>confdefs.h <<_ACEOF
                   18325: #define size_t unsigned
                   18326: _ACEOF
1.62      paf      18327: 
                   18328: fi
1.66      paf      18329: 
1.128     moko     18330: 
                   18331: 
1.66      paf      18332: echo "$as_me:$LINENO: checking for off_t" >&5
                   18333: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   18334: if test "${ac_cv_type_off_t+set}" = set; then
                   18335:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.62      paf      18336: else
                   18337:   cat >conftest.$ac_ext <<_ACEOF
                   18338: /* confdefs.h.  */
                   18339: _ACEOF
                   18340: cat confdefs.h >>conftest.$ac_ext
                   18341: cat >>conftest.$ac_ext <<_ACEOF
                   18342: /* end confdefs.h.  */
1.66      paf      18343: $ac_includes_default
                   18344: int
                   18345: main ()
                   18346: {
                   18347: if ((off_t *) 0)
                   18348:   return 0;
                   18349: if (sizeof (off_t))
                   18350:   return 0;
                   18351:   ;
                   18352:   return 0;
                   18353: }
1.62      paf      18354: _ACEOF
1.66      paf      18355: rm -f conftest.$ac_objext
                   18356: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18357:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18358:   ac_status=$?
1.86      paf      18359:   grep -v '^ *+' conftest.er1 >conftest.err
                   18360:   rm -f conftest.er1
                   18361:   cat conftest.err >&5
1.66      paf      18362:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18363:   (exit $ac_status); } &&
1.86      paf      18364:         { ac_try='test -z "$ac_c_werror_flag"
                   18365:                         || test ! -s conftest.err'
                   18366:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18367:   (eval $ac_try) 2>&5
                   18368:   ac_status=$?
                   18369:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18370:   (exit $ac_status); }; } &&
                   18371:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18372:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18373:   (eval $ac_try) 2>&5
1.62      paf      18374:   ac_status=$?
                   18375:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18376:   (exit $ac_status); }; }; then
                   18377:   ac_cv_type_off_t=yes
1.62      paf      18378: else
1.66      paf      18379:   echo "$as_me: failed program was:" >&5
                   18380: sed 's/^/| /' conftest.$ac_ext >&5
                   18381: 
                   18382: ac_cv_type_off_t=no
                   18383: fi
1.86      paf      18384: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18385: fi
1.66      paf      18386: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   18387: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   18388: if test $ac_cv_type_off_t = yes; then
1.62      paf      18389:   :
                   18390: else
1.1       paf      18391: 
1.66      paf      18392: cat >>confdefs.h <<_ACEOF
                   18393: #define off_t long
                   18394: _ACEOF
                   18395: 
1.62      paf      18396: fi
1.1       paf      18397: 
1.66      paf      18398: echo "$as_me:$LINENO: checking for ssize_t" >&5
                   18399: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
                   18400: if test "${ac_cv_type_ssize_t+set}" = set; then
                   18401:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18402: else
1.62      paf      18403:   cat >conftest.$ac_ext <<_ACEOF
                   18404: /* confdefs.h.  */
                   18405: _ACEOF
                   18406: cat confdefs.h >>conftest.$ac_ext
                   18407: cat >>conftest.$ac_ext <<_ACEOF
                   18408: /* end confdefs.h.  */
1.66      paf      18409: $ac_includes_default
                   18410: int
                   18411: main ()
                   18412: {
                   18413: if ((ssize_t *) 0)
                   18414:   return 0;
                   18415: if (sizeof (ssize_t))
                   18416:   return 0;
                   18417:   ;
                   18418:   return 0;
                   18419: }
1.62      paf      18420: _ACEOF
1.66      paf      18421: rm -f conftest.$ac_objext
                   18422: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18423:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18424:   ac_status=$?
1.86      paf      18425:   grep -v '^ *+' conftest.er1 >conftest.err
                   18426:   rm -f conftest.er1
                   18427:   cat conftest.err >&5
1.66      paf      18428:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18429:   (exit $ac_status); } &&
1.86      paf      18430:         { ac_try='test -z "$ac_c_werror_flag"
                   18431:                         || test ! -s conftest.err'
                   18432:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18433:   (eval $ac_try) 2>&5
                   18434:   ac_status=$?
                   18435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18436:   (exit $ac_status); }; } &&
                   18437:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18438:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18439:   (eval $ac_try) 2>&5
1.62      paf      18440:   ac_status=$?
                   18441:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18442:   (exit $ac_status); }; }; then
                   18443:   ac_cv_type_ssize_t=yes
1.1       paf      18444: else
1.62      paf      18445:   echo "$as_me: failed program was:" >&5
                   18446: sed 's/^/| /' conftest.$ac_ext >&5
                   18447: 
1.66      paf      18448: ac_cv_type_ssize_t=no
                   18449: fi
1.86      paf      18450: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18451: fi
1.66      paf      18452: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
                   18453: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
                   18454: if test $ac_cv_type_ssize_t = yes; then
1.1       paf      18455:   :
                   18456: else
1.66      paf      18457: 
                   18458: cat >>confdefs.h <<_ACEOF
                   18459: #define ssize_t int
                   18460: _ACEOF
                   18461: 
1.1       paf      18462: fi
1.62      paf      18463: 
                   18464: 
                   18465: 
1.66      paf      18466: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   18467: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   18468: if test "${ac_cv_header_time+set}" = set; then
1.62      paf      18469:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18470: else
                   18471:   cat >conftest.$ac_ext <<_ACEOF
                   18472: /* confdefs.h.  */
                   18473: _ACEOF
                   18474: cat confdefs.h >>conftest.$ac_ext
                   18475: cat >>conftest.$ac_ext <<_ACEOF
                   18476: /* end confdefs.h.  */
1.66      paf      18477: #include <sys/types.h>
                   18478: #include <sys/time.h>
                   18479: #include <time.h>
1.62      paf      18480: 
                   18481: int
                   18482: main ()
                   18483: {
1.66      paf      18484: if ((struct tm *) 0)
                   18485: return 0;
1.62      paf      18486:   ;
                   18487:   return 0;
                   18488: }
                   18489: _ACEOF
                   18490: rm -f conftest.$ac_objext
                   18491: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18492:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18493:   ac_status=$?
1.86      paf      18494:   grep -v '^ *+' conftest.er1 >conftest.err
                   18495:   rm -f conftest.er1
                   18496:   cat conftest.err >&5
1.62      paf      18497:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18498:   (exit $ac_status); } &&
1.86      paf      18499:         { ac_try='test -z "$ac_c_werror_flag"
                   18500:                         || test ! -s conftest.err'
                   18501:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18502:   (eval $ac_try) 2>&5
                   18503:   ac_status=$?
                   18504:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18505:   (exit $ac_status); }; } &&
                   18506:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18507:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18508:   (eval $ac_try) 2>&5
                   18509:   ac_status=$?
                   18510:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18511:   (exit $ac_status); }; }; then
1.66      paf      18512:   ac_cv_header_time=yes
1.1       paf      18513: else
1.62      paf      18514:   echo "$as_me: failed program was:" >&5
                   18515: sed 's/^/| /' conftest.$ac_ext >&5
                   18516: 
1.66      paf      18517: ac_cv_header_time=no
1.1       paf      18518: fi
1.86      paf      18519: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18520: fi
                   18521: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   18522: echo "${ECHO_T}$ac_cv_header_time" >&6
                   18523: if test $ac_cv_header_time = yes; then
1.1       paf      18524: 
1.66      paf      18525: cat >>confdefs.h <<\_ACEOF
                   18526: #define TIME_WITH_SYS_TIME 1
1.62      paf      18527: _ACEOF
                   18528: 
1.1       paf      18529: fi
                   18530: 
                   18531: 
1.62      paf      18532: 
1.1       paf      18533: 
1.66      paf      18534: 
                   18535: 
                   18536: 
                   18537: 
                   18538: 
                   18539: 
                   18540: 
                   18541: 
                   18542: 
                   18543: 
                   18544: 
                   18545: 
                   18546: 
                   18547: 
                   18548: 
                   18549: 
                   18550: 
                   18551: 
                   18552: 
                   18553: 
                   18554: 
                   18555: 
                   18556: 
                   18557: 
                   18558: 
                   18559: 
                   18560: 
                   18561: 
1.128     moko     18562: 
1.67      paf      18563: for ac_header in assert.h \
                   18564: signal.h \
1.66      paf      18565: unistd.h \
                   18566: process.h \
                   18567: stddef.h \
                   18568: stdarg.h \
                   18569: fcntl.h \
                   18570: sys/stat.h \
                   18571: io.h \
                   18572: stdio.h \
                   18573: errno.h \
                   18574: ctype.h \
                   18575: math.h \
                   18576: crypt.h \
                   18577: time.h sys/time.h \
                   18578: string.h \
                   18579: direct.h \
                   18580: setjmp.h \
                   18581: memory.h \
1.128     moko     18582: limits.h \
1.66      paf      18583: sys/file.h \
                   18584: sys/locking.h \
                   18585: sys/types.h \
                   18586: sys/select.h \
                   18587: sys/resource.h \
                   18588: winsock.h \
                   18589: sys/socket.h \
                   18590: netinet/in.h \
                   18591: arpa/inet.h \
                   18592: netdb.h
                   18593: 
                   18594: do
                   18595: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18596: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18597:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18598: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18599: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18600:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      18601: fi
1.66      paf      18602: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18603: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18604: else
1.66      paf      18605:   # Is the header compilable?
                   18606: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   18607: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   18608: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18609: /* confdefs.h.  */
                   18610: _ACEOF
                   18611: cat confdefs.h >>conftest.$ac_ext
                   18612: cat >>conftest.$ac_ext <<_ACEOF
                   18613: /* end confdefs.h.  */
1.66      paf      18614: $ac_includes_default
                   18615: #include <$ac_header>
1.62      paf      18616: _ACEOF
1.66      paf      18617: rm -f conftest.$ac_objext
                   18618: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18619:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18620:   ac_status=$?
1.86      paf      18621:   grep -v '^ *+' conftest.er1 >conftest.err
                   18622:   rm -f conftest.er1
                   18623:   cat conftest.err >&5
1.62      paf      18624:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18625:   (exit $ac_status); } &&
1.86      paf      18626:         { ac_try='test -z "$ac_c_werror_flag"
                   18627:                         || test ! -s conftest.err'
                   18628:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18629:   (eval $ac_try) 2>&5
                   18630:   ac_status=$?
                   18631:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18632:   (exit $ac_status); }; } &&
                   18633:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18634:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18635:   (eval $ac_try) 2>&5
                   18636:   ac_status=$?
                   18637:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18638:   (exit $ac_status); }; }; then
1.66      paf      18639:   ac_header_compiler=yes
1.1       paf      18640: else
1.66      paf      18641:   echo "$as_me: failed program was:" >&5
1.62      paf      18642: sed 's/^/| /' conftest.$ac_ext >&5
                   18643: 
1.66      paf      18644: ac_header_compiler=no
1.1       paf      18645: fi
1.86      paf      18646: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18647: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   18648: echo "${ECHO_T}$ac_header_compiler" >&6
                   18649: 
                   18650: # Is the header present?
                   18651: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   18652: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   18653: cat >conftest.$ac_ext <<_ACEOF
                   18654: /* confdefs.h.  */
                   18655: _ACEOF
                   18656: cat confdefs.h >>conftest.$ac_ext
                   18657: cat >>conftest.$ac_ext <<_ACEOF
                   18658: /* end confdefs.h.  */
                   18659: #include <$ac_header>
                   18660: _ACEOF
                   18661: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   18662:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   18663:   ac_status=$?
                   18664:   grep -v '^ *+' conftest.er1 >conftest.err
                   18665:   rm -f conftest.er1
                   18666:   cat conftest.err >&5
                   18667:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18668:   (exit $ac_status); } >/dev/null; then
                   18669:   if test -s conftest.err; then
                   18670:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      18671:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      18672:   else
                   18673:     ac_cpp_err=
                   18674:   fi
                   18675: else
                   18676:   ac_cpp_err=yes
1.1       paf      18677: fi
1.66      paf      18678: if test -z "$ac_cpp_err"; then
                   18679:   ac_header_preproc=yes
                   18680: else
                   18681:   echo "$as_me: failed program was:" >&5
                   18682: sed 's/^/| /' conftest.$ac_ext >&5
                   18683: 
                   18684:   ac_header_preproc=no
1.1       paf      18685: fi
1.66      paf      18686: rm -f conftest.err conftest.$ac_ext
                   18687: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   18688: echo "${ECHO_T}$ac_header_preproc" >&6
                   18689: 
                   18690: # So?  What about this header?
1.86      paf      18691: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   18692:   yes:no: )
1.66      paf      18693:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   18694: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.86      paf      18695:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   18696: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   18697:     ac_header_preproc=yes
1.66      paf      18698:     ;;
1.86      paf      18699:   no:yes:* )
1.66      paf      18700:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   18701: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.86      paf      18702:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   18703: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   18704:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   18705: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   18706:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   18707: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.66      paf      18708:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   18709: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.86      paf      18710:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   18711: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.66      paf      18712:     (
                   18713:       cat <<\_ASBOX
1.128     moko     18714: ## --------------------------------- ##
                   18715: ## Report this to the parser lists.  ##
                   18716: ## --------------------------------- ##
1.66      paf      18717: _ASBOX
                   18718:     ) |
                   18719:       sed "s/^/$as_me: WARNING:     /" >&2
                   18720:     ;;
                   18721: esac
                   18722: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18723: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18724: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18725:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18726: else
1.86      paf      18727:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       paf      18728: fi
1.66      paf      18729: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18730: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18731: 
1.66      paf      18732: fi
                   18733: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   18734:   cat >>confdefs.h <<_ACEOF
                   18735: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18736: _ACEOF
                   18737: 
                   18738: fi
                   18739: 
1.66      paf      18740: done
1.62      paf      18741: 
                   18742: 
                   18743: 
1.128     moko     18744: 
                   18745: 
1.66      paf      18746: case "$host" in
1.107     misha    18747:   *-freebsd4*)
                   18748: 
                   18749: cat >>confdefs.h <<\_ACEOF
                   18750: #define FREEBSD4
                   18751: _ACEOF
                   18752: 
                   18753:   ;;
1.66      paf      18754:   *-sunos5.6* | *-solaris2.6*)
1.62      paf      18755: 
1.66      paf      18756: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
                   18757: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
                   18758: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62      paf      18759:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18760: else
1.66      paf      18761:   ac_check_lib_save_LIBS=$LIBS
                   18762: LIBS="-lxnet  $LIBS"
                   18763: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18764: /* confdefs.h.  */
                   18765: _ACEOF
                   18766: cat confdefs.h >>conftest.$ac_ext
                   18767: cat >>conftest.$ac_ext <<_ACEOF
                   18768: /* end confdefs.h.  */
                   18769: 
1.66      paf      18770: 
                   18771: int
                   18772: main ()
                   18773: {
                   18774: main ();
                   18775:   ;
                   18776:   return 0;
                   18777: }
1.62      paf      18778: _ACEOF
1.66      paf      18779: rm -f conftest.$ac_objext conftest$ac_exeext
                   18780: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18781:   (eval $ac_link) 2>conftest.er1
1.62      paf      18782:   ac_status=$?
1.86      paf      18783:   grep -v '^ *+' conftest.er1 >conftest.err
                   18784:   rm -f conftest.er1
                   18785:   cat conftest.err >&5
1.62      paf      18786:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18787:   (exit $ac_status); } &&
1.86      paf      18788:         { ac_try='test -z "$ac_c_werror_flag"
                   18789:                         || test ! -s conftest.err'
                   18790:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18791:   (eval $ac_try) 2>&5
                   18792:   ac_status=$?
                   18793:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18794:   (exit $ac_status); }; } &&
                   18795:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18796:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18797:   (eval $ac_try) 2>&5
                   18798:   ac_status=$?
                   18799:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18800:   (exit $ac_status); }; }; then
1.66      paf      18801:   ac_cv_lib_xnet_main=yes
1.62      paf      18802: else
                   18803:   echo "$as_me: failed program was:" >&5
                   18804: sed 's/^/| /' conftest.$ac_ext >&5
                   18805: 
1.66      paf      18806: ac_cv_lib_xnet_main=no
1.62      paf      18807: fi
1.86      paf      18808: rm -f conftest.err conftest.$ac_objext \
                   18809:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18810: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18811: fi
1.66      paf      18812: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
                   18813: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
                   18814: if test $ac_cv_lib_xnet_main = yes; then
1.62      paf      18815:   cat >>confdefs.h <<_ACEOF
1.66      paf      18816: #define HAVE_LIBXNET 1
1.62      paf      18817: _ACEOF
1.1       paf      18818: 
1.66      paf      18819:   LIBS="-lxnet $LIBS"
                   18820: 
1.1       paf      18821: fi
                   18822: 
1.66      paf      18823:   ;;
                   18824:   *-sunos5* | *-solaris2*)
1.62      paf      18825: 
1.66      paf      18826: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
                   18827: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
                   18828: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62      paf      18829:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18830: else
1.66      paf      18831:   ac_check_lib_save_LIBS=$LIBS
                   18832: LIBS="-lsocket  $LIBS"
                   18833: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18834: /* confdefs.h.  */
                   18835: _ACEOF
                   18836: cat confdefs.h >>conftest.$ac_ext
                   18837: cat >>conftest.$ac_ext <<_ACEOF
                   18838: /* end confdefs.h.  */
1.66      paf      18839: 
                   18840: 
1.62      paf      18841: int
                   18842: main ()
                   18843: {
1.66      paf      18844: main ();
1.62      paf      18845:   ;
                   18846:   return 0;
                   18847: }
                   18848: _ACEOF
1.66      paf      18849: rm -f conftest.$ac_objext conftest$ac_exeext
                   18850: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18851:   (eval $ac_link) 2>conftest.er1
1.62      paf      18852:   ac_status=$?
1.86      paf      18853:   grep -v '^ *+' conftest.er1 >conftest.err
                   18854:   rm -f conftest.er1
                   18855:   cat conftest.err >&5
1.62      paf      18856:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18857:   (exit $ac_status); } &&
1.86      paf      18858:         { ac_try='test -z "$ac_c_werror_flag"
                   18859:                         || test ! -s conftest.err'
                   18860:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18861:   (eval $ac_try) 2>&5
                   18862:   ac_status=$?
                   18863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18864:   (exit $ac_status); }; } &&
                   18865:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18866:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18867:   (eval $ac_try) 2>&5
                   18868:   ac_status=$?
                   18869:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18870:   (exit $ac_status); }; }; then
1.66      paf      18871:   ac_cv_lib_socket_main=yes
1.1       paf      18872: else
1.62      paf      18873:   echo "$as_me: failed program was:" >&5
                   18874: sed 's/^/| /' conftest.$ac_ext >&5
                   18875: 
1.66      paf      18876: ac_cv_lib_socket_main=no
1.1       paf      18877: fi
1.86      paf      18878: rm -f conftest.err conftest.$ac_objext \
                   18879:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18880: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18881: fi
1.66      paf      18882: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
                   18883: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
                   18884: if test $ac_cv_lib_socket_main = yes; then
                   18885:   cat >>confdefs.h <<_ACEOF
                   18886: #define HAVE_LIBSOCKET 1
                   18887: _ACEOF
1.1       paf      18888: 
1.66      paf      18889:   LIBS="-lsocket $LIBS"
1.1       paf      18890: 
                   18891: fi
                   18892: 
1.66      paf      18893: 
                   18894: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   18895: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   18896: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62      paf      18897:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18898: else
1.66      paf      18899:   ac_check_lib_save_LIBS=$LIBS
                   18900: LIBS="-lnsl  $LIBS"
                   18901: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18902: /* confdefs.h.  */
                   18903: _ACEOF
                   18904: cat confdefs.h >>conftest.$ac_ext
                   18905: cat >>conftest.$ac_ext <<_ACEOF
                   18906: /* end confdefs.h.  */
1.66      paf      18907: 
                   18908: 
1.62      paf      18909: int
                   18910: main ()
                   18911: {
1.66      paf      18912: main ();
1.62      paf      18913:   ;
                   18914:   return 0;
                   18915: }
                   18916: _ACEOF
1.66      paf      18917: rm -f conftest.$ac_objext conftest$ac_exeext
                   18918: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18919:   (eval $ac_link) 2>conftest.er1
1.62      paf      18920:   ac_status=$?
1.86      paf      18921:   grep -v '^ *+' conftest.er1 >conftest.err
                   18922:   rm -f conftest.er1
                   18923:   cat conftest.err >&5
1.62      paf      18924:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18925:   (exit $ac_status); } &&
1.86      paf      18926:         { ac_try='test -z "$ac_c_werror_flag"
                   18927:                         || test ! -s conftest.err'
                   18928:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18929:   (eval $ac_try) 2>&5
                   18930:   ac_status=$?
                   18931:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18932:   (exit $ac_status); }; } &&
                   18933:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18934:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18935:   (eval $ac_try) 2>&5
                   18936:   ac_status=$?
                   18937:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18938:   (exit $ac_status); }; }; then
1.66      paf      18939:   ac_cv_lib_nsl_main=yes
1.30      paf      18940: else
1.62      paf      18941:   echo "$as_me: failed program was:" >&5
                   18942: sed 's/^/| /' conftest.$ac_ext >&5
                   18943: 
1.66      paf      18944: ac_cv_lib_nsl_main=no
1.30      paf      18945: fi
1.86      paf      18946: rm -f conftest.err conftest.$ac_objext \
                   18947:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18948: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18949: fi
1.66      paf      18950: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   18951: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   18952: if test $ac_cv_lib_nsl_main = yes; then
                   18953:   cat >>confdefs.h <<_ACEOF
                   18954: #define HAVE_LIBNSL 1
                   18955: _ACEOF
1.30      paf      18956: 
1.66      paf      18957:   LIBS="-lnsl $LIBS"
1.30      paf      18958: 
                   18959: fi
                   18960: 
1.66      paf      18961:   ;;
                   18962:   *-nec-sysv4*)
                   18963: 
                   18964: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   18965: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   18966: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62      paf      18967:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18968: else
1.66      paf      18969:   ac_check_lib_save_LIBS=$LIBS
                   18970: LIBS="-lnsl  $LIBS"
                   18971: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18972: /* confdefs.h.  */
                   18973: _ACEOF
                   18974: cat confdefs.h >>conftest.$ac_ext
                   18975: cat >>conftest.$ac_ext <<_ACEOF
                   18976: /* end confdefs.h.  */
1.66      paf      18977: 
                   18978: /* Override any gcc2 internal prototype to avoid an error.  */
                   18979: #ifdef __cplusplus
                   18980: extern "C"
                   18981: #endif
                   18982: /* We use char because int might match the return type of a gcc2
                   18983:    builtin and then its argument prototype would still apply.  */
                   18984: char gethostbyname ();
1.62      paf      18985: int
                   18986: main ()
                   18987: {
1.66      paf      18988: gethostbyname ();
1.62      paf      18989:   ;
                   18990:   return 0;
                   18991: }
                   18992: _ACEOF
1.66      paf      18993: rm -f conftest.$ac_objext conftest$ac_exeext
                   18994: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18995:   (eval $ac_link) 2>conftest.er1
1.62      paf      18996:   ac_status=$?
1.86      paf      18997:   grep -v '^ *+' conftest.er1 >conftest.err
                   18998:   rm -f conftest.er1
                   18999:   cat conftest.err >&5
1.62      paf      19000:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19001:   (exit $ac_status); } &&
1.86      paf      19002:         { ac_try='test -z "$ac_c_werror_flag"
                   19003:                         || test ! -s conftest.err'
                   19004:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19005:   (eval $ac_try) 2>&5
                   19006:   ac_status=$?
                   19007:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19008:   (exit $ac_status); }; } &&
                   19009:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19010:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19011:   (eval $ac_try) 2>&5
                   19012:   ac_status=$?
                   19013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19014:   (exit $ac_status); }; }; then
1.66      paf      19015:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      19016: else
1.62      paf      19017:   echo "$as_me: failed program was:" >&5
                   19018: sed 's/^/| /' conftest.$ac_ext >&5
                   19019: 
1.66      paf      19020: ac_cv_lib_nsl_gethostbyname=no
1.30      paf      19021: fi
1.86      paf      19022: rm -f conftest.err conftest.$ac_objext \
                   19023:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19024: LIBS=$ac_check_lib_save_LIBS
1.62      paf      19025: fi
1.66      paf      19026: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   19027: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   19028: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   19029:   cat >>confdefs.h <<_ACEOF
                   19030: #define HAVE_LIBNSL 1
                   19031: _ACEOF
1.30      paf      19032: 
1.66      paf      19033:   LIBS="-lnsl $LIBS"
1.30      paf      19034: 
                   19035: fi
                   19036: 
                   19037: 
1.66      paf      19038: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   19039: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   19040: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62      paf      19041:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      19042: else
1.66      paf      19043:   ac_check_lib_save_LIBS=$LIBS
                   19044: LIBS="-lsocket  $LIBS"
                   19045: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19046: /* confdefs.h.  */
                   19047: _ACEOF
                   19048: cat confdefs.h >>conftest.$ac_ext
                   19049: cat >>conftest.$ac_ext <<_ACEOF
                   19050: /* end confdefs.h.  */
                   19051: 
1.66      paf      19052: /* Override any gcc2 internal prototype to avoid an error.  */
                   19053: #ifdef __cplusplus
                   19054: extern "C"
                   19055: #endif
                   19056: /* We use char because int might match the return type of a gcc2
                   19057:    builtin and then its argument prototype would still apply.  */
                   19058: char socket ();
1.62      paf      19059: int
                   19060: main ()
                   19061: {
1.66      paf      19062: socket ();
1.62      paf      19063:   ;
                   19064:   return 0;
                   19065: }
                   19066: _ACEOF
1.66      paf      19067: rm -f conftest.$ac_objext conftest$ac_exeext
                   19068: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19069:   (eval $ac_link) 2>conftest.er1
1.62      paf      19070:   ac_status=$?
1.86      paf      19071:   grep -v '^ *+' conftest.er1 >conftest.err
                   19072:   rm -f conftest.er1
                   19073:   cat conftest.err >&5
1.62      paf      19074:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19075:   (exit $ac_status); } &&
1.86      paf      19076:         { ac_try='test -z "$ac_c_werror_flag"
                   19077:                         || test ! -s conftest.err'
                   19078:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19079:   (eval $ac_try) 2>&5
                   19080:   ac_status=$?
                   19081:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19082:   (exit $ac_status); }; } &&
                   19083:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19084:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19085:   (eval $ac_try) 2>&5
                   19086:   ac_status=$?
                   19087:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19088:   (exit $ac_status); }; }; then
1.66      paf      19089:   ac_cv_lib_socket_socket=yes
1.8       paf      19090: else
1.62      paf      19091:   echo "$as_me: failed program was:" >&5
                   19092: sed 's/^/| /' conftest.$ac_ext >&5
                   19093: 
1.66      paf      19094: ac_cv_lib_socket_socket=no
1.8       paf      19095: fi
1.86      paf      19096: rm -f conftest.err conftest.$ac_objext \
                   19097:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19098: LIBS=$ac_check_lib_save_LIBS
1.8       paf      19099: fi
1.66      paf      19100: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   19101: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   19102: if test $ac_cv_lib_socket_socket = yes; then
                   19103:   cat >>confdefs.h <<_ACEOF
1.128     moko     19104: #define HAVE_LIBSOCKET 1
1.66      paf      19105: _ACEOF
                   19106: 
1.128     moko     19107:   LIBS="-lsocket $LIBS"
1.66      paf      19108: 
1.62      paf      19109: fi
                   19110: 
1.66      paf      19111:   ;;
1.128     moko     19112:   *-cygwin*)
                   19113: 
                   19114: cat >>confdefs.h <<\_ACEOF
                   19115: #define WIN32
                   19116: _ACEOF
1.66      paf      19117: 
1.128     moko     19118: 
                   19119: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
                   19120: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
                   19121: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.66      paf      19122:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19123: else
                   19124:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     19125: LIBS="-lwsock32  $LIBS"
1.62      paf      19126: cat >conftest.$ac_ext <<_ACEOF
                   19127: /* confdefs.h.  */
                   19128: _ACEOF
                   19129: cat confdefs.h >>conftest.$ac_ext
                   19130: cat >>conftest.$ac_ext <<_ACEOF
                   19131: /* end confdefs.h.  */
1.66      paf      19132: 
1.128     moko     19133: /* Override any gcc2 internal prototype to avoid an error.  */
                   19134: #ifdef __cplusplus
                   19135: extern "C"
                   19136: #endif
                   19137: /* We use char because int might match the return type of a gcc2
                   19138:    builtin and then its argument prototype would still apply.  */
                   19139: char socket ();
1.66      paf      19140: int
                   19141: main ()
                   19142: {
1.128     moko     19143: socket ();
1.66      paf      19144:   ;
                   19145:   return 0;
                   19146: }
1.62      paf      19147: _ACEOF
1.66      paf      19148: rm -f conftest.$ac_objext conftest$ac_exeext
                   19149: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19150:   (eval $ac_link) 2>conftest.er1
1.66      paf      19151:   ac_status=$?
1.86      paf      19152:   grep -v '^ *+' conftest.er1 >conftest.err
                   19153:   rm -f conftest.er1
                   19154:   cat conftest.err >&5
1.66      paf      19155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19156:   (exit $ac_status); } &&
1.86      paf      19157:         { ac_try='test -z "$ac_c_werror_flag"
                   19158:                         || test ! -s conftest.err'
                   19159:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19160:   (eval $ac_try) 2>&5
                   19161:   ac_status=$?
                   19162:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19163:   (exit $ac_status); }; } &&
                   19164:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      19165:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19166:   (eval $ac_try) 2>&5
1.62      paf      19167:   ac_status=$?
                   19168:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      19169:   (exit $ac_status); }; }; then
1.128     moko     19170:   ac_cv_lib_wsock32_socket=yes
1.62      paf      19171: else
                   19172:   echo "$as_me: failed program was:" >&5
                   19173: sed 's/^/| /' conftest.$ac_ext >&5
                   19174: 
1.128     moko     19175: ac_cv_lib_wsock32_socket=no
1.62      paf      19176: fi
1.86      paf      19177: rm -f conftest.err conftest.$ac_objext \
                   19178:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19179: LIBS=$ac_check_lib_save_LIBS
1.1       paf      19180: fi
1.128     moko     19181: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
                   19182: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
                   19183: if test $ac_cv_lib_wsock32_socket = yes; then
1.62      paf      19184:   cat >>confdefs.h <<_ACEOF
1.128     moko     19185: #define HAVE_LIBWSOCK32 1
1.62      paf      19186: _ACEOF
                   19187: 
1.128     moko     19188:   LIBS="-lwsock32 $LIBS"
1.66      paf      19189: 
1.1       paf      19190: fi
1.62      paf      19191: 
1.66      paf      19192:   ;;
                   19193: esac
1.1       paf      19194: 
                   19195: 
1.66      paf      19196: echo "$as_me:$LINENO: checking for sin in -lm" >&5
                   19197: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
                   19198: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62      paf      19199:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19200: else
1.62      paf      19201:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19202: LIBS="-lm  $LIBS"
1.62      paf      19203: cat >conftest.$ac_ext <<_ACEOF
                   19204: /* confdefs.h.  */
                   19205: _ACEOF
                   19206: cat confdefs.h >>conftest.$ac_ext
                   19207: cat >>conftest.$ac_ext <<_ACEOF
                   19208: /* end confdefs.h.  */
                   19209: 
1.66      paf      19210: /* Override any gcc2 internal prototype to avoid an error.  */
                   19211: #ifdef __cplusplus
                   19212: extern "C"
                   19213: #endif
                   19214: /* We use char because int might match the return type of a gcc2
                   19215:    builtin and then its argument prototype would still apply.  */
                   19216: char sin ();
1.62      paf      19217: int
                   19218: main ()
                   19219: {
1.66      paf      19220: sin ();
1.62      paf      19221:   ;
                   19222:   return 0;
                   19223: }
                   19224: _ACEOF
                   19225: rm -f conftest.$ac_objext conftest$ac_exeext
                   19226: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19227:   (eval $ac_link) 2>conftest.er1
1.62      paf      19228:   ac_status=$?
1.86      paf      19229:   grep -v '^ *+' conftest.er1 >conftest.err
                   19230:   rm -f conftest.er1
                   19231:   cat conftest.err >&5
1.62      paf      19232:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19233:   (exit $ac_status); } &&
1.86      paf      19234:         { ac_try='test -z "$ac_c_werror_flag"
                   19235:                         || test ! -s conftest.err'
                   19236:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19237:   (eval $ac_try) 2>&5
                   19238:   ac_status=$?
                   19239:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19240:   (exit $ac_status); }; } &&
                   19241:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19242:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19243:   (eval $ac_try) 2>&5
                   19244:   ac_status=$?
                   19245:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19246:   (exit $ac_status); }; }; then
1.66      paf      19247:   ac_cv_lib_m_sin=yes
1.62      paf      19248: else
                   19249:   echo "$as_me: failed program was:" >&5
                   19250: sed 's/^/| /' conftest.$ac_ext >&5
                   19251: 
1.66      paf      19252: ac_cv_lib_m_sin=no
1.62      paf      19253: fi
1.86      paf      19254: rm -f conftest.err conftest.$ac_objext \
                   19255:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19256: LIBS=$ac_check_lib_save_LIBS
                   19257: fi
1.66      paf      19258: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
                   19259: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
                   19260: if test $ac_cv_lib_m_sin = yes; then
1.62      paf      19261:   cat >>confdefs.h <<_ACEOF
1.66      paf      19262: #define HAVE_LIBM 1
1.62      paf      19263: _ACEOF
1.1       paf      19264: 
1.66      paf      19265:   LIBS="-lm $LIBS"
1.1       paf      19266: 
                   19267: fi
                   19268: 
1.62      paf      19269: 
1.66      paf      19270: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
                   19271: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
                   19272: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62      paf      19273:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19274: else
1.62      paf      19275:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19276: LIBS="-lcrypt  $LIBS"
1.62      paf      19277: cat >conftest.$ac_ext <<_ACEOF
                   19278: /* confdefs.h.  */
                   19279: _ACEOF
                   19280: cat confdefs.h >>conftest.$ac_ext
                   19281: cat >>conftest.$ac_ext <<_ACEOF
                   19282: /* end confdefs.h.  */
                   19283: 
1.66      paf      19284: /* Override any gcc2 internal prototype to avoid an error.  */
                   19285: #ifdef __cplusplus
                   19286: extern "C"
                   19287: #endif
                   19288: /* We use char because int might match the return type of a gcc2
                   19289:    builtin and then its argument prototype would still apply.  */
                   19290: char crypt ();
1.62      paf      19291: int
                   19292: main ()
                   19293: {
1.66      paf      19294: crypt ();
1.62      paf      19295:   ;
                   19296:   return 0;
                   19297: }
                   19298: _ACEOF
                   19299: rm -f conftest.$ac_objext conftest$ac_exeext
                   19300: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19301:   (eval $ac_link) 2>conftest.er1
1.62      paf      19302:   ac_status=$?
1.86      paf      19303:   grep -v '^ *+' conftest.er1 >conftest.err
                   19304:   rm -f conftest.er1
                   19305:   cat conftest.err >&5
1.62      paf      19306:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19307:   (exit $ac_status); } &&
1.86      paf      19308:         { ac_try='test -z "$ac_c_werror_flag"
                   19309:                         || test ! -s conftest.err'
                   19310:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19311:   (eval $ac_try) 2>&5
                   19312:   ac_status=$?
                   19313:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19314:   (exit $ac_status); }; } &&
                   19315:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19316:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19317:   (eval $ac_try) 2>&5
                   19318:   ac_status=$?
                   19319:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19320:   (exit $ac_status); }; }; then
1.66      paf      19321:   ac_cv_lib_crypt_crypt=yes
1.62      paf      19322: else
                   19323:   echo "$as_me: failed program was:" >&5
                   19324: sed 's/^/| /' conftest.$ac_ext >&5
                   19325: 
1.66      paf      19326: ac_cv_lib_crypt_crypt=no
1.62      paf      19327: fi
1.86      paf      19328: rm -f conftest.err conftest.$ac_objext \
                   19329:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19330: LIBS=$ac_check_lib_save_LIBS
                   19331: fi
1.66      paf      19332: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
                   19333: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
                   19334: if test $ac_cv_lib_crypt_crypt = yes; then
1.62      paf      19335:   cat >>confdefs.h <<_ACEOF
1.66      paf      19336: #define HAVE_LIBCRYPT 1
1.62      paf      19337: _ACEOF
1.1       paf      19338: 
1.66      paf      19339:   LIBS="-lcrypt $LIBS"
                   19340: 
                   19341: fi
                   19342: 
                   19343: 
                   19344: 
                   19345: 
                   19346: 
                   19347: 
                   19348: 
                   19349: 
                   19350: 
                   19351: 
                   19352: 
                   19353: 
1.80      paf      19354: 
1.92      misha    19355: 
1.112     misha    19356: 
1.67      paf      19357: for ac_func in flock \
1.66      paf      19358: _locking \
                   19359: fcntl \
                   19360: lockf \
                   19361: ftruncate \
1.112     misha    19362: fchmod \
1.66      paf      19363: getrusage \
                   19364: gettimeofday \
                   19365: crypt \
1.80      paf      19366: sigsetjmp \
1.92      misha    19367: siglongjmp \
                   19368: unsetenv
1.66      paf      19369: 
                   19370: do
                   19371: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19372: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19373: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19374: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   19375:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19376: else
                   19377:   cat >conftest.$ac_ext <<_ACEOF
                   19378: /* confdefs.h.  */
                   19379: _ACEOF
                   19380: cat confdefs.h >>conftest.$ac_ext
                   19381: cat >>conftest.$ac_ext <<_ACEOF
                   19382: /* end confdefs.h.  */
1.86      paf      19383: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19384:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19385: #define $ac_func innocuous_$ac_func
                   19386: 
1.66      paf      19387: /* System header to define __stub macros and hopefully few prototypes,
                   19388:     which can conflict with char $ac_func (); below.
                   19389:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19390:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19391: 
1.66      paf      19392: #ifdef __STDC__
                   19393: # include <limits.h>
                   19394: #else
                   19395: # include <assert.h>
                   19396: #endif
1.86      paf      19397: 
                   19398: #undef $ac_func
                   19399: 
1.66      paf      19400: /* Override any gcc2 internal prototype to avoid an error.  */
                   19401: #ifdef __cplusplus
                   19402: extern "C"
                   19403: {
                   19404: #endif
                   19405: /* We use char because int might match the return type of a gcc2
                   19406:    builtin and then its argument prototype would still apply.  */
                   19407: char $ac_func ();
                   19408: /* The GNU C library defines this for functions which it implements
                   19409:     to always fail with ENOSYS.  Some functions are actually named
                   19410:     something starting with __ and the normal name is an alias.  */
                   19411: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19412: choke me
                   19413: #else
                   19414: char (*f) () = $ac_func;
                   19415: #endif
                   19416: #ifdef __cplusplus
                   19417: }
                   19418: #endif
1.62      paf      19419: 
                   19420: int
                   19421: main ()
                   19422: {
1.66      paf      19423: return f != $ac_func;
1.62      paf      19424:   ;
                   19425:   return 0;
                   19426: }
                   19427: _ACEOF
                   19428: rm -f conftest.$ac_objext conftest$ac_exeext
                   19429: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19430:   (eval $ac_link) 2>conftest.er1
1.62      paf      19431:   ac_status=$?
1.86      paf      19432:   grep -v '^ *+' conftest.er1 >conftest.err
                   19433:   rm -f conftest.er1
                   19434:   cat conftest.err >&5
1.62      paf      19435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19436:   (exit $ac_status); } &&
1.86      paf      19437:         { ac_try='test -z "$ac_c_werror_flag"
                   19438:                         || test ! -s conftest.err'
                   19439:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19440:   (eval $ac_try) 2>&5
                   19441:   ac_status=$?
                   19442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19443:   (exit $ac_status); }; } &&
                   19444:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19445:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19446:   (eval $ac_try) 2>&5
                   19447:   ac_status=$?
                   19448:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19449:   (exit $ac_status); }; }; then
1.66      paf      19450:   eval "$as_ac_var=yes"
1.62      paf      19451: else
                   19452:   echo "$as_me: failed program was:" >&5
                   19453: sed 's/^/| /' conftest.$ac_ext >&5
                   19454: 
1.66      paf      19455: eval "$as_ac_var=no"
1.62      paf      19456: fi
1.86      paf      19457: rm -f conftest.err conftest.$ac_objext \
                   19458:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19459: fi
1.66      paf      19460: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19461: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19462: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19463:   cat >>confdefs.h <<_ACEOF
1.66      paf      19464: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19465: _ACEOF
1.1       paf      19466: 
1.66      paf      19467: fi
                   19468: done
                   19469: 
1.1       paf      19470: 
                   19471: 
1.67      paf      19472: pa_func=sigsetjmp
                   19473: echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5
                   19474: echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6
                   19475: cat >conftest.$ac_ext <<_ACEOF
                   19476: /* confdefs.h.  */
                   19477: _ACEOF
                   19478: cat confdefs.h >>conftest.$ac_ext
                   19479: cat >>conftest.$ac_ext <<_ACEOF
                   19480: /* end confdefs.h.  */
                   19481: 
                   19482: #ifdef HAVE_SETJMP_H
                   19483: #      include <setjmp.h>
                   19484: #endif
                   19485: 
                   19486: int
                   19487: main ()
                   19488: {
                   19489: 
                   19490:         $pa_func(0,0);
                   19491: 
                   19492:   ;
                   19493:   return 0;
                   19494: }
                   19495: _ACEOF
                   19496: rm -f conftest.$ac_objext
                   19497: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19498:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19499:   ac_status=$?
1.86      paf      19500:   grep -v '^ *+' conftest.er1 >conftest.err
                   19501:   rm -f conftest.er1
                   19502:   cat conftest.err >&5
1.67      paf      19503:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19504:   (exit $ac_status); } &&
1.86      paf      19505:         { ac_try='test -z "$ac_c_werror_flag"
                   19506:                         || test ! -s conftest.err'
                   19507:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19508:   (eval $ac_try) 2>&5
                   19509:   ac_status=$?
                   19510:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19511:   (exit $ac_status); }; } &&
                   19512:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19513:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19514:   (eval $ac_try) 2>&5
                   19515:   ac_status=$?
                   19516:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19517:   (exit $ac_status); }; }; then
                   19518:   echo "$as_me:$LINENO: result: yes" >&5
                   19519: echo "${ECHO_T}yes" >&6
                   19520: cat >>confdefs.h <<_ACEOF
                   19521: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
                   19522: _ACEOF
                   19523: 
                   19524: 
                   19525: else
                   19526:   echo "$as_me: failed program was:" >&5
                   19527: sed 's/^/| /' conftest.$ac_ext >&5
                   19528: 
                   19529: echo "$as_me:$LINENO: result: no" >&5
                   19530: echo "${ECHO_T}no" >&6
                   19531: 
                   19532: fi
1.86      paf      19533: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19534: 
                   19535: 
                   19536: 
                   19537: ac_ext=cc
                   19538: ac_cpp='$CXXCPP $CPPFLAGS'
                   19539: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19540: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19541: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   19542: 
                   19543: 
                   19544: 
                   19545: 
                   19546: 
                   19547: 
                   19548: for pa_func in trunc \
                   19549: round \
                   19550: sign
                   19551: 
                   19552: do
                   19553: 
                   19554: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
                   19555: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
                   19556: cat >conftest.$ac_ext <<_ACEOF
                   19557: /* confdefs.h.  */
                   19558: _ACEOF
                   19559: cat confdefs.h >>conftest.$ac_ext
                   19560: cat >>conftest.$ac_ext <<_ACEOF
                   19561: /* end confdefs.h.  */
                   19562: 
                   19563: #ifdef HAVE_MATH_H
                   19564: #       include <math.h>
                   19565: #endif
                   19566: 
                   19567: int
                   19568: main ()
                   19569: {
                   19570: 
                   19571:         double result=$pa_func(1.6);
                   19572: 
                   19573:   ;
                   19574:   return 0;
                   19575: }
                   19576: _ACEOF
                   19577: rm -f conftest.$ac_objext
                   19578: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19579:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19580:   ac_status=$?
1.86      paf      19581:   grep -v '^ *+' conftest.er1 >conftest.err
                   19582:   rm -f conftest.er1
                   19583:   cat conftest.err >&5
1.67      paf      19584:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19585:   (exit $ac_status); } &&
1.86      paf      19586:         { ac_try='test -z "$ac_cxx_werror_flag"
                   19587:                         || test ! -s conftest.err'
                   19588:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19589:   (eval $ac_try) 2>&5
                   19590:   ac_status=$?
                   19591:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19592:   (exit $ac_status); }; } &&
                   19593:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19594:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19595:   (eval $ac_try) 2>&5
                   19596:   ac_status=$?
                   19597:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19598:   (exit $ac_status); }; }; then
                   19599:   echo "$as_me:$LINENO: result: yes" >&5
                   19600: echo "${ECHO_T}yes" >&6
                   19601: cat >>confdefs.h <<_ACEOF
                   19602: #define `echo "HAVE_$pa_func" | $as_tr_cpp`  1
                   19603: _ACEOF
                   19604: 
                   19605: else
                   19606:   echo "$as_me: failed program was:" >&5
                   19607: sed 's/^/| /' conftest.$ac_ext >&5
                   19608: 
                   19609: echo "$as_me:$LINENO: result: no" >&5
                   19610: echo "${ECHO_T}no" >&6
                   19611: 
                   19612: fi
1.86      paf      19613: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19614: 
                   19615: done
                   19616: 
                   19617: ac_ext=c
                   19618: ac_cpp='$CPP $CPPFLAGS'
                   19619: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19620: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19621: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   19622: 
                   19623: 
                   19624: 
1.62      paf      19625: 
1.66      paf      19626: for ac_func in qsort
                   19627: do
                   19628: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19629: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19630: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19631: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      19632:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19633: else
1.66      paf      19634:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19635: /* confdefs.h.  */
                   19636: _ACEOF
                   19637: cat confdefs.h >>conftest.$ac_ext
                   19638: cat >>conftest.$ac_ext <<_ACEOF
                   19639: /* end confdefs.h.  */
1.86      paf      19640: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19641:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19642: #define $ac_func innocuous_$ac_func
                   19643: 
1.66      paf      19644: /* System header to define __stub macros and hopefully few prototypes,
                   19645:     which can conflict with char $ac_func (); below.
                   19646:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19647:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19648: 
1.66      paf      19649: #ifdef __STDC__
                   19650: # include <limits.h>
                   19651: #else
                   19652: # include <assert.h>
                   19653: #endif
1.86      paf      19654: 
                   19655: #undef $ac_func
                   19656: 
1.1       paf      19657: /* Override any gcc2 internal prototype to avoid an error.  */
                   19658: #ifdef __cplusplus
                   19659: extern "C"
1.66      paf      19660: {
1.1       paf      19661: #endif
                   19662: /* We use char because int might match the return type of a gcc2
1.62      paf      19663:    builtin and then its argument prototype would still apply.  */
1.66      paf      19664: char $ac_func ();
                   19665: /* The GNU C library defines this for functions which it implements
                   19666:     to always fail with ENOSYS.  Some functions are actually named
                   19667:     something starting with __ and the normal name is an alias.  */
                   19668: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19669: choke me
                   19670: #else
                   19671: char (*f) () = $ac_func;
                   19672: #endif
                   19673: #ifdef __cplusplus
                   19674: }
                   19675: #endif
                   19676: 
1.62      paf      19677: int
                   19678: main ()
                   19679: {
1.66      paf      19680: return f != $ac_func;
1.62      paf      19681:   ;
                   19682:   return 0;
                   19683: }
                   19684: _ACEOF
                   19685: rm -f conftest.$ac_objext conftest$ac_exeext
                   19686: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19687:   (eval $ac_link) 2>conftest.er1
1.62      paf      19688:   ac_status=$?
1.86      paf      19689:   grep -v '^ *+' conftest.er1 >conftest.err
                   19690:   rm -f conftest.er1
                   19691:   cat conftest.err >&5
1.62      paf      19692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19693:   (exit $ac_status); } &&
1.86      paf      19694:         { ac_try='test -z "$ac_c_werror_flag"
                   19695:                         || test ! -s conftest.err'
                   19696:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19697:   (eval $ac_try) 2>&5
                   19698:   ac_status=$?
                   19699:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19700:   (exit $ac_status); }; } &&
                   19701:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19702:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19703:   (eval $ac_try) 2>&5
                   19704:   ac_status=$?
                   19705:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19706:   (exit $ac_status); }; }; then
1.66      paf      19707:   eval "$as_ac_var=yes"
1.62      paf      19708: else
                   19709:   echo "$as_me: failed program was:" >&5
                   19710: sed 's/^/| /' conftest.$ac_ext >&5
                   19711: 
1.66      paf      19712: eval "$as_ac_var=no"
1.62      paf      19713: fi
1.86      paf      19714: rm -f conftest.err conftest.$ac_objext \
                   19715:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19716: fi
1.66      paf      19717: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19718: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19719: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19720:   cat >>confdefs.h <<_ACEOF
1.66      paf      19721: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19722: _ACEOF
1.1       paf      19723: 
1.66      paf      19724: else
                   19725:   { { echo "$as_me:$LINENO: error: No qsort library function." >&5
                   19726: echo "$as_me: error: No qsort library function." >&2;}
                   19727:    { (exit 1); exit 1; }; }
1.1       paf      19728: fi
1.66      paf      19729: done
1.1       paf      19730: 
                   19731: 
1.62      paf      19732: 
1.66      paf      19733: echo "$as_me:$LINENO: checking for timezone variable" >&5
                   19734: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62      paf      19735: cat >conftest.$ac_ext <<_ACEOF
                   19736: /* confdefs.h.  */
                   19737: _ACEOF
                   19738: cat confdefs.h >>conftest.$ac_ext
                   19739: cat >>conftest.$ac_ext <<_ACEOF
                   19740: /* end confdefs.h.  */
1.66      paf      19741: #include <time.h>
1.62      paf      19742: int
                   19743: main ()
                   19744: {
1.66      paf      19745: 
                   19746: time_t test=timezone;
                   19747: 
1.62      paf      19748:   ;
                   19749:   return 0;
                   19750: }
                   19751: _ACEOF
1.66      paf      19752: rm -f conftest.$ac_objext
                   19753: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19754:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19755:   ac_status=$?
1.86      paf      19756:   grep -v '^ *+' conftest.er1 >conftest.err
                   19757:   rm -f conftest.er1
                   19758:   cat conftest.err >&5
1.62      paf      19759:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19760:   (exit $ac_status); } &&
1.86      paf      19761:         { ac_try='test -z "$ac_c_werror_flag"
                   19762:                         || test ! -s conftest.err'
                   19763:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19764:   (eval $ac_try) 2>&5
                   19765:   ac_status=$?
                   19766:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19767:   (exit $ac_status); }; } &&
                   19768:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19769:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19770:   (eval $ac_try) 2>&5
                   19771:   ac_status=$?
                   19772:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19773:   (exit $ac_status); }; }; then
1.66      paf      19774:   cat >>confdefs.h <<\_ACEOF
                   19775: #define HAVE_TIMEZONE 1
                   19776: _ACEOF
                   19777: 
                   19778: echo "$as_me:$LINENO: result: yes" >&5
                   19779: echo "${ECHO_T}yes" >&6
1.62      paf      19780: else
                   19781:   echo "$as_me: failed program was:" >&5
                   19782: sed 's/^/| /' conftest.$ac_ext >&5
                   19783: 
1.66      paf      19784: echo "$as_me:$LINENO: result: no" >&5
                   19785: echo "${ECHO_T}no" >&6
1.62      paf      19786: fi
1.86      paf      19787: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19788: 
1.66      paf      19789: echo "$as_me:$LINENO: checking for daylight variable" >&5
                   19790: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62      paf      19791: cat >conftest.$ac_ext <<_ACEOF
                   19792: /* confdefs.h.  */
                   19793: _ACEOF
                   19794: cat confdefs.h >>conftest.$ac_ext
                   19795: cat >>conftest.$ac_ext <<_ACEOF
                   19796: /* end confdefs.h.  */
1.66      paf      19797: #include <time.h>
1.62      paf      19798: int
                   19799: main ()
                   19800: {
1.66      paf      19801: 
                   19802: int test=daylight;
                   19803: 
1.62      paf      19804:   ;
                   19805:   return 0;
                   19806: }
                   19807: _ACEOF
1.66      paf      19808: rm -f conftest.$ac_objext
                   19809: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19810:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19811:   ac_status=$?
1.86      paf      19812:   grep -v '^ *+' conftest.er1 >conftest.err
                   19813:   rm -f conftest.er1
                   19814:   cat conftest.err >&5
1.62      paf      19815:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19816:   (exit $ac_status); } &&
1.86      paf      19817:         { ac_try='test -z "$ac_c_werror_flag"
                   19818:                         || test ! -s conftest.err'
                   19819:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19820:   (eval $ac_try) 2>&5
                   19821:   ac_status=$?
                   19822:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19823:   (exit $ac_status); }; } &&
                   19824:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19825:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19826:   (eval $ac_try) 2>&5
                   19827:   ac_status=$?
                   19828:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19829:   (exit $ac_status); }; }; then
1.66      paf      19830:   cat >>confdefs.h <<\_ACEOF
                   19831: #define HAVE_DAYLIGHT 1
                   19832: _ACEOF
                   19833: 
                   19834: echo "$as_me:$LINENO: result: yes" >&5
                   19835: echo "${ECHO_T}yes" >&6
1.62      paf      19836: else
                   19837:   echo "$as_me: failed program was:" >&5
                   19838: sed 's/^/| /' conftest.$ac_ext >&5
                   19839: 
1.66      paf      19840: echo "$as_me:$LINENO: result: no" >&5
                   19841: echo "${ECHO_T}no" >&6
1.62      paf      19842: fi
1.86      paf      19843: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      19844: 
1.66      paf      19845: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
                   19846: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62      paf      19847: cat >conftest.$ac_ext <<_ACEOF
                   19848: /* confdefs.h.  */
                   19849: _ACEOF
                   19850: cat confdefs.h >>conftest.$ac_ext
                   19851: cat >>conftest.$ac_ext <<_ACEOF
                   19852: /* end confdefs.h.  */
1.66      paf      19853: #include <time.h>
1.62      paf      19854: int
                   19855: main ()
                   19856: {
1.66      paf      19857: struct tm tm;
                   19858: tm.tm_gmtoff=0;
                   19859: 
1.62      paf      19860:   ;
                   19861:   return 0;
                   19862: }
                   19863: _ACEOF
1.66      paf      19864: rm -f conftest.$ac_objext
                   19865: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19866:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19867:   ac_status=$?
1.86      paf      19868:   grep -v '^ *+' conftest.er1 >conftest.err
                   19869:   rm -f conftest.er1
                   19870:   cat conftest.err >&5
1.62      paf      19871:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19872:   (exit $ac_status); } &&
1.86      paf      19873:         { ac_try='test -z "$ac_c_werror_flag"
                   19874:                         || test ! -s conftest.err'
                   19875:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19876:   (eval $ac_try) 2>&5
                   19877:   ac_status=$?
                   19878:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19879:   (exit $ac_status); }; } &&
                   19880:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19881:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19882:   (eval $ac_try) 2>&5
                   19883:   ac_status=$?
                   19884:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19885:   (exit $ac_status); }; }; then
1.66      paf      19886:   cat >>confdefs.h <<\_ACEOF
                   19887: #define HAVE_TM_GMTOFF 1
                   19888: _ACEOF
                   19889: 
                   19890: echo "$as_me:$LINENO: result: yes" >&5
                   19891: echo "${ECHO_T}yes" >&6
1.62      paf      19892: else
                   19893:   echo "$as_me: failed program was:" >&5
                   19894: sed 's/^/| /' conftest.$ac_ext >&5
                   19895: 
1.66      paf      19896: echo "$as_me:$LINENO: result: no" >&5
                   19897: echo "${ECHO_T}no" >&6
1.62      paf      19898: fi
1.86      paf      19899: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19900: 
1.66      paf      19901: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
                   19902: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62      paf      19903: cat >conftest.$ac_ext <<_ACEOF
                   19904: /* confdefs.h.  */
                   19905: _ACEOF
                   19906: cat confdefs.h >>conftest.$ac_ext
                   19907: cat >>conftest.$ac_ext <<_ACEOF
                   19908: /* end confdefs.h.  */
1.66      paf      19909: #include <time.h>
1.62      paf      19910: int
                   19911: main ()
                   19912: {
1.66      paf      19913: struct tm tm;
                   19914: tm.tm_tzadj=0;
                   19915: 
1.62      paf      19916:   ;
                   19917:   return 0;
                   19918: }
                   19919: _ACEOF
1.66      paf      19920: rm -f conftest.$ac_objext
                   19921: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19922:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19923:   ac_status=$?
1.86      paf      19924:   grep -v '^ *+' conftest.er1 >conftest.err
                   19925:   rm -f conftest.er1
                   19926:   cat conftest.err >&5
1.62      paf      19927:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19928:   (exit $ac_status); } &&
1.86      paf      19929:         { ac_try='test -z "$ac_c_werror_flag"
                   19930:                         || test ! -s conftest.err'
                   19931:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19932:   (eval $ac_try) 2>&5
                   19933:   ac_status=$?
                   19934:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19935:   (exit $ac_status); }; } &&
                   19936:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19937:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19938:   (eval $ac_try) 2>&5
                   19939:   ac_status=$?
                   19940:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19941:   (exit $ac_status); }; }; then
1.66      paf      19942:   cat >>confdefs.h <<\_ACEOF
                   19943: #define HAVE_TM_TZADJ 1
                   19944: _ACEOF
                   19945: 
                   19946: echo "$as_me:$LINENO: result: yes" >&5
                   19947: echo "${ECHO_T}yes" >&6
1.62      paf      19948: else
                   19949:   echo "$as_me: failed program was:" >&5
                   19950: sed 's/^/| /' conftest.$ac_ext >&5
                   19951: 
1.66      paf      19952: echo "$as_me:$LINENO: result: no" >&5
                   19953: echo "${ECHO_T}no" >&6
1.62      paf      19954: fi
1.86      paf      19955: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      19956: 
                   19957: 
                   19958: 
                   19959: 
1.1       paf      19960: 
                   19961: 
                   19962: 
1.62      paf      19963: 
                   19964: 
                   19965: 
                   19966: 
                   19967: 
                   19968: 
                   19969: 
                   19970: 
                   19971: 
                   19972: 
                   19973: 
                   19974: 
                   19975: 
                   19976: 
                   19977: 
                   19978: 
                   19979: 
                   19980: 
                   19981: 
                   19982: 
                   19983: 
                   19984: 
                   19985: 
                   19986: 
1.128     moko     19987:           ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      19988: 
                   19989: 
1.130     moko     19990:                                                                                                                                                                                                                                                                                                             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      19991: cat >confcache <<\_ACEOF
1.1       paf      19992: # This file is a shell script that caches the results of configure
                   19993: # tests run on this system so they can be shared between configure
1.62      paf      19994: # scripts and configure runs, see configure's option --config-cache.
                   19995: # It is not useful on other systems.  If it contains results you don't
                   19996: # want to keep, you may remove or edit it.
1.1       paf      19997: #
1.62      paf      19998: # config.status only pays attention to the cache file if you give it
                   19999: # the --recheck option to rerun configure.
1.1       paf      20000: #
1.62      paf      20001: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   20002: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   20003: # following values.
                   20004: 
                   20005: _ACEOF
                   20006: 
1.1       paf      20007: # The following way of writing the cache mishandles newlines in values,
                   20008: # but we know of no workaround that is simple, portable, and efficient.
                   20009: # So, don't put newlines in cache variables' values.
                   20010: # Ultrix sh set writes to stderr and can't be redirected directly,
                   20011: # and sets the high bit in the cache file unless we assign to the vars.
1.62      paf      20012: {
                   20013:   (set) 2>&1 |
                   20014:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   20015:     *ac_space=\ *)
                   20016:       # `set' does not quote correctly, so add quotes (double-quote
                   20017:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   20018:       sed -n \
1.86      paf      20019:        "s/'/'\\\\''/g;
                   20020:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.62      paf      20021:       ;;
                   20022:     *)
                   20023:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   20024:       sed -n \
1.86      paf      20025:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      20026:       ;;
                   20027:     esac;
                   20028: } |
                   20029:   sed '
                   20030:      t clear
                   20031:      : clear
                   20032:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   20033:      t end
                   20034:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   20035:      : end' >>confcache
                   20036: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      20037:   if test -w $cache_file; then
1.62      paf      20038:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   20039:     cat confcache >$cache_file
1.1       paf      20040:   else
                   20041:     echo "not updating unwritable cache $cache_file"
                   20042:   fi
                   20043: fi
                   20044: rm -f confcache
                   20045: 
                   20046: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   20047: # Let make expand exec_prefix.
                   20048: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   20049: 
1.62      paf      20050: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   20051: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   20052: # trailing colons and then remove the whole line if VPATH becomes empty
                   20053: # (actually we leave an empty line to preserve line numbers).
1.1       paf      20054: if test "x$srcdir" = x.; then
1.86      paf      20055:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1.62      paf      20056: s/:*\$(srcdir):*/:/;
                   20057: s/:*\${srcdir}:*/:/;
                   20058: s/:*@srcdir@:*/:/;
1.86      paf      20059: s/^\([^=]*=[    ]*\):*/\1/;
1.62      paf      20060: s/:*$//;
1.86      paf      20061: s/^[^=]*=[      ]*$//;
1.62      paf      20062: }'
1.1       paf      20063: fi
                   20064: 
1.62      paf      20065: DEFS=-DHAVE_CONFIG_H
                   20066: 
                   20067: ac_libobjs=
                   20068: ac_ltlibobjs=
                   20069: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   20070:   # 1. Remove the extension, and $U if already installed.
                   20071:   ac_i=`echo "$ac_i" |
1.86      paf      20072:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.62      paf      20073:   # 2. Add them.
                   20074:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   20075:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   20076: done
                   20077: LIBOBJS=$ac_libobjs
                   20078: 
                   20079: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      20080: 
                   20081: 
1.62      paf      20082: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   20083:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   20084: Usually this means the macro was only invoked conditionally." >&5
                   20085: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   20086: Usually this means the macro was only invoked conditionally." >&2;}
                   20087:    { (exit 1); exit 1; }; }
                   20088: fi
1.66      paf      20089: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   20090:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20091: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20092: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20093: Usually this means the macro was only invoked conditionally." >&2;}
                   20094:    { (exit 1); exit 1; }; }
                   20095: fi
1.66      paf      20096: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   20097:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20098: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20099: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20100: Usually this means the macro was only invoked conditionally." >&2;}
                   20101:    { (exit 1); exit 1; }; }
                   20102: fi
1.122     moko     20103: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
                   20104:   { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20105: Usually this means the macro was only invoked conditionally." >&5
1.122     moko     20106: echo "$as_me: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20107: Usually this means the macro was only invoked conditionally." >&2;}
                   20108:    { (exit 1); exit 1; }; }
                   20109: fi
1.128     moko     20110: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   20111:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   20112: Usually this means the macro was only invoked conditionally." >&5
                   20113: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   20114: Usually this means the macro was only invoked conditionally." >&2;}
                   20115:    { (exit 1); exit 1; }; }
                   20116: fi
                   20117: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   20118:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20119: Usually this means the macro was only invoked conditionally." >&5
                   20120: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20121: Usually this means the macro was only invoked conditionally." >&2;}
                   20122:    { (exit 1); exit 1; }; }
                   20123: fi
                   20124: LT_CONFIG_H=`echo " src/include/pa_config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
                   20125: 
                   20126:     _ltdl_libobjs=
                   20127:     _ltdl_ltlibobjs=
                   20128:     if test -n "$_LT_LIBOBJS"; then
                   20129:       # Remove the extension.
                   20130:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   20131:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   20132:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   20133:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   20134:       done
                   20135:     fi
                   20136:     ltdl_LIBOBJS=$_ltdl_libobjs
                   20137: 
                   20138:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   20139: 
                   20140: 
1.62      paf      20141: 
1.1       paf      20142: : ${CONFIG_STATUS=./config.status}
1.62      paf      20143: ac_clean_files_save=$ac_clean_files
                   20144: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   20145: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   20146: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   20147: cat >$CONFIG_STATUS <<_ACEOF
                   20148: #! $SHELL
                   20149: # Generated by $as_me.
                   20150: # Run this file to recreate the current configuration.
                   20151: # Compiler output produced by configure, useful for debugging
                   20152: # configure, is in config.log if it exists.
                   20153: 
                   20154: debug=false
                   20155: ac_cs_recheck=false
                   20156: ac_cs_silent=false
                   20157: SHELL=\${CONFIG_SHELL-$SHELL}
                   20158: _ACEOF
                   20159: 
                   20160: cat >>$CONFIG_STATUS <<\_ACEOF
                   20161: ## --------------------- ##
                   20162: ## M4sh Initialization.  ##
                   20163: ## --------------------- ##
                   20164: 
                   20165: # Be Bourne compatible
                   20166: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   20167:   emulate sh
                   20168:   NULLCMD=:
                   20169:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   20170:   # is contrary to our usage.  Disable this feature.
                   20171:   alias -g '${1+"$@"}'='"$@"'
                   20172: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   20173:   set -o posix
                   20174: fi
1.86      paf      20175: DUALCASE=1; export DUALCASE # for MKS sh
1.62      paf      20176: 
                   20177: # Support unset when possible.
1.86      paf      20178: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62      paf      20179:   as_unset=unset
                   20180: else
                   20181:   as_unset=false
                   20182: fi
                   20183: 
                   20184: 
                   20185: # Work around bugs in pre-3.0 UWIN ksh.
                   20186: $as_unset ENV MAIL MAILPATH
                   20187: PS1='$ '
                   20188: PS2='> '
                   20189: PS4='+ '
                   20190: 
                   20191: # NLS nuisances.
                   20192: for as_var in \
                   20193:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   20194:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   20195:   LC_TELEPHONE LC_TIME
                   20196: do
1.86      paf      20197:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62      paf      20198:     eval $as_var=C; export $as_var
                   20199:   else
                   20200:     $as_unset $as_var
                   20201:   fi
                   20202: done
1.1       paf      20203: 
1.62      paf      20204: # Required to use basename.
                   20205: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20206:   as_expr=expr
                   20207: else
                   20208:   as_expr=false
                   20209: fi
                   20210: 
                   20211: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   20212:   as_basename=basename
                   20213: else
                   20214:   as_basename=false
                   20215: fi
                   20216: 
                   20217: 
                   20218: # Name of the executable.
                   20219: as_me=`$as_basename "$0" ||
                   20220: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   20221:         X"$0" : 'X\(//\)$' \| \
                   20222:         X"$0" : 'X\(/\)$' \| \
                   20223:         .     : '\(.\)' 2>/dev/null ||
                   20224: echo X/"$0" |
                   20225:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   20226:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   20227:          /^X\/\(\/\).*/{ s//\1/; q; }
                   20228:          s/.*/./; q'`
                   20229: 
                   20230: 
                   20231: # PATH needs CR, and LINENO needs CR and PATH.
                   20232: # Avoid depending upon Character Ranges.
                   20233: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   20234: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   20235: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   20236: as_cr_digits='0123456789'
                   20237: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   20238: 
                   20239: # The user is always right.
                   20240: if test "${PATH_SEPARATOR+set}" != set; then
                   20241:   echo "#! /bin/sh" >conf$$.sh
                   20242:   echo  "exit 0"   >>conf$$.sh
                   20243:   chmod +x conf$$.sh
                   20244:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   20245:     PATH_SEPARATOR=';'
                   20246:   else
                   20247:     PATH_SEPARATOR=:
                   20248:   fi
                   20249:   rm -f conf$$.sh
                   20250: fi
                   20251: 
                   20252: 
                   20253:   as_lineno_1=$LINENO
                   20254:   as_lineno_2=$LINENO
                   20255:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20256:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20257:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   20258:   # Find who we are.  Look in the path if we contain no path at all
                   20259:   # relative or not.
                   20260:   case $0 in
                   20261:     *[\\/]* ) as_myself=$0 ;;
                   20262:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20263: for as_dir in $PATH
                   20264: do
                   20265:   IFS=$as_save_IFS
                   20266:   test -z "$as_dir" && as_dir=.
                   20267:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   20268: done
                   20269: 
                   20270:        ;;
                   20271:   esac
                   20272:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   20273:   # in which case we are not to be found in the path.
                   20274:   if test "x$as_myself" = x; then
                   20275:     as_myself=$0
                   20276:   fi
                   20277:   if test ! -f "$as_myself"; then
                   20278:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   20279: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   20280:    { (exit 1); exit 1; }; }
                   20281:   fi
                   20282:   case $CONFIG_SHELL in
                   20283:   '')
                   20284:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20285: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   20286: do
                   20287:   IFS=$as_save_IFS
                   20288:   test -z "$as_dir" && as_dir=.
                   20289:   for as_base in sh bash ksh sh5; do
                   20290:         case $as_dir in
                   20291:         /*)
                   20292:           if ("$as_dir/$as_base" -c '
                   20293:   as_lineno_1=$LINENO
                   20294:   as_lineno_2=$LINENO
                   20295:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20296:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20297:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   20298:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   20299:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   20300:             CONFIG_SHELL=$as_dir/$as_base
                   20301:             export CONFIG_SHELL
                   20302:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   20303:           fi;;
                   20304:         esac
                   20305:        done
                   20306: done
                   20307: ;;
                   20308:   esac
                   20309: 
                   20310:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   20311:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   20312:   # line-number line before each line; the second 'sed' does the real
                   20313:   # work.  The second script uses 'N' to pair each line-number line
                   20314:   # with the numbered line, and appends trailing '-' during
                   20315:   # substitution so that $LINENO is not a special case at line end.
                   20316:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   20317:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   20318:   sed '=' <$as_myself |
                   20319:     sed '
                   20320:       N
                   20321:       s,$,-,
                   20322:       : loop
                   20323:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   20324:       t loop
                   20325:       s,-$,,
                   20326:       s,^['$as_cr_digits']*\n,,
                   20327:     ' >$as_me.lineno &&
                   20328:   chmod +x $as_me.lineno ||
                   20329:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   20330: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   20331:    { (exit 1); exit 1; }; }
                   20332: 
                   20333:   # Don't try to exec as it changes $[0], causing all sort of problems
                   20334:   # (the dirname of $[0] is not the place where we might find the
                   20335:   # original and so on.  Autoconf is especially sensible to this).
                   20336:   . ./$as_me.lineno
                   20337:   # Exit status is that of the last command.
                   20338:   exit
                   20339: }
                   20340: 
                   20341: 
                   20342: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   20343:   *c*,-n*) ECHO_N= ECHO_C='
                   20344: ' ECHO_T='     ' ;;
                   20345:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   20346:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   20347: esac
                   20348: 
                   20349: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20350:   as_expr=expr
                   20351: else
                   20352:   as_expr=false
                   20353: fi
                   20354: 
                   20355: rm -f conf$$ conf$$.exe conf$$.file
                   20356: echo >conf$$.file
                   20357: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   20358:   # We could just check for DJGPP; but this test a) works b) is more generic
                   20359:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   20360:   if test -f conf$$.exe; then
                   20361:     # Don't use ln at all; we don't have any links
                   20362:     as_ln_s='cp -p'
                   20363:   else
                   20364:     as_ln_s='ln -s'
                   20365:   fi
                   20366: elif ln conf$$.file conf$$ 2>/dev/null; then
                   20367:   as_ln_s=ln
                   20368: else
                   20369:   as_ln_s='cp -p'
                   20370: fi
                   20371: rm -f conf$$ conf$$.exe conf$$.file
                   20372: 
                   20373: if mkdir -p . 2>/dev/null; then
                   20374:   as_mkdir_p=:
                   20375: else
1.86      paf      20376:   test -d ./-p && rmdir ./-p
1.62      paf      20377:   as_mkdir_p=false
                   20378: fi
                   20379: 
                   20380: as_executable_p="test -f"
                   20381: 
                   20382: # Sed expression to map a string onto a valid CPP name.
1.86      paf      20383: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20384: 
                   20385: # Sed expression to map a string onto a valid variable name.
1.86      paf      20386: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20387: 
                   20388: 
                   20389: # IFS
                   20390: # We need space, tab and new line, in precisely that order.
                   20391: as_nl='
                   20392: '
                   20393: IFS="  $as_nl"
                   20394: 
                   20395: # CDPATH.
                   20396: $as_unset CDPATH
                   20397: 
                   20398: exec 6>&1
                   20399: 
                   20400: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   20401: # report actual input values of CONFIG_FILES etc. instead of their
                   20402: # values after options handling.  Logging --version etc. is OK.
                   20403: exec 5>>config.log
                   20404: {
                   20405:   echo
                   20406:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   20407: ## Running $as_me. ##
                   20408: _ASBOX
                   20409: } >&5
                   20410: cat >&5 <<_CSEOF
                   20411: 
1.145   ! moko     20412: This file was extended by parser $as_me 3.4.2 RC, which was
1.86      paf      20413: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      20414: 
                   20415:   CONFIG_FILES    = $CONFIG_FILES
                   20416:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   20417:   CONFIG_LINKS    = $CONFIG_LINKS
                   20418:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   20419:   $ $0 $@
                   20420: 
                   20421: _CSEOF
                   20422: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   20423: echo >&5
                   20424: _ACEOF
                   20425: 
                   20426: # Files that config.status was made for.
                   20427: if test -n "$ac_config_files"; then
                   20428:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   20429: fi
                   20430: 
                   20431: if test -n "$ac_config_headers"; then
                   20432:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   20433: fi
                   20434: 
                   20435: if test -n "$ac_config_links"; then
                   20436:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   20437: fi
                   20438: 
                   20439: if test -n "$ac_config_commands"; then
                   20440:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   20441: fi
                   20442: 
                   20443: cat >>$CONFIG_STATUS <<\_ACEOF
                   20444: 
                   20445: ac_cs_usage="\
                   20446: \`$as_me' instantiates files from templates according to the
                   20447: current configuration.
                   20448: 
                   20449: Usage: $0 [OPTIONS] [FILE]...
                   20450: 
                   20451:   -h, --help       print this help, then exit
                   20452:   -V, --version    print version number, then exit
                   20453:   -q, --quiet      do not print progress messages
                   20454:   -d, --debug      don't remove temporary files
                   20455:       --recheck    update $as_me by reconfiguring in the same conditions
                   20456:   --file=FILE[:TEMPLATE]
1.86      paf      20457:                   instantiate the configuration file FILE
1.62      paf      20458:   --header=FILE[:TEMPLATE]
1.86      paf      20459:                   instantiate the configuration header FILE
1.62      paf      20460: 
                   20461: Configuration files:
                   20462: $config_files
                   20463: 
                   20464: Configuration headers:
                   20465: $config_headers
                   20466: 
                   20467: Configuration commands:
                   20468: $config_commands
                   20469: 
                   20470: Report bugs to <bug-autoconf@gnu.org>."
                   20471: _ACEOF
                   20472: 
                   20473: cat >>$CONFIG_STATUS <<_ACEOF
                   20474: ac_cs_version="\\
1.145   ! moko     20475: parser config.status 3.4.2 RC
1.86      paf      20476: configured by $0, generated by GNU Autoconf 2.59,
1.62      paf      20477:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   20478: 
1.86      paf      20479: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      20480: This config.status script is free software; the Free Software Foundation
                   20481: gives unlimited permission to copy, distribute and modify it."
                   20482: srcdir=$srcdir
                   20483: INSTALL="$INSTALL"
                   20484: _ACEOF
                   20485: 
                   20486: cat >>$CONFIG_STATUS <<\_ACEOF
                   20487: # If no file are specified by the user, then we need to provide default
                   20488: # value.  By we need to know if files were specified by the user.
                   20489: ac_need_defaults=:
                   20490: while test $# != 0
                   20491: do
                   20492:   case $1 in
                   20493:   --*=*)
                   20494:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   20495:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   20496:     ac_shift=:
                   20497:     ;;
                   20498:   -*)
                   20499:     ac_option=$1
                   20500:     ac_optarg=$2
                   20501:     ac_shift=shift
                   20502:     ;;
                   20503:   *) # This is not an option, so the user has probably given explicit
                   20504:      # arguments.
                   20505:      ac_option=$1
                   20506:      ac_need_defaults=false;;
                   20507:   esac
                   20508: 
                   20509:   case $ac_option in
                   20510:   # Handling of the options.
                   20511: _ACEOF
                   20512: cat >>$CONFIG_STATUS <<\_ACEOF
                   20513:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   20514:     ac_cs_recheck=: ;;
                   20515:   --version | --vers* | -V )
                   20516:     echo "$ac_cs_version"; exit 0 ;;
                   20517:   --he | --h)
                   20518:     # Conflict between --help and --header
                   20519:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   20520: Try \`$0 --help' for more information." >&5
                   20521: echo "$as_me: error: ambiguous option: $1
                   20522: Try \`$0 --help' for more information." >&2;}
                   20523:    { (exit 1); exit 1; }; };;
                   20524:   --help | --hel | -h )
                   20525:     echo "$ac_cs_usage"; exit 0 ;;
                   20526:   --debug | --d* | -d )
                   20527:     debug=: ;;
                   20528:   --file | --fil | --fi | --f )
                   20529:     $ac_shift
                   20530:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   20531:     ac_need_defaults=false;;
                   20532:   --header | --heade | --head | --hea )
                   20533:     $ac_shift
                   20534:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   20535:     ac_need_defaults=false;;
                   20536:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   20537:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   20538:     ac_cs_silent=: ;;
                   20539: 
                   20540:   # This is an error.
                   20541:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   20542: Try \`$0 --help' for more information." >&5
                   20543: echo "$as_me: error: unrecognized option: $1
                   20544: Try \`$0 --help' for more information." >&2;}
                   20545:    { (exit 1); exit 1; }; } ;;
                   20546: 
                   20547:   *) ac_config_targets="$ac_config_targets $1" ;;
                   20548: 
                   20549:   esac
                   20550:   shift
                   20551: done
                   20552: 
                   20553: ac_configure_extra_args=
                   20554: 
                   20555: if $ac_cs_silent; then
                   20556:   exec 6>/dev/null
                   20557:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   20558: fi
                   20559: 
                   20560: _ACEOF
                   20561: cat >>$CONFIG_STATUS <<_ACEOF
                   20562: if \$ac_cs_recheck; then
                   20563:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   20564:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   20565: fi
                   20566: 
                   20567: _ACEOF
                   20568: 
                   20569: cat >>$CONFIG_STATUS <<_ACEOF
1.1       paf      20570: #
1.62      paf      20571: # INIT-COMMANDS section.
1.1       paf      20572: #
                   20573: 
1.62      paf      20574: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   20575: 
1.128     moko     20576: 
                   20577: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   20578: # if CDPATH is set.
                   20579: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   20580: 
                   20581: sed_quote_subst='$sed_quote_subst'
                   20582: double_quote_subst='$double_quote_subst'
                   20583: delay_variable_subst='$delay_variable_subst'
                   20584: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   20585: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   20586: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   20587: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   20588: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145   ! moko     20589: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     20590: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     20591: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     20592: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   20593: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   20594: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   20595: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   20596: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   20597: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   20598: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   20599: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   20600: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   20601: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   20602: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   20603: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   20604: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   20605: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   20606: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   20607: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   20608: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   20609: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   20610: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   20611: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   20612: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   20613: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   20614: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   20615: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   20616: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20617: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20618: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   20619: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   20620: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   20621: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   20622: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   20623: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   20624: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   20625: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   20626: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   20627: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   20628: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   20629: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   20630: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20631: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20632: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20633: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   20634: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   20635: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   20636: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   20637: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   20638: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   20639: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   20640: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   20641: 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"`'
                   20642: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20643: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   20644: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   20645: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   20646: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   20647: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   20648: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   20649: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   20650: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   20651: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   20652: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   20653: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   20654: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   20655: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   20656: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   20657: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   20658: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   20659: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   20660: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20661: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   20662: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   20663: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20664: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20665: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   20666: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   20667: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20668: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20669: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20670: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   20671: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20672: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   20673: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20674: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20675: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20676: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   20677: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   20678: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   20679: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   20680: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20681: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   20682: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   20683: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   20684: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   20685: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   20686: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   20687: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   20688: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   20689: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   20690: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20691: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   20692: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   20693: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   20694: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   20695: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   20696: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20697: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   20698: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   20699: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   20700: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   20701: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   20702: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20703: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20704: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   20705: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   20706: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   20707: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   20708: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   20709: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   20710: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   20711: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   20712: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   20713: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   20714: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   20715: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   20716: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   20717: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   20718: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   20719: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   20720: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   20721: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   20722: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20723: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20724: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20725: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   20726: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   20727: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20728: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   20729: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   20730: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   20731: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   20732: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   20733: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   20734: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20735: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20736: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   20737: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20738: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20739: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20740: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20741: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20742: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20743: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   20744: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20745: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20746: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20747: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   20748: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   20749: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   20750: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   20751: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   20752: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   20753: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   20754: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   20755: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   20756: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20757: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20758: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20759: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20760: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20761: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20762: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   20763: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   20764: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20765: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20766: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20767: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20768: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   20769: 
                   20770: LTCC='$LTCC'
                   20771: LTCFLAGS='$LTCFLAGS'
                   20772: compiler='$compiler_DEFAULT'
                   20773: 
                   20774: # A function that is used when there is no print builtin or printf.
                   20775: func_fallback_echo ()
                   20776: {
                   20777:   eval 'cat <<_LTECHO_EOF
                   20778: \$1
                   20779: _LTECHO_EOF'
                   20780: }
                   20781: 
                   20782: # Quote evaled strings.
                   20783: for var in AS \
                   20784: DLLTOOL \
                   20785: OBJDUMP \
                   20786: SHELL \
                   20787: ECHO \
                   20788: PATH_SEPARATOR \
                   20789: SED \
                   20790: GREP \
                   20791: EGREP \
                   20792: FGREP \
                   20793: LD \
                   20794: NM \
                   20795: LN_S \
                   20796: lt_SP2NL \
                   20797: lt_NL2SP \
                   20798: reload_flag \
                   20799: deplibs_check_method \
                   20800: file_magic_cmd \
                   20801: file_magic_glob \
                   20802: want_nocaseglob \
                   20803: sharedlib_from_linklib_cmd \
                   20804: AR \
                   20805: AR_FLAGS \
                   20806: archiver_list_spec \
                   20807: STRIP \
                   20808: RANLIB \
                   20809: CC \
                   20810: CFLAGS \
                   20811: compiler \
                   20812: lt_cv_sys_global_symbol_pipe \
                   20813: lt_cv_sys_global_symbol_to_cdecl \
                   20814: lt_cv_sys_global_symbol_to_c_name_address \
                   20815: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   20816: nm_file_list_spec \
                   20817: lt_prog_compiler_no_builtin_flag \
                   20818: lt_prog_compiler_pic \
                   20819: lt_prog_compiler_wl \
                   20820: lt_prog_compiler_static \
                   20821: lt_cv_prog_compiler_c_o \
                   20822: need_locks \
                   20823: MANIFEST_TOOL \
                   20824: DSYMUTIL \
                   20825: NMEDIT \
                   20826: LIPO \
                   20827: OTOOL \
                   20828: OTOOL64 \
                   20829: shrext_cmds \
                   20830: export_dynamic_flag_spec \
                   20831: whole_archive_flag_spec \
                   20832: compiler_needs_object \
                   20833: with_gnu_ld \
                   20834: allow_undefined_flag \
                   20835: no_undefined_flag \
                   20836: hardcode_libdir_flag_spec \
                   20837: hardcode_libdir_separator \
                   20838: exclude_expsyms \
                   20839: include_expsyms \
                   20840: file_list_spec \
                   20841: variables_saved_for_relink \
                   20842: libname_spec \
                   20843: library_names_spec \
                   20844: soname_spec \
                   20845: install_override_mode \
                   20846: finish_eval \
                   20847: old_striplib \
                   20848: striplib \
                   20849: compiler_lib_search_dirs \
                   20850: predep_objects \
                   20851: postdep_objects \
                   20852: predeps \
                   20853: postdeps \
                   20854: compiler_lib_search_path \
                   20855: LD_CXX \
                   20856: reload_flag_CXX \
                   20857: compiler_CXX \
                   20858: lt_prog_compiler_no_builtin_flag_CXX \
                   20859: lt_prog_compiler_pic_CXX \
                   20860: lt_prog_compiler_wl_CXX \
                   20861: lt_prog_compiler_static_CXX \
                   20862: lt_cv_prog_compiler_c_o_CXX \
                   20863: export_dynamic_flag_spec_CXX \
                   20864: whole_archive_flag_spec_CXX \
                   20865: compiler_needs_object_CXX \
                   20866: with_gnu_ld_CXX \
                   20867: allow_undefined_flag_CXX \
                   20868: no_undefined_flag_CXX \
                   20869: hardcode_libdir_flag_spec_CXX \
                   20870: hardcode_libdir_separator_CXX \
                   20871: exclude_expsyms_CXX \
                   20872: include_expsyms_CXX \
                   20873: file_list_spec_CXX \
                   20874: compiler_lib_search_dirs_CXX \
                   20875: predep_objects_CXX \
                   20876: postdep_objects_CXX \
                   20877: predeps_CXX \
                   20878: postdeps_CXX \
                   20879: compiler_lib_search_path_CXX; do
                   20880:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20881:     *[\\\\\\\`\\"\\\$]*)
                   20882:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20883:       ;;
                   20884:     *)
                   20885:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20886:       ;;
                   20887:     esac
                   20888: done
                   20889: 
                   20890: # Double-quote double-evaled strings.
                   20891: for var in reload_cmds \
                   20892: old_postinstall_cmds \
                   20893: old_postuninstall_cmds \
                   20894: old_archive_cmds \
                   20895: extract_expsyms_cmds \
                   20896: old_archive_from_new_cmds \
                   20897: old_archive_from_expsyms_cmds \
                   20898: archive_cmds \
                   20899: archive_expsym_cmds \
                   20900: module_cmds \
                   20901: module_expsym_cmds \
                   20902: export_symbols_cmds \
                   20903: prelink_cmds \
                   20904: postlink_cmds \
                   20905: postinstall_cmds \
                   20906: postuninstall_cmds \
                   20907: finish_cmds \
                   20908: sys_lib_search_path_spec \
                   20909: sys_lib_dlsearch_path_spec \
                   20910: reload_cmds_CXX \
                   20911: old_archive_cmds_CXX \
                   20912: old_archive_from_new_cmds_CXX \
                   20913: old_archive_from_expsyms_cmds_CXX \
                   20914: archive_cmds_CXX \
                   20915: archive_expsym_cmds_CXX \
                   20916: module_cmds_CXX \
                   20917: module_expsym_cmds_CXX \
                   20918: export_symbols_cmds_CXX \
                   20919: prelink_cmds_CXX \
                   20920: postlink_cmds_CXX; do
                   20921:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20922:     *[\\\\\\\`\\"\\\$]*)
                   20923:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20924:       ;;
                   20925:     *)
                   20926:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20927:       ;;
                   20928:     esac
                   20929: done
                   20930: 
                   20931: ac_aux_dir='$ac_aux_dir'
                   20932: xsi_shell='$xsi_shell'
                   20933: lt_shell_append='$lt_shell_append'
                   20934: 
                   20935: # See if we are running on zsh, and set the options which allow our
                   20936: # commands through without removal of \ escapes INIT.
                   20937: if test -n "\${ZSH_VERSION+set}" ; then
                   20938:    setopt NO_GLOB_SUBST
                   20939: fi
                   20940: 
                   20941: 
                   20942:     PACKAGE='$PACKAGE'
                   20943:     VERSION='$VERSION'
                   20944:     TIMESTAMP='$TIMESTAMP'
                   20945:     RM='$RM'
                   20946:     ofile='$ofile'
                   20947: 
                   20948: 
                   20949: 
                   20950: 
                   20951: 
                   20952: 
1.62      paf      20953: _ACEOF
                   20954: 
                   20955: 
                   20956: 
                   20957: cat >>$CONFIG_STATUS <<\_ACEOF
                   20958: for ac_config_target in $ac_config_targets
1.1       paf      20959: do
1.62      paf      20960:   case "$ac_config_target" in
                   20961:   # Handling of arguments.
                   20962:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20963:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20964:   "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20965:   "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20966:   "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20967:   "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20968:   "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20969:   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.73      paf      20970:   "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20971:   "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
1.67      paf      20972:   "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20973:   "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
1.103     misha    20974:   "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
1.67      paf      20975:   "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20976:   "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20977:   "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62      paf      20978:   "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
1.70      paf      20979:   "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
1.124     moko     20980:   "src/lib/sdbm/pa-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
1.120     misha    20981:   "src/lib/json/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.126     moko     20982:   "src/lib/memcached/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
1.127     moko     20983:   "src/lib/curl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
1.62      paf      20984:   "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20985:   "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
1.122     moko     20986:   "src/targets/apache/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
1.62      paf      20987:   "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20988:   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20989:   "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   20990:   "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   20991:   "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   20992:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.128     moko     20993:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.62      paf      20994:   "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20995:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   20996: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   20997:    { (exit 1); exit 1; }; };;
1.1       paf      20998:   esac
                   20999: done
                   21000: 
1.62      paf      21001: # If the user did not use the arguments to specify the items to instantiate,
                   21002: # then the envvar interface is used.  Set only those that are not.
                   21003: # We use the long form for the default assignment because of an extremely
                   21004: # bizarre bug on SunOS 4.1.3.
                   21005: if $ac_need_defaults; then
                   21006:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   21007:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   21008:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   21009: fi
                   21010: 
                   21011: # Have a temporary directory for convenience.  Make it in the build tree
                   21012: # simply because there is no reason to put it here, and in addition,
                   21013: # creating and moving files from /tmp can sometimes cause problems.
                   21014: # Create a temporary directory, and hook for its removal unless debugging.
                   21015: $debug ||
                   21016: {
                   21017:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   21018:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   21019: }
                   21020: 
                   21021: # Create a (secure) tmp directory for tmp files.
                   21022: 
                   21023: {
                   21024:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   21025:   test -n "$tmp" && test -d "$tmp"
                   21026: }  ||
                   21027: {
                   21028:   tmp=./confstat$$-$RANDOM
                   21029:   (umask 077 && mkdir $tmp)
                   21030: } ||
                   21031: {
                   21032:    echo "$me: cannot create a temporary directory in ." >&2
                   21033:    { (exit 1); exit 1; }
                   21034: }
                   21035: 
                   21036: _ACEOF
1.1       paf      21037: 
1.62      paf      21038: cat >>$CONFIG_STATUS <<_ACEOF
                   21039: 
                   21040: #
                   21041: # CONFIG_FILES section.
                   21042: #
1.1       paf      21043: 
1.62      paf      21044: # No need to generate the scripts if there are no CONFIG_FILES.
                   21045: # This happens for instance when ./config.status config.h
                   21046: if test -n "\$CONFIG_FILES"; then
                   21047:   # Protect against being on the right side of a sed subst in config.status.
                   21048:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   21049:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   21050: s,@SHELL@,$SHELL,;t t
                   21051: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   21052: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   21053: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   21054: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   21055: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   21056: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   21057: s,@exec_prefix@,$exec_prefix,;t t
                   21058: s,@prefix@,$prefix,;t t
                   21059: s,@program_transform_name@,$program_transform_name,;t t
                   21060: s,@bindir@,$bindir,;t t
                   21061: s,@sbindir@,$sbindir,;t t
                   21062: s,@libexecdir@,$libexecdir,;t t
                   21063: s,@datadir@,$datadir,;t t
                   21064: s,@sysconfdir@,$sysconfdir,;t t
                   21065: s,@sharedstatedir@,$sharedstatedir,;t t
                   21066: s,@localstatedir@,$localstatedir,;t t
                   21067: s,@libdir@,$libdir,;t t
                   21068: s,@includedir@,$includedir,;t t
                   21069: s,@oldincludedir@,$oldincludedir,;t t
                   21070: s,@infodir@,$infodir,;t t
                   21071: s,@mandir@,$mandir,;t t
                   21072: s,@build_alias@,$build_alias,;t t
                   21073: s,@host_alias@,$host_alias,;t t
                   21074: s,@target_alias@,$target_alias,;t t
                   21075: s,@DEFS@,$DEFS,;t t
                   21076: s,@ECHO_C@,$ECHO_C,;t t
                   21077: s,@ECHO_N@,$ECHO_N,;t t
                   21078: s,@ECHO_T@,$ECHO_T,;t t
                   21079: s,@LIBS@,$LIBS,;t t
                   21080: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   21081: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   21082: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   21083: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   21084: s,@PACKAGE@,$PACKAGE,;t t
                   21085: s,@VERSION@,$VERSION,;t t
                   21086: s,@ACLOCAL@,$ACLOCAL,;t t
                   21087: s,@AUTOCONF@,$AUTOCONF,;t t
                   21088: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   21089: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   21090: s,@MAKEINFO@,$MAKEINFO,;t t
                   21091: s,@install_sh@,$install_sh,;t t
                   21092: s,@STRIP@,$STRIP,;t t
                   21093: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   21094: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.86      paf      21095: s,@mkdir_p@,$mkdir_p,;t t
1.62      paf      21096: s,@AWK@,$AWK,;t t
                   21097: s,@SET_MAKE@,$SET_MAKE,;t t
1.86      paf      21098: s,@am__leading_dot@,$am__leading_dot,;t t
                   21099: s,@AMTAR@,$AMTAR,;t t
                   21100: s,@am__tar@,$am__tar,;t t
                   21101: s,@am__untar@,$am__untar,;t t
1.62      paf      21102: s,@P3S@,$P3S,;t t
                   21103: s,@build@,$build,;t t
                   21104: s,@build_cpu@,$build_cpu,;t t
                   21105: s,@build_vendor@,$build_vendor,;t t
                   21106: s,@build_os@,$build_os,;t t
                   21107: s,@host@,$host,;t t
                   21108: s,@host_cpu@,$host_cpu,;t t
                   21109: s,@host_vendor@,$host_vendor,;t t
                   21110: s,@host_os@,$host_os,;t t
                   21111: s,@YACC@,$YACC,;t t
1.66      paf      21112: s,@CXX@,$CXX,;t t
                   21113: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62      paf      21114: s,@LDFLAGS@,$LDFLAGS,;t t
                   21115: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66      paf      21116: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62      paf      21117: s,@EXEEXT@,$EXEEXT,;t t
                   21118: s,@OBJEXT@,$OBJEXT,;t t
                   21119: s,@DEPDIR@,$DEPDIR,;t t
                   21120: s,@am__include@,$am__include,;t t
                   21121: s,@am__quote@,$am__quote,;t t
                   21122: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   21123: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   21124: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66      paf      21125: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   21126: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   21127: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   21128: s,@CC@,$CC,;t t
                   21129: s,@CFLAGS@,$CFLAGS,;t t
                   21130: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62      paf      21131: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   21132: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   21133: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   21134: s,@dll_extension@,$dll_extension,;t t
1.67      paf      21135: s,@GC_LIBS@,$GC_LIBS,;t t
1.100     misha    21136: s,@PCRE_INCLUDES@,$PCRE_INCLUDES,;t t
                   21137: s,@PCRE_LIBS@,$PCRE_LIBS,;t t
1.62      paf      21138: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
                   21139: s,@XML_LIBS@,$XML_LIBS,;t t
                   21140: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
                   21141: s,@MIME_LIBS@,$MIME_LIBS,;t t
1.122     moko     21142: s,@APACHE@,$APACHE,;t t
                   21143: s,@APACHE_INC@,$APACHE_INC,;t t
                   21144: s,@APACHE_CFLAGS@,$APACHE_CFLAGS,;t t
                   21145: s,@COMPILE_APACHE_MODULE_TRUE@,$COMPILE_APACHE_MODULE_TRUE,;t t
                   21146: s,@COMPILE_APACHE_MODULE_FALSE@,$COMPILE_APACHE_MODULE_FALSE,;t t
1.128     moko     21147: s,@AS@,$AS,;t t
                   21148: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   21149: s,@DLLTOOL@,$DLLTOOL,;t t
                   21150: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   21151: s,@OBJDUMP@,$OBJDUMP,;t t
                   21152: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   21153: s,@LIBTOOL@,$LIBTOOL,;t t
                   21154: s,@SED@,$SED,;t t
                   21155: s,@EGREP@,$EGREP,;t t
                   21156: s,@FGREP@,$FGREP,;t t
                   21157: s,@GREP@,$GREP,;t t
                   21158: s,@LD@,$LD,;t t
                   21159: s,@DUMPBIN@,$DUMPBIN,;t t
                   21160: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   21161: s,@NM@,$NM,;t t
                   21162: s,@LN_S@,$LN_S,;t t
                   21163: s,@AR@,$AR,;t t
                   21164: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   21165: s,@RANLIB@,$RANLIB,;t t
                   21166: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   21167: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   21168: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   21169: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   21170: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   21171: s,@NMEDIT@,$NMEDIT,;t t
                   21172: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   21173: s,@LIPO@,$LIPO,;t t
                   21174: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   21175: s,@OTOOL@,$OTOOL,;t t
                   21176: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   21177: s,@OTOOL64@,$OTOOL64,;t t
                   21178: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   21179: s,@CPP@,$CPP,;t t
                   21180: s,@CXXCPP@,$CXXCPP,;t t
                   21181: s,@LIBLTDL@,$LIBLTDL,;t t
                   21182: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   21183: s,@LTDLINCL@,$LTDLINCL,;t t
1.62      paf      21184: s,@INCLTDL@,$INCLTDL,;t t
1.128     moko     21185: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   21186: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   21187: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   21188: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   21189: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   21190: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   21191: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   21192: s,@ARGZ_H@,$ARGZ_H,;t t
                   21193: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   21194: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   21195: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   21196: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
1.62      paf      21197: s,@subdirs@,$subdirs,;t t
1.128     moko     21198: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   21199: s,@LTDLOPEN@,$LTDLOPEN,;t t
1.62      paf      21200: s,@LIBOBJS@,$LIBOBJS,;t t
                   21201: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.128     moko     21202: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   21203: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
1.1       paf      21204: CEOF
                   21205: 
1.62      paf      21206: _ACEOF
1.1       paf      21207: 
1.62      paf      21208:   cat >>$CONFIG_STATUS <<\_ACEOF
                   21209:   # Split the substitutions into bite-sized pieces for seds with
                   21210:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   21211:   ac_max_sed_lines=48
                   21212:   ac_sed_frag=1 # Number of current file.
                   21213:   ac_beg=1 # First line for current file.
                   21214:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   21215:   ac_more_lines=:
                   21216:   ac_sed_cmds=
                   21217:   while $ac_more_lines; do
                   21218:     if test $ac_beg -gt 1; then
                   21219:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21220:     else
                   21221:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21222:     fi
                   21223:     if test ! -s $tmp/subs.frag; then
                   21224:       ac_more_lines=false
1.1       paf      21225:     else
1.62      paf      21226:       # The purpose of the label and of the branching condition is to
                   21227:       # speed up the sed processing (if there are no `@' at all, there
                   21228:       # is no need to browse any of the substitutions).
                   21229:       # These are the two extra sed commands mentioned above.
                   21230:       (echo ':t
                   21231:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   21232:       if test -z "$ac_sed_cmds"; then
1.86      paf      21233:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21234:       else
1.86      paf      21235:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21236:       fi
                   21237:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   21238:       ac_beg=$ac_end
                   21239:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       paf      21240:     fi
1.62      paf      21241:   done
                   21242:   if test -z "$ac_sed_cmds"; then
                   21243:     ac_sed_cmds=cat
1.1       paf      21244:   fi
1.62      paf      21245: fi # test -n "$CONFIG_FILES"
1.1       paf      21246: 
1.62      paf      21247: _ACEOF
                   21248: cat >>$CONFIG_STATUS <<\_ACEOF
                   21249: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       paf      21250:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21251:   case $ac_file in
                   21252:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21253:        cat >$tmp/stdin
                   21254:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21255:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21256:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21257:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21258:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21259:   esac
                   21260: 
1.62      paf      21261:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   21262:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21263: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21264:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21265:         X"$ac_file" : 'X\(//\)$' \| \
                   21266:         X"$ac_file" : 'X\(/\)' \| \
                   21267:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21268: echo X"$ac_file" |
                   21269:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21270:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21271:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21272:          /^X\(\/\).*/{ s//\1/; q; }
                   21273:          s/.*/./; q'`
                   21274:   { if $as_mkdir_p; then
                   21275:     mkdir -p "$ac_dir"
                   21276:   else
                   21277:     as_dir="$ac_dir"
                   21278:     as_dirs=
                   21279:     while test ! -d "$as_dir"; do
                   21280:       as_dirs="$as_dir $as_dirs"
                   21281:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21282: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21283:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21284:         X"$as_dir" : 'X\(//\)$' \| \
                   21285:         X"$as_dir" : 'X\(/\)' \| \
                   21286:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21287: echo X"$as_dir" |
                   21288:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21289:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21290:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21291:          /^X\(\/\).*/{ s//\1/; q; }
                   21292:          s/.*/./; q'`
                   21293:     done
                   21294:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21295:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21296: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21297:    { (exit 1); exit 1; }; }; }
                   21298: 
                   21299:   ac_builddir=.
                   21300: 
                   21301: if test "$ac_dir" != .; then
                   21302:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21303:   # A "../" for each directory in $ac_dir_suffix.
                   21304:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21305: else
                   21306:   ac_dir_suffix= ac_top_builddir=
                   21307: fi
                   21308: 
                   21309: case $srcdir in
                   21310:   .)  # No --srcdir option.  We are building in place.
                   21311:     ac_srcdir=.
                   21312:     if test -z "$ac_top_builddir"; then
                   21313:        ac_top_srcdir=.
                   21314:     else
                   21315:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21316:     fi ;;
                   21317:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21318:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21319:     ac_top_srcdir=$srcdir ;;
                   21320:   *) # Relative path.
                   21321:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21322:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21323: esac
1.86      paf      21324: 
                   21325: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21326: # the directories may not exist.
                   21327: case `pwd` in
                   21328: .) ac_abs_builddir="$ac_dir";;
                   21329: *)
                   21330:   case "$ac_dir" in
                   21331:   .) ac_abs_builddir=`pwd`;;
                   21332:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21333:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21334:   esac;;
                   21335: esac
                   21336: case $ac_abs_builddir in
                   21337: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21338: *)
                   21339:   case ${ac_top_builddir}. in
                   21340:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21341:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21342:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21343:   esac;;
                   21344: esac
                   21345: case $ac_abs_builddir in
                   21346: .) ac_abs_srcdir=$ac_srcdir;;
                   21347: *)
                   21348:   case $ac_srcdir in
                   21349:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21350:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21351:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21352:   esac;;
                   21353: esac
                   21354: case $ac_abs_builddir in
                   21355: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21356: *)
                   21357:   case $ac_top_srcdir in
                   21358:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21359:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21360:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21361:   esac;;
                   21362: esac
1.62      paf      21363: 
1.1       paf      21364: 
1.62      paf      21365:   case $INSTALL in
                   21366:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   21367:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       paf      21368:   esac
                   21369: 
1.62      paf      21370:   if test x"$ac_file" != x-; then
                   21371:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21372: echo "$as_me: creating $ac_file" >&6;}
                   21373:     rm -f "$ac_file"
                   21374:   fi
                   21375:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21376:   # use $as_me), people would be surprised to read:
                   21377:   #    /* config.h.  Generated by config.status.  */
                   21378:   if test x"$ac_file" = x-; then
                   21379:     configure_input=
                   21380:   else
                   21381:     configure_input="$ac_file.  "
                   21382:   fi
                   21383:   configure_input=$configure_input"Generated from `echo $ac_file_in |
1.86      paf      21384:                                     sed 's,.*/,,'` by configure."
1.62      paf      21385: 
                   21386:   # First look for the input files in the build tree, otherwise in the
                   21387:   # src tree.
                   21388:   ac_file_inputs=`IFS=:
                   21389:     for f in $ac_file_in; do
                   21390:       case $f in
                   21391:       -) echo $tmp/stdin ;;
                   21392:       [\\/$]*)
1.86      paf      21393:         # Absolute (can't be DOS-style, as IFS=:)
                   21394:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21395: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21396:    { (exit 1); exit 1; }; }
1.86      paf      21397:         echo "$f";;
1.62      paf      21398:       *) # Relative
1.86      paf      21399:         if test -f "$f"; then
                   21400:           # Build tree
                   21401:           echo "$f"
                   21402:         elif test -f "$srcdir/$f"; then
                   21403:           # Source tree
                   21404:           echo "$srcdir/$f"
                   21405:         else
                   21406:           # /dev/null tree
                   21407:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21408: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21409:    { (exit 1); exit 1; }; }
1.86      paf      21410:         fi;;
1.62      paf      21411:       esac
                   21412:     done` || { (exit 1); exit 1; }
                   21413: _ACEOF
                   21414: cat >>$CONFIG_STATUS <<_ACEOF
                   21415:   sed "$ac_vpsub
                   21416: $extrasub
                   21417: _ACEOF
                   21418: cat >>$CONFIG_STATUS <<\_ACEOF
                   21419: :t
                   21420: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   21421: s,@configure_input@,$configure_input,;t t
                   21422: s,@srcdir@,$ac_srcdir,;t t
                   21423: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   21424: s,@top_srcdir@,$ac_top_srcdir,;t t
                   21425: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   21426: s,@builddir@,$ac_builddir,;t t
                   21427: s,@abs_builddir@,$ac_abs_builddir,;t t
                   21428: s,@top_builddir@,$ac_top_builddir,;t t
                   21429: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   21430: s,@INSTALL@,$ac_INSTALL,;t t
                   21431: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   21432:   rm -f $tmp/stdin
                   21433:   if test x"$ac_file" != x-; then
                   21434:     mv $tmp/out $ac_file
                   21435:   else
                   21436:     cat $tmp/out
                   21437:     rm -f $tmp/out
                   21438:   fi
1.1       paf      21439: 
1.62      paf      21440: done
                   21441: _ACEOF
                   21442: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      21443: 
1.62      paf      21444: #
                   21445: # CONFIG_HEADER section.
                   21446: #
1.1       paf      21447: 
                   21448: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   21449: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   21450: #
                   21451: # ac_d sets the value in "#define NAME VALUE" lines.
1.86      paf      21452: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   21453: ac_dB='[        ].*$,\1#\2'
1.62      paf      21454: ac_dC=' '
                   21455: ac_dD=',;t'
                   21456: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.86      paf      21457: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1.62      paf      21458: ac_uB='$,\1#\2define\3'
1.1       paf      21459: ac_uC=' '
1.62      paf      21460: ac_uD=',;t'
                   21461: 
                   21462: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      21463:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21464:   case $ac_file in
                   21465:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21466:        cat >$tmp/stdin
                   21467:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21468:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21469:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21470:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21471:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21472:   esac
                   21473: 
1.62      paf      21474:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21475: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      21476: 
1.62      paf      21477:   # First look for the input files in the build tree, otherwise in the
                   21478:   # src tree.
                   21479:   ac_file_inputs=`IFS=:
                   21480:     for f in $ac_file_in; do
                   21481:       case $f in
                   21482:       -) echo $tmp/stdin ;;
                   21483:       [\\/$]*)
1.86      paf      21484:         # Absolute (can't be DOS-style, as IFS=:)
                   21485:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21486: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21487:    { (exit 1); exit 1; }; }
1.86      paf      21488:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   21489:         echo "$f";;
1.62      paf      21490:       *) # Relative
1.86      paf      21491:         if test -f "$f"; then
                   21492:           # Build tree
                   21493:           echo "$f"
                   21494:         elif test -f "$srcdir/$f"; then
                   21495:           # Source tree
                   21496:           echo "$srcdir/$f"
                   21497:         else
                   21498:           # /dev/null tree
                   21499:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21500: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21501:    { (exit 1); exit 1; }; }
1.86      paf      21502:         fi;;
1.62      paf      21503:       esac
                   21504:     done` || { (exit 1); exit 1; }
                   21505:   # Remove the trailing spaces.
1.86      paf      21506:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
1.62      paf      21507: 
                   21508: _ACEOF
                   21509: 
                   21510: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   21511: # `conftest.undefs', that substitutes the proper values into
                   21512: # config.h.in to produce config.h.  The first handles `#define'
                   21513: # templates, and the second `#undef' templates.
                   21514: # And first: Protect against being on the right side of a sed subst in
                   21515: # config.status.  Protect against being in an unquoted here document
                   21516: # in config.status.
                   21517: rm -f conftest.defines conftest.undefs
                   21518: # Using a here document instead of a string reduces the quoting nightmare.
                   21519: # Putting comments in sed scripts is not portable.
                   21520: #
                   21521: # `end' is used to avoid that the second main sed command (meant for
                   21522: # 0-ary CPP macros) applies to n-ary macro definitions.
                   21523: # See the Autoconf documentation for `clear'.
                   21524: cat >confdef2sed.sed <<\_ACEOF
                   21525: s/[\\&,]/\\&/g
                   21526: s,[\\$`],\\&,g
                   21527: t clear
                   21528: : clear
1.86      paf      21529: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.62      paf      21530: t end
1.86      paf      21531: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.62      paf      21532: : end
                   21533: _ACEOF
                   21534: # If some macros were called several times there might be several times
                   21535: # the same #defines, which is useless.  Nevertheless, we may not want to
                   21536: # sort them, since we want the *last* AC-DEFINE to be honored.
                   21537: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   21538: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   21539: rm -f confdef2sed.sed
1.1       paf      21540: 
                   21541: # This sed command replaces #undef with comments.  This is necessary, for
                   21542: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   21543: # on some systems where configure will not decide to define it.
1.62      paf      21544: cat >>conftest.undefs <<\_ACEOF
1.86      paf      21545: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.62      paf      21546: _ACEOF
                   21547: 
                   21548: # Break up conftest.defines because some shells have a limit on the size
                   21549: # of here documents, and old seds have small limits too (100 cmds).
                   21550: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.86      paf      21551: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.62      paf      21552: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   21553: echo '  :' >>$CONFIG_STATUS
                   21554: rm -f conftest.tail
                   21555: while grep . conftest.defines >/dev/null
                   21556: do
                   21557:   # Write a limited-size here document to $tmp/defines.sed.
                   21558:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   21559:   # Speed up: don't consider the non `#define' lines.
1.86      paf      21560:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
1.62      paf      21561:   # Work around the forget-to-reset-the-flag bug.
                   21562:   echo 't clr' >>$CONFIG_STATUS
                   21563:   echo ': clr' >>$CONFIG_STATUS
                   21564:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   21565:   echo 'CEOF
                   21566:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   21567:   rm -f $tmp/in
                   21568:   mv $tmp/out $tmp/in
                   21569: ' >>$CONFIG_STATUS
                   21570:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   21571:   rm -f conftest.defines
                   21572:   mv conftest.tail conftest.defines
                   21573: done
                   21574: rm -f conftest.defines
                   21575: echo '  fi # grep' >>$CONFIG_STATUS
                   21576: echo >>$CONFIG_STATUS
                   21577: 
                   21578: # Break up conftest.undefs because some shells have a limit on the size
                   21579: # of here documents, and old seds have small limits too (100 cmds).
                   21580: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      21581: rm -f conftest.tail
1.62      paf      21582: while grep . conftest.undefs >/dev/null
1.1       paf      21583: do
1.62      paf      21584:   # Write a limited-size here document to $tmp/undefs.sed.
                   21585:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   21586:   # Speed up: don't consider the non `#undef'
1.86      paf      21587:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
1.62      paf      21588:   # Work around the forget-to-reset-the-flag bug.
                   21589:   echo 't clr' >>$CONFIG_STATUS
                   21590:   echo ': clr' >>$CONFIG_STATUS
                   21591:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      21592:   echo 'CEOF
1.62      paf      21593:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   21594:   rm -f $tmp/in
                   21595:   mv $tmp/out $tmp/in
                   21596: ' >>$CONFIG_STATUS
                   21597:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   21598:   rm -f conftest.undefs
                   21599:   mv conftest.tail conftest.undefs
                   21600: done
                   21601: rm -f conftest.undefs
                   21602: 
                   21603: cat >>$CONFIG_STATUS <<\_ACEOF
                   21604:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21605:   # use $as_me), people would be surprised to read:
                   21606:   #    /* config.h.  Generated by config.status.  */
                   21607:   if test x"$ac_file" = x-; then
                   21608:     echo "/* Generated by configure.  */" >$tmp/config.h
                   21609:   else
                   21610:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   21611:   fi
                   21612:   cat $tmp/in >>$tmp/config.h
                   21613:   rm -f $tmp/in
                   21614:   if test x"$ac_file" != x-; then
                   21615:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   21616:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   21617: echo "$as_me: $ac_file is unchanged" >&6;}
                   21618:     else
                   21619:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21620: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21621:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21622:         X"$ac_file" : 'X\(//\)$' \| \
                   21623:         X"$ac_file" : 'X\(/\)' \| \
                   21624:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21625: echo X"$ac_file" |
                   21626:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21627:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21628:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21629:          /^X\(\/\).*/{ s//\1/; q; }
                   21630:          s/.*/./; q'`
                   21631:       { if $as_mkdir_p; then
                   21632:     mkdir -p "$ac_dir"
                   21633:   else
                   21634:     as_dir="$ac_dir"
                   21635:     as_dirs=
                   21636:     while test ! -d "$as_dir"; do
                   21637:       as_dirs="$as_dir $as_dirs"
                   21638:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21639: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21640:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21641:         X"$as_dir" : 'X\(//\)$' \| \
                   21642:         X"$as_dir" : 'X\(/\)' \| \
                   21643:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21644: echo X"$as_dir" |
                   21645:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21646:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21647:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21648:          /^X\(\/\).*/{ s//\1/; q; }
                   21649:          s/.*/./; q'`
                   21650:     done
                   21651:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21652:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21653: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21654:    { (exit 1); exit 1; }; }; }
                   21655: 
                   21656:       rm -f $ac_file
                   21657:       mv $tmp/config.h $ac_file
                   21658:     fi
                   21659:   else
                   21660:     cat $tmp/config.h
                   21661:     rm -f $tmp/config.h
                   21662:   fi
1.86      paf      21663: # Compute $ac_file's index in $config_headers.
                   21664: _am_stamp_count=1
                   21665: for _am_header in $config_headers :; do
                   21666:   case $_am_header in
                   21667:     $ac_file | $ac_file:* )
                   21668:       break ;;
                   21669:     * )
                   21670:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   21671:   esac
                   21672: done
1.62      paf      21673: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   21674: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21675:         X$ac_file : 'X\(//\)[^/]' \| \
                   21676:         X$ac_file : 'X\(//\)$' \| \
                   21677:         X$ac_file : 'X\(/\)' \| \
                   21678:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21679: echo X$ac_file |
                   21680:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21681:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21682:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21683:          /^X\(\/\).*/{ s//\1/; q; }
                   21684:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   21685: done
                   21686: _ACEOF
                   21687: cat >>$CONFIG_STATUS <<\_ACEOF
                   21688: 
                   21689: #
                   21690: # CONFIG_COMMANDS section.
                   21691: #
                   21692: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   21693:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   21694:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21695:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   21696: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21697:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   21698:         X"$ac_dest" : 'X\(//\)$' \| \
                   21699:         X"$ac_dest" : 'X\(/\)' \| \
                   21700:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21701: echo X"$ac_dest" |
                   21702:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21703:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21704:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21705:          /^X\(\/\).*/{ s//\1/; q; }
                   21706:          s/.*/./; q'`
1.86      paf      21707:   { if $as_mkdir_p; then
                   21708:     mkdir -p "$ac_dir"
                   21709:   else
                   21710:     as_dir="$ac_dir"
                   21711:     as_dirs=
                   21712:     while test ! -d "$as_dir"; do
                   21713:       as_dirs="$as_dir $as_dirs"
                   21714:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21715: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21716:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21717:         X"$as_dir" : 'X\(//\)$' \| \
                   21718:         X"$as_dir" : 'X\(/\)' \| \
                   21719:         .     : '\(.\)' 2>/dev/null ||
                   21720: echo X"$as_dir" |
                   21721:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21722:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21723:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21724:          /^X\(\/\).*/{ s//\1/; q; }
                   21725:          s/.*/./; q'`
                   21726:     done
                   21727:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21728:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21729: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21730:    { (exit 1); exit 1; }; }; }
                   21731: 
1.62      paf      21732:   ac_builddir=.
                   21733: 
                   21734: if test "$ac_dir" != .; then
                   21735:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21736:   # A "../" for each directory in $ac_dir_suffix.
                   21737:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21738: else
                   21739:   ac_dir_suffix= ac_top_builddir=
                   21740: fi
                   21741: 
                   21742: case $srcdir in
                   21743:   .)  # No --srcdir option.  We are building in place.
                   21744:     ac_srcdir=.
                   21745:     if test -z "$ac_top_builddir"; then
                   21746:        ac_top_srcdir=.
                   21747:     else
                   21748:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21749:     fi ;;
                   21750:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21751:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21752:     ac_top_srcdir=$srcdir ;;
                   21753:   *) # Relative path.
                   21754:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21755:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21756: esac
1.86      paf      21757: 
                   21758: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21759: # the directories may not exist.
                   21760: case `pwd` in
                   21761: .) ac_abs_builddir="$ac_dir";;
                   21762: *)
                   21763:   case "$ac_dir" in
                   21764:   .) ac_abs_builddir=`pwd`;;
                   21765:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21766:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21767:   esac;;
                   21768: esac
                   21769: case $ac_abs_builddir in
                   21770: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21771: *)
                   21772:   case ${ac_top_builddir}. in
                   21773:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21774:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21775:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21776:   esac;;
                   21777: esac
                   21778: case $ac_abs_builddir in
                   21779: .) ac_abs_srcdir=$ac_srcdir;;
                   21780: *)
                   21781:   case $ac_srcdir in
                   21782:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21783:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21784:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21785:   esac;;
                   21786: esac
                   21787: case $ac_abs_builddir in
                   21788: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21789: *)
                   21790:   case $ac_top_srcdir in
                   21791:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21792:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21793:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21794:   esac;;
                   21795: esac
1.62      paf      21796: 
                   21797: 
                   21798:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   21799: echo "$as_me: executing $ac_dest commands" >&6;}
                   21800:   case $ac_dest in
                   21801:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   21802:   # Strip MF so we end up with the name of the file.
                   21803:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   21804:   # Check whether this is an Automake generated Makefile or not.
                   21805:   # We used to match only the files named `Makefile.in', but
                   21806:   # some people rename them; so instead we look at the file content.
                   21807:   # Grep'ing the first line is not enough: some people post-process
                   21808:   # each Makefile.in and add a new line on top of each file to say so.
                   21809:   # So let's grep whole file.
                   21810:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   21811:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   21812: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21813:         X"$mf" : 'X\(//\)[^/]' \| \
                   21814:         X"$mf" : 'X\(//\)$' \| \
                   21815:         X"$mf" : 'X\(/\)' \| \
                   21816:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21817: echo X"$mf" |
                   21818:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21819:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21820:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21821:          /^X\(\/\).*/{ s//\1/; q; }
                   21822:          s/.*/./; q'`
                   21823:   else
                   21824:     continue
                   21825:   fi
1.86      paf      21826:   # Extract the definition of DEPDIR, am__include, and am__quote
                   21827:   # from the Makefile without running `make'.
                   21828:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.62      paf      21829:   test -z "$DEPDIR" && continue
1.86      paf      21830:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   21831:   test -z "am__include" && continue
                   21832:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.62      paf      21833:   # When using ansi2knr, U may be empty or an underscore; expand it
1.86      paf      21834:   U=`sed -n 's/^U = //p' < "$mf"`
                   21835:   # Find all dependency output files, they are included files with
                   21836:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   21837:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   21838:   # expansion.
                   21839:   for file in `sed -n "
                   21840:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.62      paf      21841:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   21842:     # Make sure the directory exists.
                   21843:     test -f "$dirpart/$file" && continue
                   21844:     fdir=`(dirname "$file") 2>/dev/null ||
                   21845: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21846:         X"$file" : 'X\(//\)[^/]' \| \
                   21847:         X"$file" : 'X\(//\)$' \| \
                   21848:         X"$file" : 'X\(/\)' \| \
                   21849:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21850: echo X"$file" |
                   21851:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21852:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21853:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21854:          /^X\(\/\).*/{ s//\1/; q; }
                   21855:          s/.*/./; q'`
                   21856:     { if $as_mkdir_p; then
                   21857:     mkdir -p $dirpart/$fdir
                   21858:   else
                   21859:     as_dir=$dirpart/$fdir
                   21860:     as_dirs=
                   21861:     while test ! -d "$as_dir"; do
                   21862:       as_dirs="$as_dir $as_dirs"
                   21863:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21864: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21865:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21866:         X"$as_dir" : 'X\(//\)$' \| \
                   21867:         X"$as_dir" : 'X\(/\)' \| \
                   21868:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21869: echo X"$as_dir" |
                   21870:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21871:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21872:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21873:          /^X\(\/\).*/{ s//\1/; q; }
                   21874:          s/.*/./; q'`
                   21875:     done
                   21876:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21877:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   21878: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   21879:    { (exit 1); exit 1; }; }; }
1.1       paf      21880: 
1.62      paf      21881:     # echo "creating $dirpart/$file"
                   21882:     echo '# dummy' > "$dirpart/$file"
                   21883:   done
                   21884: done
                   21885:  ;;
1.128     moko     21886:     libtool )
                   21887: 
                   21888:     # See if we are running on zsh, and set the options which allow our
                   21889:     # commands through without removal of \ escapes.
                   21890:     if test -n "${ZSH_VERSION+set}" ; then
                   21891:       setopt NO_GLOB_SUBST
                   21892:     fi
                   21893: 
                   21894:     cfgfile="${ofile}T"
                   21895:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   21896:     $RM "$cfgfile"
                   21897: 
                   21898:     cat <<_LT_EOF >> "$cfgfile"
                   21899: #! $SHELL
                   21900: 
                   21901: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   21902: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   21903: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   21904: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   21905: #
                   21906: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   21907: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   21908: #                 Foundation, Inc.
                   21909: #   Written by Gordon Matzigkeit, 1996
                   21910: #
                   21911: #   This file is part of GNU Libtool.
                   21912: #
                   21913: # GNU Libtool is free software; you can redistribute it and/or
                   21914: # modify it under the terms of the GNU General Public License as
                   21915: # published by the Free Software Foundation; either version 2 of
                   21916: # the License, or (at your option) any later version.
                   21917: #
                   21918: # As a special exception to the GNU General Public License,
                   21919: # if you distribute this file as part of a program or library that
                   21920: # is built using GNU Libtool, you may include this file under the
                   21921: # same distribution terms that you use for the rest of that program.
                   21922: #
                   21923: # GNU Libtool is distributed in the hope that it will be useful,
                   21924: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   21925: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   21926: # GNU General Public License for more details.
                   21927: #
                   21928: # You should have received a copy of the GNU General Public License
                   21929: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   21930: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   21931: # obtained by writing to the Free Software Foundation, Inc.,
                   21932: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   21933: 
                   21934: 
                   21935: # The names of the tagged configurations supported by this script.
                   21936: available_tags="CXX "
                   21937: 
                   21938: # ### BEGIN LIBTOOL CONFIG
                   21939: 
                   21940: # Which release of libtool.m4 was used?
                   21941: macro_version=$macro_version
                   21942: macro_revision=$macro_revision
                   21943: 
                   21944: # Assembler program.
                   21945: AS=$lt_AS
                   21946: 
                   21947: # DLL creation program.
                   21948: DLLTOOL=$lt_DLLTOOL
                   21949: 
                   21950: # Object dumper program.
                   21951: OBJDUMP=$lt_OBJDUMP
                   21952: 
1.145   ! moko     21953: # What type of objects to build.
        !          21954: pic_mode=$pic_mode
        !          21955: 
1.128     moko     21956: # Whether or not to build shared libraries.
                   21957: build_libtool_libs=$enable_shared
                   21958: 
1.138     moko     21959: # Whether or not to build static libraries.
                   21960: build_old_libs=$enable_static
                   21961: 
1.128     moko     21962: # Whether or not to optimize for fast installation.
                   21963: fast_install=$enable_fast_install
                   21964: 
                   21965: # Shell to use when invoking shell scripts.
                   21966: SHELL=$lt_SHELL
                   21967: 
                   21968: # An echo program that protects backslashes.
                   21969: ECHO=$lt_ECHO
                   21970: 
                   21971: # The PATH separator for the build system.
                   21972: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   21973: 
                   21974: # The host system.
                   21975: host_alias=$host_alias
                   21976: host=$host
                   21977: host_os=$host_os
                   21978: 
                   21979: # The build system.
                   21980: build_alias=$build_alias
                   21981: build=$build
                   21982: build_os=$build_os
                   21983: 
                   21984: # A sed program that does not truncate output.
                   21985: SED=$lt_SED
                   21986: 
                   21987: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   21988: Xsed="\$SED -e 1s/^X//"
                   21989: 
                   21990: # A grep program that handles long lines.
                   21991: GREP=$lt_GREP
                   21992: 
                   21993: # An ERE matcher.
                   21994: EGREP=$lt_EGREP
                   21995: 
                   21996: # A literal string matcher.
                   21997: FGREP=$lt_FGREP
                   21998: 
                   21999: # A BSD- or MS-compatible name lister.
                   22000: NM=$lt_NM
                   22001: 
                   22002: # Whether we need soft or hard links.
                   22003: LN_S=$lt_LN_S
                   22004: 
                   22005: # What is the maximum length of a command?
                   22006: max_cmd_len=$max_cmd_len
                   22007: 
                   22008: # Object file suffix (normally "o").
                   22009: objext=$ac_objext
                   22010: 
                   22011: # Executable file suffix (normally "").
                   22012: exeext=$exeext
                   22013: 
                   22014: # whether the shell understands "unset".
                   22015: lt_unset=$lt_unset
                   22016: 
                   22017: # turn spaces into newlines.
                   22018: SP2NL=$lt_lt_SP2NL
                   22019: 
                   22020: # turn newlines into spaces.
                   22021: NL2SP=$lt_lt_NL2SP
                   22022: 
                   22023: # convert \$build file names to \$host format.
                   22024: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   22025: 
                   22026: # convert \$build files to toolchain format.
                   22027: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   22028: 
                   22029: # Method to check whether dependent libraries are shared objects.
                   22030: deplibs_check_method=$lt_deplibs_check_method
                   22031: 
                   22032: # Command to use when deplibs_check_method = "file_magic".
                   22033: file_magic_cmd=$lt_file_magic_cmd
                   22034: 
                   22035: # How to find potential files when deplibs_check_method = "file_magic".
                   22036: file_magic_glob=$lt_file_magic_glob
                   22037: 
                   22038: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   22039: want_nocaseglob=$lt_want_nocaseglob
                   22040: 
                   22041: # Command to associate shared and link libraries.
                   22042: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   22043: 
                   22044: # The archiver.
                   22045: AR=$lt_AR
                   22046: 
                   22047: # Flags to create an archive.
                   22048: AR_FLAGS=$lt_AR_FLAGS
                   22049: 
                   22050: # How to feed a file listing to the archiver.
                   22051: archiver_list_spec=$lt_archiver_list_spec
                   22052: 
                   22053: # A symbol stripping program.
                   22054: STRIP=$lt_STRIP
                   22055: 
                   22056: # Commands used to install an old-style archive.
                   22057: RANLIB=$lt_RANLIB
                   22058: old_postinstall_cmds=$lt_old_postinstall_cmds
                   22059: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   22060: 
                   22061: # Whether to use a lock for old archive extraction.
                   22062: lock_old_archive_extraction=$lock_old_archive_extraction
                   22063: 
                   22064: # A C compiler.
                   22065: LTCC=$lt_CC
                   22066: 
                   22067: # LTCC compiler flags.
                   22068: LTCFLAGS=$lt_CFLAGS
                   22069: 
                   22070: # Take the output of nm and produce a listing of raw symbols and C names.
                   22071: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   22072: 
                   22073: # Transform the output of nm in a proper C declaration.
                   22074: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   22075: 
                   22076: # Transform the output of nm in a C name address pair.
                   22077: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   22078: 
                   22079: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   22080: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   22081: 
                   22082: # Specify filename containing input files for \$NM.
                   22083: nm_file_list_spec=$lt_nm_file_list_spec
                   22084: 
                   22085: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   22086: lt_sysroot=$lt_sysroot
                   22087: 
                   22088: # The name of the directory that contains temporary libtool files.
                   22089: objdir=$objdir
                   22090: 
                   22091: # Used to examine libraries when file_magic_cmd begins with "file".
                   22092: MAGIC_CMD=$MAGIC_CMD
                   22093: 
                   22094: # Must we lock files when doing compilation?
                   22095: need_locks=$lt_need_locks
                   22096: 
                   22097: # Manifest tool.
                   22098: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   22099: 
                   22100: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   22101: DSYMUTIL=$lt_DSYMUTIL
                   22102: 
                   22103: # Tool to change global to local symbols on Mac OS X.
                   22104: NMEDIT=$lt_NMEDIT
                   22105: 
                   22106: # Tool to manipulate fat objects and archives on Mac OS X.
                   22107: LIPO=$lt_LIPO
                   22108: 
                   22109: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   22110: OTOOL=$lt_OTOOL
                   22111: 
                   22112: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   22113: OTOOL64=$lt_OTOOL64
                   22114: 
                   22115: # Old archive suffix (normally "a").
                   22116: libext=$libext
                   22117: 
                   22118: # Shared library suffix (normally ".so").
                   22119: shrext_cmds=$lt_shrext_cmds
                   22120: 
                   22121: # The commands to extract the exported symbol list from a shared archive.
                   22122: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   22123: 
                   22124: # Variables whose values should be saved in libtool wrapper scripts and
                   22125: # restored at link time.
                   22126: variables_saved_for_relink=$lt_variables_saved_for_relink
                   22127: 
                   22128: # Do we need the "lib" prefix for modules?
                   22129: need_lib_prefix=$need_lib_prefix
                   22130: 
                   22131: # Do we need a version for libraries?
                   22132: need_version=$need_version
                   22133: 
                   22134: # Library versioning type.
                   22135: version_type=$version_type
                   22136: 
                   22137: # Shared library runtime path variable.
                   22138: runpath_var=$runpath_var
                   22139: 
                   22140: # Shared library path variable.
                   22141: shlibpath_var=$shlibpath_var
                   22142: 
                   22143: # Is shlibpath searched before the hard-coded library search path?
                   22144: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   22145: 
                   22146: # Format of library name prefix.
                   22147: libname_spec=$lt_libname_spec
                   22148: 
                   22149: # List of archive names.  First name is the real one, the rest are links.
                   22150: # The last name is the one that the linker finds with -lNAME
                   22151: library_names_spec=$lt_library_names_spec
                   22152: 
                   22153: # The coded name of the library, if different from the real name.
                   22154: soname_spec=$lt_soname_spec
                   22155: 
                   22156: # Permission mode override for installation of shared libraries.
                   22157: install_override_mode=$lt_install_override_mode
                   22158: 
                   22159: # Command to use after installation of a shared archive.
                   22160: postinstall_cmds=$lt_postinstall_cmds
                   22161: 
                   22162: # Command to use after uninstallation of a shared archive.
                   22163: postuninstall_cmds=$lt_postuninstall_cmds
                   22164: 
                   22165: # Commands used to finish a libtool library installation in a directory.
                   22166: finish_cmds=$lt_finish_cmds
                   22167: 
                   22168: # As "finish_cmds", except a single script fragment to be evaled but
                   22169: # not shown.
                   22170: finish_eval=$lt_finish_eval
                   22171: 
                   22172: # Whether we should hardcode library paths into libraries.
                   22173: hardcode_into_libs=$hardcode_into_libs
                   22174: 
                   22175: # Compile-time system search path for libraries.
                   22176: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   22177: 
                   22178: # Run-time system search path for libraries.
                   22179: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   22180: 
                   22181: # Whether dlopen is supported.
                   22182: dlopen_support=$enable_dlopen
                   22183: 
                   22184: # Whether dlopen of programs is supported.
                   22185: dlopen_self=$enable_dlopen_self
                   22186: 
                   22187: # Whether dlopen of statically linked programs is supported.
                   22188: dlopen_self_static=$enable_dlopen_self_static
                   22189: 
                   22190: # Commands to strip libraries.
                   22191: old_striplib=$lt_old_striplib
                   22192: striplib=$lt_striplib
                   22193: 
                   22194: 
                   22195: # The linker used to build libraries.
                   22196: LD=$lt_LD
                   22197: 
                   22198: # How to create reloadable object files.
                   22199: reload_flag=$lt_reload_flag
                   22200: reload_cmds=$lt_reload_cmds
                   22201: 
                   22202: # Commands used to build an old-style archive.
                   22203: old_archive_cmds=$lt_old_archive_cmds
                   22204: 
                   22205: # A language specific compiler.
                   22206: CC=$lt_compiler
                   22207: 
                   22208: # Is the compiler the GNU compiler?
                   22209: with_gcc=$GCC
                   22210: 
                   22211: # Compiler flag to turn off builtin functions.
                   22212: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   22213: 
                   22214: # Additional compiler flags for building library objects.
                   22215: pic_flag=$lt_lt_prog_compiler_pic
                   22216: 
                   22217: # How to pass a linker flag through the compiler.
                   22218: wl=$lt_lt_prog_compiler_wl
                   22219: 
                   22220: # Compiler flag to prevent dynamic linking.
                   22221: link_static_flag=$lt_lt_prog_compiler_static
                   22222: 
                   22223: # Does compiler simultaneously support -c and -o options?
                   22224: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   22225: 
                   22226: # Whether or not to add -lc for building shared libraries.
                   22227: build_libtool_need_lc=$archive_cmds_need_lc
                   22228: 
                   22229: # Whether or not to disallow shared libs when runtime libs are static.
                   22230: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   22231: 
                   22232: # Compiler flag to allow reflexive dlopens.
                   22233: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   22234: 
                   22235: # Compiler flag to generate shared objects directly from archives.
                   22236: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   22237: 
                   22238: # Whether the compiler copes with passing no objects directly.
                   22239: compiler_needs_object=$lt_compiler_needs_object
                   22240: 
                   22241: # Create an old-style archive from a shared archive.
                   22242: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   22243: 
                   22244: # Create a temporary old-style archive to link instead of a shared archive.
                   22245: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   22246: 
                   22247: # Commands used to build a shared archive.
                   22248: archive_cmds=$lt_archive_cmds
                   22249: archive_expsym_cmds=$lt_archive_expsym_cmds
                   22250: 
                   22251: # Commands used to build a loadable module if different from building
                   22252: # a shared archive.
                   22253: module_cmds=$lt_module_cmds
                   22254: module_expsym_cmds=$lt_module_expsym_cmds
                   22255: 
                   22256: # Whether we are building with GNU ld or not.
                   22257: with_gnu_ld=$lt_with_gnu_ld
                   22258: 
                   22259: # Flag that allows shared libraries with undefined symbols to be built.
                   22260: allow_undefined_flag=$lt_allow_undefined_flag
                   22261: 
                   22262: # Flag that enforces no undefined symbols.
                   22263: no_undefined_flag=$lt_no_undefined_flag
                   22264: 
                   22265: # Flag to hardcode \$libdir into a binary during linking.
                   22266: # This must work even if \$libdir does not exist
                   22267: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   22268: 
                   22269: # Whether we need a single "-rpath" flag with a separated argument.
                   22270: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   22271: 
                   22272: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22273: # DIR into the resulting binary.
                   22274: hardcode_direct=$hardcode_direct
                   22275: 
                   22276: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22277: # DIR into the resulting binary and the resulting library dependency is
                   22278: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22279: # library is relocated.
                   22280: hardcode_direct_absolute=$hardcode_direct_absolute
                   22281: 
                   22282: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22283: # into the resulting binary.
                   22284: hardcode_minus_L=$hardcode_minus_L
                   22285: 
                   22286: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22287: # into the resulting binary.
                   22288: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   22289: 
                   22290: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22291: # into the library and all subsequent libraries and executables linked
                   22292: # against it.
                   22293: hardcode_automatic=$hardcode_automatic
                   22294: 
                   22295: # Set to yes if linker adds runtime paths of dependent libraries
                   22296: # to runtime path list.
                   22297: inherit_rpath=$inherit_rpath
                   22298: 
                   22299: # Whether libtool must link a program against all its dependency libraries.
                   22300: link_all_deplibs=$link_all_deplibs
                   22301: 
                   22302: # Set to "yes" if exported symbols are required.
                   22303: always_export_symbols=$always_export_symbols
                   22304: 
                   22305: # The commands to list exported symbols.
                   22306: export_symbols_cmds=$lt_export_symbols_cmds
                   22307: 
                   22308: # Symbols that should not be listed in the preloaded symbols.
                   22309: exclude_expsyms=$lt_exclude_expsyms
                   22310: 
                   22311: # Symbols that must always be exported.
                   22312: include_expsyms=$lt_include_expsyms
                   22313: 
                   22314: # Commands necessary for linking programs (against libraries) with templates.
                   22315: prelink_cmds=$lt_prelink_cmds
                   22316: 
                   22317: # Commands necessary for finishing linking programs.
                   22318: postlink_cmds=$lt_postlink_cmds
                   22319: 
                   22320: # Specify filename containing input files.
                   22321: file_list_spec=$lt_file_list_spec
                   22322: 
                   22323: # How to hardcode a shared library path into an executable.
                   22324: hardcode_action=$hardcode_action
                   22325: 
                   22326: # The directories searched by this compiler when creating a shared library.
                   22327: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   22328: 
                   22329: # Dependencies to place before and after the objects being linked to
                   22330: # create a shared library.
                   22331: predep_objects=$lt_predep_objects
                   22332: postdep_objects=$lt_postdep_objects
                   22333: predeps=$lt_predeps
                   22334: postdeps=$lt_postdeps
                   22335: 
                   22336: # The library search path used internally by the compiler when linking
                   22337: # a shared library.
                   22338: compiler_lib_search_path=$lt_compiler_lib_search_path
                   22339: 
                   22340: # ### END LIBTOOL CONFIG
                   22341: 
                   22342: _LT_EOF
                   22343: 
                   22344:   case $host_os in
                   22345:   aix3*)
                   22346:     cat <<\_LT_EOF >> "$cfgfile"
                   22347: # AIX sometimes has problems with the GCC collect2 program.  For some
                   22348: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   22349: # vanish in a puff of smoke.
                   22350: if test "X${COLLECT_NAMES+set}" != Xset; then
                   22351:   COLLECT_NAMES=
                   22352:   export COLLECT_NAMES
                   22353: fi
                   22354: _LT_EOF
                   22355:     ;;
                   22356:   esac
                   22357: 
                   22358: 
                   22359: ltmain="$ac_aux_dir/ltmain.sh"
                   22360: 
                   22361: 
                   22362:   # We use sed instead of cat because bash on DJGPP gets confused if
                   22363:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   22364:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   22365:   # is reportedly fixed, but why not run on old versions too?
                   22366:   sed '$q' "$ltmain" >> "$cfgfile" \
                   22367:      || (rm -f "$cfgfile"; exit 1)
                   22368: 
                   22369:   if test x"$xsi_shell" = xyes; then
                   22370:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   22371: func_dirname ()\
                   22372: {\
                   22373: \    case ${1} in\
                   22374: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22375: \      *  ) func_dirname_result="${3}" ;;\
                   22376: \    esac\
                   22377: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   22378:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22379:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22380: test 0 -eq $? || _lt_function_replace_fail=:
                   22381: 
                   22382: 
                   22383:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   22384: func_basename ()\
                   22385: {\
                   22386: \    func_basename_result="${1##*/}"\
                   22387: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   22388:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22389:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22390: test 0 -eq $? || _lt_function_replace_fail=:
                   22391: 
                   22392: 
                   22393:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   22394: func_dirname_and_basename ()\
                   22395: {\
                   22396: \    case ${1} in\
                   22397: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22398: \      *  ) func_dirname_result="${3}" ;;\
                   22399: \    esac\
                   22400: \    func_basename_result="${1##*/}"\
                   22401: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   22402:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22403:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22404: test 0 -eq $? || _lt_function_replace_fail=:
                   22405: 
                   22406: 
                   22407:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   22408: func_stripname ()\
                   22409: {\
                   22410: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   22411: \    # positional parameters, so assign one to ordinary parameter first.\
                   22412: \    func_stripname_result=${3}\
                   22413: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   22414: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   22415: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   22416:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22417:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22418: test 0 -eq $? || _lt_function_replace_fail=:
                   22419: 
                   22420: 
                   22421:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   22422: func_split_long_opt ()\
                   22423: {\
                   22424: \    func_split_long_opt_name=${1%%=*}\
                   22425: \    func_split_long_opt_arg=${1#*=}\
                   22426: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22427:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22428:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22429: test 0 -eq $? || _lt_function_replace_fail=:
                   22430: 
                   22431: 
                   22432:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   22433: func_split_short_opt ()\
                   22434: {\
                   22435: \    func_split_short_opt_arg=${1#??}\
                   22436: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   22437: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22438:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22439:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22440: test 0 -eq $? || _lt_function_replace_fail=:
                   22441: 
                   22442: 
                   22443:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   22444: func_lo2o ()\
                   22445: {\
                   22446: \    case ${1} in\
                   22447: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   22448: \      *)    func_lo2o_result=${1} ;;\
                   22449: \    esac\
                   22450: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   22451:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22452:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22453: test 0 -eq $? || _lt_function_replace_fail=:
                   22454: 
                   22455: 
                   22456:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   22457: func_xform ()\
                   22458: {\
                   22459:     func_xform_result=${1%.*}.lo\
                   22460: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   22461:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22462:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22463: test 0 -eq $? || _lt_function_replace_fail=:
                   22464: 
                   22465: 
                   22466:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   22467: func_arith ()\
                   22468: {\
                   22469:     func_arith_result=$(( $* ))\
                   22470: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   22471:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22472:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22473: test 0 -eq $? || _lt_function_replace_fail=:
                   22474: 
                   22475: 
                   22476:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   22477: func_len ()\
                   22478: {\
                   22479:     func_len_result=${#1}\
                   22480: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   22481:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22482:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22483: test 0 -eq $? || _lt_function_replace_fail=:
                   22484: 
                   22485: fi
                   22486: 
                   22487: if test x"$lt_shell_append" = xyes; then
                   22488:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   22489: func_append ()\
                   22490: {\
                   22491:     eval "${1}+=\\${2}"\
                   22492: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   22493:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22494:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22495: test 0 -eq $? || _lt_function_replace_fail=:
                   22496: 
                   22497: 
                   22498:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   22499: func_append_quoted ()\
                   22500: {\
                   22501: \    func_quote_for_eval "${2}"\
                   22502: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   22503: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   22504:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22505:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22506: test 0 -eq $? || _lt_function_replace_fail=:
                   22507: 
                   22508: 
                   22509:   # Save a `func_append' function call where possible by direct use of '+='
                   22510:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   22511:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22512:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22513:   test 0 -eq $? || _lt_function_replace_fail=:
                   22514: else
                   22515:   # Save a `func_append' function call even when '+=' is not available
                   22516:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   22517:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22518:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22519:   test 0 -eq $? || _lt_function_replace_fail=:
                   22520: fi
                   22521: 
                   22522: if test x"$_lt_function_replace_fail" = x":"; then
                   22523:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   22524: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   22525: fi
                   22526: 
                   22527: 
                   22528:    mv -f "$cfgfile" "$ofile" ||
                   22529:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   22530:   chmod +x "$ofile"
                   22531: 
                   22532: 
                   22533:     cat <<_LT_EOF >> "$ofile"
                   22534: 
                   22535: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   22536: 
                   22537: # The linker used to build libraries.
                   22538: LD=$lt_LD_CXX
                   22539: 
                   22540: # How to create reloadable object files.
                   22541: reload_flag=$lt_reload_flag_CXX
                   22542: reload_cmds=$lt_reload_cmds_CXX
                   22543: 
                   22544: # Commands used to build an old-style archive.
                   22545: old_archive_cmds=$lt_old_archive_cmds_CXX
                   22546: 
                   22547: # A language specific compiler.
                   22548: CC=$lt_compiler_CXX
                   22549: 
                   22550: # Is the compiler the GNU compiler?
                   22551: with_gcc=$GCC_CXX
                   22552: 
                   22553: # Compiler flag to turn off builtin functions.
                   22554: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   22555: 
                   22556: # Additional compiler flags for building library objects.
                   22557: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   22558: 
                   22559: # How to pass a linker flag through the compiler.
                   22560: wl=$lt_lt_prog_compiler_wl_CXX
                   22561: 
                   22562: # Compiler flag to prevent dynamic linking.
                   22563: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   22564: 
                   22565: # Does compiler simultaneously support -c and -o options?
                   22566: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   22567: 
                   22568: # Whether or not to add -lc for building shared libraries.
                   22569: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   22570: 
                   22571: # Whether or not to disallow shared libs when runtime libs are static.
                   22572: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   22573: 
                   22574: # Compiler flag to allow reflexive dlopens.
                   22575: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   22576: 
                   22577: # Compiler flag to generate shared objects directly from archives.
                   22578: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   22579: 
                   22580: # Whether the compiler copes with passing no objects directly.
                   22581: compiler_needs_object=$lt_compiler_needs_object_CXX
                   22582: 
                   22583: # Create an old-style archive from a shared archive.
                   22584: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   22585: 
                   22586: # Create a temporary old-style archive to link instead of a shared archive.
                   22587: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   22588: 
                   22589: # Commands used to build a shared archive.
                   22590: archive_cmds=$lt_archive_cmds_CXX
                   22591: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   22592: 
                   22593: # Commands used to build a loadable module if different from building
                   22594: # a shared archive.
                   22595: module_cmds=$lt_module_cmds_CXX
                   22596: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   22597: 
                   22598: # Whether we are building with GNU ld or not.
                   22599: with_gnu_ld=$lt_with_gnu_ld_CXX
                   22600: 
                   22601: # Flag that allows shared libraries with undefined symbols to be built.
                   22602: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   22603: 
                   22604: # Flag that enforces no undefined symbols.
                   22605: no_undefined_flag=$lt_no_undefined_flag_CXX
                   22606: 
                   22607: # Flag to hardcode \$libdir into a binary during linking.
                   22608: # This must work even if \$libdir does not exist
                   22609: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   22610: 
                   22611: # Whether we need a single "-rpath" flag with a separated argument.
                   22612: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   22613: 
                   22614: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22615: # DIR into the resulting binary.
                   22616: hardcode_direct=$hardcode_direct_CXX
                   22617: 
                   22618: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22619: # DIR into the resulting binary and the resulting library dependency is
                   22620: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22621: # library is relocated.
                   22622: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   22623: 
                   22624: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22625: # into the resulting binary.
                   22626: hardcode_minus_L=$hardcode_minus_L_CXX
                   22627: 
                   22628: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22629: # into the resulting binary.
                   22630: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   22631: 
                   22632: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22633: # into the library and all subsequent libraries and executables linked
                   22634: # against it.
                   22635: hardcode_automatic=$hardcode_automatic_CXX
                   22636: 
                   22637: # Set to yes if linker adds runtime paths of dependent libraries
                   22638: # to runtime path list.
                   22639: inherit_rpath=$inherit_rpath_CXX
                   22640: 
                   22641: # Whether libtool must link a program against all its dependency libraries.
                   22642: link_all_deplibs=$link_all_deplibs_CXX
                   22643: 
                   22644: # Set to "yes" if exported symbols are required.
                   22645: always_export_symbols=$always_export_symbols_CXX
                   22646: 
                   22647: # The commands to list exported symbols.
                   22648: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   22649: 
                   22650: # Symbols that should not be listed in the preloaded symbols.
                   22651: exclude_expsyms=$lt_exclude_expsyms_CXX
                   22652: 
                   22653: # Symbols that must always be exported.
                   22654: include_expsyms=$lt_include_expsyms_CXX
                   22655: 
                   22656: # Commands necessary for linking programs (against libraries) with templates.
                   22657: prelink_cmds=$lt_prelink_cmds_CXX
                   22658: 
                   22659: # Commands necessary for finishing linking programs.
                   22660: postlink_cmds=$lt_postlink_cmds_CXX
                   22661: 
                   22662: # Specify filename containing input files.
                   22663: file_list_spec=$lt_file_list_spec_CXX
                   22664: 
                   22665: # How to hardcode a shared library path into an executable.
                   22666: hardcode_action=$hardcode_action_CXX
                   22667: 
                   22668: # The directories searched by this compiler when creating a shared library.
                   22669: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   22670: 
                   22671: # Dependencies to place before and after the objects being linked to
                   22672: # create a shared library.
                   22673: predep_objects=$lt_predep_objects_CXX
                   22674: postdep_objects=$lt_postdep_objects_CXX
                   22675: predeps=$lt_predeps_CXX
                   22676: postdeps=$lt_postdeps_CXX
                   22677: 
                   22678: # The library search path used internally by the compiler when linking
                   22679: # a shared library.
                   22680: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   22681: 
                   22682: # ### END LIBTOOL TAG CONFIG: CXX
                   22683: _LT_EOF
                   22684: 
                   22685:  ;;
1.62      paf      22686:   esac
                   22687: done
                   22688: _ACEOF
                   22689: 
                   22690: cat >>$CONFIG_STATUS <<\_ACEOF
                   22691: 
                   22692: { (exit 0); exit 0; }
                   22693: _ACEOF
1.1       paf      22694: chmod +x $CONFIG_STATUS
1.62      paf      22695: ac_clean_files=$ac_clean_files_save
                   22696: 
1.1       paf      22697: 
1.62      paf      22698: # configure is writing to config.log, and then calls config.status.
                   22699: # config.status does its own redirection, appending to config.log.
                   22700: # Unfortunately, on DOS this fails, as config.log is still kept open
                   22701: # by configure, so config.status won't be able to write to it; its
                   22702: # output is simply discarded.  So we exec the FD to /dev/null,
                   22703: # effectively closing config.log, so it can be properly (re)opened and
                   22704: # appended to by config.status.  When coming back to configure, we
                   22705: # need to make the FD available again.
                   22706: if test "$no_create" != yes; then
                   22707:   ac_cs_success=:
                   22708:   ac_config_status_args=
                   22709:   test "$silent" = yes &&
                   22710:     ac_config_status_args="$ac_config_status_args --quiet"
                   22711:   exec 5>/dev/null
                   22712:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   22713:   exec 5>>config.log
                   22714:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   22715:   # would make configure fail if this is the last instruction.
                   22716:   $ac_cs_success || { (exit 1); exit 1; }
                   22717: fi
                   22718: 
                   22719: #
                   22720: # CONFIG_SUBDIRS section.
                   22721: #
1.1       paf      22722: if test "$no_recursion" != yes; then
                   22723: 
                   22724:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   22725:   ac_sub_configure_args=
                   22726:   ac_prev=
                   22727:   for ac_arg in $ac_configure_args; do
                   22728:     if test -n "$ac_prev"; then
                   22729:       ac_prev=
                   22730:       continue
                   22731:     fi
1.62      paf      22732:     case $ac_arg in
1.1       paf      22733:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   22734:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   22735:       ac_prev=cache_file ;;
                   22736:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      22737:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   22738:     | --c=*)
                   22739:       ;;
                   22740:     --config-cache | -C)
1.1       paf      22741:       ;;
                   22742:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   22743:       ac_prev=srcdir ;;
                   22744:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   22745:       ;;
1.62      paf      22746:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   22747:       ac_prev=prefix ;;
                   22748:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   22749:       ;;
1.1       paf      22750:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   22751:     esac
                   22752:   done
                   22753: 
1.62      paf      22754:   # Always prepend --prefix to ensure using the same prefix
                   22755:   # in subdir configurations.
                   22756:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   22757: 
                   22758:   ac_popdir=`pwd`
                   22759:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      22760: 
                   22761:     # Do not complain, so a configure script can configure whichever
                   22762:     # parts of a large source tree are present.
1.62      paf      22763:     test -d $srcdir/$ac_dir || continue
1.1       paf      22764: 
1.62      paf      22765:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   22766: echo "$as_me: configuring in $ac_dir" >&6;}
                   22767:     { if $as_mkdir_p; then
                   22768:     mkdir -p "$ac_dir"
                   22769:   else
                   22770:     as_dir="$ac_dir"
                   22771:     as_dirs=
                   22772:     while test ! -d "$as_dir"; do
                   22773:       as_dirs="$as_dir $as_dirs"
                   22774:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   22775: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      22776:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   22777:         X"$as_dir" : 'X\(//\)$' \| \
                   22778:         X"$as_dir" : 'X\(/\)' \| \
                   22779:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      22780: echo X"$as_dir" |
                   22781:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   22782:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   22783:          /^X\(\/\/\)$/{ s//\1/; q; }
                   22784:          /^X\(\/\).*/{ s//\1/; q; }
                   22785:          s/.*/./; q'`
                   22786:     done
                   22787:     test ! -n "$as_dirs" || mkdir $as_dirs
                   22788:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   22789: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   22790:    { (exit 1); exit 1; }; }; }
                   22791: 
                   22792:     ac_builddir=.
                   22793: 
                   22794: if test "$ac_dir" != .; then
                   22795:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   22796:   # A "../" for each directory in $ac_dir_suffix.
                   22797:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   22798: else
                   22799:   ac_dir_suffix= ac_top_builddir=
                   22800: fi
                   22801: 
                   22802: case $srcdir in
                   22803:   .)  # No --srcdir option.  We are building in place.
                   22804:     ac_srcdir=.
                   22805:     if test -z "$ac_top_builddir"; then
                   22806:        ac_top_srcdir=.
                   22807:     else
                   22808:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   22809:     fi ;;
                   22810:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   22811:     ac_srcdir=$srcdir$ac_dir_suffix;
                   22812:     ac_top_srcdir=$srcdir ;;
                   22813:   *) # Relative path.
                   22814:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   22815:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   22816: esac
1.86      paf      22817: 
                   22818: # Do not use `cd foo && pwd` to compute absolute paths, because
                   22819: # the directories may not exist.
                   22820: case `pwd` in
                   22821: .) ac_abs_builddir="$ac_dir";;
                   22822: *)
                   22823:   case "$ac_dir" in
                   22824:   .) ac_abs_builddir=`pwd`;;
                   22825:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   22826:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   22827:   esac;;
                   22828: esac
                   22829: case $ac_abs_builddir in
                   22830: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22831: *)
                   22832:   case ${ac_top_builddir}. in
                   22833:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   22834:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22835:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   22836:   esac;;
                   22837: esac
                   22838: case $ac_abs_builddir in
                   22839: .) ac_abs_srcdir=$ac_srcdir;;
                   22840: *)
                   22841:   case $ac_srcdir in
                   22842:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   22843:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   22844:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   22845:   esac;;
                   22846: esac
                   22847: case $ac_abs_builddir in
                   22848: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22849: *)
                   22850:   case $ac_top_srcdir in
                   22851:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   22852:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22853:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   22854:   esac;;
                   22855: esac
1.1       paf      22856: 
                   22857: 
1.62      paf      22858:     cd $ac_dir
1.1       paf      22859: 
                   22860:     # Check for guested configure; otherwise get Cygnus style configure.
1.62      paf      22861:     if test -f $ac_srcdir/configure.gnu; then
                   22862:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   22863:     elif test -f $ac_srcdir/configure; then
                   22864:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   22865:     elif test -f $ac_srcdir/configure.in; then
1.1       paf      22866:       ac_sub_configure=$ac_configure
                   22867:     else
1.62      paf      22868:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   22869: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      22870:       ac_sub_configure=
                   22871:     fi
                   22872: 
                   22873:     # The recursion is here.
                   22874:     if test -n "$ac_sub_configure"; then
                   22875:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      22876:       case $cache_file in
                   22877:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       paf      22878:       *) # Relative path.
1.86      paf      22879:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       paf      22880:       esac
                   22881: 
1.62      paf      22882:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   22883: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      22884:       # The eval makes quoting arguments work.
1.62      paf      22885:       eval $ac_sub_configure $ac_sub_configure_args \
1.86      paf      22886:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   22887:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.62      paf      22888: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   22889:    { (exit 1); exit 1; }; }
1.1       paf      22890:     fi
                   22891: 
                   22892:     cd $ac_popdir
                   22893:   done
                   22894: fi
                   22895: 

E-mail: