Annotation of parser3/configure, revision 1.146

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.146   ! moko      875:   --disable-version-update  to disable version update with host information
1.67      paf       876:   --disable-safe-mode    to enable reading and executing
1.62      paf       877:                           files belonging to group+user other then effective
1.146   ! moko      878:   --disable-execs        to disable any execs
1.62      paf       879:                           (file::exec, file::cgi, unix mail:send)
1.94      misha     880:   --disable-stringstream  to disable stringstream usage.
                    881:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.128     moko      882:   --enable-shared[=PKGS]
                    883:                           build shared libraries [default=yes]
1.138     moko      884:   --enable-static[=PKGS]
                    885:                           build static libraries [default=yes]
1.128     moko      886:   --enable-fast-install[=PKGS]
                    887:                           optimize for fast installation [default=yes]
                    888:   --disable-libtool-lock  avoid locking (might break parallel builds)
                    889:   --enable-ltdl-install   install libltdl
1.62      paf       890: 
                    891: Optional Packages:
                    892:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    893:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf       894:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.67      paf       895:   --with-assertions       to enable assertions
1.62      paf       896:   --with-pathlink=LKEY    put dynamic libraries paths to binary
                    897:                           using linker key (-R, -rpath-link)
1.128     moko      898:   --with-sjlj-exceptions  enable simple 'throw' from dynamic library
1.146   ! moko      899:   --with-gc=D             D is the directory where
1.142     moko      900:                           Boehm garbage collecting library is installed
1.146   ! moko      901:   --with-pcre=D           D is the directory where
1.142     moko      902:                           PCRE library is installed
1.146   ! moko      903:   --with-xml=D            D is the directory where
1.142     moko      904:                           Gnome XML libraries are installed
1.90      paf       905:   --with-glib-config=FILE FILE is glib library
                    906:                           configuration file (search for glib*-config)
1.62      paf       907:   --with-shared-mailreceive=D is the directory where
1.67      paf       908:                           Gnome MIME library is installed (shared lib)
1.62      paf       909:   --with-static-mailreceive=D is the directory where
                    910:                           Gnome MIME library is installed (static lib)
                    911:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                    912:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                    913:                           (makes parser ignore user-defined sendmail commands)
1.146   ! moko      914:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko      915:                           builds apache DSO module using apxs
1.128     moko      916:   --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
                    917:                           both]
                    918:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                    919:   --with-sysroot=DIR Search for dependent libraries within DIR
                    920:                         (or the compiler's sysroot if not specified).
                    921:   --with-included-ltdl    use the GNU ltdl sources included here
                    922:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                    923:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf       924: 
                    925: Some influential environment variables:
1.66      paf       926:   CXX         C++ compiler command
                    927:   CXXFLAGS    C++ compiler flags
1.62      paf       928:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    929:               nonstandard directory <lib dir>
                    930:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    931:               headers in a nonstandard directory <include dir>
1.66      paf       932:   CC          C compiler command
                    933:   CFLAGS      C compiler flags
                    934:   CPP         C preprocessor
1.128     moko      935:   CXXCPP      C++ preprocessor
1.62      paf       936: 
                    937: Use these variables to override the choices made by `configure' or to help
                    938: it to find libraries and programs with nonstandard names/locations.
                    939: 
                    940: _ACEOF
                    941: fi
                    942: 
                    943: if test "$ac_init_help" = "recursive"; then
                    944:   # If there are subdirs, report their specific --help.
                    945:   ac_popdir=`pwd`
                    946:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    947:     test -d $ac_dir || continue
                    948:     ac_builddir=.
                    949: 
                    950: if test "$ac_dir" != .; then
                    951:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    952:   # A "../" for each directory in $ac_dir_suffix.
                    953:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    954: else
                    955:   ac_dir_suffix= ac_top_builddir=
                    956: fi
                    957: 
                    958: case $srcdir in
                    959:   .)  # No --srcdir option.  We are building in place.
                    960:     ac_srcdir=.
                    961:     if test -z "$ac_top_builddir"; then
                    962:        ac_top_srcdir=.
                    963:     else
                    964:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    965:     fi ;;
                    966:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    967:     ac_srcdir=$srcdir$ac_dir_suffix;
                    968:     ac_top_srcdir=$srcdir ;;
                    969:   *) # Relative path.
                    970:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    971:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    972: esac
1.86      paf       973: 
                    974: # Do not use `cd foo && pwd` to compute absolute paths, because
                    975: # the directories may not exist.
                    976: case `pwd` in
                    977: .) ac_abs_builddir="$ac_dir";;
                    978: *)
                    979:   case "$ac_dir" in
                    980:   .) ac_abs_builddir=`pwd`;;
                    981:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                    982:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                    983:   esac;;
                    984: esac
                    985: case $ac_abs_builddir in
                    986: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                    987: *)
                    988:   case ${ac_top_builddir}. in
                    989:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                    990:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                    991:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                    992:   esac;;
                    993: esac
                    994: case $ac_abs_builddir in
                    995: .) ac_abs_srcdir=$ac_srcdir;;
                    996: *)
                    997:   case $ac_srcdir in
                    998:   .) ac_abs_srcdir=$ac_abs_builddir;;
                    999:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   1000:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   1001:   esac;;
                   1002: esac
                   1003: case $ac_abs_builddir in
                   1004: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   1005: *)
                   1006:   case $ac_top_srcdir in
                   1007:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   1008:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   1009:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   1010:   esac;;
                   1011: esac
1.62      paf      1012: 
                   1013:     cd $ac_dir
                   1014:     # Check for guested configure; otherwise get Cygnus style configure.
                   1015:     if test -f $ac_srcdir/configure.gnu; then
                   1016:       echo
                   1017:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                   1018:     elif test -f $ac_srcdir/configure; then
                   1019:       echo
                   1020:       $SHELL $ac_srcdir/configure  --help=recursive
                   1021:     elif test -f $ac_srcdir/configure.ac ||
1.86      paf      1022:           test -f $ac_srcdir/configure.in; then
1.62      paf      1023:       echo
                   1024:       $ac_configure --help
                   1025:     else
                   1026:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1027:     fi
                   1028:     cd $ac_popdir
                   1029:   done
                   1030: fi
                   1031: 
                   1032: test -n "$ac_init_help" && exit 0
                   1033: if $ac_init_version; then
                   1034:   cat <<\_ACEOF
1.145     moko     1035: parser configure 3.4.2 RC
1.128     moko     1036: generated by GNU Autoconf 2.59
1.62      paf      1037: 
1.86      paf      1038: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      1039: This configure script is free software; the Free Software Foundation
                   1040: gives unlimited permission to copy, distribute and modify it.
                   1041: _ACEOF
                   1042:   exit 0
                   1043: fi
                   1044: exec 5>config.log
                   1045: cat >&5 <<_ACEOF
                   1046: This file contains any messages produced by compilers while
                   1047: running configure, to aid debugging if configure makes a mistake.
                   1048: 
1.145     moko     1049: It was created by parser $as_me 3.4.2 RC, which was
1.86      paf      1050: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      1051: 
                   1052:   $ $0 $@
                   1053: 
                   1054: _ACEOF
                   1055: {
                   1056: cat <<_ASUNAME
                   1057: ## --------- ##
                   1058: ## Platform. ##
                   1059: ## --------- ##
                   1060: 
                   1061: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1062: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1063: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1064: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1065: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1066: 
                   1067: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1068: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1069: 
                   1070: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1071: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1072: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1073: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1074: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1075: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1076: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1077: 
                   1078: _ASUNAME
                   1079: 
                   1080: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1081: for as_dir in $PATH
                   1082: do
                   1083:   IFS=$as_save_IFS
                   1084:   test -z "$as_dir" && as_dir=.
                   1085:   echo "PATH: $as_dir"
                   1086: done
1.1       paf      1087: 
1.62      paf      1088: } >&5
                   1089: 
                   1090: cat >&5 <<_ACEOF
                   1091: 
                   1092: 
                   1093: ## ----------- ##
                   1094: ## Core tests. ##
                   1095: ## ----------- ##
                   1096: 
                   1097: _ACEOF
                   1098: 
                   1099: 
                   1100: # Keep a trace of the command line.
                   1101: # Strip out --no-create and --no-recursion so they do not pile up.
                   1102: # Strip out --silent because we don't want to record it for future runs.
                   1103: # Also quote any args containing shell meta-characters.
                   1104: # Make two passes to allow for proper duplicate-argument suppression.
                   1105: ac_configure_args=
                   1106: ac_configure_args0=
                   1107: ac_configure_args1=
                   1108: ac_sep=
                   1109: ac_must_keep_next=false
                   1110: for ac_pass in 1 2
                   1111: do
                   1112:   for ac_arg
                   1113:   do
                   1114:     case $ac_arg in
                   1115:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1116:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1117:     | -silent | --silent | --silen | --sile | --sil)
                   1118:       continue ;;
                   1119:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1120:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1121:     esac
                   1122:     case $ac_pass in
                   1123:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1124:     2)
                   1125:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1126:       if test $ac_must_keep_next = true; then
1.86      paf      1127:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      1128:       else
1.86      paf      1129:        case $ac_arg in
                   1130:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1131:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1132:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1133:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1134:            case "$ac_configure_args0 " in
                   1135:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1136:            esac
                   1137:            ;;
                   1138:          -* ) ac_must_keep_next=true ;;
                   1139:        esac
1.62      paf      1140:       fi
                   1141:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1142:       # Get rid of the leading space.
                   1143:       ac_sep=" "
                   1144:       ;;
                   1145:     esac
                   1146:   done
                   1147: done
                   1148: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1149: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1150: 
                   1151: # When interrupted or exit'd, cleanup temporary files, and complete
                   1152: # config.log.  We remove comments because anyway the quotes in there
                   1153: # would cause problems or look ugly.
                   1154: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1155: # such as our DU 5.0 friend, will then `close' the trap.
                   1156: trap 'exit_status=$?
                   1157:   # Save into config.log some information that might help in debugging.
                   1158:   {
                   1159:     echo
                   1160: 
                   1161:     cat <<\_ASBOX
                   1162: ## ---------------- ##
                   1163: ## Cache variables. ##
                   1164: ## ---------------- ##
                   1165: _ASBOX
                   1166:     echo
                   1167:     # The following way of writing the cache mishandles newlines in values,
                   1168: {
                   1169:   (set) 2>&1 |
                   1170:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1171:     *ac_space=\ *)
                   1172:       sed -n \
1.86      paf      1173:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1174:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.62      paf      1175:       ;;
                   1176:     *)
                   1177:       sed -n \
1.86      paf      1178:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      1179:       ;;
                   1180:     esac;
                   1181: }
                   1182:     echo
                   1183: 
                   1184:     cat <<\_ASBOX
                   1185: ## ----------------- ##
                   1186: ## Output variables. ##
                   1187: ## ----------------- ##
                   1188: _ASBOX
                   1189:     echo
                   1190:     for ac_var in $ac_subst_vars
                   1191:     do
                   1192:       eval ac_val=$`echo $ac_var`
                   1193:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1194:     done | sort
                   1195:     echo
                   1196: 
                   1197:     if test -n "$ac_subst_files"; then
                   1198:       cat <<\_ASBOX
                   1199: ## ------------- ##
                   1200: ## Output files. ##
                   1201: ## ------------- ##
                   1202: _ASBOX
                   1203:       echo
                   1204:       for ac_var in $ac_subst_files
                   1205:       do
                   1206:        eval ac_val=$`echo $ac_var`
1.86      paf      1207:        echo "$ac_var='"'"'$ac_val'"'"'"
1.62      paf      1208:       done | sort
                   1209:       echo
                   1210:     fi
                   1211: 
                   1212:     if test -s confdefs.h; then
                   1213:       cat <<\_ASBOX
                   1214: ## ----------- ##
                   1215: ## confdefs.h. ##
                   1216: ## ----------- ##
                   1217: _ASBOX
                   1218:       echo
                   1219:       sed "/^$/d" confdefs.h | sort
                   1220:       echo
                   1221:     fi
                   1222:     test "$ac_signal" != 0 &&
                   1223:       echo "$as_me: caught signal $ac_signal"
                   1224:     echo "$as_me: exit $exit_status"
                   1225:   } >&5
1.86      paf      1226:   rm -f core *.core &&
1.62      paf      1227:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1228:     exit $exit_status
                   1229:      ' 0
                   1230: for ac_signal in 1 2 13 15; do
                   1231:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1232: done
                   1233: ac_signal=0
                   1234: 
                   1235: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1236: rm -rf conftest* confdefs.h
                   1237: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1238: echo >confdefs.h
                   1239: 
                   1240: # Predefined preprocessor variables.
                   1241: 
                   1242: cat >>confdefs.h <<_ACEOF
                   1243: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1244: _ACEOF
                   1245: 
                   1246: 
                   1247: cat >>confdefs.h <<_ACEOF
                   1248: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1249: _ACEOF
                   1250: 
                   1251: 
                   1252: cat >>confdefs.h <<_ACEOF
                   1253: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1254: _ACEOF
                   1255: 
                   1256: 
                   1257: cat >>confdefs.h <<_ACEOF
                   1258: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1259: _ACEOF
                   1260: 
                   1261: 
                   1262: cat >>confdefs.h <<_ACEOF
                   1263: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1264: _ACEOF
                   1265: 
                   1266: 
                   1267: # Let the site file select an alternate cache file if it wants to.
1.1       paf      1268: # Prefer explicitly selected file to automatically selected ones.
                   1269: if test -z "$CONFIG_SITE"; then
                   1270:   if test "x$prefix" != xNONE; then
                   1271:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1272:   else
                   1273:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1274:   fi
                   1275: fi
                   1276: for ac_site_file in $CONFIG_SITE; do
                   1277:   if test -r "$ac_site_file"; then
1.62      paf      1278:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1279: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1280:     sed 's/^/| /' "$ac_site_file" >&5
1.1       paf      1281:     . "$ac_site_file"
                   1282:   fi
                   1283: done
                   1284: 
                   1285: if test -r "$cache_file"; then
1.62      paf      1286:   # Some versions of bash will fail to source /dev/null (special
                   1287:   # files actually), so we avoid doing that.
                   1288:   if test -f "$cache_file"; then
                   1289:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1290: echo "$as_me: loading cache $cache_file" >&6;}
                   1291:     case $cache_file in
                   1292:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1293:       *)                      . ./$cache_file;;
                   1294:     esac
                   1295:   fi
1.1       paf      1296: else
1.62      paf      1297:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1298: echo "$as_me: creating cache $cache_file" >&6;}
                   1299:   >$cache_file
                   1300: fi
                   1301: 
                   1302: # Check that the precious variables saved in the cache have kept the same
                   1303: # value.
                   1304: ac_cache_corrupted=false
                   1305: for ac_var in `(set) 2>&1 |
1.86      paf      1306:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.62      paf      1307:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1308:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1309:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1310:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1311:   case $ac_old_set,$ac_new_set in
                   1312:     set,)
                   1313:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1314: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1315:       ac_cache_corrupted=: ;;
                   1316:     ,set)
                   1317:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1318: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1319:       ac_cache_corrupted=: ;;
                   1320:     ,);;
                   1321:     *)
                   1322:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.86      paf      1323:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.62      paf      1324: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.86      paf      1325:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.62      paf      1326: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.86      paf      1327:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.62      paf      1328: echo "$as_me:   current value: $ac_new_val" >&2;}
1.86      paf      1329:        ac_cache_corrupted=:
1.62      paf      1330:       fi;;
                   1331:   esac
                   1332:   # Pass precious variables to config.status.
                   1333:   if test "$ac_new_set" = set; then
                   1334:     case $ac_new_val in
                   1335:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1336:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1337:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1338:     esac
                   1339:     case " $ac_configure_args " in
                   1340:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1341:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1342:     esac
                   1343:   fi
                   1344: done
                   1345: if $ac_cache_corrupted; then
                   1346:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1347: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1348:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1349: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1350:    { (exit 1); exit 1; }; }
1.1       paf      1351: fi
                   1352: 
                   1353: ac_ext=c
                   1354: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      1355: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1356: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1357: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1358: 
                   1359: 
                   1360: 
                   1361: 
                   1362: 
                   1363: 
                   1364: 
                   1365: 
                   1366: 
                   1367: 
                   1368: 
1.1       paf      1369: 
                   1370: 
1.62      paf      1371: 
                   1372: 
                   1373: 
                   1374: 
                   1375: 
                   1376: 
1.63      paf      1377: 
                   1378: 
1.128     moko     1379: 
                   1380: 
                   1381: 
                   1382: 
                   1383: 
                   1384: 
                   1385: 
                   1386: 
                   1387: 
1.86      paf      1388: am__api_version="1.9"
1.1       paf      1389: ac_aux_dir=
                   1390: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1391:   if test -f $ac_dir/install-sh; then
                   1392:     ac_aux_dir=$ac_dir
                   1393:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1394:     break
                   1395:   elif test -f $ac_dir/install.sh; then
                   1396:     ac_aux_dir=$ac_dir
                   1397:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1398:     break
1.62      paf      1399:   elif test -f $ac_dir/shtool; then
                   1400:     ac_aux_dir=$ac_dir
                   1401:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1402:     break
1.1       paf      1403:   fi
                   1404: done
                   1405: if test -z "$ac_aux_dir"; then
1.62      paf      1406:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1407: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1408:    { (exit 1); exit 1; }; }
                   1409: fi
                   1410: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1411: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1412: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       paf      1413: 
                   1414: # Find a good install program.  We prefer a C program (faster),
                   1415: # so one script is as good as another.  But avoid the broken or
                   1416: # incompatible versions:
                   1417: # SysV /etc/install, /usr/sbin/install
                   1418: # SunOS /usr/etc/install
                   1419: # IRIX /sbin/install
                   1420: # AIX /bin/install
1.62      paf      1421: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1422: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1423: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1424: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1425: # OS/2's system install, which has a completely different semantic
1.1       paf      1426: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1427: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1428: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1429: if test -z "$INSTALL"; then
1.62      paf      1430: if test "${ac_cv_path_install+set}" = set; then
                   1431:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1432: else
1.62      paf      1433:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1434: for as_dir in $PATH
                   1435: do
                   1436:   IFS=$as_save_IFS
                   1437:   test -z "$as_dir" && as_dir=.
                   1438:   # Account for people who put trailing slashes in PATH elements.
                   1439: case $as_dir/ in
                   1440:   ./ | .// | /cC/* | \
                   1441:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1442:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1443:   /usr/ucb/* ) ;;
                   1444:   *)
                   1445:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1446:     # Don't use installbsd from OSF since it installs stuff as root
                   1447:     # by default.
                   1448:     for ac_prog in ginstall scoinst install; do
                   1449:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1450:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1451:          if test $ac_prog = install &&
                   1452:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1453:            # AIX install.  It has an incompatible calling convention.
                   1454:            :
                   1455:          elif test $ac_prog = install &&
                   1456:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1457:            # program-specific install script used by HP pwplus--don't use.
                   1458:            :
                   1459:          else
                   1460:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1461:            break 3
                   1462:          fi
                   1463:        fi
1.1       paf      1464:       done
1.62      paf      1465:     done
                   1466:     ;;
                   1467: esac
                   1468: done
                   1469: 
1.1       paf      1470: 
                   1471: fi
                   1472:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1473:     INSTALL=$ac_cv_path_install
1.1       paf      1474:   else
                   1475:     # As a last resort, use the slow shell script.  We don't cache a
                   1476:     # path for INSTALL within a source directory, because that will
                   1477:     # break other packages using the cache if that directory is
                   1478:     # removed, or if the path is relative.
1.62      paf      1479:     INSTALL=$ac_install_sh
1.1       paf      1480:   fi
                   1481: fi
1.62      paf      1482: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1483: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1484: 
                   1485: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1486: # It thinks the first close brace ends the variable substitution.
                   1487: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1488: 
1.62      paf      1489: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1490: 
                   1491: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1492: 
1.62      paf      1493: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1494: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       paf      1495: # Just in case
                   1496: sleep 1
1.62      paf      1497: echo timestamp > conftest.file
1.1       paf      1498: # Do `set' in a subshell so we don't clobber the current shell's
                   1499: # arguments.  Must try -L first in case configure is actually a
                   1500: # symlink; some systems play weird games with the mod time of symlinks
                   1501: # (eg FreeBSD returns the mod time of the symlink's containing
                   1502: # directory).
                   1503: if (
1.62      paf      1504:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       paf      1505:    if test "$*" = "X"; then
                   1506:       # -L didn't work.
1.62      paf      1507:       set X `ls -t $srcdir/configure conftest.file`
1.1       paf      1508:    fi
1.62      paf      1509:    rm -f conftest.file
                   1510:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1511:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      1512: 
                   1513:       # If neither matched, then we have a broken ls.  This can happen
                   1514:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1515:       # broken ls alias from the environment.  This has actually
                   1516:       # happened.  Such a system could not be considered "sane".
1.62      paf      1517:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1518: alias in your environment" >&5
                   1519: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1520: alias in your environment" >&2;}
                   1521:    { (exit 1); exit 1; }; }
1.1       paf      1522:    fi
                   1523: 
1.62      paf      1524:    test "$2" = conftest.file
1.1       paf      1525:    )
                   1526: then
                   1527:    # Ok.
                   1528:    :
                   1529: else
1.62      paf      1530:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1531: Check your system clock" >&5
                   1532: echo "$as_me: error: newly created file is older than distributed files!
                   1533: Check your system clock" >&2;}
                   1534:    { (exit 1); exit 1; }; }
1.1       paf      1535: fi
1.62      paf      1536: echo "$as_me:$LINENO: result: yes" >&5
                   1537: echo "${ECHO_T}yes" >&6
1.1       paf      1538: test "$program_prefix" != NONE &&
1.62      paf      1539:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       paf      1540: # Use a double $ so make ignores it.
                   1541: test "$program_suffix" != NONE &&
1.62      paf      1542:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1543: # Double any \ or $.  echo might interpret backslashes.
                   1544: # By default was `s,x,x', remove it if useless.
                   1545: cat <<\_ACEOF >conftest.sed
                   1546: s/[\\$]/&&/g;s/;s,x,x,$//
                   1547: _ACEOF
                   1548: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1549: rm conftest.sed
                   1550: 
                   1551: # expand $ac_aux_dir to an absolute path
                   1552: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1553: 
                   1554: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1555: # Use eval to expand $SHELL
                   1556: if eval "$MISSING --run true"; then
                   1557:   am_missing_run="$MISSING --run "
                   1558: else
                   1559:   am_missing_run=
                   1560:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1561: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1562: fi
                   1563: 
1.86      paf      1564: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
                   1565:   # We used to keeping the `.' as first argument, in order to
                   1566:   # allow $(mkdir_p) to be used without argument.  As in
                   1567:   #   $(mkdir_p) $(somedir)
                   1568:   # where $(somedir) is conditionally defined.  However this is wrong
                   1569:   # for two reasons:
                   1570:   #  1. if the package is installed by a user who cannot write `.'
                   1571:   #     make install will fail,
                   1572:   #  2. the above comment should most certainly read
                   1573:   #     $(mkdir_p) $(DESTDIR)$(somedir)
                   1574:   #     so it does not work when $(somedir) is undefined and
                   1575:   #     $(DESTDIR) is not.
                   1576:   #  To support the latter case, we have to write
                   1577:   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
                   1578:   #  so the `.' trick is pointless.
                   1579:   mkdir_p='mkdir -p --'
                   1580: else
                   1581:   # On NextStep and OpenStep, the `mkdir' command does not
                   1582:   # recognize any option.  It will interpret all options as
                   1583:   # directories to create, and then abort because `.' already
                   1584:   # exists.
                   1585:   for d in ./-p ./--version;
                   1586:   do
                   1587:     test -d $d && rmdir $d
                   1588:   done
                   1589:   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
                   1590:   if test -f "$ac_aux_dir/mkinstalldirs"; then
                   1591:     mkdir_p='$(mkinstalldirs)'
                   1592:   else
                   1593:     mkdir_p='$(install_sh) -d'
                   1594:   fi
                   1595: fi
                   1596: 
1.62      paf      1597: for ac_prog in gawk mawk nawk awk
                   1598: do
                   1599:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1600: set dummy $ac_prog; ac_word=$2
                   1601: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1602: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1603: if test "${ac_cv_prog_AWK+set}" = set; then
                   1604:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1605: else
                   1606:   if test -n "$AWK"; then
                   1607:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1608: else
                   1609: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1610: for as_dir in $PATH
                   1611: do
                   1612:   IFS=$as_save_IFS
                   1613:   test -z "$as_dir" && as_dir=.
                   1614:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1615:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1616:     ac_cv_prog_AWK="$ac_prog"
                   1617:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1618:     break 2
                   1619:   fi
                   1620: done
                   1621: done
                   1622: 
                   1623: fi
                   1624: fi
                   1625: AWK=$ac_cv_prog_AWK
                   1626: if test -n "$AWK"; then
                   1627:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1628: echo "${ECHO_T}$AWK" >&6
                   1629: else
                   1630:   echo "$as_me:$LINENO: result: no" >&5
                   1631: echo "${ECHO_T}no" >&6
                   1632: fi
1.1       paf      1633: 
1.62      paf      1634:   test -n "$AWK" && break
                   1635: done
1.1       paf      1636: 
1.62      paf      1637: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1638: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.86      paf      1639: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.62      paf      1640: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1641:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1642: else
1.62      paf      1643:   cat >conftest.make <<\_ACEOF
1.1       paf      1644: all:
1.62      paf      1645:        @echo 'ac_maketemp="$(MAKE)"'
                   1646: _ACEOF
1.1       paf      1647: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62      paf      1648: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       paf      1649: if test -n "$ac_maketemp"; then
                   1650:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1651: else
                   1652:   eval ac_cv_prog_make_${ac_make}_set=no
                   1653: fi
1.62      paf      1654: rm -f conftest.make
1.1       paf      1655: fi
                   1656: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62      paf      1657:   echo "$as_me:$LINENO: result: yes" >&5
                   1658: echo "${ECHO_T}yes" >&6
1.1       paf      1659:   SET_MAKE=
                   1660: else
1.62      paf      1661:   echo "$as_me:$LINENO: result: no" >&5
                   1662: echo "${ECHO_T}no" >&6
1.1       paf      1663:   SET_MAKE="MAKE=${MAKE-make}"
                   1664: fi
                   1665: 
1.86      paf      1666: rm -rf .tst 2>/dev/null
                   1667: mkdir .tst 2>/dev/null
                   1668: if test -d .tst; then
                   1669:   am__leading_dot=.
                   1670: else
                   1671:   am__leading_dot=_
                   1672: fi
                   1673: rmdir .tst 2>/dev/null
                   1674: 
                   1675: # test to see if srcdir already configured
1.62      paf      1676: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1677:    test -f $srcdir/config.status; then
                   1678:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1679: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1680:    { (exit 1); exit 1; }; }
                   1681: fi
                   1682: 
                   1683: # test whether we have cygpath
                   1684: if test -z "$CYGPATH_W"; then
                   1685:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1686:     CYGPATH_W='cygpath -w'
                   1687:   else
                   1688:     CYGPATH_W=echo
                   1689:   fi
                   1690: fi
                   1691: 
                   1692: 
                   1693: # Define the identity of the package.
1.128     moko     1694:  PACKAGE='parser'
1.145     moko     1695:  VERSION='3.4.2 RC'
1.128     moko     1696: 
                   1697: 
                   1698: cat >>confdefs.h <<_ACEOF
                   1699: #define PACKAGE "$PACKAGE"
                   1700: _ACEOF
1.1       paf      1701: 
                   1702: 
1.128     moko     1703: cat >>confdefs.h <<_ACEOF
                   1704: #define VERSION "$VERSION"
                   1705: _ACEOF
                   1706: 
1.62      paf      1707: # Some tools Automake needs.
                   1708: 
                   1709: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1710: 
                   1711: 
                   1712: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1713: 
                   1714: 
                   1715: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1716: 
                   1717: 
                   1718: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1719: 
                   1720: 
                   1721: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      1722: 
1.62      paf      1723: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       paf      1724: 
1.62      paf      1725: # Installed binaries are usually stripped using `strip' when the user
                   1726: # run `make install-strip'.  However `strip' might not be the right
                   1727: # tool to use in cross-compilation environments, therefore Automake
                   1728: # will honor the `STRIP' environment variable to overrule this program.
                   1729: if test "$cross_compiling" != no; then
                   1730:   if test -n "$ac_tool_prefix"; then
                   1731:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1732: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1733: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1734: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1735: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1736:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1737: else
1.62      paf      1738:   if test -n "$STRIP"; then
                   1739:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1740: else
                   1741: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1742: for as_dir in $PATH
                   1743: do
                   1744:   IFS=$as_save_IFS
                   1745:   test -z "$as_dir" && as_dir=.
                   1746:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1747:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1748:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1749:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1750:     break 2
                   1751:   fi
                   1752: done
                   1753: done
                   1754: 
                   1755: fi
                   1756: fi
                   1757: STRIP=$ac_cv_prog_STRIP
                   1758: if test -n "$STRIP"; then
                   1759:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1760: echo "${ECHO_T}$STRIP" >&6
                   1761: else
                   1762:   echo "$as_me:$LINENO: result: no" >&5
                   1763: echo "${ECHO_T}no" >&6
1.1       paf      1764: fi
                   1765: 
1.62      paf      1766: fi
                   1767: if test -z "$ac_cv_prog_STRIP"; then
                   1768:   ac_ct_STRIP=$STRIP
                   1769:   # Extract the first word of "strip", so it can be a program name with args.
                   1770: set dummy strip; ac_word=$2
                   1771: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1772: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1773: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1774:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1775: else
                   1776:   if test -n "$ac_ct_STRIP"; then
                   1777:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       paf      1778: else
1.62      paf      1779: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1780: for as_dir in $PATH
                   1781: do
                   1782:   IFS=$as_save_IFS
                   1783:   test -z "$as_dir" && as_dir=.
                   1784:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1785:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1786:     ac_cv_prog_ac_ct_STRIP="strip"
                   1787:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1788:     break 2
                   1789:   fi
                   1790: done
                   1791: done
                   1792: 
                   1793:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1794: fi
1.1       paf      1795: fi
1.62      paf      1796: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1797: if test -n "$ac_ct_STRIP"; then
                   1798:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1799: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       paf      1800: else
1.62      paf      1801:   echo "$as_me:$LINENO: result: no" >&5
                   1802: echo "${ECHO_T}no" >&6
1.1       paf      1803: fi
                   1804: 
1.62      paf      1805:   STRIP=$ac_ct_STRIP
1.1       paf      1806: else
1.62      paf      1807:   STRIP="$ac_cv_prog_STRIP"
1.1       paf      1808: fi
                   1809: 
                   1810: fi
1.62      paf      1811: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1812: 
                   1813: # We need awk for the "check" target.  The system "awk" is bad on
                   1814: # some platforms.
1.86      paf      1815: # Always define AMTAR for backward compatibility.
                   1816: 
                   1817: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1818: 
                   1819: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   1820: 
                   1821: 
1.62      paf      1822: 
1.1       paf      1823: 
                   1824: 
                   1825: 
1.128     moko     1826: 
1.12      paf      1827: P3S=`cd $srcdir/src ; pwd`
1.1       paf      1828: 
                   1829: 
1.128     moko     1830: 
1.41      paf      1831: # Make sure we can run config.sub.
1.62      paf      1832: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   1833:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   1834: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   1835:    { (exit 1); exit 1; }; }
                   1836: 
                   1837: echo "$as_me:$LINENO: checking build system type" >&5
                   1838: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   1839: if test "${ac_cv_build+set}" = set; then
                   1840:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1841: else
                   1842:   ac_cv_build_alias=$build_alias
                   1843: test -z "$ac_cv_build_alias" &&
                   1844:   ac_cv_build_alias=`$ac_config_guess`
                   1845: test -z "$ac_cv_build_alias" &&
                   1846:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   1847: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   1848:    { (exit 1); exit 1; }; }
                   1849: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   1850:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   1851: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   1852:    { (exit 1); exit 1; }; }
                   1853: 
                   1854: fi
                   1855: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   1856: echo "${ECHO_T}$ac_cv_build" >&6
                   1857: build=$ac_cv_build
                   1858: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1859: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1860: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1861: 
                   1862: 
                   1863: echo "$as_me:$LINENO: checking host system type" >&5
                   1864: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   1865: if test "${ac_cv_host+set}" = set; then
                   1866:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1867: else
                   1868:   ac_cv_host_alias=$host_alias
                   1869: test -z "$ac_cv_host_alias" &&
                   1870:   ac_cv_host_alias=$ac_cv_build_alias
                   1871: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   1872:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   1873: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   1874:    { (exit 1); exit 1; }; }
                   1875: 
                   1876: fi
                   1877: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   1878: echo "${ECHO_T}$ac_cv_host" >&6
                   1879: host=$ac_cv_host
                   1880: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1881: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1882: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.81      paf      1883: 
                   1884: 
                   1885: 
1.41      paf      1886: 
1.67      paf      1887: case $host_os in
                   1888:   *cygwin* )
                   1889: cat >>confdefs.h <<\_ACEOF
                   1890: #define CYGWIN
                   1891: _ACEOF
                   1892: ;;
                   1893: esac
1.41      paf      1894: 
1.128     moko     1895: 
1.1       paf      1896: # Find a good install program.  We prefer a C program (faster),
                   1897: # so one script is as good as another.  But avoid the broken or
                   1898: # incompatible versions:
                   1899: # SysV /etc/install, /usr/sbin/install
                   1900: # SunOS /usr/etc/install
                   1901: # IRIX /sbin/install
                   1902: # AIX /bin/install
1.62      paf      1903: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1904: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1905: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1906: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1907: # OS/2's system install, which has a completely different semantic
1.1       paf      1908: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1909: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1910: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1911: if test -z "$INSTALL"; then
1.62      paf      1912: if test "${ac_cv_path_install+set}" = set; then
                   1913:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1914: else
1.62      paf      1915:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1916: for as_dir in $PATH
                   1917: do
                   1918:   IFS=$as_save_IFS
                   1919:   test -z "$as_dir" && as_dir=.
                   1920:   # Account for people who put trailing slashes in PATH elements.
                   1921: case $as_dir/ in
                   1922:   ./ | .// | /cC/* | \
                   1923:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1924:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1925:   /usr/ucb/* ) ;;
                   1926:   *)
                   1927:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1928:     # Don't use installbsd from OSF since it installs stuff as root
                   1929:     # by default.
                   1930:     for ac_prog in ginstall scoinst install; do
                   1931:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1932:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1933:          if test $ac_prog = install &&
                   1934:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1935:            # AIX install.  It has an incompatible calling convention.
                   1936:            :
                   1937:          elif test $ac_prog = install &&
                   1938:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1939:            # program-specific install script used by HP pwplus--don't use.
                   1940:            :
                   1941:          else
                   1942:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1943:            break 3
                   1944:          fi
                   1945:        fi
1.1       paf      1946:       done
1.62      paf      1947:     done
                   1948:     ;;
                   1949: esac
                   1950: done
                   1951: 
1.1       paf      1952: 
                   1953: fi
                   1954:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1955:     INSTALL=$ac_cv_path_install
1.1       paf      1956:   else
                   1957:     # As a last resort, use the slow shell script.  We don't cache a
                   1958:     # path for INSTALL within a source directory, because that will
                   1959:     # break other packages using the cache if that directory is
                   1960:     # removed, or if the path is relative.
1.62      paf      1961:     INSTALL=$ac_install_sh
1.1       paf      1962:   fi
                   1963: fi
1.62      paf      1964: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1965: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1966: 
                   1967: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1968: # It thinks the first close brace ends the variable substitution.
                   1969: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1970: 
1.62      paf      1971: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1972: 
                   1973: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1974: 
1.62      paf      1975: for ac_prog in gawk mawk nawk awk
1.41      paf      1976: do
1.62      paf      1977:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      1978: set dummy $ac_prog; ac_word=$2
1.62      paf      1979: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1980: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1981: if test "${ac_cv_prog_AWK+set}" = set; then
                   1982:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      1983: else
                   1984:   if test -n "$AWK"; then
                   1985:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1986: else
1.62      paf      1987: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1988: for as_dir in $PATH
                   1989: do
                   1990:   IFS=$as_save_IFS
                   1991:   test -z "$as_dir" && as_dir=.
                   1992:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1993:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1994:     ac_cv_prog_AWK="$ac_prog"
                   1995:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1996:     break 2
                   1997:   fi
                   1998: done
                   1999: done
                   2000: 
1.41      paf      2001: fi
                   2002: fi
1.62      paf      2003: AWK=$ac_cv_prog_AWK
1.41      paf      2004: if test -n "$AWK"; then
1.62      paf      2005:   echo "$as_me:$LINENO: result: $AWK" >&5
                   2006: echo "${ECHO_T}$AWK" >&6
1.41      paf      2007: else
1.62      paf      2008:   echo "$as_me:$LINENO: result: no" >&5
                   2009: echo "${ECHO_T}no" >&6
1.41      paf      2010: fi
                   2011: 
1.62      paf      2012:   test -n "$AWK" && break
1.41      paf      2013: done
                   2014: 
                   2015: 
                   2016: for ac_prog in 'bison -y' byacc
                   2017: do
1.62      paf      2018:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      2019: set dummy $ac_prog; ac_word=$2
1.62      paf      2020: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2021: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2022: if test "${ac_cv_prog_YACC+set}" = set; then
                   2023:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      2024: else
                   2025:   if test -n "$YACC"; then
                   2026:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   2027: else
1.62      paf      2028: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2029: for as_dir in $PATH
                   2030: do
                   2031:   IFS=$as_save_IFS
                   2032:   test -z "$as_dir" && as_dir=.
                   2033:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2034:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2035:     ac_cv_prog_YACC="$ac_prog"
                   2036:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2037:     break 2
                   2038:   fi
                   2039: done
                   2040: done
                   2041: 
1.41      paf      2042: fi
                   2043: fi
1.62      paf      2044: YACC=$ac_cv_prog_YACC
1.41      paf      2045: if test -n "$YACC"; then
1.62      paf      2046:   echo "$as_me:$LINENO: result: $YACC" >&5
                   2047: echo "${ECHO_T}$YACC" >&6
1.41      paf      2048: else
1.62      paf      2049:   echo "$as_me:$LINENO: result: no" >&5
                   2050: echo "${ECHO_T}no" >&6
1.41      paf      2051: fi
                   2052: 
1.62      paf      2053:   test -n "$YACC" && break
1.41      paf      2054: done
                   2055: test -n "$YACC" || YACC="yacc"
                   2056: 
                   2057: if test "$YACC" != "bison -y"; then
1.67      paf      2058:        { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
1.62      paf      2059: echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      2060: else
1.67      paf      2061:        echo "$as_me:$LINENO: checking bison version" >&5
1.62      paf      2062: echo $ECHO_N "checking bison version... $ECHO_C" >&6
1.67      paf      2063:        oldIFS=$IFS; IFS=.
                   2064:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   2065:        IFS=$oldIFS
                   2066:        if test "$1" = "1" -a "$2" -lt "25"; then
                   2067:                { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
1.62      paf      2068: echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      2069:        fi
                   2070:        echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5
1.62      paf      2071: echo "${ECHO_T}$1.$2 (ok)" >&6
                   2072: fi
                   2073: 
1.66      paf      2074: ac_ext=cc
                   2075: ac_cpp='$CXXCPP $CPPFLAGS'
                   2076: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2077: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2078: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.62      paf      2079: if test -n "$ac_tool_prefix"; then
1.66      paf      2080:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2081:   do
                   2082:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2083: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.62      paf      2084: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2085: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2086: if test "${ac_cv_prog_CXX+set}" = set; then
1.62      paf      2087:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2088: else
1.66      paf      2089:   if test -n "$CXX"; then
                   2090:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      2091: else
                   2092: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2093: for as_dir in $PATH
                   2094: do
                   2095:   IFS=$as_save_IFS
                   2096:   test -z "$as_dir" && as_dir=.
                   2097:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2098:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2099:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.62      paf      2100:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2101:     break 2
                   2102:   fi
                   2103: done
                   2104: done
                   2105: 
                   2106: fi
                   2107: fi
1.66      paf      2108: CXX=$ac_cv_prog_CXX
                   2109: if test -n "$CXX"; then
                   2110:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2111: echo "${ECHO_T}$CXX" >&6
1.62      paf      2112: else
                   2113:   echo "$as_me:$LINENO: result: no" >&5
                   2114: echo "${ECHO_T}no" >&6
1.41      paf      2115: fi
                   2116: 
1.66      paf      2117:     test -n "$CXX" && break
                   2118:   done
1.62      paf      2119: fi
1.66      paf      2120: if test -z "$CXX"; then
                   2121:   ac_ct_CXX=$CXX
                   2122:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2123: do
                   2124:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2125: set dummy $ac_prog; ac_word=$2
1.62      paf      2126: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2127: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2128: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.62      paf      2129:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2130: else
1.66      paf      2131:   if test -n "$ac_ct_CXX"; then
                   2132:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      2133: else
                   2134: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2135: for as_dir in $PATH
                   2136: do
                   2137:   IFS=$as_save_IFS
                   2138:   test -z "$as_dir" && as_dir=.
                   2139:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2140:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2141:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.62      paf      2142:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2143:     break 2
                   2144:   fi
                   2145: done
                   2146: done
                   2147: 
                   2148: fi
                   2149: fi
1.66      paf      2150: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2151: if test -n "$ac_ct_CXX"; then
                   2152:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2153: echo "${ECHO_T}$ac_ct_CXX" >&6
1.62      paf      2154: else
                   2155:   echo "$as_me:$LINENO: result: no" >&5
                   2156: echo "${ECHO_T}no" >&6
                   2157: fi
                   2158: 
1.66      paf      2159:   test -n "$ac_ct_CXX" && break
                   2160: done
                   2161: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
                   2162: 
                   2163:   CXX=$ac_ct_CXX
1.62      paf      2164: fi
                   2165: 
1.66      paf      2166: 
                   2167: # Provide some information about the compiler.
                   2168: echo "$as_me:$LINENO:" \
                   2169:      "checking for C++ compiler version" >&5
                   2170: ac_compiler=`set X $ac_compile; echo $2`
                   2171: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2172:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2173:   ac_status=$?
                   2174:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2175:   (exit $ac_status); }
                   2176: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2177:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2178:   ac_status=$?
                   2179:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2180:   (exit $ac_status); }
                   2181: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2182:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2183:   ac_status=$?
                   2184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2185:   (exit $ac_status); }
                   2186: 
                   2187: cat >conftest.$ac_ext <<_ACEOF
                   2188: /* confdefs.h.  */
                   2189: _ACEOF
                   2190: cat confdefs.h >>conftest.$ac_ext
                   2191: cat >>conftest.$ac_ext <<_ACEOF
                   2192: /* end confdefs.h.  */
                   2193: 
                   2194: int
                   2195: main ()
                   2196: {
                   2197: 
                   2198:   ;
                   2199:   return 0;
                   2200: }
                   2201: _ACEOF
                   2202: ac_clean_files_save=$ac_clean_files
                   2203: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2204: # Try to create an executable without -o first, disregard a.out.
                   2205: # It will help us diagnose broken compilers, and finding out an intuition
                   2206: # of exeext.
1.86      paf      2207: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2208: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.66      paf      2209: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2210: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2211:   (eval $ac_link_default) 2>&5
                   2212:   ac_status=$?
                   2213:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2214:   (exit $ac_status); }; then
                   2215:   # Find the output, starting from the most likely.  This scheme is
                   2216: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2217: # resort.
                   2218: 
                   2219: # Be careful to initialize this variable, since it used to be cached.
                   2220: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2221: ac_cv_exeext=
                   2222: # b.out is created by i960 compilers.
                   2223: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.62      paf      2224: do
1.66      paf      2225:   test -f "$ac_file" || continue
                   2226:   case $ac_file in
                   2227:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.86      paf      2228:        ;;
1.66      paf      2229:     conftest.$ac_ext )
1.86      paf      2230:        # This is the source file.
                   2231:        ;;
1.66      paf      2232:     [ab].out )
1.86      paf      2233:        # We found the default executable, but exeext='' is most
                   2234:        # certainly right.
                   2235:        break;;
1.66      paf      2236:     *.* )
1.86      paf      2237:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2238:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2239:        # but it would be cool to find out if it's true.  Does anybody
                   2240:        # maintain Libtool? --akim.
                   2241:        export ac_cv_exeext
                   2242:        break;;
1.66      paf      2243:     * )
1.86      paf      2244:        break;;
1.66      paf      2245:   esac
1.62      paf      2246: done
1.66      paf      2247: else
                   2248:   echo "$as_me: failed program was:" >&5
                   2249: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      2250: 
1.66      paf      2251: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2252: See \`config.log' for more details." >&5
                   2253: echo "$as_me: error: C++ compiler cannot create executables
                   2254: See \`config.log' for more details." >&2;}
                   2255:    { (exit 77); exit 77; }; }
1.1       paf      2256: fi
1.66      paf      2257: 
                   2258: ac_exeext=$ac_cv_exeext
                   2259: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2260: echo "${ECHO_T}$ac_file" >&6
                   2261: 
                   2262: # Check the compiler produces executables we can run.  If not, either
                   2263: # the compiler is broken, or we cross compile.
                   2264: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2265: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2266: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2267: # If not cross compiling, check that we can run a simple program.
                   2268: if test "$cross_compiling" != yes; then
                   2269:   if { ac_try='./$ac_file'
                   2270:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2271:   (eval $ac_try) 2>&5
                   2272:   ac_status=$?
                   2273:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2274:   (exit $ac_status); }; }; then
                   2275:     cross_compiling=no
                   2276:   else
                   2277:     if test "$cross_compiling" = maybe; then
                   2278:        cross_compiling=yes
                   2279:     else
                   2280:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2281: If you meant to cross compile, use \`--host'.
                   2282: See \`config.log' for more details." >&5
                   2283: echo "$as_me: error: cannot run C++ compiled programs.
                   2284: If you meant to cross compile, use \`--host'.
                   2285: See \`config.log' for more details." >&2;}
                   2286:    { (exit 1); exit 1; }; }
                   2287:     fi
                   2288:   fi
1.1       paf      2289: fi
1.66      paf      2290: echo "$as_me:$LINENO: result: yes" >&5
                   2291: echo "${ECHO_T}yes" >&6
1.62      paf      2292: 
1.66      paf      2293: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2294: ac_clean_files=$ac_clean_files_save
                   2295: # Check the compiler produces executables we can run.  If not, either
1.62      paf      2296: # the compiler is broken, or we cross compile.
                   2297: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2298: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2299: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2300: echo "${ECHO_T}$cross_compiling" >&6
                   2301: 
                   2302: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2303: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2304: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2305:   (eval $ac_link) 2>&5
                   2306:   ac_status=$?
                   2307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2308:   (exit $ac_status); }; then
                   2309:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2310: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2311: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2312: # `rm'.
                   2313: for ac_file in conftest.exe conftest conftest.*; do
                   2314:   test -f "$ac_file" || continue
                   2315:   case $ac_file in
                   2316:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2317:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      2318:          export ac_cv_exeext
                   2319:          break;;
1.62      paf      2320:     * ) break;;
                   2321:   esac
                   2322: done
                   2323: else
                   2324:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2325: See \`config.log' for more details." >&5
                   2326: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2327: See \`config.log' for more details." >&2;}
                   2328:    { (exit 1); exit 1; }; }
                   2329: fi
                   2330: 
                   2331: rm -f conftest$ac_cv_exeext
                   2332: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2333: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2334: 
                   2335: rm -f conftest.$ac_ext
                   2336: EXEEXT=$ac_cv_exeext
                   2337: ac_exeext=$EXEEXT
                   2338: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2339: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2340: if test "${ac_cv_objext+set}" = set; then
                   2341:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2342: else
                   2343:   cat >conftest.$ac_ext <<_ACEOF
                   2344: /* confdefs.h.  */
                   2345: _ACEOF
                   2346: cat confdefs.h >>conftest.$ac_ext
                   2347: cat >>conftest.$ac_ext <<_ACEOF
                   2348: /* end confdefs.h.  */
                   2349: 
                   2350: int
                   2351: main ()
                   2352: {
                   2353: 
                   2354:   ;
                   2355:   return 0;
                   2356: }
                   2357: _ACEOF
                   2358: rm -f conftest.o conftest.obj
                   2359: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2360:   (eval $ac_compile) 2>&5
                   2361:   ac_status=$?
                   2362:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2363:   (exit $ac_status); }; then
                   2364:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2365:   case $ac_file in
                   2366:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2367:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2368:        break;;
                   2369:   esac
                   2370: done
                   2371: else
                   2372:   echo "$as_me: failed program was:" >&5
                   2373: sed 's/^/| /' conftest.$ac_ext >&5
                   2374: 
                   2375: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2376: See \`config.log' for more details." >&5
                   2377: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2378: See \`config.log' for more details." >&2;}
                   2379:    { (exit 1); exit 1; }; }
                   2380: fi
                   2381: 
                   2382: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2383: fi
1.66      paf      2384: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2385: echo "${ECHO_T}$ac_cv_objext" >&6
                   2386: OBJEXT=$ac_cv_objext
                   2387: ac_objext=$OBJEXT
                   2388: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2389: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2390: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.62      paf      2391:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2392: else
1.66      paf      2393:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      2394: /* confdefs.h.  */
                   2395: _ACEOF
                   2396: cat confdefs.h >>conftest.$ac_ext
                   2397: cat >>conftest.$ac_ext <<_ACEOF
                   2398: /* end confdefs.h.  */
1.66      paf      2399: 
1.62      paf      2400: int
                   2401: main ()
                   2402: {
1.66      paf      2403: #ifndef __GNUC__
                   2404:        choke me
                   2405: #endif
                   2406: 
1.62      paf      2407:   ;
                   2408:   return 0;
                   2409: }
                   2410: _ACEOF
1.66      paf      2411: rm -f conftest.$ac_objext
1.62      paf      2412: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2413:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2414:   ac_status=$?
1.86      paf      2415:   grep -v '^ *+' conftest.er1 >conftest.err
                   2416:   rm -f conftest.er1
                   2417:   cat conftest.err >&5
1.62      paf      2418:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2419:   (exit $ac_status); } &&
1.86      paf      2420:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2421:                         || test ! -s conftest.err'
                   2422:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2423:   (eval $ac_try) 2>&5
                   2424:   ac_status=$?
                   2425:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2426:   (exit $ac_status); }; } &&
                   2427:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2428:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2429:   (eval $ac_try) 2>&5
                   2430:   ac_status=$?
                   2431:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2432:   (exit $ac_status); }; }; then
1.66      paf      2433:   ac_compiler_gnu=yes
1.62      paf      2434: else
                   2435:   echo "$as_me: failed program was:" >&5
                   2436: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      2437: 
1.66      paf      2438: ac_compiler_gnu=no
1.1       paf      2439: fi
1.86      paf      2440: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2441: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      2442: 
                   2443: fi
1.66      paf      2444: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2445: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2446: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2447: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2448: ac_save_CXXFLAGS=$CXXFLAGS
                   2449: CXXFLAGS="-g"
                   2450: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2451: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2452: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2453:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2454: else
                   2455:   cat >conftest.$ac_ext <<_ACEOF
                   2456: /* confdefs.h.  */
                   2457: _ACEOF
                   2458: cat confdefs.h >>conftest.$ac_ext
                   2459: cat >>conftest.$ac_ext <<_ACEOF
                   2460: /* end confdefs.h.  */
1.1       paf      2461: 
1.66      paf      2462: int
                   2463: main ()
                   2464: {
1.1       paf      2465: 
1.66      paf      2466:   ;
                   2467:   return 0;
                   2468: }
1.62      paf      2469: _ACEOF
                   2470: rm -f conftest.$ac_objext
                   2471: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2472:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2473:   ac_status=$?
1.86      paf      2474:   grep -v '^ *+' conftest.er1 >conftest.err
                   2475:   rm -f conftest.er1
                   2476:   cat conftest.err >&5
1.62      paf      2477:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2478:   (exit $ac_status); } &&
1.86      paf      2479:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2480:                         || test ! -s conftest.err'
                   2481:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2482:   (eval $ac_try) 2>&5
                   2483:   ac_status=$?
                   2484:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2485:   (exit $ac_status); }; } &&
                   2486:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2487:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2488:   (eval $ac_try) 2>&5
                   2489:   ac_status=$?
                   2490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2491:   (exit $ac_status); }; }; then
1.66      paf      2492:   ac_cv_prog_cxx_g=yes
                   2493: else
                   2494:   echo "$as_me: failed program was:" >&5
                   2495: sed 's/^/| /' conftest.$ac_ext >&5
                   2496: 
                   2497: ac_cv_prog_cxx_g=no
                   2498: fi
1.86      paf      2499: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2500: fi
                   2501: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2502: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
                   2503: if test "$ac_test_CXXFLAGS" = set; then
                   2504:   CXXFLAGS=$ac_save_CXXFLAGS
                   2505: elif test $ac_cv_prog_cxx_g = yes; then
                   2506:   if test "$GXX" = yes; then
                   2507:     CXXFLAGS="-g -O2"
                   2508:   else
                   2509:     CXXFLAGS="-g"
                   2510:   fi
                   2511: else
                   2512:   if test "$GXX" = yes; then
                   2513:     CXXFLAGS="-O2"
                   2514:   else
                   2515:     CXXFLAGS=
                   2516:   fi
                   2517: fi
                   2518: for ac_declaration in \
1.86      paf      2519:    '' \
1.62      paf      2520:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2521:    'extern "C" void std::exit (int); using std::exit;' \
                   2522:    'extern "C" void exit (int) throw ();' \
                   2523:    'extern "C" void exit (int);' \
                   2524:    'void exit (int);'
1.1       paf      2525: do
1.62      paf      2526:   cat >conftest.$ac_ext <<_ACEOF
                   2527: /* confdefs.h.  */
                   2528: _ACEOF
                   2529: cat confdefs.h >>conftest.$ac_ext
                   2530: cat >>conftest.$ac_ext <<_ACEOF
                   2531: /* end confdefs.h.  */
1.86      paf      2532: $ac_declaration
1.62      paf      2533: #include <stdlib.h>
                   2534: int
                   2535: main ()
                   2536: {
                   2537: exit (42);
                   2538:   ;
                   2539:   return 0;
                   2540: }
                   2541: _ACEOF
                   2542: rm -f conftest.$ac_objext
                   2543: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2544:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2545:   ac_status=$?
1.86      paf      2546:   grep -v '^ *+' conftest.er1 >conftest.err
                   2547:   rm -f conftest.er1
                   2548:   cat conftest.err >&5
1.62      paf      2549:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2550:   (exit $ac_status); } &&
1.86      paf      2551:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2552:                         || test ! -s conftest.err'
                   2553:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2554:   (eval $ac_try) 2>&5
                   2555:   ac_status=$?
                   2556:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2557:   (exit $ac_status); }; } &&
                   2558:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2559:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2560:   (eval $ac_try) 2>&5
                   2561:   ac_status=$?
                   2562:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2563:   (exit $ac_status); }; }; then
                   2564:   :
1.1       paf      2565: else
1.62      paf      2566:   echo "$as_me: failed program was:" >&5
                   2567: sed 's/^/| /' conftest.$ac_ext >&5
                   2568: 
                   2569: continue
                   2570: fi
1.86      paf      2571: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2572:   cat >conftest.$ac_ext <<_ACEOF
                   2573: /* confdefs.h.  */
                   2574: _ACEOF
                   2575: cat confdefs.h >>conftest.$ac_ext
                   2576: cat >>conftest.$ac_ext <<_ACEOF
                   2577: /* end confdefs.h.  */
                   2578: $ac_declaration
                   2579: int
                   2580: main ()
                   2581: {
                   2582: exit (42);
                   2583:   ;
                   2584:   return 0;
                   2585: }
                   2586: _ACEOF
                   2587: rm -f conftest.$ac_objext
                   2588: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2589:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2590:   ac_status=$?
1.86      paf      2591:   grep -v '^ *+' conftest.er1 >conftest.err
                   2592:   rm -f conftest.er1
                   2593:   cat conftest.err >&5
1.62      paf      2594:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2595:   (exit $ac_status); } &&
1.86      paf      2596:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2597:                         || test ! -s conftest.err'
                   2598:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2599:   (eval $ac_try) 2>&5
                   2600:   ac_status=$?
                   2601:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2602:   (exit $ac_status); }; } &&
                   2603:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2604:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2605:   (eval $ac_try) 2>&5
                   2606:   ac_status=$?
                   2607:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2608:   (exit $ac_status); }; }; then
                   2609:   break
1.1       paf      2610: else
1.62      paf      2611:   echo "$as_me: failed program was:" >&5
                   2612: sed 's/^/| /' conftest.$ac_ext >&5
                   2613: 
1.1       paf      2614: fi
1.86      paf      2615: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2616: done
                   2617: rm -f conftest*
                   2618: if test -n "$ac_declaration"; then
                   2619:   echo '#ifdef __cplusplus' >>confdefs.h
                   2620:   echo $ac_declaration      >>confdefs.h
                   2621:   echo '#endif'             >>confdefs.h
1.1       paf      2622: fi
1.62      paf      2623: 
                   2624: ac_ext=c
                   2625: ac_cpp='$CPP $CPPFLAGS'
                   2626: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2627: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2628: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      2629: DEPDIR="${am__leading_dot}deps"
1.62      paf      2630: 
                   2631:           ac_config_commands="$ac_config_commands depfiles"
                   2632: 
                   2633: 
                   2634: am_make=${MAKE-make}
                   2635: cat > confinc << 'END'
1.86      paf      2636: am__doit:
1.62      paf      2637:        @echo done
1.86      paf      2638: .PHONY: am__doit
1.62      paf      2639: END
                   2640: # If we don't find an include directive, just comment out the code.
                   2641: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2642: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2643: am__include="#"
                   2644: am__quote=
                   2645: _am_result=none
                   2646: # First try GNU make style include.
                   2647: echo "include confinc" > confmf
                   2648: # We grep out `Entering directory' and `Leaving directory'
                   2649: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2650: # In particular we don't look at `^make:' because GNU make might
                   2651: # be invoked under some other name (usually "gmake"), in which
                   2652: # case it prints its new name instead of `make'.
                   2653: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2654:    am__include=include
                   2655:    am__quote=
                   2656:    _am_result=GNU
                   2657: fi
                   2658: # Now try BSD make style include.
                   2659: if test "$am__include" = "#"; then
                   2660:    echo '.include "confinc"' > confmf
                   2661:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2662:       am__include=.include
                   2663:       am__quote="\""
                   2664:       _am_result=BSD
                   2665:    fi
                   2666: fi
                   2667: 
                   2668: 
                   2669: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2670: echo "${ECHO_T}$_am_result" >&6
                   2671: rm -f confinc confmf
                   2672: 
                   2673: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2674: if test "${enable_dependency_tracking+set}" = set; then
                   2675:   enableval="$enable_dependency_tracking"
                   2676: 
                   2677: fi;
                   2678: if test "x$enable_dependency_tracking" != xno; then
                   2679:   am_depcomp="$ac_aux_dir/depcomp"
                   2680:   AMDEPBACKSLASH='\'
1.1       paf      2681: fi
                   2682: 
1.62      paf      2683: 
                   2684: if test "x$enable_dependency_tracking" != xno; then
                   2685:   AMDEP_TRUE=
                   2686:   AMDEP_FALSE='#'
                   2687: else
                   2688:   AMDEP_TRUE='#'
                   2689:   AMDEP_FALSE=
                   2690: fi
1.1       paf      2691: 
                   2692: 
                   2693: 
                   2694: 
1.66      paf      2695: depcc="$CXX"  am_compiler_list=
1.1       paf      2696: 
1.62      paf      2697: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2698: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      2699: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.62      paf      2700:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2701: else
                   2702:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2703:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2704:   # making bogus files that we don't know about and never remove.  For
                   2705:   # instance it was reported that on HP-UX the gcc test will end up
                   2706:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2707:   # in D'.
                   2708:   mkdir conftest.dir
                   2709:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2710:   # using a relative directory.
                   2711:   cp "$am_depcomp" conftest.dir
                   2712:   cd conftest.dir
1.86      paf      2713:   # We will build objects and dependencies in a subdirectory because
                   2714:   # it helps to detect inapplicable dependency modes.  For instance
                   2715:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2716:   # side effect of compilation, but ICC will put the dependencies in
                   2717:   # the current directory while Tru64 will put them in the object
                   2718:   # directory.
                   2719:   mkdir sub
1.1       paf      2720: 
1.66      paf      2721:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      2722:   if test "$am_compiler_list" = ""; then
                   2723:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      2724:   fi
1.62      paf      2725:   for depmode in $am_compiler_list; do
1.86      paf      2726:     # Setup a source with many dependencies, because some compilers
                   2727:     # like to wrap large dependency lists on column 80 (with \), and
                   2728:     # we should not choose a depcomp mode which is confused by this.
                   2729:     #
1.62      paf      2730:     # We need to recreate these files for each test, as the compiler may
                   2731:     # overwrite some of them when testing with obscure command lines.
                   2732:     # This happens at least with the AIX C compiler.
1.86      paf      2733:     : > sub/conftest.c
                   2734:     for i in 1 2 3 4 5 6; do
                   2735:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2736:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2737:       # Solaris 8's {/usr,}/bin/sh.
                   2738:       touch sub/conftst$i.h
                   2739:     done
                   2740:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      2741: 
                   2742:     case $depmode in
                   2743:     nosideeffect)
                   2744:       # after this tag, mechanisms are not by side-effect, so they'll
                   2745:       # only be used when explicitly requested
                   2746:       if test "x$enable_dependency_tracking" = xyes; then
                   2747:        continue
                   2748:       else
                   2749:        break
                   2750:       fi
                   2751:       ;;
                   2752:     none) break ;;
                   2753:     esac
                   2754:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2755:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2756:     # handle `-M -o', and we need to detect this.
                   2757:     if depmode=$depmode \
1.86      paf      2758:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2759:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2760:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2761:          >/dev/null 2>conftest.err &&
                   2762:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2763:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      2764:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      2765:       # icc doesn't choke on unknown options, it will just issue warnings
                   2766:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2767:       # that says an option was ignored or not supported.
                   2768:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2769:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2770:       # The diagnosis changed in icc 8.0:
                   2771:       #   icc: Command line remark: option '-MP' not supported
                   2772:       if (grep 'ignoring option' conftest.err ||
                   2773:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2774:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2775:         break
                   2776:       fi
1.66      paf      2777:     fi
                   2778:   done
                   2779: 
                   2780:   cd ..
                   2781:   rm -rf conftest.dir
                   2782: else
                   2783:   am_cv_CXX_dependencies_compiler_type=none
                   2784: fi
                   2785: 
                   2786: fi
                   2787: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2788: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2789: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2790: 
                   2791: 
                   2792: 
                   2793: if
                   2794:   test "x$enable_dependency_tracking" != xno \
                   2795:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2796:   am__fastdepCXX_TRUE=
                   2797:   am__fastdepCXX_FALSE='#'
                   2798: else
                   2799:   am__fastdepCXX_TRUE='#'
                   2800:   am__fastdepCXX_FALSE=
                   2801: fi
                   2802: 
                   2803: 
                   2804: ac_ext=c
                   2805: ac_cpp='$CPP $CPPFLAGS'
                   2806: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2807: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2808: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2809: if test -n "$ac_tool_prefix"; then
                   2810:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2811: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2812: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2813: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2814: if test "${ac_cv_prog_CC+set}" = set; then
                   2815:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2816: else
                   2817:   if test -n "$CC"; then
                   2818:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2819: else
                   2820: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2821: for as_dir in $PATH
                   2822: do
                   2823:   IFS=$as_save_IFS
                   2824:   test -z "$as_dir" && as_dir=.
                   2825:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2826:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2827:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2828:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2829:     break 2
                   2830:   fi
                   2831: done
                   2832: done
                   2833: 
                   2834: fi
                   2835: fi
                   2836: CC=$ac_cv_prog_CC
                   2837: if test -n "$CC"; then
                   2838:   echo "$as_me:$LINENO: result: $CC" >&5
                   2839: echo "${ECHO_T}$CC" >&6
                   2840: else
                   2841:   echo "$as_me:$LINENO: result: no" >&5
                   2842: echo "${ECHO_T}no" >&6
                   2843: fi
                   2844: 
                   2845: fi
                   2846: if test -z "$ac_cv_prog_CC"; then
                   2847:   ac_ct_CC=$CC
                   2848:   # Extract the first word of "gcc", so it can be a program name with args.
                   2849: set dummy gcc; ac_word=$2
                   2850: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2851: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2852: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2853:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2854: else
                   2855:   if test -n "$ac_ct_CC"; then
                   2856:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2857: else
                   2858: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2859: for as_dir in $PATH
                   2860: do
                   2861:   IFS=$as_save_IFS
                   2862:   test -z "$as_dir" && as_dir=.
                   2863:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2864:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2865:     ac_cv_prog_ac_ct_CC="gcc"
                   2866:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2867:     break 2
                   2868:   fi
                   2869: done
                   2870: done
                   2871: 
                   2872: fi
                   2873: fi
                   2874: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2875: if test -n "$ac_ct_CC"; then
                   2876:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2877: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2878: else
1.66      paf      2879:   echo "$as_me:$LINENO: result: no" >&5
                   2880: echo "${ECHO_T}no" >&6
1.62      paf      2881: fi
                   2882: 
1.66      paf      2883:   CC=$ac_ct_CC
                   2884: else
                   2885:   CC="$ac_cv_prog_CC"
1.1       paf      2886: fi
1.62      paf      2887: 
1.66      paf      2888: if test -z "$CC"; then
                   2889:   if test -n "$ac_tool_prefix"; then
                   2890:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2891: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2892: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2893: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2894: if test "${ac_cv_prog_CC+set}" = set; then
                   2895:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2896: else
                   2897:   if test -n "$CC"; then
                   2898:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2899: else
                   2900: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2901: for as_dir in $PATH
                   2902: do
                   2903:   IFS=$as_save_IFS
                   2904:   test -z "$as_dir" && as_dir=.
                   2905:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2906:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2907:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2908:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2909:     break 2
                   2910:   fi
                   2911: done
                   2912: done
1.62      paf      2913: 
1.66      paf      2914: fi
                   2915: fi
                   2916: CC=$ac_cv_prog_CC
                   2917: if test -n "$CC"; then
                   2918:   echo "$as_me:$LINENO: result: $CC" >&5
                   2919: echo "${ECHO_T}$CC" >&6
1.62      paf      2920: else
1.66      paf      2921:   echo "$as_me:$LINENO: result: no" >&5
                   2922: echo "${ECHO_T}no" >&6
1.1       paf      2923: fi
                   2924: 
1.66      paf      2925: fi
                   2926: if test -z "$ac_cv_prog_CC"; then
                   2927:   ac_ct_CC=$CC
                   2928:   # Extract the first word of "cc", so it can be a program name with args.
                   2929: set dummy cc; ac_word=$2
                   2930: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2931: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2932: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2933:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2934: else
                   2935:   if test -n "$ac_ct_CC"; then
                   2936:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2937: else
                   2938: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2939: for as_dir in $PATH
                   2940: do
                   2941:   IFS=$as_save_IFS
                   2942:   test -z "$as_dir" && as_dir=.
                   2943:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2944:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2945:     ac_cv_prog_ac_ct_CC="cc"
                   2946:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2947:     break 2
                   2948:   fi
                   2949: done
                   2950: done
1.62      paf      2951: 
1.66      paf      2952: fi
                   2953: fi
                   2954: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2955: if test -n "$ac_ct_CC"; then
                   2956:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2957: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2958: else
1.66      paf      2959:   echo "$as_me:$LINENO: result: no" >&5
                   2960: echo "${ECHO_T}no" >&6
                   2961: fi
1.62      paf      2962: 
1.66      paf      2963:   CC=$ac_ct_CC
1.1       paf      2964: else
1.66      paf      2965:   CC="$ac_cv_prog_CC"
                   2966: fi
1.62      paf      2967: 
1.1       paf      2968: fi
1.66      paf      2969: if test -z "$CC"; then
                   2970:   # Extract the first word of "cc", so it can be a program name with args.
                   2971: set dummy cc; ac_word=$2
                   2972: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2973: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2974: if test "${ac_cv_prog_CC+set}" = set; then
                   2975:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2976: else
                   2977:   if test -n "$CC"; then
                   2978:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2979: else
                   2980:   ac_prog_rejected=no
                   2981: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2982: for as_dir in $PATH
                   2983: do
                   2984:   IFS=$as_save_IFS
                   2985:   test -z "$as_dir" && as_dir=.
                   2986:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2987:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2988:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2989:        ac_prog_rejected=yes
                   2990:        continue
                   2991:      fi
                   2992:     ac_cv_prog_CC="cc"
                   2993:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2994:     break 2
                   2995:   fi
                   2996: done
1.62      paf      2997: done
                   2998: 
1.66      paf      2999: if test $ac_prog_rejected = yes; then
                   3000:   # We found a bogon in the path, so make sure we never use it.
                   3001:   set dummy $ac_cv_prog_CC
                   3002:   shift
                   3003:   if test $# != 0; then
                   3004:     # We chose a different compiler from the bogus one.
                   3005:     # However, it has the same basename, so the bogon will be chosen
                   3006:     # first if we set CC to just the basename; use the full file name.
                   3007:     shift
                   3008:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3009:   fi
                   3010: fi
                   3011: fi
                   3012: fi
                   3013: CC=$ac_cv_prog_CC
                   3014: if test -n "$CC"; then
                   3015:   echo "$as_me:$LINENO: result: $CC" >&5
                   3016: echo "${ECHO_T}$CC" >&6
                   3017: else
                   3018:   echo "$as_me:$LINENO: result: no" >&5
                   3019: echo "${ECHO_T}no" >&6
1.1       paf      3020: fi
                   3021: 
1.66      paf      3022: fi
                   3023: if test -z "$CC"; then
                   3024:   if test -n "$ac_tool_prefix"; then
                   3025:   for ac_prog in cl
1.62      paf      3026:   do
                   3027:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3028: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3029: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3030: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3031: if test "${ac_cv_prog_CC+set}" = set; then
1.62      paf      3032:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3033: else
1.66      paf      3034:   if test -n "$CC"; then
                   3035:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      3036: else
                   3037: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3038: for as_dir in $PATH
                   3039: do
                   3040:   IFS=$as_save_IFS
                   3041:   test -z "$as_dir" && as_dir=.
                   3042:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3043:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3044:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.62      paf      3045:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3046:     break 2
                   3047:   fi
                   3048: done
                   3049: done
1.1       paf      3050: 
1.62      paf      3051: fi
                   3052: fi
1.66      paf      3053: CC=$ac_cv_prog_CC
                   3054: if test -n "$CC"; then
                   3055:   echo "$as_me:$LINENO: result: $CC" >&5
                   3056: echo "${ECHO_T}$CC" >&6
1.1       paf      3057: else
1.62      paf      3058:   echo "$as_me:$LINENO: result: no" >&5
                   3059: echo "${ECHO_T}no" >&6
1.1       paf      3060: fi
                   3061: 
1.66      paf      3062:     test -n "$CC" && break
1.62      paf      3063:   done
                   3064: fi
1.66      paf      3065: if test -z "$CC"; then
                   3066:   ac_ct_CC=$CC
                   3067:   for ac_prog in cl
1.62      paf      3068: do
                   3069:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3070: set dummy $ac_prog; ac_word=$2
                   3071: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3072: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3073: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.62      paf      3074:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3075: else
1.66      paf      3076:   if test -n "$ac_ct_CC"; then
                   3077:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      3078: else
1.62      paf      3079: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3080: for as_dir in $PATH
                   3081: do
                   3082:   IFS=$as_save_IFS
                   3083:   test -z "$as_dir" && as_dir=.
                   3084:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3085:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3086:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.62      paf      3087:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3088:     break 2
                   3089:   fi
                   3090: done
                   3091: done
                   3092: 
                   3093: fi
                   3094: fi
1.66      paf      3095: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3096: if test -n "$ac_ct_CC"; then
                   3097:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3098: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      3099: else
1.62      paf      3100:   echo "$as_me:$LINENO: result: no" >&5
                   3101: echo "${ECHO_T}no" >&6
1.1       paf      3102: fi
                   3103: 
1.66      paf      3104:   test -n "$ac_ct_CC" && break
                   3105: done
                   3106: 
                   3107:   CC=$ac_ct_CC
                   3108: fi
                   3109: 
                   3110: fi
1.62      paf      3111: 
1.1       paf      3112: 
1.66      paf      3113: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   3114: See \`config.log' for more details." >&5
                   3115: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   3116: See \`config.log' for more details." >&2;}
                   3117:    { (exit 1); exit 1; }; }
1.62      paf      3118: 
                   3119: # Provide some information about the compiler.
                   3120: echo "$as_me:$LINENO:" \
1.66      paf      3121:      "checking for C compiler version" >&5
1.62      paf      3122: ac_compiler=`set X $ac_compile; echo $2`
                   3123: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   3124:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   3125:   ac_status=$?
                   3126:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3127:   (exit $ac_status); }
                   3128: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3129:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3130:   ac_status=$?
                   3131:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3132:   (exit $ac_status); }
                   3133: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3134:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3135:   ac_status=$?
                   3136:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3137:   (exit $ac_status); }
                   3138: 
1.66      paf      3139: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3140: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3141: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.62      paf      3142:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3143: else
                   3144:   cat >conftest.$ac_ext <<_ACEOF
                   3145: /* confdefs.h.  */
                   3146: _ACEOF
                   3147: cat confdefs.h >>conftest.$ac_ext
                   3148: cat >>conftest.$ac_ext <<_ACEOF
                   3149: /* end confdefs.h.  */
                   3150: 
                   3151: int
                   3152: main ()
                   3153: {
                   3154: #ifndef __GNUC__
                   3155:        choke me
                   3156: #endif
                   3157: 
                   3158:   ;
                   3159:   return 0;
                   3160: }
                   3161: _ACEOF
                   3162: rm -f conftest.$ac_objext
                   3163: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3164:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3165:   ac_status=$?
1.86      paf      3166:   grep -v '^ *+' conftest.er1 >conftest.err
                   3167:   rm -f conftest.er1
                   3168:   cat conftest.err >&5
1.62      paf      3169:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3170:   (exit $ac_status); } &&
1.86      paf      3171:         { ac_try='test -z "$ac_c_werror_flag"
                   3172:                         || test ! -s conftest.err'
                   3173:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3174:   (eval $ac_try) 2>&5
                   3175:   ac_status=$?
                   3176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3177:   (exit $ac_status); }; } &&
                   3178:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3179:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3180:   (eval $ac_try) 2>&5
                   3181:   ac_status=$?
                   3182:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3183:   (exit $ac_status); }; }; then
                   3184:   ac_compiler_gnu=yes
                   3185: else
                   3186:   echo "$as_me: failed program was:" >&5
                   3187: sed 's/^/| /' conftest.$ac_ext >&5
                   3188: 
                   3189: ac_compiler_gnu=no
                   3190: fi
1.86      paf      3191: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3192: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      3193: 
                   3194: fi
1.66      paf      3195: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3196: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3197: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3198: ac_test_CFLAGS=${CFLAGS+set}
                   3199: ac_save_CFLAGS=$CFLAGS
                   3200: CFLAGS="-g"
                   3201: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3202: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3203: if test "${ac_cv_prog_cc_g+set}" = set; then
1.62      paf      3204:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3205: else
                   3206:   cat >conftest.$ac_ext <<_ACEOF
                   3207: /* confdefs.h.  */
                   3208: _ACEOF
                   3209: cat confdefs.h >>conftest.$ac_ext
                   3210: cat >>conftest.$ac_ext <<_ACEOF
                   3211: /* end confdefs.h.  */
                   3212: 
                   3213: int
                   3214: main ()
                   3215: {
                   3216: 
                   3217:   ;
                   3218:   return 0;
                   3219: }
                   3220: _ACEOF
                   3221: rm -f conftest.$ac_objext
                   3222: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3223:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3224:   ac_status=$?
1.86      paf      3225:   grep -v '^ *+' conftest.er1 >conftest.err
                   3226:   rm -f conftest.er1
                   3227:   cat conftest.err >&5
1.62      paf      3228:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3229:   (exit $ac_status); } &&
1.86      paf      3230:         { ac_try='test -z "$ac_c_werror_flag"
                   3231:                         || test ! -s conftest.err'
                   3232:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3233:   (eval $ac_try) 2>&5
                   3234:   ac_status=$?
                   3235:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3236:   (exit $ac_status); }; } &&
                   3237:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3238:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3239:   (eval $ac_try) 2>&5
                   3240:   ac_status=$?
                   3241:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3242:   (exit $ac_status); }; }; then
1.66      paf      3243:   ac_cv_prog_cc_g=yes
1.62      paf      3244: else
                   3245:   echo "$as_me: failed program was:" >&5
                   3246: sed 's/^/| /' conftest.$ac_ext >&5
                   3247: 
1.66      paf      3248: ac_cv_prog_cc_g=no
1.62      paf      3249: fi
1.86      paf      3250: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3251: fi
1.66      paf      3252: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3253: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
                   3254: if test "$ac_test_CFLAGS" = set; then
                   3255:   CFLAGS=$ac_save_CFLAGS
                   3256: elif test $ac_cv_prog_cc_g = yes; then
                   3257:   if test "$GCC" = yes; then
                   3258:     CFLAGS="-g -O2"
1.1       paf      3259:   else
1.66      paf      3260:     CFLAGS="-g"
1.1       paf      3261:   fi
                   3262: else
1.66      paf      3263:   if test "$GCC" = yes; then
                   3264:     CFLAGS="-O2"
1.1       paf      3265:   else
1.66      paf      3266:     CFLAGS=
1.1       paf      3267:   fi
                   3268: fi
1.66      paf      3269: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3270: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3271: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3272:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3273: else
                   3274:   ac_cv_prog_cc_stdc=no
                   3275: ac_save_CC=$CC
                   3276: cat >conftest.$ac_ext <<_ACEOF
                   3277: /* confdefs.h.  */
                   3278: _ACEOF
                   3279: cat confdefs.h >>conftest.$ac_ext
                   3280: cat >>conftest.$ac_ext <<_ACEOF
                   3281: /* end confdefs.h.  */
                   3282: #include <stdarg.h>
                   3283: #include <stdio.h>
                   3284: #include <sys/types.h>
                   3285: #include <sys/stat.h>
                   3286: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3287: struct buf { int x; };
                   3288: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3289: static char *e (p, i)
                   3290:      char **p;
                   3291:      int i;
                   3292: {
                   3293:   return p[i];
                   3294: }
                   3295: static char *f (char * (*g) (char **, int), char **p, ...)
                   3296: {
                   3297:   char *s;
                   3298:   va_list v;
                   3299:   va_start (v,p);
                   3300:   s = g (p, va_arg (v,int));
                   3301:   va_end (v);
                   3302:   return s;
                   3303: }
1.86      paf      3304: 
                   3305: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3306:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3307:    These don't provoke an error unfortunately, instead are silently treated
                   3308:    as 'x'.  The following induces an error, until -std1 is added to get
                   3309:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3310:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3311:    that's true only with -std1.  */
                   3312: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3313: 
1.66      paf      3314: int test (int i, double x);
                   3315: struct s1 {int (*f) (int a);};
                   3316: struct s2 {int (*f) (double a);};
                   3317: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3318: int argc;
                   3319: char **argv;
                   3320: int
                   3321: main ()
                   3322: {
                   3323: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3324:   ;
                   3325:   return 0;
                   3326: }
                   3327: _ACEOF
                   3328: # Don't try gcc -ansi; that turns off useful extensions and
                   3329: # breaks some systems' header files.
                   3330: # AIX                  -qlanglvl=ansi
                   3331: # Ultrix and OSF/1     -std1
                   3332: # HP-UX 10.20 and later        -Ae
                   3333: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3334: # SVR4                 -Xc -D__EXTENSIONS__
                   3335: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3336: do
                   3337:   CC="$ac_save_CC $ac_arg"
                   3338:   rm -f conftest.$ac_objext
                   3339: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3340:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3341:   ac_status=$?
1.86      paf      3342:   grep -v '^ *+' conftest.er1 >conftest.err
                   3343:   rm -f conftest.er1
                   3344:   cat conftest.err >&5
1.66      paf      3345:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3346:   (exit $ac_status); } &&
1.86      paf      3347:         { ac_try='test -z "$ac_c_werror_flag"
                   3348:                         || test ! -s conftest.err'
                   3349:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3350:   (eval $ac_try) 2>&5
                   3351:   ac_status=$?
                   3352:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3353:   (exit $ac_status); }; } &&
                   3354:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3355:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3356:   (eval $ac_try) 2>&5
                   3357:   ac_status=$?
                   3358:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3359:   (exit $ac_status); }; }; then
                   3360:   ac_cv_prog_cc_stdc=$ac_arg
                   3361: break
                   3362: else
                   3363:   echo "$as_me: failed program was:" >&5
                   3364: sed 's/^/| /' conftest.$ac_ext >&5
                   3365: 
                   3366: fi
1.86      paf      3367: rm -f conftest.err conftest.$ac_objext
1.66      paf      3368: done
                   3369: rm -f conftest.$ac_ext conftest.$ac_objext
                   3370: CC=$ac_save_CC
                   3371: 
                   3372: fi
                   3373: 
                   3374: case "x$ac_cv_prog_cc_stdc" in
                   3375:   x|xno)
                   3376:     echo "$as_me:$LINENO: result: none needed" >&5
                   3377: echo "${ECHO_T}none needed" >&6 ;;
                   3378:   *)
                   3379:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3380: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3381:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3382: esac
                   3383: 
                   3384: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3385: # in C++ we need to declare it.  In case someone uses the same compiler
                   3386: # for both compiling C and C++ we need to have the C++ compiler decide
                   3387: # the declaration of exit, since it's the most demanding environment.
                   3388: cat >conftest.$ac_ext <<_ACEOF
                   3389: #ifndef __cplusplus
                   3390:   choke me
                   3391: #endif
                   3392: _ACEOF
                   3393: rm -f conftest.$ac_objext
                   3394: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3395:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3396:   ac_status=$?
1.86      paf      3397:   grep -v '^ *+' conftest.er1 >conftest.err
                   3398:   rm -f conftest.er1
                   3399:   cat conftest.err >&5
1.66      paf      3400:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3401:   (exit $ac_status); } &&
1.86      paf      3402:         { ac_try='test -z "$ac_c_werror_flag"
                   3403:                         || test ! -s conftest.err'
                   3404:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3405:   (eval $ac_try) 2>&5
                   3406:   ac_status=$?
                   3407:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3408:   (exit $ac_status); }; } &&
                   3409:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3410:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3411:   (eval $ac_try) 2>&5
                   3412:   ac_status=$?
                   3413:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3414:   (exit $ac_status); }; }; then
                   3415:   for ac_declaration in \
1.86      paf      3416:    '' \
1.62      paf      3417:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3418:    'extern "C" void std::exit (int); using std::exit;' \
                   3419:    'extern "C" void exit (int) throw ();' \
                   3420:    'extern "C" void exit (int);' \
                   3421:    'void exit (int);'
                   3422: do
                   3423:   cat >conftest.$ac_ext <<_ACEOF
                   3424: /* confdefs.h.  */
                   3425: _ACEOF
                   3426: cat confdefs.h >>conftest.$ac_ext
                   3427: cat >>conftest.$ac_ext <<_ACEOF
                   3428: /* end confdefs.h.  */
1.86      paf      3429: $ac_declaration
1.62      paf      3430: #include <stdlib.h>
                   3431: int
                   3432: main ()
                   3433: {
                   3434: exit (42);
                   3435:   ;
                   3436:   return 0;
                   3437: }
                   3438: _ACEOF
                   3439: rm -f conftest.$ac_objext
                   3440: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3441:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3442:   ac_status=$?
1.86      paf      3443:   grep -v '^ *+' conftest.er1 >conftest.err
                   3444:   rm -f conftest.er1
                   3445:   cat conftest.err >&5
1.62      paf      3446:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3447:   (exit $ac_status); } &&
1.86      paf      3448:         { ac_try='test -z "$ac_c_werror_flag"
                   3449:                         || test ! -s conftest.err'
                   3450:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3451:   (eval $ac_try) 2>&5
                   3452:   ac_status=$?
                   3453:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3454:   (exit $ac_status); }; } &&
                   3455:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3456:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3457:   (eval $ac_try) 2>&5
                   3458:   ac_status=$?
                   3459:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3460:   (exit $ac_status); }; }; then
                   3461:   :
                   3462: else
                   3463:   echo "$as_me: failed program was:" >&5
                   3464: sed 's/^/| /' conftest.$ac_ext >&5
                   3465: 
                   3466: continue
                   3467: fi
1.86      paf      3468: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3469:   cat >conftest.$ac_ext <<_ACEOF
                   3470: /* confdefs.h.  */
                   3471: _ACEOF
                   3472: cat confdefs.h >>conftest.$ac_ext
                   3473: cat >>conftest.$ac_ext <<_ACEOF
                   3474: /* end confdefs.h.  */
                   3475: $ac_declaration
                   3476: int
                   3477: main ()
                   3478: {
                   3479: exit (42);
                   3480:   ;
                   3481:   return 0;
                   3482: }
                   3483: _ACEOF
                   3484: rm -f conftest.$ac_objext
                   3485: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3486:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3487:   ac_status=$?
1.86      paf      3488:   grep -v '^ *+' conftest.er1 >conftest.err
                   3489:   rm -f conftest.er1
                   3490:   cat conftest.err >&5
1.62      paf      3491:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3492:   (exit $ac_status); } &&
1.86      paf      3493:         { ac_try='test -z "$ac_c_werror_flag"
                   3494:                         || test ! -s conftest.err'
                   3495:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3496:   (eval $ac_try) 2>&5
                   3497:   ac_status=$?
                   3498:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3499:   (exit $ac_status); }; } &&
                   3500:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3501:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3502:   (eval $ac_try) 2>&5
                   3503:   ac_status=$?
                   3504:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3505:   (exit $ac_status); }; }; then
                   3506:   break
                   3507: else
                   3508:   echo "$as_me: failed program was:" >&5
                   3509: sed 's/^/| /' conftest.$ac_ext >&5
                   3510: 
                   3511: fi
1.86      paf      3512: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3513: done
                   3514: rm -f conftest*
                   3515: if test -n "$ac_declaration"; then
                   3516:   echo '#ifdef __cplusplus' >>confdefs.h
                   3517:   echo $ac_declaration      >>confdefs.h
                   3518:   echo '#endif'             >>confdefs.h
                   3519: fi
                   3520: 
1.66      paf      3521: else
                   3522:   echo "$as_me: failed program was:" >&5
                   3523: sed 's/^/| /' conftest.$ac_ext >&5
                   3524: 
                   3525: fi
1.86      paf      3526: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3527: ac_ext=c
                   3528: ac_cpp='$CPP $CPPFLAGS'
                   3529: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3530: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3531: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3532: 
1.66      paf      3533: depcc="$CC"   am_compiler_list=
1.62      paf      3534: 
                   3535: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3536: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      3537: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.62      paf      3538:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3539: else
                   3540:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3541:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3542:   # making bogus files that we don't know about and never remove.  For
                   3543:   # instance it was reported that on HP-UX the gcc test will end up
                   3544:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3545:   # in D'.
                   3546:   mkdir conftest.dir
                   3547:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3548:   # using a relative directory.
                   3549:   cp "$am_depcomp" conftest.dir
                   3550:   cd conftest.dir
1.86      paf      3551:   # We will build objects and dependencies in a subdirectory because
                   3552:   # it helps to detect inapplicable dependency modes.  For instance
                   3553:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3554:   # side effect of compilation, but ICC will put the dependencies in
                   3555:   # the current directory while Tru64 will put them in the object
                   3556:   # directory.
                   3557:   mkdir sub
1.62      paf      3558: 
1.66      paf      3559:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      3560:   if test "$am_compiler_list" = ""; then
                   3561:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3562:   fi
                   3563:   for depmode in $am_compiler_list; do
1.86      paf      3564:     # Setup a source with many dependencies, because some compilers
                   3565:     # like to wrap large dependency lists on column 80 (with \), and
                   3566:     # we should not choose a depcomp mode which is confused by this.
                   3567:     #
1.62      paf      3568:     # We need to recreate these files for each test, as the compiler may
                   3569:     # overwrite some of them when testing with obscure command lines.
                   3570:     # This happens at least with the AIX C compiler.
1.86      paf      3571:     : > sub/conftest.c
                   3572:     for i in 1 2 3 4 5 6; do
                   3573:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3574:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3575:       # Solaris 8's {/usr,}/bin/sh.
                   3576:       touch sub/conftst$i.h
                   3577:     done
                   3578:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3579: 
                   3580:     case $depmode in
                   3581:     nosideeffect)
                   3582:       # after this tag, mechanisms are not by side-effect, so they'll
                   3583:       # only be used when explicitly requested
                   3584:       if test "x$enable_dependency_tracking" = xyes; then
                   3585:        continue
                   3586:       else
                   3587:        break
                   3588:       fi
                   3589:       ;;
                   3590:     none) break ;;
                   3591:     esac
                   3592:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3593:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3594:     # handle `-M -o', and we need to detect this.
1.66      paf      3595:     if depmode=$depmode \
1.86      paf      3596:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3597:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3598:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3599:          >/dev/null 2>conftest.err &&
                   3600:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3601:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      3602:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3603:       # icc doesn't choke on unknown options, it will just issue warnings
                   3604:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3605:       # that says an option was ignored or not supported.
                   3606:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3607:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3608:       # The diagnosis changed in icc 8.0:
                   3609:       #   icc: Command line remark: option '-MP' not supported
                   3610:       if (grep 'ignoring option' conftest.err ||
                   3611:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3612:         am_cv_CC_dependencies_compiler_type=$depmode
                   3613:         break
                   3614:       fi
1.66      paf      3615:     fi
                   3616:   done
                   3617: 
                   3618:   cd ..
                   3619:   rm -rf conftest.dir
                   3620: else
                   3621:   am_cv_CC_dependencies_compiler_type=none
                   3622: fi
                   3623: 
                   3624: fi
                   3625: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3626: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3627: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3628: 
                   3629: 
                   3630: 
                   3631: if
                   3632:   test "x$enable_dependency_tracking" != xno \
                   3633:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3634:   am__fastdepCC_TRUE=
                   3635:   am__fastdepCC_FALSE='#'
                   3636: else
                   3637:   am__fastdepCC_TRUE='#'
                   3638:   am__fastdepCC_FALSE=
                   3639: fi
                   3640: 
                   3641: 
1.128     moko     3642: 
1.66      paf      3643: ac_ext=c
                   3644: ac_cpp='$CPP $CPPFLAGS'
                   3645: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3646: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3647: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3648: 
1.67      paf      3649: 
1.62      paf      3650: 
1.128     moko     3651: echo "$as_me:$LINENO: checking for dynamic-link library extension" >&5
                   3652: echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6
                   3653: case "$host_os" in
                   3654: cygwin)
                   3655:        dll_extension=dll
                   3656:        ;;
                   3657: *)
                   3658:        dll_extension=so
1.66      paf      3659: esac
1.128     moko     3660: echo "$as_me:$LINENO: result: $dll_extension" >&5
                   3661: echo "${ECHO_T}$dll_extension" >&6
1.1       paf      3662: 
1.71      paf      3663: 
                   3664: 
                   3665: 
                   3666: # Check whether --with-build-warnings or --without-build-warnings was given.
                   3667: if test "${with_build_warnings+set}" = set; then
                   3668:   withval="$with_build_warnings"
                   3669:   { echo "$as_me:$LINENO: WARNING: enabling compiler warnings" >&5
                   3670: echo "$as_me: WARNING: enabling compiler warnings" >&2;}
                   3671:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   3672: 
                   3673: fi;
1.1       paf      3674: 
                   3675: 
1.67      paf      3676: # Check whether --with-assertions or --without-assertions was given.
                   3677: if test "${with_assertions+set}" = set; then
                   3678:   withval="$with_assertions"
                   3679:   { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5
                   3680: echo "$as_me: WARNING: enabling assertions" >&2;}
                   3681: 
                   3682: else
                   3683: 
                   3684: cat >>confdefs.h <<\_ACEOF
                   3685: #define NDEBUG
                   3686: _ACEOF
                   3687: 
                   3688: 
                   3689: fi;
                   3690: 
1.94      misha    3691: 
1.128     moko     3692: # Check whether --with-pathlink or --without-pathlink was given.
                   3693: if test "${with_pathlink+set}" = set; then
                   3694:   withval="$with_pathlink"
                   3695:   LD_PATHLINK=$withval
                   3696: 
                   3697: fi;
                   3698: 
                   3699: 
                   3700: # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given.
                   3701: if test "${with_sjlj_exceptions+set}" = set; then
                   3702:   withval="$with_sjlj_exceptions"
                   3703: 
                   3704: cat >>confdefs.h <<\_ACEOF
                   3705: #define PA_WITH_SJLJ_EXCEPTIONS
                   3706: _ACEOF
                   3707: 
                   3708: 
                   3709: fi;
                   3710: 
                   3711: 
1.146   ! moko     3712: # Check whether --enable-version-update or --disable-version-update was given.
        !          3713: if test "${enable_version_update+set}" = set; then
        !          3714:   enableval="$enable_version_update"
        !          3715: 
        !          3716:        VERSION_UPDATE=$enableval
        !          3717: 
        !          3718: 
        !          3719: fi;
        !          3720: 
        !          3721: if test "$VERSION_UPDATE" != "no"; then
        !          3722:        PARSER_VERSION="$VERSION (compiled on $host)"
        !          3723:        echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
        !          3724:        echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
        !          3725:        echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
        !          3726:        cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1
        !          3727:        if test $? -ne 0 ; then
        !          3728:                mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h
        !          3729:                echo "updated $srcdir/src/include/pa_version.h"
        !          3730:        else
        !          3731:                rm -f $srcdir/src/include/pa_version.h.new
        !          3732:        fi
        !          3733: else
        !          3734:        echo "skipped $srcdir/src/include/pa_version.h update"
        !          3735: fi
        !          3736: 
        !          3737: 
1.60      paf      3738: # Check whether --enable-safe-mode or --disable-safe-mode was given.
                   3739: if test "${enable_safe_mode+set}" = set; then
                   3740:   enableval="$enable_safe_mode"
1.62      paf      3741: 
1.67      paf      3742:        SAFE_MODE=$enableval
1.60      paf      3743: 
1.1       paf      3744: 
1.62      paf      3745: fi;
1.128     moko     3746: 
1.60      paf      3747: if test "$SAFE_MODE" = "no"; then
1.62      paf      3748:        { echo "$as_me:$LINENO: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   3749: echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      3750: else
1.62      paf      3751: 
                   3752: cat >>confdefs.h <<\_ACEOF
                   3753: #define PA_SAFE_MODE
                   3754: _ACEOF
1.1       paf      3755: 
                   3756: fi
                   3757: 
1.94      misha    3758: 
1.13      paf      3759: # Check whether --enable-execs or --disable-execs was given.
                   3760: if test "${enable_execs+set}" = set; then
                   3761:   enableval="$enable_execs"
1.62      paf      3762: 
1.13      paf      3763: if test "$enableval" = "no"; then
1.62      paf      3764:        { echo "$as_me:$LINENO: WARNING: disabling file execs" >&5
                   3765: echo "$as_me: WARNING: disabling file execs" >&2;}
                   3766: 
                   3767: cat >>confdefs.h <<\_ACEOF
                   3768: #define NO_PA_EXECS
                   3769: _ACEOF
1.13      paf      3770: 
                   3771: fi
                   3772: 
                   3773: 
1.62      paf      3774: fi;
1.13      paf      3775: 
1.60      paf      3776: 
1.94      misha    3777: # Check whether --enable-stringstream or --disable-stringstream was given.
                   3778: if test "${enable_stringstream+set}" = set; then
                   3779:   enableval="$enable_stringstream"
                   3780: 
                   3781: if test "$enableval" = "no"; then
                   3782:        { echo "$as_me:$LINENO: WARNING: disabling stringstream usage" >&5
                   3783: echo "$as_me: WARNING: disabling stringstream usage" >&2;}
                   3784: 
                   3785: cat >>confdefs.h <<\_ACEOF
                   3786: #define NO_STRINGSTREAM
                   3787: _ACEOF
                   3788: 
                   3789: fi
                   3790: 
                   3791: 
                   3792: fi;
                   3793: 
                   3794: 
1.62      paf      3795: 
1.142     moko     3796: # Check whether --with-gc or --without-gc was given.
                   3797: if test "${with_gc+set}" = set; then
                   3798:   withval="$with_gc"
1.17      paf      3799: 
                   3800: 
1.142     moko     3801:        GC=$withval
                   3802:        GC_LIBS="$GC/libgc.la"
                   3803: 
                   3804:        if test -f $GC_LIBS; then
                   3805:                GC_OK="yes"
                   3806:        else
                   3807:                GC_LIBS="-L$GC -lgc"
                   3808:        fi
1.62      paf      3809: 
1.142     moko     3810: else
1.17      paf      3811: 
1.142     moko     3812:        GC_LIBS="-lgc"
                   3813:        { echo "$as_me:$LINENO: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   3814: echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
1.17      paf      3815: 
1.128     moko     3816: fi;
1.17      paf      3817: 
1.142     moko     3818: if test -z "$GC_OK"; then
1.138     moko     3819:        echo "$as_me:$LINENO: checking for libgc" >&5
1.128     moko     3820: echo $ECHO_N "checking for libgc... $ECHO_C" >&6
1.138     moko     3821:        SAVE_LIBS=$LIBS
                   3822:        LIBS="$LIBS $GC_LIBS"
1.128     moko     3823: 
1.67      paf      3824: cat >conftest.$ac_ext <<_ACEOF
                   3825: /* confdefs.h.  */
                   3826: _ACEOF
                   3827: cat confdefs.h >>conftest.$ac_ext
                   3828: cat >>conftest.$ac_ext <<_ACEOF
                   3829: /* end confdefs.h.  */
1.142     moko     3830:  extern int GC_dont_gc;
1.67      paf      3831: int
                   3832: main ()
                   3833: {
1.142     moko     3834:  GC_dont_gc=0;
1.67      paf      3835:   ;
                   3836:   return 0;
                   3837: }
                   3838: _ACEOF
                   3839: rm -f conftest.$ac_objext conftest$ac_exeext
                   3840: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      3841:   (eval $ac_link) 2>conftest.er1
1.67      paf      3842:   ac_status=$?
1.86      paf      3843:   grep -v '^ *+' conftest.er1 >conftest.err
                   3844:   rm -f conftest.er1
                   3845:   cat conftest.err >&5
1.67      paf      3846:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3847:   (exit $ac_status); } &&
1.86      paf      3848:         { ac_try='test -z "$ac_c_werror_flag"
                   3849:                         || test ! -s conftest.err'
                   3850:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3851:   (eval $ac_try) 2>&5
                   3852:   ac_status=$?
                   3853:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3854:   (exit $ac_status); }; } &&
                   3855:         { ac_try='test -s conftest$ac_exeext'
1.67      paf      3856:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3857:   (eval $ac_try) 2>&5
                   3858:   ac_status=$?
                   3859:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3860:   (exit $ac_status); }; }; then
                   3861:   echo "$as_me:$LINENO: result: yes" >&5
                   3862: echo "${ECHO_T}yes" >&6
                   3863: 
                   3864: else
                   3865:   echo "$as_me: failed program was:" >&5
                   3866: sed 's/^/| /' conftest.$ac_ext >&5
                   3867: 
                   3868: echo "$as_me:$LINENO: result: no" >&5
                   3869: echo "${ECHO_T}no" >&6
1.142     moko     3870:                if test -z "$GC"; then
                   3871:                        { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-gc" >&5
                   3872: echo "$as_me: error: please specify path to libgc: --with-gc" >&2;}
1.67      paf      3873:    { (exit 1); exit 1; }; }
1.142     moko     3874:                else
                   3875:                        { { echo "$as_me:$LINENO: error: $GC does not seem to be valid libgc installation directory" >&5
                   3876: echo "$as_me: error: $GC does not seem to be valid libgc installation directory" >&2;}
                   3877:    { (exit 1); exit 1; }; }
                   3878:                fi
1.67      paf      3879: 
                   3880: fi
1.86      paf      3881: rm -f conftest.err conftest.$ac_objext \
                   3882:       conftest$ac_exeext conftest.$ac_ext
1.138     moko     3883:        LIBS=$SAVE_LIBS
                   3884: fi
1.67      paf      3885: 
                   3886: 
1.1       paf      3887: 
1.15      paf      3888: 
1.142     moko     3889: 
                   3890: # Check whether --with-pcre or --without-pcre was given.
                   3891: if test "${with_pcre+set}" = set; then
                   3892:   withval="$with_pcre"
1.100     misha    3893: 
                   3894:        PCRE=$withval
1.142     moko     3895:        PCRE_INCLUDES="-I$PCRE/include"
                   3896:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    3897: 
1.142     moko     3898:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   3899:                PCRE_OK="yes"
                   3900:        else
                   3901:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    3902:        fi
                   3903: 
1.142     moko     3904: 
                   3905: else
                   3906: 
                   3907:        PCRE_LIBS="-lpcre"
                   3908:        { echo "$as_me:$LINENO: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   3909: echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
1.100     misha    3910: 
                   3911: fi;
                   3912: 
1.142     moko     3913: if test -z "$PCRE_OK"; then
                   3914:        echo "$as_me:$LINENO: checking for prce" >&5
                   3915: echo $ECHO_N "checking for prce... $ECHO_C" >&6
                   3916:        SAVE_LIBS=$LIBS
                   3917:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
                   3918:        cat >conftest.$ac_ext <<_ACEOF
                   3919: /* confdefs.h.  */
                   3920: _ACEOF
                   3921: cat confdefs.h >>conftest.$ac_ext
                   3922: cat >>conftest.$ac_ext <<_ACEOF
                   3923: /* end confdefs.h.  */
                   3924:  #include <pcre.h>
                   3925: int
                   3926: main ()
                   3927: {
                   3928:  const char *v=pcre_version();
                   3929:   ;
                   3930:   return 0;
                   3931: }
                   3932: _ACEOF
                   3933: rm -f conftest.$ac_objext conftest$ac_exeext
                   3934: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3935:   (eval $ac_link) 2>conftest.er1
                   3936:   ac_status=$?
                   3937:   grep -v '^ *+' conftest.er1 >conftest.err
                   3938:   rm -f conftest.er1
                   3939:   cat conftest.err >&5
                   3940:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3941:   (exit $ac_status); } &&
                   3942:         { ac_try='test -z "$ac_c_werror_flag"
                   3943:                         || test ! -s conftest.err'
                   3944:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3945:   (eval $ac_try) 2>&5
                   3946:   ac_status=$?
                   3947:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3948:   (exit $ac_status); }; } &&
                   3949:         { ac_try='test -s conftest$ac_exeext'
                   3950:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3951:   (eval $ac_try) 2>&5
                   3952:   ac_status=$?
                   3953:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3954:   (exit $ac_status); }; }; then
                   3955:   echo "$as_me:$LINENO: result: yes" >&5
                   3956: echo "${ECHO_T}yes" >&6
                   3957: 
                   3958: else
                   3959:   echo "$as_me: failed program was:" >&5
                   3960: sed 's/^/| /' conftest.$ac_ext >&5
                   3961: 
                   3962: echo "$as_me:$LINENO: result: no" >&5
                   3963: echo "${ECHO_T}no" >&6
                   3964:                if test -z "$PCRE"; then
                   3965:                        { { echo "$as_me:$LINENO: error: please specify path to PCRE: --with-pcre" >&5
                   3966: echo "$as_me: error: please specify path to PCRE: --with-pcre" >&2;}
                   3967:    { (exit 1); exit 1; }; }
                   3968:                else
                   3969:                        { { echo "$as_me:$LINENO: error: $PCRE does not seem to be valid PCRE installation directory" >&5
                   3970: echo "$as_me: error: $PCRE does not seem to be valid PCRE installation directory" >&2;}
                   3971:    { (exit 1); exit 1; }; }
                   3972:                fi
                   3973: 
                   3974: fi
                   3975: rm -f conftest.err conftest.$ac_objext \
                   3976:       conftest$ac_exeext conftest.$ac_ext
                   3977:        LIBS=$SAVE_LIBS
                   3978: fi
1.100     misha    3979: 
                   3980: 
                   3981: 
                   3982: 
1.66      paf      3983: 
                   3984: 
1.142     moko     3985: # Check whether --with-xml or --without-xml was given.
                   3986: if test "${with_xml+set}" = set; then
                   3987:   withval="$with_xml"
1.66      paf      3988: 
                   3989: 
1.142     moko     3990:        XML=$withval
                   3991:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   3992: 
                   3993:        if test -z "$XML" -o "$XML" = "yes"; then
                   3994:                XML=""
                   3995:                XML_INCLUDES="-I/usr/include/libxml2"
                   3996:                { echo "$as_me:$LINENO: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   3997: echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
                   3998:        else
                   3999:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      4000: 
1.142     moko     4001:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   4002:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   4003:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   4004:                        XML_OK="yes"
                   4005:                fi
1.67      paf      4006:        fi
1.66      paf      4007: 
1.142     moko     4008:        if test -z "$XML_OK"; then
                   4009:                echo "$as_me:$LINENO: checking for xml" >&5
                   4010: echo $ECHO_N "checking for xml... $ECHO_C" >&6
                   4011:                SAVE_LIBS=$LIBS
                   4012:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
                   4013:                cat >conftest.$ac_ext <<_ACEOF
                   4014: /* confdefs.h.  */
                   4015: _ACEOF
                   4016: cat confdefs.h >>conftest.$ac_ext
                   4017: cat >>conftest.$ac_ext <<_ACEOF
                   4018: /* end confdefs.h.  */
                   4019:  #include <libxslt/xslt.h>
                   4020: int
                   4021: main ()
                   4022: {
                   4023:  const char *v=xsltEngineVersion;
                   4024:   ;
                   4025:   return 0;
                   4026: }
                   4027: _ACEOF
                   4028: rm -f conftest.$ac_objext conftest$ac_exeext
                   4029: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4030:   (eval $ac_link) 2>conftest.er1
                   4031:   ac_status=$?
                   4032:   grep -v '^ *+' conftest.er1 >conftest.err
                   4033:   rm -f conftest.er1
                   4034:   cat conftest.err >&5
                   4035:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4036:   (exit $ac_status); } &&
                   4037:         { ac_try='test -z "$ac_c_werror_flag"
                   4038:                         || test ! -s conftest.err'
                   4039:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4040:   (eval $ac_try) 2>&5
                   4041:   ac_status=$?
                   4042:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4043:   (exit $ac_status); }; } &&
                   4044:         { ac_try='test -s conftest$ac_exeext'
                   4045:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4046:   (eval $ac_try) 2>&5
                   4047:   ac_status=$?
                   4048:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4049:   (exit $ac_status); }; }; then
                   4050:   echo "$as_me:$LINENO: result: yes" >&5
                   4051: echo "${ECHO_T}yes" >&6
                   4052: 
                   4053: else
                   4054:   echo "$as_me: failed program was:" >&5
                   4055: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      4056: 
1.142     moko     4057: echo "$as_me:$LINENO: result: no" >&5
                   4058: echo "${ECHO_T}no" >&6
                   4059:                        if test -z "$XML"; then
                   4060:                                { { echo "$as_me:$LINENO: error: please specify path to Gnome XML libraries: --with-xml" >&5
                   4061: echo "$as_me: error: please specify path to Gnome XML libraries: --with-xml" >&2;}
                   4062:    { (exit 1); exit 1; }; }
                   4063:                        else
                   4064:                                { { echo "$as_me:$LINENO: error: $XML does not seem to be valid Gnome XML installation directory" >&5
                   4065: echo "$as_me: error: $XML does not seem to be valid Gnome XML installation directory" >&2;}
1.66      paf      4066:    { (exit 1); exit 1; }; }
1.142     moko     4067:                        fi
                   4068: 
                   4069: fi
                   4070: rm -f conftest.err conftest.$ac_objext \
                   4071:       conftest$ac_exeext conftest.$ac_ext
                   4072:                LIBS=$SAVE_LIBS
1.67      paf      4073:        fi
1.66      paf      4074: 
                   4075: cat >>confdefs.h <<\_ACEOF
                   4076: #define XML
                   4077: _ACEOF
                   4078: 
                   4079: 
1.142     moko     4080: fi;
1.90      paf      4081: 
1.66      paf      4082: 
                   4083: 
                   4084: 
                   4085: 
1.90      paf      4086: # Check whether --with-glib-config or --without-glib-config was given.
                   4087: if test "${with_glib_config+set}" = set; then
                   4088:   withval="$with_glib_config"
                   4089:   GLIB_CONFIG=$withval
                   4090: 
                   4091: fi;
1.66      paf      4092: 
                   4093: 
                   4094: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
                   4095: if test "${with_shared_mailreceive+set}" = set; then
                   4096:   withval="$with_shared_mailreceive"
                   4097: 
1.67      paf      4098:        GNOME_MIME=$withval
                   4099:        MIMEBIN="$GNOME_MIME/bin"
                   4100:        MIMEINC="$GNOME_MIME/include"
                   4101:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4102: 
1.67      paf      4103:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4104:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4105: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4106:    { (exit 1); exit 1; }; }
1.67      paf      4107:        fi
1.66      paf      4108: 
                   4109: 
                   4110: cat >>confdefs.h <<\_ACEOF
                   4111: #define WITH_MAILRECEIVE
                   4112: _ACEOF
                   4113: 
                   4114: 
1.67      paf      4115:        LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66      paf      4116: 
1.67      paf      4117:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4118:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4119:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4120:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4121:                        if test \! -x $GLIB_CONFIG; then
                   4122:                                GLIB_CONFIG=glib-config
                   4123:                        fi
1.67      paf      4124:                fi
                   4125:        fi
                   4126:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   4127:        GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66      paf      4128: 
1.67      paf      4129:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4130:        MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   4131:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4132:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67      paf      4133:        fi
1.66      paf      4134: 
                   4135: fi;
                   4136: 
                   4137: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
                   4138: if test "${with_static_mailreceive+set}" = set; then
                   4139:   withval="$with_static_mailreceive"
                   4140: 
1.67      paf      4141:        GNOME_MIME=$withval
                   4142:        MIMEBIN="$GNOME_MIME/bin"
                   4143:        MIMEINC="$GNOME_MIME/include"
                   4144:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4145: 
1.67      paf      4146:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4147:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4148: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4149:    { (exit 1); exit 1; }; }
1.67      paf      4150:        fi
1.66      paf      4151: 
                   4152: 
                   4153: cat >>confdefs.h <<\_ACEOF
                   4154: #define WITH_MAILRECEIVE
                   4155: _ACEOF
                   4156: 
                   4157: 
1.67      paf      4158:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4159:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4160:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4161:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4162:                        if test \! -x $GLIB_CONFIG; then
                   4163:                                GLIB_CONFIG=glib-config
                   4164:                        fi
1.67      paf      4165:                fi
                   4166:        fi
                   4167:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66      paf      4168: 
1.67      paf      4169:        GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   4170:        GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   4171:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
1.138     moko     4172:        MIME_LIBS="$MIMELIB/libgmime.la $GLIB_DIR/lib$GLIB_NAME.la"
1.66      paf      4173: 
                   4174: fi;
                   4175: 
                   4176: 
                   4177: 
                   4178: 
                   4179: 
                   4180: # Check whether --with-sendmail or --without-sendmail was given.
                   4181: if test "${with_sendmail+set}" = set; then
                   4182:   withval="$with_sendmail"
                   4183: 
                   4184: cat >>confdefs.h <<_ACEOF
                   4185: #define PA_FORCED_SENDMAIL "$withval"
                   4186: _ACEOF
                   4187: 
                   4188: 
                   4189: fi;
                   4190: 
                   4191: 
                   4192: 
1.122     moko     4193: # Check whether --with-apache or --without-apache was given.
                   4194: if test "${with_apache+set}" = set; then
                   4195:   withval="$with_apache"
                   4196: 
                   4197:        APXS=$withval
                   4198: 
                   4199:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4200:                APXS=`which apxs 2>/dev/null`
1.142     moko     4201:                if test -z "$APXS"; then
                   4202:                        APXS=`which apxs2 2>/dev/null`
                   4203:                fi
                   4204:        fi
1.122     moko     4205: 
                   4206:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4207: 
                   4208:        if test -z "$APACHE"; then
1.142     moko     4209:                { { echo "$as_me:$LINENO: error: $APXS does not seem to be valid apache apxs utility path" >&5
1.122     moko     4210: echo "$as_me: error: $APXS does not seem to be valid apache apxs utility path" >&2;}
1.66      paf      4211:    { (exit 1); exit 1; }; }
1.67      paf      4212:        fi
1.7       paf      4213: 
1.122     moko     4214:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   4215:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   4216:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   4217:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   4218: 
1.62      paf      4219: fi;
1.7       paf      4220: 
                   4221: 
1.62      paf      4222: 
1.122     moko     4223: 
                   4224: 
                   4225: if test -n "$APACHE"; then
                   4226:   COMPILE_APACHE_MODULE_TRUE=
                   4227:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      4228: else
1.122     moko     4229:   COMPILE_APACHE_MODULE_TRUE='#'
                   4230:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      4231: fi
1.1       paf      4232: 
                   4233: 
                   4234: 
1.62      paf      4235: 
                   4236: 
1.7       paf      4237: 
1.1       paf      4238: 
                   4239: 
                   4240: 
1.62      paf      4241: 
1.128     moko     4242: case `pwd` in
                   4243:   *\ * | *\    *)
                   4244:     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4245: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4246: esac
                   4247: 
                   4248: 
                   4249: 
                   4250: macro_version='2.4.2'
                   4251: macro_revision='1.3337'
                   4252: 
                   4253: 
                   4254: 
                   4255: 
                   4256: 
                   4257: 
                   4258: 
                   4259: 
                   4260: 
                   4261: 
                   4262: 
                   4263: 
                   4264: 
                   4265: ltmain="$ac_aux_dir/ltmain.sh"
                   4266: 
                   4267: # Backslashify metacharacters that are still active within
                   4268: # double-quoted strings.
                   4269: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      4270: 
1.128     moko     4271: # Same as above, but do not quote variable references.
                   4272: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      4273: 
1.128     moko     4274: # Sed substitution to delay expansion of an escaped shell variable in a
                   4275: # double_quote_subst'ed string.
                   4276: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      4277: 
1.128     moko     4278: # Sed substitution to delay expansion of an escaped single quote.
                   4279: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      4280: 
1.128     moko     4281: # Sed substitution to avoid accidental globbing in evaled expressions
                   4282: no_glob_subst='s/\*/\\\*/g'
1.86      paf      4283: 
1.128     moko     4284: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4285: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4286: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      4287: 
1.128     moko     4288: echo "$as_me:$LINENO: checking how to print strings" >&5
                   4289: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
                   4290: # Test print first, because it will be a builtin if present.
                   4291: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4292:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4293:   ECHO='print -r --'
                   4294: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4295:   ECHO='printf %s\n'
                   4296: else
                   4297:   # Use this function as a fallback that always works.
                   4298:   func_fallback_echo ()
                   4299:   {
                   4300:     eval 'cat <<_LTECHO_EOF
                   4301: $1
                   4302: _LTECHO_EOF'
                   4303:   }
                   4304:   ECHO='func_fallback_echo'
                   4305: fi
1.86      paf      4306: 
1.128     moko     4307: # func_echo_all arg...
                   4308: # Invoke $ECHO with all args, space-separated.
                   4309: func_echo_all ()
1.66      paf      4310: {
1.128     moko     4311:     $ECHO ""
1.66      paf      4312: }
1.10      paf      4313: 
1.128     moko     4314: case "$ECHO" in
                   4315:   printf*) echo "$as_me:$LINENO: result: printf" >&5
                   4316: echo "${ECHO_T}printf" >&6 ;;
                   4317:   print*) echo "$as_me:$LINENO: result: print -r" >&5
                   4318: echo "${ECHO_T}print -r" >&6 ;;
                   4319:   *) echo "$as_me:$LINENO: result: cat" >&5
                   4320: echo "${ECHO_T}cat" >&6 ;;
                   4321: esac
                   4322: 
                   4323: 
                   4324: 
                   4325: 
                   4326: 
                   4327: 
                   4328: 
                   4329: 
                   4330: 
                   4331: 
                   4332: 
                   4333: 
                   4334: 
                   4335: 
                   4336: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   4337: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   4338: if test "${lt_cv_path_SED+set}" = set; then
                   4339:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      4340: else
1.128     moko     4341:   # Loop through the user's path and test for sed and gsed.
                   4342: # Then use that list of sed's as ones to test for truncation.
                   4343: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4344: for as_dir in $PATH
                   4345: do
                   4346:   IFS=$as_save_IFS
                   4347:   test -z "$as_dir" && as_dir=.
                   4348:   for lt_ac_prog in sed gsed; do
                   4349:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4350:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
                   4351:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
                   4352:       fi
                   4353:     done
                   4354:   done
                   4355: done
                   4356: IFS=$as_save_IFS
                   4357: lt_ac_max=0
                   4358: lt_ac_count=0
                   4359: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   4360: # along with /bin/sed that truncates output.
                   4361: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
                   4362:   test ! -f $lt_ac_sed && continue
                   4363:   cat /dev/null > conftest.in
                   4364:   lt_ac_count=0
                   4365:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
                   4366:   # Check for GNU sed and select it if it is found.
                   4367:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
                   4368:     lt_cv_path_SED=$lt_ac_sed
                   4369:     break
                   4370:   fi
                   4371:   while true; do
                   4372:     cat conftest.in conftest.in >conftest.tmp
                   4373:     mv conftest.tmp conftest.in
                   4374:     cp conftest.in conftest.nl
                   4375:     echo >>conftest.nl
                   4376:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
                   4377:     cmp -s conftest.out conftest.nl || break
                   4378:     # 10000 chars as input seems more than enough
                   4379:     test $lt_ac_count -gt 10 && break
                   4380:     lt_ac_count=`expr $lt_ac_count + 1`
                   4381:     if test $lt_ac_count -gt $lt_ac_max; then
                   4382:       lt_ac_max=$lt_ac_count
                   4383:       lt_cv_path_SED=$lt_ac_sed
                   4384:     fi
                   4385:   done
                   4386: done
1.10      paf      4387: 
1.66      paf      4388: fi
1.10      paf      4389: 
1.128     moko     4390: SED=$lt_cv_path_SED
                   4391: 
                   4392: echo "$as_me:$LINENO: result: $SED" >&5
                   4393: echo "${ECHO_T}$SED" >&6
                   4394: 
                   4395: test -z "$SED" && SED=sed
                   4396: Xsed="$SED -e 1s/^X//"
1.10      paf      4397: 
1.128     moko     4398: 
                   4399: 
                   4400: 
                   4401: 
                   4402: 
                   4403: 
                   4404: 
                   4405: 
                   4406: 
                   4407: 
                   4408: echo "$as_me:$LINENO: checking for egrep" >&5
                   4409: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4410: if test "${ac_cv_prog_egrep+set}" = set; then
                   4411:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4412: else
                   4413:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4414:     then ac_cv_prog_egrep='grep -E'
                   4415:     else ac_cv_prog_egrep='egrep'
                   4416:     fi
                   4417: fi
                   4418: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4419: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4420:  EGREP=$ac_cv_prog_egrep
                   4421: 
                   4422: 
                   4423: echo "$as_me:$LINENO: checking for fgrep" >&5
                   4424: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
                   4425: if test "${ac_cv_prog_fgrep+set}" = set; then
                   4426:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4427: else
                   4428:   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
                   4429:     then ac_cv_prog_fgrep='grep -F'
                   4430:     else ac_cv_prog_fgrep='fgrep'
                   4431:     fi
                   4432: fi
                   4433: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
                   4434: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
                   4435:  FGREP=$ac_cv_prog_fgrep
                   4436: 
                   4437: 
                   4438: test -z "$GREP" && GREP=grep
                   4439: 
                   4440: 
                   4441: 
                   4442: 
                   4443: 
                   4444: 
                   4445: 
                   4446: 
                   4447: 
                   4448: 
                   4449: 
                   4450: 
                   4451: 
                   4452: 
                   4453: 
                   4454: 
                   4455: 
                   4456: 
                   4457: 
                   4458: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   4459: if test "${with_gnu_ld+set}" = set; then
                   4460:   withval="$with_gnu_ld"
                   4461:   test "$withval" = no || with_gnu_ld=yes
                   4462: else
                   4463:   with_gnu_ld=no
                   4464: fi;
                   4465: ac_prog=ld
                   4466: if test "$GCC" = yes; then
                   4467:   # Check if gcc -print-prog-name=ld gives a path.
                   4468:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   4469: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   4470:   case $host in
                   4471:   *-*-mingw*)
                   4472:     # gcc leaves a trailing carriage return which upsets mingw
                   4473:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4474:   *)
                   4475:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4476:   esac
                   4477:   case $ac_prog in
                   4478:     # Accept absolute paths.
                   4479:     [\\/]* | ?:[\\/]*)
                   4480:       re_direlt='/[^/][^/]*/\.\./'
                   4481:       # Canonicalize the pathname of ld
                   4482:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4483:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4484:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4485:       done
                   4486:       test -z "$LD" && LD="$ac_prog"
                   4487:       ;;
                   4488:   "")
                   4489:     # If it fails, then pretend we aren't using GCC.
                   4490:     ac_prog=ld
                   4491:     ;;
                   4492:   *)
                   4493:     # If it is relative, then search for the first ld in PATH.
                   4494:     with_gnu_ld=unknown
                   4495:     ;;
                   4496:   esac
                   4497: elif test "$with_gnu_ld" = yes; then
                   4498:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   4499: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   4500: else
                   4501:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   4502: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   4503: fi
                   4504: if test "${lt_cv_path_LD+set}" = set; then
                   4505:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4506: else
                   4507:   if test -z "$LD"; then
                   4508:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4509:   for ac_dir in $PATH; do
                   4510:     IFS="$lt_save_ifs"
                   4511:     test -z "$ac_dir" && ac_dir=.
                   4512:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4513:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4514:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4515:       # but apparently some variants of GNU ld only accept -v.
                   4516:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4517:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4518:       *GNU* | *'with BFD'*)
                   4519:        test "$with_gnu_ld" != no && break
                   4520:        ;;
                   4521:       *)
                   4522:        test "$with_gnu_ld" != yes && break
                   4523:        ;;
                   4524:       esac
                   4525:     fi
                   4526:   done
                   4527:   IFS="$lt_save_ifs"
                   4528: else
                   4529:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4530: fi
                   4531: fi
                   4532: 
                   4533: LD="$lt_cv_path_LD"
                   4534: if test -n "$LD"; then
                   4535:   echo "$as_me:$LINENO: result: $LD" >&5
                   4536: echo "${ECHO_T}$LD" >&6
                   4537: else
                   4538:   echo "$as_me:$LINENO: result: no" >&5
                   4539: echo "${ECHO_T}no" >&6
                   4540: fi
                   4541: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   4542: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   4543:    { (exit 1); exit 1; }; }
                   4544: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   4545: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   4546: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   4547:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4548: else
                   4549:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4550: case `$LD -v 2>&1 </dev/null` in
                   4551: *GNU* | *'with BFD'*)
                   4552:   lt_cv_prog_gnu_ld=yes
                   4553:   ;;
                   4554: *)
                   4555:   lt_cv_prog_gnu_ld=no
                   4556:   ;;
                   4557: esac
                   4558: fi
                   4559: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   4560: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   4561: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4562: 
                   4563: 
                   4564: 
                   4565: 
                   4566: 
                   4567: 
                   4568: 
                   4569: 
                   4570: 
                   4571: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4572: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
                   4573: if test "${lt_cv_path_NM+set}" = set; then
                   4574:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4575: else
                   4576:   if test -n "$NM"; then
                   4577:   # Let the user override the test.
                   4578:   lt_cv_path_NM="$NM"
                   4579: else
                   4580:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4581:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4582:     lt_nm_to_check="$lt_nm_to_check nm"
                   4583:   fi
                   4584:   for lt_tmp_nm in $lt_nm_to_check; do
                   4585:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4586:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4587:       IFS="$lt_save_ifs"
                   4588:       test -z "$ac_dir" && ac_dir=.
                   4589:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4590:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4591:        # Check to see if the nm accepts a BSD-compat flag.
                   4592:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4593:        #   nm: unknown option "B" ignored
                   4594:        # Tru64's nm complains that /dev/null is an invalid object file
                   4595:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4596:        */dev/null* | *'Invalid file or object type'*)
                   4597:          lt_cv_path_NM="$tmp_nm -B"
                   4598:          break
                   4599:          ;;
                   4600:        *)
                   4601:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4602:          */dev/null*)
                   4603:            lt_cv_path_NM="$tmp_nm -p"
                   4604:            break
                   4605:            ;;
                   4606:          *)
                   4607:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4608:            continue # so that we can try to find one that supports BSD flags
                   4609:            ;;
                   4610:          esac
                   4611:          ;;
                   4612:        esac
                   4613:       fi
                   4614:     done
                   4615:     IFS="$lt_save_ifs"
                   4616:   done
                   4617:   : ${lt_cv_path_NM=no}
                   4618: fi
                   4619: fi
                   4620: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
                   4621: echo "${ECHO_T}$lt_cv_path_NM" >&6
                   4622: if test "$lt_cv_path_NM" != "no"; then
                   4623:   NM="$lt_cv_path_NM"
                   4624: else
                   4625:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4626:   if test -n "$DUMPBIN"; then :
                   4627:     # Let the user override the test.
                   4628:   else
                   4629:     if test -n "$ac_tool_prefix"; then
                   4630:   for ac_prog in dumpbin "link -dump"
                   4631:   do
                   4632:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4633: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4634: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4635: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4636: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
                   4637:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4638: else
                   4639:   if test -n "$DUMPBIN"; then
                   4640:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4641: else
                   4642: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4643: for as_dir in $PATH
                   4644: do
                   4645:   IFS=$as_save_IFS
                   4646:   test -z "$as_dir" && as_dir=.
                   4647:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4648:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4649:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4650:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4651:     break 2
                   4652:   fi
                   4653: done
                   4654: done
                   4655: 
                   4656: fi
                   4657: fi
                   4658: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4659: if test -n "$DUMPBIN"; then
                   4660:   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
                   4661: echo "${ECHO_T}$DUMPBIN" >&6
                   4662: else
                   4663:   echo "$as_me:$LINENO: result: no" >&5
                   4664: echo "${ECHO_T}no" >&6
                   4665: fi
                   4666: 
                   4667:     test -n "$DUMPBIN" && break
                   4668:   done
                   4669: fi
                   4670: if test -z "$DUMPBIN"; then
                   4671:   ac_ct_DUMPBIN=$DUMPBIN
                   4672:   for ac_prog in dumpbin "link -dump"
                   4673: do
                   4674:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4675: set dummy $ac_prog; ac_word=$2
                   4676: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4677: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4678: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
                   4679:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4680: else
                   4681:   if test -n "$ac_ct_DUMPBIN"; then
                   4682:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4683: else
                   4684: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4685: for as_dir in $PATH
                   4686: do
                   4687:   IFS=$as_save_IFS
                   4688:   test -z "$as_dir" && as_dir=.
                   4689:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4690:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4691:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4692:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4693:     break 2
                   4694:   fi
                   4695: done
                   4696: done
                   4697: 
                   4698: fi
                   4699: fi
                   4700: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4701: if test -n "$ac_ct_DUMPBIN"; then
                   4702:   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
                   4703: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
                   4704: else
                   4705:   echo "$as_me:$LINENO: result: no" >&5
                   4706: echo "${ECHO_T}no" >&6
                   4707: fi
                   4708: 
                   4709:   test -n "$ac_ct_DUMPBIN" && break
                   4710: done
                   4711: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
                   4712: 
                   4713:   DUMPBIN=$ac_ct_DUMPBIN
                   4714: fi
                   4715: 
                   4716:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4717:     *COFF*)
                   4718:       DUMPBIN="$DUMPBIN -symbols"
                   4719:       ;;
                   4720:     *)
                   4721:       DUMPBIN=:
                   4722:       ;;
                   4723:     esac
                   4724:   fi
                   4725: 
                   4726:   if test "$DUMPBIN" != ":"; then
                   4727:     NM="$DUMPBIN"
                   4728:   fi
                   4729: fi
                   4730: test -z "$NM" && NM=nm
                   4731: 
                   4732: 
                   4733: 
                   4734: 
                   4735: 
                   4736: 
                   4737: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
                   4738: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
                   4739: if test "${lt_cv_nm_interface+set}" = set; then
                   4740:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4741: else
                   4742:   lt_cv_nm_interface="BSD nm"
                   4743:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4744:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4745:   (eval "$ac_compile" 2>conftest.err)
                   4746:   cat conftest.err >&5
                   4747:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4748:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4749:   cat conftest.err >&5
                   4750:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4751:   cat conftest.out >&5
                   4752:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4753:     lt_cv_nm_interface="MS dumpbin"
                   4754:   fi
                   4755:   rm -f conftest*
                   4756: fi
                   4757: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
                   4758: echo "${ECHO_T}$lt_cv_nm_interface" >&6
                   4759: 
                   4760: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4761: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   4762: LN_S=$as_ln_s
                   4763: if test "$LN_S" = "ln -s"; then
                   4764:   echo "$as_me:$LINENO: result: yes" >&5
                   4765: echo "${ECHO_T}yes" >&6
                   4766: else
                   4767:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4768: echo "${ECHO_T}no, using $LN_S" >&6
                   4769: fi
                   4770: 
                   4771: # find the maximum length of command line arguments
                   4772: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
                   4773: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
                   4774: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
                   4775:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4776: else
                   4777:     i=0
                   4778:   teststring="ABCD"
                   4779: 
                   4780:   case $build_os in
                   4781:   msdosdjgpp*)
                   4782:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4783:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4784:     # during glob expansion).  Even if it were fixed, the result of this
                   4785:     # check would be larger than it should be.
                   4786:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4787:     ;;
                   4788: 
                   4789:   gnu*)
                   4790:     # Under GNU Hurd, this test is not required because there is
                   4791:     # no limit to the length of command line arguments.
                   4792:     # Libtool will interpret -1 as no limit whatsoever
                   4793:     lt_cv_sys_max_cmd_len=-1;
                   4794:     ;;
                   4795: 
                   4796:   cygwin* | mingw* | cegcc*)
                   4797:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4798:     # about 5 minutes as the teststring grows exponentially.
                   4799:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4800:     # you end up with a "frozen" computer, even though with patience
                   4801:     # the test eventually succeeds (with a max line length of 256k).
                   4802:     # Instead, let's just punt: use the minimum linelength reported by
                   4803:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4804:     lt_cv_sys_max_cmd_len=8192;
                   4805:     ;;
                   4806: 
                   4807:   mint*)
                   4808:     # On MiNT this can take a long time and run out of memory.
                   4809:     lt_cv_sys_max_cmd_len=8192;
                   4810:     ;;
                   4811: 
                   4812:   amigaos*)
                   4813:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4814:     # So we just punt and use a minimum line length of 8192.
                   4815:     lt_cv_sys_max_cmd_len=8192;
                   4816:     ;;
                   4817: 
                   4818:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4819:     # This has been around since 386BSD, at least.  Likely further.
                   4820:     if test -x /sbin/sysctl; then
                   4821:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4822:     elif test -x /usr/sbin/sysctl; then
                   4823:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4824:     else
                   4825:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4826:     fi
                   4827:     # And add a safety zone
                   4828:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4829:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4830:     ;;
                   4831: 
                   4832:   interix*)
                   4833:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4834:     lt_cv_sys_max_cmd_len=196608
                   4835:     ;;
                   4836: 
                   4837:   os2*)
                   4838:     # The test takes a long time on OS/2.
                   4839:     lt_cv_sys_max_cmd_len=8192
                   4840:     ;;
                   4841: 
                   4842:   osf*)
                   4843:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4844:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4845:     # nice to cause kernel panics so lets avoid the loop below.
                   4846:     # First set a reasonable default.
                   4847:     lt_cv_sys_max_cmd_len=16384
                   4848:     #
                   4849:     if test -x /sbin/sysconfig; then
                   4850:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4851:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4852:       esac
                   4853:     fi
                   4854:     ;;
                   4855:   sco3.2v5*)
                   4856:     lt_cv_sys_max_cmd_len=102400
                   4857:     ;;
                   4858:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4859:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4860:     if test -n "$kargmax"; then
                   4861:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4862:     else
                   4863:       lt_cv_sys_max_cmd_len=32768
                   4864:     fi
                   4865:     ;;
                   4866:   *)
                   4867:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4868:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4869:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4870:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4871:     else
                   4872:       # Make teststring a little bigger before we do anything with it.
                   4873:       # a 1K string should be a reasonable start.
                   4874:       for i in 1 2 3 4 5 6 7 8 ; do
                   4875:         teststring=$teststring$teststring
                   4876:       done
                   4877:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4878:       # If test is not a shell built-in, we'll probably end up computing a
                   4879:       # maximum length that is only half of the actual maximum length, but
                   4880:       # we can't tell.
                   4881:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4882:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4883:              test $i != 17 # 1/2 MB should be enough
                   4884:       do
                   4885:         i=`expr $i + 1`
                   4886:         teststring=$teststring$teststring
                   4887:       done
                   4888:       # Only check the string length outside the loop.
                   4889:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4890:       teststring=
                   4891:       # Add a significant safety factor because C++ compilers can tack on
                   4892:       # massive amounts of additional arguments before passing them to the
                   4893:       # linker.  It appears as though 1/2 is a usable value.
                   4894:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4895:     fi
                   4896:     ;;
                   4897:   esac
                   4898: 
                   4899: fi
                   4900: 
                   4901: if test -n $lt_cv_sys_max_cmd_len ; then
                   4902:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
                   4903: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
                   4904: else
                   4905:   echo "$as_me:$LINENO: result: none" >&5
                   4906: echo "${ECHO_T}none" >&6
                   4907: fi
                   4908: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4909: 
                   4910: 
                   4911: 
                   4912: 
                   4913: 
                   4914: 
                   4915: : ${CP="cp -f"}
                   4916: : ${MV="mv -f"}
                   4917: : ${RM="rm -f"}
                   4918: 
                   4919: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
                   4920: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
                   4921: # Try some XSI features
                   4922: xsi_shell=no
                   4923: ( _lt_dummy="a/b/c"
                   4924:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4925:       = c,a/b,b/c, \
                   4926:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4927:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4928:   && xsi_shell=yes
                   4929: echo "$as_me:$LINENO: result: $xsi_shell" >&5
                   4930: echo "${ECHO_T}$xsi_shell" >&6
                   4931: 
                   4932: 
                   4933: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
                   4934: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
                   4935: lt_shell_append=no
                   4936: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4937:     >/dev/null 2>&1 \
                   4938:   && lt_shell_append=yes
                   4939: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
                   4940: echo "${ECHO_T}$lt_shell_append" >&6
                   4941: 
                   4942: 
                   4943: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4944:   lt_unset=unset
                   4945: else
                   4946:   lt_unset=false
                   4947: fi
                   4948: 
                   4949: 
                   4950: 
                   4951: 
                   4952: 
                   4953: # test EBCDIC or ASCII
                   4954: case `echo X|tr X '\101'` in
                   4955:  A) # ASCII based system
                   4956:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4957:   lt_SP2NL='tr \040 \012'
                   4958:   lt_NL2SP='tr \015\012 \040\040'
                   4959:   ;;
                   4960:  *) # EBCDIC based system
                   4961:   lt_SP2NL='tr \100 \n'
                   4962:   lt_NL2SP='tr \r\n \100\100'
                   4963:   ;;
                   4964: esac
                   4965: 
                   4966: 
                   4967: 
                   4968: 
                   4969: 
                   4970: 
                   4971: 
                   4972: 
                   4973: 
                   4974: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
                   4975: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
                   4976: if test "${lt_cv_to_host_file_cmd+set}" = set; then
                   4977:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4978: else
                   4979:   case $host in
                   4980:   *-*-mingw* )
                   4981:     case $build in
                   4982:       *-*-mingw* ) # actually msys
                   4983:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4984:         ;;
                   4985:       *-*-cygwin* )
                   4986:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4987:         ;;
                   4988:       * ) # otherwise, assume *nix
                   4989:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4990:         ;;
                   4991:     esac
                   4992:     ;;
                   4993:   *-*-cygwin* )
                   4994:     case $build in
                   4995:       *-*-mingw* ) # actually msys
                   4996:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4997:         ;;
                   4998:       *-*-cygwin* )
                   4999:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5000:         ;;
                   5001:       * ) # otherwise, assume *nix
                   5002:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5003:         ;;
                   5004:     esac
                   5005:     ;;
                   5006:   * ) # unhandled hosts (and "normal" native builds)
                   5007:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5008:     ;;
                   5009: esac
                   5010: 
                   5011: fi
                   5012: 
                   5013: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   5014: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
                   5015: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
                   5016: 
                   5017: 
                   5018: 
                   5019: 
                   5020: 
                   5021: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
                   5022: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
                   5023: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
                   5024:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5025: else
                   5026:   #assume ordinary cross tools, or native build.
                   5027: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5028: case $host in
                   5029:   *-*-mingw* )
                   5030:     case $build in
                   5031:       *-*-mingw* ) # actually msys
                   5032:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5033:         ;;
                   5034:     esac
                   5035:     ;;
                   5036: esac
                   5037: 
                   5038: fi
                   5039: 
                   5040: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   5041: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
                   5042: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
                   5043: 
                   5044: 
                   5045: 
                   5046: 
                   5047: 
                   5048: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   5049: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   5050: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   5051:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5052: else
                   5053:   lt_cv_ld_reload_flag='-r'
                   5054: fi
                   5055: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   5056: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   5057: reload_flag=$lt_cv_ld_reload_flag
                   5058: case $reload_flag in
                   5059: "" | " "*) ;;
                   5060: *) reload_flag=" $reload_flag" ;;
                   5061: esac
                   5062: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5063: case $host_os in
                   5064:   cygwin* | mingw* | pw32* | cegcc*)
                   5065:     if test "$GCC" != yes; then
                   5066:       reload_cmds=false
                   5067:     fi
                   5068:     ;;
                   5069:   darwin*)
                   5070:     if test "$GCC" = yes; then
                   5071:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5072:     else
                   5073:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5074:     fi
                   5075:     ;;
                   5076: esac
                   5077: 
                   5078: 
                   5079: 
                   5080: 
                   5081: 
                   5082: 
                   5083: 
                   5084: 
                   5085: 
                   5086: if test -n "$ac_tool_prefix"; then
                   5087:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5088: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5089: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5090: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5091: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   5092:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5093: else
                   5094:   if test -n "$OBJDUMP"; then
                   5095:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5096: else
                   5097: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5098: for as_dir in $PATH
                   5099: do
                   5100:   IFS=$as_save_IFS
                   5101:   test -z "$as_dir" && as_dir=.
                   5102:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5103:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5104:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5105:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5106:     break 2
                   5107:   fi
                   5108: done
                   5109: done
                   5110: 
                   5111: fi
                   5112: fi
                   5113: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5114: if test -n "$OBJDUMP"; then
                   5115:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   5116: echo "${ECHO_T}$OBJDUMP" >&6
                   5117: else
                   5118:   echo "$as_me:$LINENO: result: no" >&5
                   5119: echo "${ECHO_T}no" >&6
                   5120: fi
                   5121: 
                   5122: fi
                   5123: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5124:   ac_ct_OBJDUMP=$OBJDUMP
                   5125:   # Extract the first word of "objdump", so it can be a program name with args.
                   5126: set dummy objdump; ac_word=$2
                   5127: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5128: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5129: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   5130:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5131: else
                   5132:   if test -n "$ac_ct_OBJDUMP"; then
                   5133:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5134: else
                   5135: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5136: for as_dir in $PATH
                   5137: do
                   5138:   IFS=$as_save_IFS
                   5139:   test -z "$as_dir" && as_dir=.
                   5140:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5141:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5142:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5143:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5144:     break 2
                   5145:   fi
                   5146: done
                   5147: done
                   5148: 
                   5149:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   5150: fi
                   5151: fi
                   5152: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5153: if test -n "$ac_ct_OBJDUMP"; then
                   5154:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   5155: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   5156: else
                   5157:   echo "$as_me:$LINENO: result: no" >&5
                   5158: echo "${ECHO_T}no" >&6
                   5159: fi
                   5160: 
                   5161:   OBJDUMP=$ac_ct_OBJDUMP
                   5162: else
                   5163:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5164: fi
                   5165: 
                   5166: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5167: 
                   5168: 
                   5169: 
                   5170: 
                   5171: 
                   5172: 
                   5173: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
                   5174: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
                   5175: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   5176:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5177: else
                   5178:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5179: lt_cv_file_magic_test_file=
                   5180: lt_cv_deplibs_check_method='unknown'
                   5181: # Need to set the preceding variable on all platforms that support
                   5182: # interlibrary dependencies.
                   5183: # 'none' -- dependencies not supported.
                   5184: # `unknown' -- same as none, but documents that we really don't know.
                   5185: # 'pass_all' -- all dependencies passed with no checks.
                   5186: # 'test_compile' -- check by making test program.
                   5187: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5188: # which responds to the $file_magic_cmd with a given extended regex.
                   5189: # If you have `file' or equivalent on your system and you're not sure
                   5190: # whether `pass_all' will *always* work, you probably want this one.
                   5191: 
                   5192: case $host_os in
                   5193: aix[4-9]*)
                   5194:   lt_cv_deplibs_check_method=pass_all
                   5195:   ;;
                   5196: 
                   5197: beos*)
                   5198:   lt_cv_deplibs_check_method=pass_all
                   5199:   ;;
                   5200: 
                   5201: bsdi[45]*)
                   5202:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5203:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5204:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5205:   ;;
                   5206: 
                   5207: cygwin*)
                   5208:   # func_win32_libid is a shell function defined in ltmain.sh
                   5209:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5210:   lt_cv_file_magic_cmd='func_win32_libid'
                   5211:   ;;
                   5212: 
                   5213: mingw* | pw32*)
                   5214:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5215:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5216:   # unless we find 'file', for example because we are cross-compiling.
                   5217:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5218:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5219:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5220:     lt_cv_file_magic_cmd='func_win32_libid'
                   5221:   else
                   5222:     # Keep this pattern in sync with the one in func_win32_libid.
                   5223:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5224:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5225:   fi
                   5226:   ;;
                   5227: 
                   5228: cegcc*)
                   5229:   # use the weaker test based on 'objdump'. See mingw*.
                   5230:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5231:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5232:   ;;
                   5233: 
                   5234: darwin* | rhapsody*)
                   5235:   lt_cv_deplibs_check_method=pass_all
                   5236:   ;;
                   5237: 
                   5238: freebsd* | dragonfly*)
                   5239:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5240:     case $host_cpu in
                   5241:     i*86 )
                   5242:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5243:       # Let's accept both of them until this is cleared up.
                   5244:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5245:       lt_cv_file_magic_cmd=/usr/bin/file
                   5246:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5247:       ;;
                   5248:     esac
                   5249:   else
                   5250:     lt_cv_deplibs_check_method=pass_all
                   5251:   fi
                   5252:   ;;
                   5253: 
                   5254: gnu*)
                   5255:   lt_cv_deplibs_check_method=pass_all
                   5256:   ;;
                   5257: 
                   5258: haiku*)
                   5259:   lt_cv_deplibs_check_method=pass_all
                   5260:   ;;
                   5261: 
                   5262: hpux10.20* | hpux11*)
                   5263:   lt_cv_file_magic_cmd=/usr/bin/file
                   5264:   case $host_cpu in
                   5265:   ia64*)
                   5266:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5267:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5268:     ;;
                   5269:   hppa*64*)
                   5270:     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]'
                   5271:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5272:     ;;
                   5273:   *)
                   5274:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5275:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5276:     ;;
                   5277:   esac
                   5278:   ;;
                   5279: 
                   5280: interix[3-9]*)
                   5281:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5282:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5283:   ;;
                   5284: 
                   5285: irix5* | irix6* | nonstopux*)
                   5286:   case $LD in
                   5287:   *-32|*"-32 ") libmagic=32-bit;;
                   5288:   *-n32|*"-n32 ") libmagic=N32;;
                   5289:   *-64|*"-64 ") libmagic=64-bit;;
                   5290:   *) libmagic=never-match;;
                   5291:   esac
                   5292:   lt_cv_deplibs_check_method=pass_all
                   5293:   ;;
                   5294: 
                   5295: # This must be glibc/ELF.
                   5296: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5297:   lt_cv_deplibs_check_method=pass_all
                   5298:   ;;
                   5299: 
                   5300: netbsd*)
                   5301:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5302:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5303:   else
                   5304:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5305:   fi
                   5306:   ;;
                   5307: 
                   5308: newos6*)
                   5309:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5310:   lt_cv_file_magic_cmd=/usr/bin/file
                   5311:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5312:   ;;
                   5313: 
                   5314: *nto* | *qnx*)
                   5315:   lt_cv_deplibs_check_method=pass_all
                   5316:   ;;
                   5317: 
                   5318: openbsd*)
                   5319:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5320:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5321:   else
                   5322:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5323:   fi
                   5324:   ;;
                   5325: 
                   5326: osf3* | osf4* | osf5*)
                   5327:   lt_cv_deplibs_check_method=pass_all
                   5328:   ;;
                   5329: 
                   5330: rdos*)
                   5331:   lt_cv_deplibs_check_method=pass_all
                   5332:   ;;
                   5333: 
                   5334: solaris*)
                   5335:   lt_cv_deplibs_check_method=pass_all
                   5336:   ;;
                   5337: 
                   5338: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5339:   lt_cv_deplibs_check_method=pass_all
                   5340:   ;;
                   5341: 
                   5342: sysv4 | sysv4.3*)
                   5343:   case $host_vendor in
                   5344:   motorola)
                   5345:     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]'
                   5346:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5347:     ;;
                   5348:   ncr)
                   5349:     lt_cv_deplibs_check_method=pass_all
                   5350:     ;;
                   5351:   sequent)
                   5352:     lt_cv_file_magic_cmd='/bin/file'
                   5353:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5354:     ;;
                   5355:   sni)
                   5356:     lt_cv_file_magic_cmd='/bin/file'
                   5357:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5358:     lt_cv_file_magic_test_file=/lib/libc.so
                   5359:     ;;
                   5360:   siemens)
                   5361:     lt_cv_deplibs_check_method=pass_all
                   5362:     ;;
                   5363:   pc)
                   5364:     lt_cv_deplibs_check_method=pass_all
                   5365:     ;;
                   5366:   esac
                   5367:   ;;
                   5368: 
                   5369: tpf*)
                   5370:   lt_cv_deplibs_check_method=pass_all
                   5371:   ;;
                   5372: esac
                   5373: 
                   5374: fi
                   5375: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   5376: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   5377: 
                   5378: file_magic_glob=
                   5379: want_nocaseglob=no
                   5380: if test "$build" = "$host"; then
                   5381:   case $host_os in
                   5382:   mingw* | pw32*)
                   5383:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5384:       want_nocaseglob=yes
                   5385:     else
                   5386:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5387:     fi
                   5388:     ;;
                   5389:   esac
                   5390: fi
                   5391: 
                   5392: file_magic_cmd=$lt_cv_file_magic_cmd
                   5393: deplibs_check_method=$lt_cv_deplibs_check_method
                   5394: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5395: 
                   5396: 
                   5397: 
                   5398: 
                   5399: 
                   5400: 
                   5401: 
                   5402: 
                   5403: 
                   5404: 
                   5405: 
                   5406: 
                   5407: 
                   5408: 
                   5409: 
                   5410: 
                   5411: 
                   5412: 
                   5413: 
                   5414: 
                   5415: 
                   5416: 
                   5417: if test -n "$ac_tool_prefix"; then
                   5418:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5419: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5420: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5421: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5422: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   5423:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5424: else
                   5425:   if test -n "$DLLTOOL"; then
                   5426:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5427: else
                   5428: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5429: for as_dir in $PATH
                   5430: do
                   5431:   IFS=$as_save_IFS
                   5432:   test -z "$as_dir" && as_dir=.
                   5433:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5434:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5435:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5436:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5437:     break 2
                   5438:   fi
                   5439: done
                   5440: done
                   5441: 
                   5442: fi
                   5443: fi
                   5444: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5445: if test -n "$DLLTOOL"; then
                   5446:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   5447: echo "${ECHO_T}$DLLTOOL" >&6
                   5448: else
                   5449:   echo "$as_me:$LINENO: result: no" >&5
                   5450: echo "${ECHO_T}no" >&6
                   5451: fi
                   5452: 
                   5453: fi
                   5454: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5455:   ac_ct_DLLTOOL=$DLLTOOL
                   5456:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5457: set dummy dlltool; ac_word=$2
                   5458: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5459: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5460: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   5461:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5462: else
                   5463:   if test -n "$ac_ct_DLLTOOL"; then
                   5464:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5465: else
                   5466: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5467: for as_dir in $PATH
                   5468: do
                   5469:   IFS=$as_save_IFS
                   5470:   test -z "$as_dir" && as_dir=.
                   5471:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5472:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5473:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5474:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5475:     break 2
                   5476:   fi
                   5477: done
                   5478: done
                   5479: 
                   5480:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   5481: fi
                   5482: fi
                   5483: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5484: if test -n "$ac_ct_DLLTOOL"; then
                   5485:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   5486: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   5487: else
                   5488:   echo "$as_me:$LINENO: result: no" >&5
                   5489: echo "${ECHO_T}no" >&6
                   5490: fi
                   5491: 
                   5492:   DLLTOOL=$ac_ct_DLLTOOL
                   5493: else
                   5494:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5495: fi
                   5496: 
                   5497: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5498: 
                   5499: 
                   5500: 
                   5501: 
                   5502: 
                   5503: 
                   5504: 
                   5505: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
                   5506: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
                   5507: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
                   5508:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5509: else
                   5510:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   5511: 
                   5512: case $host_os in
                   5513: cygwin* | mingw* | pw32* | cegcc*)
                   5514:   # two different shell functions defined in ltmain.sh
                   5515:   # decide which to use based on capabilities of $DLLTOOL
                   5516:   case `$DLLTOOL --help 2>&1` in
                   5517:   *--identify-strict*)
                   5518:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5519:     ;;
                   5520:   *)
                   5521:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5522:     ;;
                   5523:   esac
                   5524:   ;;
                   5525: *)
                   5526:   # fallback: assume linklib IS sharedlib
                   5527:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   5528:   ;;
                   5529: esac
                   5530: 
                   5531: fi
                   5532: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5533: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
                   5534: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5535: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   5536: 
                   5537: 
                   5538: 
                   5539: 
                   5540: 
                   5541: 
                   5542: 
                   5543: if test -n "$ac_tool_prefix"; then
                   5544:   for ac_prog in ar
                   5545:   do
                   5546:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5547: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5548: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5549: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5550: if test "${ac_cv_prog_AR+set}" = set; then
                   5551:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5552: else
                   5553:   if test -n "$AR"; then
                   5554:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5555: else
                   5556: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5557: for as_dir in $PATH
                   5558: do
                   5559:   IFS=$as_save_IFS
                   5560:   test -z "$as_dir" && as_dir=.
                   5561:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5562:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5563:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5564:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5565:     break 2
                   5566:   fi
                   5567: done
                   5568: done
                   5569: 
                   5570: fi
                   5571: fi
                   5572: AR=$ac_cv_prog_AR
                   5573: if test -n "$AR"; then
                   5574:   echo "$as_me:$LINENO: result: $AR" >&5
                   5575: echo "${ECHO_T}$AR" >&6
                   5576: else
                   5577:   echo "$as_me:$LINENO: result: no" >&5
                   5578: echo "${ECHO_T}no" >&6
                   5579: fi
                   5580: 
                   5581:     test -n "$AR" && break
                   5582:   done
                   5583: fi
                   5584: if test -z "$AR"; then
                   5585:   ac_ct_AR=$AR
                   5586:   for ac_prog in ar
                   5587: do
                   5588:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5589: set dummy $ac_prog; ac_word=$2
                   5590: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5591: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5592: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
                   5593:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5594: else
                   5595:   if test -n "$ac_ct_AR"; then
                   5596:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5597: else
                   5598: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5599: for as_dir in $PATH
                   5600: do
                   5601:   IFS=$as_save_IFS
                   5602:   test -z "$as_dir" && as_dir=.
                   5603:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5604:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5605:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5606:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5607:     break 2
                   5608:   fi
                   5609: done
                   5610: done
                   5611: 
                   5612: fi
                   5613: fi
                   5614: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5615: if test -n "$ac_ct_AR"; then
                   5616:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
                   5617: echo "${ECHO_T}$ac_ct_AR" >&6
                   5618: else
                   5619:   echo "$as_me:$LINENO: result: no" >&5
                   5620: echo "${ECHO_T}no" >&6
                   5621: fi
                   5622: 
                   5623:   test -n "$ac_ct_AR" && break
                   5624: done
                   5625: test -n "$ac_ct_AR" || ac_ct_AR="false"
                   5626: 
                   5627:   AR=$ac_ct_AR
                   5628: fi
                   5629: 
                   5630: : ${AR=ar}
                   5631: : ${AR_FLAGS=cru}
                   5632: 
                   5633: 
                   5634: 
                   5635: 
                   5636: 
                   5637: 
                   5638: 
                   5639: 
                   5640: 
                   5641: 
                   5642: 
                   5643: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
                   5644: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
                   5645: if test "${lt_cv_ar_at_file+set}" = set; then
                   5646:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5647: else
                   5648:   lt_cv_ar_at_file=no
                   5649:    cat >conftest.$ac_ext <<_ACEOF
                   5650: /* confdefs.h.  */
                   5651: _ACEOF
                   5652: cat confdefs.h >>conftest.$ac_ext
                   5653: cat >>conftest.$ac_ext <<_ACEOF
                   5654: /* end confdefs.h.  */
                   5655: 
                   5656: int
                   5657: main ()
                   5658: {
                   5659: 
                   5660:   ;
                   5661:   return 0;
                   5662: }
                   5663: _ACEOF
                   5664: rm -f conftest.$ac_objext
                   5665: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5666:   (eval $ac_compile) 2>conftest.er1
                   5667:   ac_status=$?
                   5668:   grep -v '^ *+' conftest.er1 >conftest.err
                   5669:   rm -f conftest.er1
                   5670:   cat conftest.err >&5
                   5671:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5672:   (exit $ac_status); } &&
                   5673:         { ac_try='test -z "$ac_c_werror_flag"
                   5674:                         || test ! -s conftest.err'
                   5675:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5676:   (eval $ac_try) 2>&5
                   5677:   ac_status=$?
                   5678:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5679:   (exit $ac_status); }; } &&
                   5680:         { ac_try='test -s conftest.$ac_objext'
                   5681:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5682:   (eval $ac_try) 2>&5
                   5683:   ac_status=$?
                   5684:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5685:   (exit $ac_status); }; }; then
                   5686:   echo conftest.$ac_objext > conftest.lst
                   5687:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5688:       { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5689:   (eval $lt_ar_try) 2>&5
                   5690:   ac_status=$?
                   5691:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5692:   (exit $ac_status); }
                   5693:       if test "$ac_status" -eq 0; then
                   5694:        # Ensure the archiver fails upon bogus file names.
                   5695:        rm -f conftest.$ac_objext libconftest.a
                   5696:        { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5697:   (eval $lt_ar_try) 2>&5
                   5698:   ac_status=$?
                   5699:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5700:   (exit $ac_status); }
                   5701:        if test "$ac_status" -ne 0; then
                   5702:           lt_cv_ar_at_file=@
                   5703:         fi
                   5704:       fi
                   5705:       rm -f conftest.* libconftest.a
                   5706: 
                   5707: else
                   5708:   echo "$as_me: failed program was:" >&5
                   5709: sed 's/^/| /' conftest.$ac_ext >&5
                   5710: 
                   5711: fi
                   5712: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5713: 
                   5714: fi
                   5715: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
                   5716: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
                   5717: 
                   5718: if test "x$lt_cv_ar_at_file" = xno; then
                   5719:   archiver_list_spec=
                   5720: else
                   5721:   archiver_list_spec=$lt_cv_ar_at_file
                   5722: fi
                   5723: 
                   5724: 
                   5725: 
                   5726: 
                   5727: 
                   5728: 
                   5729: 
                   5730: if test -n "$ac_tool_prefix"; then
                   5731:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5732: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5733: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5734: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5735: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5736:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5737: else
                   5738:   if test -n "$STRIP"; then
                   5739:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5740: else
                   5741: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5742: for as_dir in $PATH
                   5743: do
                   5744:   IFS=$as_save_IFS
                   5745:   test -z "$as_dir" && as_dir=.
                   5746:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5747:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5748:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5749:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5750:     break 2
                   5751:   fi
                   5752: done
                   5753: done
                   5754: 
                   5755: fi
                   5756: fi
                   5757: STRIP=$ac_cv_prog_STRIP
                   5758: if test -n "$STRIP"; then
                   5759:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5760: echo "${ECHO_T}$STRIP" >&6
                   5761: else
                   5762:   echo "$as_me:$LINENO: result: no" >&5
                   5763: echo "${ECHO_T}no" >&6
                   5764: fi
                   5765: 
                   5766: fi
                   5767: if test -z "$ac_cv_prog_STRIP"; then
                   5768:   ac_ct_STRIP=$STRIP
                   5769:   # Extract the first word of "strip", so it can be a program name with args.
                   5770: set dummy strip; ac_word=$2
                   5771: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5772: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5773: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5774:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5775: else
                   5776:   if test -n "$ac_ct_STRIP"; then
                   5777:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5778: else
                   5779: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5780: for as_dir in $PATH
                   5781: do
                   5782:   IFS=$as_save_IFS
                   5783:   test -z "$as_dir" && as_dir=.
                   5784:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5785:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5786:     ac_cv_prog_ac_ct_STRIP="strip"
                   5787:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5788:     break 2
                   5789:   fi
                   5790: done
                   5791: done
                   5792: 
                   5793:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   5794: fi
                   5795: fi
                   5796: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5797: if test -n "$ac_ct_STRIP"; then
                   5798:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5799: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5800: else
                   5801:   echo "$as_me:$LINENO: result: no" >&5
                   5802: echo "${ECHO_T}no" >&6
                   5803: fi
                   5804: 
                   5805:   STRIP=$ac_ct_STRIP
                   5806: else
                   5807:   STRIP="$ac_cv_prog_STRIP"
                   5808: fi
                   5809: 
                   5810: test -z "$STRIP" && STRIP=:
                   5811: 
                   5812: 
                   5813: 
                   5814: 
                   5815: 
                   5816: 
                   5817: if test -n "$ac_tool_prefix"; then
                   5818:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5819: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5820: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5821: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5822: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   5823:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5824: else
                   5825:   if test -n "$RANLIB"; then
                   5826:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5827: else
                   5828: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5829: for as_dir in $PATH
                   5830: do
                   5831:   IFS=$as_save_IFS
                   5832:   test -z "$as_dir" && as_dir=.
                   5833:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5834:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5835:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5836:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5837:     break 2
                   5838:   fi
                   5839: done
                   5840: done
                   5841: 
                   5842: fi
                   5843: fi
                   5844: RANLIB=$ac_cv_prog_RANLIB
                   5845: if test -n "$RANLIB"; then
                   5846:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5847: echo "${ECHO_T}$RANLIB" >&6
                   5848: else
                   5849:   echo "$as_me:$LINENO: result: no" >&5
                   5850: echo "${ECHO_T}no" >&6
                   5851: fi
                   5852: 
                   5853: fi
                   5854: if test -z "$ac_cv_prog_RANLIB"; then
                   5855:   ac_ct_RANLIB=$RANLIB
                   5856:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5857: set dummy ranlib; ac_word=$2
                   5858: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5859: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5860: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5861:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5862: else
                   5863:   if test -n "$ac_ct_RANLIB"; then
                   5864:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5865: else
                   5866: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5867: for as_dir in $PATH
                   5868: do
                   5869:   IFS=$as_save_IFS
                   5870:   test -z "$as_dir" && as_dir=.
                   5871:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5872:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5873:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5874:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5875:     break 2
                   5876:   fi
                   5877: done
                   5878: done
                   5879: 
                   5880:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5881: fi
                   5882: fi
                   5883: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5884: if test -n "$ac_ct_RANLIB"; then
                   5885:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5886: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   5887: else
                   5888:   echo "$as_me:$LINENO: result: no" >&5
                   5889: echo "${ECHO_T}no" >&6
                   5890: fi
                   5891: 
                   5892:   RANLIB=$ac_ct_RANLIB
                   5893: else
                   5894:   RANLIB="$ac_cv_prog_RANLIB"
                   5895: fi
                   5896: 
                   5897: test -z "$RANLIB" && RANLIB=:
                   5898: 
                   5899: 
                   5900: 
                   5901: 
                   5902: 
                   5903: 
                   5904: # Determine commands to create old-style static archives.
                   5905: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5906: old_postinstall_cmds='chmod 644 $oldlib'
                   5907: old_postuninstall_cmds=
                   5908: 
                   5909: if test -n "$RANLIB"; then
                   5910:   case $host_os in
                   5911:   openbsd*)
                   5912:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   5913:     ;;
                   5914:   *)
                   5915:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   5916:     ;;
                   5917:   esac
                   5918:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   5919: fi
                   5920: 
                   5921: case $host_os in
                   5922:   darwin*)
                   5923:     lock_old_archive_extraction=yes ;;
                   5924:   *)
                   5925:     lock_old_archive_extraction=no ;;
                   5926: esac
                   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: 
                   5953: 
                   5954: 
                   5955: 
                   5956: 
                   5957: 
                   5958: 
                   5959: 
                   5960: 
                   5961: 
                   5962: 
                   5963: 
                   5964: 
                   5965: 
                   5966: # If no C compiler was specified, use CC.
                   5967: LTCC=${LTCC-"$CC"}
                   5968: 
                   5969: # If no C compiler flags were specified, use CFLAGS.
                   5970: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   5971: 
                   5972: # Allow CC to be a program name with arguments.
                   5973: compiler=$CC
                   5974: 
                   5975: 
                   5976: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5977: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
                   5978: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
                   5979: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   5980:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5981: else
                   5982: 
                   5983: # These are sane defaults that work on at least a few old systems.
                   5984: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   5985: 
                   5986: # Character class describing NM global symbol codes.
                   5987: symcode='[BCDEGRST]'
                   5988: 
                   5989: # Regexp to match symbols that can be accessed directly from C.
                   5990: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   5991: 
                   5992: # Define system-specific variables.
                   5993: case $host_os in
                   5994: aix*)
                   5995:   symcode='[BCDT]'
                   5996:   ;;
                   5997: cygwin* | mingw* | pw32* | cegcc*)
                   5998:   symcode='[ABCDGISTW]'
                   5999:   ;;
                   6000: hpux*)
                   6001:   if test "$host_cpu" = ia64; then
                   6002:     symcode='[ABCDEGRST]'
                   6003:   fi
                   6004:   ;;
                   6005: irix* | nonstopux*)
                   6006:   symcode='[BCDEGRST]'
                   6007:   ;;
                   6008: osf*)
                   6009:   symcode='[BCDEGQRST]'
                   6010:   ;;
                   6011: solaris*)
                   6012:   symcode='[BDRT]'
                   6013:   ;;
                   6014: sco3.2v5*)
                   6015:   symcode='[DT]'
                   6016:   ;;
                   6017: sysv4.2uw2*)
                   6018:   symcode='[DT]'
                   6019:   ;;
                   6020: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6021:   symcode='[ABDT]'
                   6022:   ;;
                   6023: sysv4)
                   6024:   symcode='[DFNSTU]'
                   6025:   ;;
                   6026: esac
                   6027: 
                   6028: # If we're using GNU nm, then use its standard symbol codes.
                   6029: case `$NM -V 2>&1` in
                   6030: *GNU* | *'with BFD'*)
                   6031:   symcode='[ABCDGIRSTW]' ;;
                   6032: esac
                   6033: 
                   6034: # Transform an extracted symbol line into a proper C declaration.
                   6035: # Some systems (esp. on ia64) link data and code symbols differently,
                   6036: # so use this general approach.
                   6037: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6038: 
                   6039: # Transform an extracted symbol line into symbol name and symbol address
                   6040: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6041: 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'"
                   6042: 
                   6043: # Handle CRLF in mingw tool chain
                   6044: opt_cr=
                   6045: case $build_os in
                   6046: mingw*)
                   6047:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6048:   ;;
                   6049: esac
                   6050: 
                   6051: # Try without a prefix underscore, then with it.
                   6052: for ac_symprfx in "" "_"; do
                   6053: 
                   6054:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6055:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6056: 
                   6057:   # Write the raw and C identifiers.
                   6058:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6059:     # Fake it for dumpbin and say T for any non-static function
                   6060:     # and D for any global variable.
                   6061:     # Also find C++ and __fastcall symbols from MSVC++,
                   6062:     # which start with @ or ?.
                   6063:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6064: "     {last_section=section; section=\$ 3};"\
                   6065: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   6066: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6067: "     \$ 0!~/External *\|/{next};"\
                   6068: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6069: "     {if(hide[section]) next};"\
                   6070: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6071: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6072: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6073: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6074: "     ' prfx=^$ac_symprfx"
                   6075:   else
                   6076:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6077:   fi
                   6078:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6079: 
                   6080:   # Check to see that the pipe works correctly.
                   6081:   pipe_works=no
                   6082: 
                   6083:   rm -f conftest*
                   6084:   cat > conftest.$ac_ext <<_LT_EOF
                   6085: #ifdef __cplusplus
                   6086: extern "C" {
                   6087: #endif
                   6088: char nm_test_var;
                   6089: void nm_test_func(void);
                   6090: void nm_test_func(void){}
                   6091: #ifdef __cplusplus
                   6092: }
                   6093: #endif
                   6094: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6095: _LT_EOF
                   6096: 
                   6097:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6098:   (eval $ac_compile) 2>&5
                   6099:   ac_status=$?
                   6100:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6101:   (exit $ac_status); }; then
                   6102:     # Now try to grab the symbols.
                   6103:     nlist=conftest.nm
                   6104:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
                   6105:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   6106:   ac_status=$?
                   6107:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6108:   (exit $ac_status); } && test -s "$nlist"; then
                   6109:       # Try sorting and uniquifying the output.
                   6110:       if sort "$nlist" | uniq > "$nlist"T; then
                   6111:        mv -f "$nlist"T "$nlist"
                   6112:       else
                   6113:        rm -f "$nlist"T
                   6114:       fi
                   6115: 
                   6116:       # Make sure that we snagged all the symbols we need.
                   6117:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6118:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6119:          cat <<_LT_EOF > conftest.$ac_ext
                   6120: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6121: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6122: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6123:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6124: # define LT_DLSYM_CONST
                   6125: #elif defined(__osf__)
                   6126: /* This system does not cope well with relocations in const data.  */
                   6127: # define LT_DLSYM_CONST
                   6128: #else
                   6129: # define LT_DLSYM_CONST const
                   6130: #endif
                   6131: 
                   6132: #ifdef __cplusplus
                   6133: extern "C" {
                   6134: #endif
                   6135: 
                   6136: _LT_EOF
                   6137:          # Now generate the symbol file.
                   6138:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6139: 
                   6140:          cat <<_LT_EOF >> conftest.$ac_ext
                   6141: 
                   6142: /* The mapping between symbol names and symbols.  */
                   6143: LT_DLSYM_CONST struct {
                   6144:   const char *name;
                   6145:   void       *address;
                   6146: }
                   6147: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6148: {
                   6149:   { "@PROGRAM@", (void *) 0 },
                   6150: _LT_EOF
                   6151:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6152:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6153:   {0, (void *) 0}
                   6154: };
                   6155: 
                   6156: /* This works around a problem in FreeBSD linker */
                   6157: #ifdef FREEBSD_WORKAROUND
                   6158: static const void *lt_preloaded_setup() {
                   6159:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6160: }
                   6161: #endif
                   6162: 
                   6163: #ifdef __cplusplus
                   6164: }
                   6165: #endif
                   6166: _LT_EOF
                   6167:          # Now try linking the two files.
                   6168:          mv conftest.$ac_objext conftstm.$ac_objext
                   6169:          lt_globsym_save_LIBS=$LIBS
                   6170:          lt_globsym_save_CFLAGS=$CFLAGS
                   6171:          LIBS="conftstm.$ac_objext"
                   6172:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6173:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6174:   (eval $ac_link) 2>&5
                   6175:   ac_status=$?
                   6176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6177:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
                   6178:            pipe_works=yes
                   6179:          fi
                   6180:          LIBS=$lt_globsym_save_LIBS
                   6181:          CFLAGS=$lt_globsym_save_CFLAGS
                   6182:        else
                   6183:          echo "cannot find nm_test_func in $nlist" >&5
                   6184:        fi
                   6185:       else
                   6186:        echo "cannot find nm_test_var in $nlist" >&5
                   6187:       fi
                   6188:     else
                   6189:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6190:     fi
                   6191:   else
                   6192:     echo "$progname: failed program was:" >&5
                   6193:     cat conftest.$ac_ext >&5
                   6194:   fi
                   6195:   rm -rf conftest* conftst*
                   6196: 
                   6197:   # Do not use the global_symbol_pipe unless it works.
                   6198:   if test "$pipe_works" = yes; then
                   6199:     break
                   6200:   else
                   6201:     lt_cv_sys_global_symbol_pipe=
                   6202:   fi
                   6203: done
                   6204: 
                   6205: fi
                   6206: 
                   6207: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6208:   lt_cv_sys_global_symbol_to_cdecl=
                   6209: fi
                   6210: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6211:   echo "$as_me:$LINENO: result: failed" >&5
                   6212: echo "${ECHO_T}failed" >&6
                   6213: else
                   6214:   echo "$as_me:$LINENO: result: ok" >&5
                   6215: echo "${ECHO_T}ok" >&6
                   6216: fi
                   6217: 
                   6218: # Response file support.
                   6219: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6220:   nm_file_list_spec='@'
                   6221: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6222:   nm_file_list_spec='@'
                   6223: fi
                   6224: 
                   6225: 
                   6226: 
                   6227: 
                   6228: 
                   6229: 
                   6230: 
                   6231: 
                   6232: 
                   6233: 
                   6234: 
                   6235: 
                   6236: 
                   6237: 
                   6238: 
                   6239: 
                   6240: 
                   6241: 
                   6242: 
                   6243: 
                   6244: 
                   6245: 
                   6246: 
                   6247: 
                   6248: 
                   6249: 
                   6250: 
                   6251: echo "$as_me:$LINENO: checking for sysroot" >&5
                   6252: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
                   6253: 
                   6254: # Check whether --with-sysroot or --without-sysroot was given.
                   6255: if test "${with_sysroot+set}" = set; then
                   6256:   withval="$with_sysroot"
                   6257: 
                   6258: else
                   6259:   with_sysroot=no
                   6260: fi;
                   6261: 
                   6262: lt_sysroot=
                   6263: case ${with_sysroot} in #(
                   6264:  yes)
                   6265:    if test "$GCC" = yes; then
                   6266:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6267:    fi
                   6268:    ;; #(
                   6269:  /*)
                   6270:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6271:    ;; #(
                   6272:  no|'')
                   6273:    ;; #(
                   6274:  *)
                   6275:    echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
                   6276: echo "${ECHO_T}${with_sysroot}" >&6
                   6277:    { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
                   6278: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
                   6279:    { (exit 1); exit 1; }; }
                   6280:    ;;
                   6281: esac
                   6282: 
                   6283:  echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
                   6284: echo "${ECHO_T}${lt_sysroot:-no}" >&6
                   6285: 
                   6286: 
                   6287: 
                   6288: 
                   6289: 
                   6290: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   6291: if test "${enable_libtool_lock+set}" = set; then
                   6292:   enableval="$enable_libtool_lock"
                   6293: 
                   6294: fi;
                   6295: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   6296: 
                   6297: # Some flags need to be propagated to the compiler or linker for good
                   6298: # libtool support.
                   6299: case $host in
                   6300: ia64-*-hpux*)
                   6301:   # Find out which ABI we are using.
                   6302:   echo 'int i;' > conftest.$ac_ext
                   6303:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6304:   (eval $ac_compile) 2>&5
                   6305:   ac_status=$?
                   6306:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6307:   (exit $ac_status); }; then
                   6308:     case `/usr/bin/file conftest.$ac_objext` in
                   6309:       *ELF-32*)
                   6310:        HPUX_IA64_MODE="32"
                   6311:        ;;
                   6312:       *ELF-64*)
                   6313:        HPUX_IA64_MODE="64"
                   6314:        ;;
                   6315:     esac
                   6316:   fi
                   6317:   rm -rf conftest*
                   6318:   ;;
                   6319: *-*-irix6*)
                   6320:   # Find out which ABI we are using.
                   6321:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6322:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6323:   (eval $ac_compile) 2>&5
                   6324:   ac_status=$?
                   6325:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6326:   (exit $ac_status); }; then
                   6327:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6328:       case `/usr/bin/file conftest.$ac_objext` in
                   6329:        *32-bit*)
                   6330:          LD="${LD-ld} -melf32bsmip"
                   6331:          ;;
                   6332:        *N32*)
                   6333:          LD="${LD-ld} -melf32bmipn32"
                   6334:          ;;
                   6335:        *64-bit*)
                   6336:          LD="${LD-ld} -melf64bmip"
                   6337:        ;;
                   6338:       esac
                   6339:     else
                   6340:       case `/usr/bin/file conftest.$ac_objext` in
                   6341:        *32-bit*)
                   6342:          LD="${LD-ld} -32"
                   6343:          ;;
                   6344:        *N32*)
                   6345:          LD="${LD-ld} -n32"
                   6346:          ;;
                   6347:        *64-bit*)
                   6348:          LD="${LD-ld} -64"
                   6349:          ;;
                   6350:       esac
                   6351:     fi
                   6352:   fi
                   6353:   rm -rf conftest*
                   6354:   ;;
                   6355: 
                   6356: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6357: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6358:   # Find out which ABI we are using.
                   6359:   echo 'int i;' > conftest.$ac_ext
                   6360:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6361:   (eval $ac_compile) 2>&5
                   6362:   ac_status=$?
                   6363:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6364:   (exit $ac_status); }; then
                   6365:     case `/usr/bin/file conftest.o` in
                   6366:       *32-bit*)
                   6367:        case $host in
                   6368:          x86_64-*kfreebsd*-gnu)
                   6369:            LD="${LD-ld} -m elf_i386_fbsd"
                   6370:            ;;
                   6371:          x86_64-*linux*)
                   6372:            LD="${LD-ld} -m elf_i386"
                   6373:            ;;
                   6374:          ppc64-*linux*|powerpc64-*linux*)
                   6375:            LD="${LD-ld} -m elf32ppclinux"
                   6376:            ;;
                   6377:          s390x-*linux*)
                   6378:            LD="${LD-ld} -m elf_s390"
                   6379:            ;;
                   6380:          sparc64-*linux*)
                   6381:            LD="${LD-ld} -m elf32_sparc"
                   6382:            ;;
                   6383:        esac
                   6384:        ;;
                   6385:       *64-bit*)
                   6386:        case $host in
                   6387:          x86_64-*kfreebsd*-gnu)
                   6388:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6389:            ;;
                   6390:          x86_64-*linux*)
                   6391:            LD="${LD-ld} -m elf_x86_64"
                   6392:            ;;
                   6393:          ppc*-*linux*|powerpc*-*linux*)
                   6394:            LD="${LD-ld} -m elf64ppc"
                   6395:            ;;
                   6396:          s390*-*linux*|s390*-*tpf*)
                   6397:            LD="${LD-ld} -m elf64_s390"
                   6398:            ;;
                   6399:          sparc*-*linux*)
                   6400:            LD="${LD-ld} -m elf64_sparc"
                   6401:            ;;
                   6402:        esac
                   6403:        ;;
                   6404:     esac
                   6405:   fi
                   6406:   rm -rf conftest*
                   6407:   ;;
                   6408: 
                   6409: *-*-sco3.2v5*)
                   6410:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6411:   SAVE_CFLAGS="$CFLAGS"
                   6412:   CFLAGS="$CFLAGS -belf"
                   6413:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   6414: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   6415: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   6416:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6417: else
                   6418:   ac_ext=c
                   6419: ac_cpp='$CPP $CPPFLAGS'
                   6420: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6421: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6422: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6423: 
                   6424:      cat >conftest.$ac_ext <<_ACEOF
                   6425: /* confdefs.h.  */
                   6426: _ACEOF
                   6427: cat confdefs.h >>conftest.$ac_ext
                   6428: cat >>conftest.$ac_ext <<_ACEOF
                   6429: /* end confdefs.h.  */
                   6430: 
                   6431: int
                   6432: main ()
                   6433: {
                   6434: 
                   6435:   ;
                   6436:   return 0;
                   6437: }
                   6438: _ACEOF
                   6439: rm -f conftest.$ac_objext conftest$ac_exeext
                   6440: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6441:   (eval $ac_link) 2>conftest.er1
                   6442:   ac_status=$?
                   6443:   grep -v '^ *+' conftest.er1 >conftest.err
                   6444:   rm -f conftest.er1
                   6445:   cat conftest.err >&5
                   6446:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6447:   (exit $ac_status); } &&
                   6448:         { ac_try='test -z "$ac_c_werror_flag"
                   6449:                         || test ! -s conftest.err'
                   6450:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6451:   (eval $ac_try) 2>&5
                   6452:   ac_status=$?
                   6453:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6454:   (exit $ac_status); }; } &&
                   6455:         { ac_try='test -s conftest$ac_exeext'
                   6456:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6457:   (eval $ac_try) 2>&5
                   6458:   ac_status=$?
                   6459:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6460:   (exit $ac_status); }; }; then
                   6461:   lt_cv_cc_needs_belf=yes
                   6462: else
                   6463:   echo "$as_me: failed program was:" >&5
                   6464: sed 's/^/| /' conftest.$ac_ext >&5
                   6465: 
                   6466: lt_cv_cc_needs_belf=no
                   6467: fi
                   6468: rm -f conftest.err conftest.$ac_objext \
                   6469:       conftest$ac_exeext conftest.$ac_ext
                   6470:      ac_ext=c
                   6471: ac_cpp='$CPP $CPPFLAGS'
                   6472: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6473: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6474: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6475: 
                   6476: fi
                   6477: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   6478: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   6479:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6480:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6481:     CFLAGS="$SAVE_CFLAGS"
                   6482:   fi
                   6483:   ;;
                   6484: *-*solaris*)
                   6485:   # Find out which ABI we are using.
                   6486:   echo 'int i;' > conftest.$ac_ext
                   6487:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6488:   (eval $ac_compile) 2>&5
                   6489:   ac_status=$?
                   6490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6491:   (exit $ac_status); }; then
                   6492:     case `/usr/bin/file conftest.o` in
                   6493:     *64-bit*)
                   6494:       case $lt_cv_prog_gnu_ld in
                   6495:       yes*)
                   6496:         case $host in
                   6497:         i?86-*-solaris*)
                   6498:           LD="${LD-ld} -m elf_x86_64"
                   6499:           ;;
                   6500:         sparc*-*-solaris*)
                   6501:           LD="${LD-ld} -m elf64_sparc"
                   6502:           ;;
                   6503:         esac
                   6504:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6505:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6506:           LD="${LD-ld}_sol2"
                   6507:         fi
                   6508:         ;;
                   6509:       *)
                   6510:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6511:          LD="${LD-ld} -64"
                   6512:        fi
                   6513:        ;;
                   6514:       esac
                   6515:       ;;
                   6516:     esac
                   6517:   fi
                   6518:   rm -rf conftest*
                   6519:   ;;
                   6520: esac
                   6521: 
                   6522: need_locks="$enable_libtool_lock"
                   6523: 
                   6524: if test -n "$ac_tool_prefix"; then
                   6525:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6526: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6527: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6528: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6529: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
                   6530:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6531: else
                   6532:   if test -n "$MANIFEST_TOOL"; then
                   6533:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6534: else
                   6535: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6536: for as_dir in $PATH
                   6537: do
                   6538:   IFS=$as_save_IFS
                   6539:   test -z "$as_dir" && as_dir=.
                   6540:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6541:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6542:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6543:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6544:     break 2
                   6545:   fi
                   6546: done
                   6547: done
                   6548: 
                   6549: fi
                   6550: fi
                   6551: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6552: if test -n "$MANIFEST_TOOL"; then
                   6553:   echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
                   6554: echo "${ECHO_T}$MANIFEST_TOOL" >&6
                   6555: else
                   6556:   echo "$as_me:$LINENO: result: no" >&5
                   6557: echo "${ECHO_T}no" >&6
                   6558: fi
                   6559: 
                   6560: fi
                   6561: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6562:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6563:   # Extract the first word of "mt", so it can be a program name with args.
                   6564: set dummy mt; ac_word=$2
                   6565: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6566: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6567: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
                   6568:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6569: else
                   6570:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6571:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6572: else
                   6573: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6574: for as_dir in $PATH
                   6575: do
                   6576:   IFS=$as_save_IFS
                   6577:   test -z "$as_dir" && as_dir=.
                   6578:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6579:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6580:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6581:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6582:     break 2
                   6583:   fi
                   6584: done
                   6585: done
                   6586: 
                   6587:   test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
                   6588: fi
                   6589: fi
                   6590: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6591: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6592:   echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
                   6593: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
                   6594: else
                   6595:   echo "$as_me:$LINENO: result: no" >&5
                   6596: echo "${ECHO_T}no" >&6
                   6597: fi
                   6598: 
                   6599:   MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6600: else
                   6601:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6602: fi
                   6603: 
                   6604: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6605: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6606: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
                   6607: if test "${lt_cv_path_mainfest_tool+set}" = set; then
                   6608:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6609: else
                   6610:   lt_cv_path_mainfest_tool=no
                   6611:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6612:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6613:   cat conftest.err >&5
                   6614:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6615:     lt_cv_path_mainfest_tool=yes
                   6616:   fi
                   6617:   rm -f conftest*
                   6618: fi
                   6619: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
                   6620: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
                   6621: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   6622:   MANIFEST_TOOL=:
                   6623: fi
                   6624: 
                   6625: 
                   6626: 
                   6627: 
                   6628: 
                   6629: 
                   6630:   case $host_os in
                   6631:     rhapsody* | darwin*)
                   6632:     if test -n "$ac_tool_prefix"; then
                   6633:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6634: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6635: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6636: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6637: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
                   6638:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6639: else
                   6640:   if test -n "$DSYMUTIL"; then
                   6641:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6642: else
                   6643: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6644: for as_dir in $PATH
                   6645: do
                   6646:   IFS=$as_save_IFS
                   6647:   test -z "$as_dir" && as_dir=.
                   6648:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6649:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6650:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6651:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6652:     break 2
                   6653:   fi
                   6654: done
                   6655: done
                   6656: 
                   6657: fi
                   6658: fi
                   6659: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6660: if test -n "$DSYMUTIL"; then
                   6661:   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
                   6662: echo "${ECHO_T}$DSYMUTIL" >&6
                   6663: else
                   6664:   echo "$as_me:$LINENO: result: no" >&5
                   6665: echo "${ECHO_T}no" >&6
                   6666: fi
                   6667: 
                   6668: fi
                   6669: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6670:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6671:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6672: set dummy dsymutil; ac_word=$2
                   6673: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6674: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6675: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
                   6676:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6677: else
                   6678:   if test -n "$ac_ct_DSYMUTIL"; then
                   6679:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6680: else
                   6681: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6682: for as_dir in $PATH
                   6683: do
                   6684:   IFS=$as_save_IFS
                   6685:   test -z "$as_dir" && as_dir=.
                   6686:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6687:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6688:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6689:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6690:     break 2
                   6691:   fi
                   6692: done
                   6693: done
                   6694: 
                   6695:   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
                   6696: fi
                   6697: fi
                   6698: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6699: if test -n "$ac_ct_DSYMUTIL"; then
                   6700:   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
                   6701: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
                   6702: else
                   6703:   echo "$as_me:$LINENO: result: no" >&5
                   6704: echo "${ECHO_T}no" >&6
                   6705: fi
                   6706: 
                   6707:   DSYMUTIL=$ac_ct_DSYMUTIL
                   6708: else
                   6709:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6710: fi
                   6711: 
                   6712:     if test -n "$ac_tool_prefix"; then
                   6713:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6714: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6715: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6716: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6717: if test "${ac_cv_prog_NMEDIT+set}" = set; then
                   6718:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6719: else
                   6720:   if test -n "$NMEDIT"; then
                   6721:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6722: else
                   6723: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6724: for as_dir in $PATH
                   6725: do
                   6726:   IFS=$as_save_IFS
                   6727:   test -z "$as_dir" && as_dir=.
                   6728:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6729:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6730:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6731:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6732:     break 2
                   6733:   fi
                   6734: done
                   6735: done
                   6736: 
                   6737: fi
                   6738: fi
                   6739: NMEDIT=$ac_cv_prog_NMEDIT
                   6740: if test -n "$NMEDIT"; then
                   6741:   echo "$as_me:$LINENO: result: $NMEDIT" >&5
                   6742: echo "${ECHO_T}$NMEDIT" >&6
                   6743: else
                   6744:   echo "$as_me:$LINENO: result: no" >&5
                   6745: echo "${ECHO_T}no" >&6
                   6746: fi
                   6747: 
                   6748: fi
                   6749: if test -z "$ac_cv_prog_NMEDIT"; then
                   6750:   ac_ct_NMEDIT=$NMEDIT
                   6751:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6752: set dummy nmedit; ac_word=$2
                   6753: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6754: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6755: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
                   6756:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6757: else
                   6758:   if test -n "$ac_ct_NMEDIT"; then
                   6759:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6760: else
                   6761: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6762: for as_dir in $PATH
                   6763: do
                   6764:   IFS=$as_save_IFS
                   6765:   test -z "$as_dir" && as_dir=.
                   6766:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6767:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6768:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6769:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6770:     break 2
                   6771:   fi
                   6772: done
                   6773: done
                   6774: 
                   6775:   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
                   6776: fi
                   6777: fi
                   6778: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6779: if test -n "$ac_ct_NMEDIT"; then
                   6780:   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
                   6781: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
                   6782: else
                   6783:   echo "$as_me:$LINENO: result: no" >&5
                   6784: echo "${ECHO_T}no" >&6
                   6785: fi
                   6786: 
                   6787:   NMEDIT=$ac_ct_NMEDIT
                   6788: else
                   6789:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6790: fi
                   6791: 
                   6792:     if test -n "$ac_tool_prefix"; then
                   6793:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6794: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6795: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6796: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6797: if test "${ac_cv_prog_LIPO+set}" = set; then
                   6798:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6799: else
                   6800:   if test -n "$LIPO"; then
                   6801:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6802: else
                   6803: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6804: for as_dir in $PATH
                   6805: do
                   6806:   IFS=$as_save_IFS
                   6807:   test -z "$as_dir" && as_dir=.
                   6808:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6809:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6810:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6811:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6812:     break 2
                   6813:   fi
                   6814: done
                   6815: done
                   6816: 
                   6817: fi
                   6818: fi
                   6819: LIPO=$ac_cv_prog_LIPO
                   6820: if test -n "$LIPO"; then
                   6821:   echo "$as_me:$LINENO: result: $LIPO" >&5
                   6822: echo "${ECHO_T}$LIPO" >&6
                   6823: else
                   6824:   echo "$as_me:$LINENO: result: no" >&5
                   6825: echo "${ECHO_T}no" >&6
                   6826: fi
                   6827: 
                   6828: fi
                   6829: if test -z "$ac_cv_prog_LIPO"; then
                   6830:   ac_ct_LIPO=$LIPO
                   6831:   # Extract the first word of "lipo", so it can be a program name with args.
                   6832: set dummy lipo; ac_word=$2
                   6833: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6834: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6835: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
                   6836:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6837: else
                   6838:   if test -n "$ac_ct_LIPO"; then
                   6839:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6840: else
                   6841: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6842: for as_dir in $PATH
                   6843: do
                   6844:   IFS=$as_save_IFS
                   6845:   test -z "$as_dir" && as_dir=.
                   6846:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6847:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6848:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6849:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6850:     break 2
                   6851:   fi
                   6852: done
                   6853: done
                   6854: 
                   6855:   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
                   6856: fi
                   6857: fi
                   6858: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6859: if test -n "$ac_ct_LIPO"; then
                   6860:   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
                   6861: echo "${ECHO_T}$ac_ct_LIPO" >&6
                   6862: else
                   6863:   echo "$as_me:$LINENO: result: no" >&5
                   6864: echo "${ECHO_T}no" >&6
                   6865: fi
                   6866: 
                   6867:   LIPO=$ac_ct_LIPO
                   6868: else
                   6869:   LIPO="$ac_cv_prog_LIPO"
                   6870: fi
                   6871: 
                   6872:     if test -n "$ac_tool_prefix"; then
                   6873:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6874: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6875: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6876: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6877: if test "${ac_cv_prog_OTOOL+set}" = set; then
                   6878:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6879: else
                   6880:   if test -n "$OTOOL"; then
                   6881:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6882: else
                   6883: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6884: for as_dir in $PATH
                   6885: do
                   6886:   IFS=$as_save_IFS
                   6887:   test -z "$as_dir" && as_dir=.
                   6888:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6889:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6890:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6891:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6892:     break 2
                   6893:   fi
                   6894: done
                   6895: done
                   6896: 
                   6897: fi
                   6898: fi
                   6899: OTOOL=$ac_cv_prog_OTOOL
                   6900: if test -n "$OTOOL"; then
                   6901:   echo "$as_me:$LINENO: result: $OTOOL" >&5
                   6902: echo "${ECHO_T}$OTOOL" >&6
                   6903: else
                   6904:   echo "$as_me:$LINENO: result: no" >&5
                   6905: echo "${ECHO_T}no" >&6
                   6906: fi
                   6907: 
                   6908: fi
                   6909: if test -z "$ac_cv_prog_OTOOL"; then
                   6910:   ac_ct_OTOOL=$OTOOL
                   6911:   # Extract the first word of "otool", so it can be a program name with args.
                   6912: set dummy otool; ac_word=$2
                   6913: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6914: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6915: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
                   6916:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6917: else
                   6918:   if test -n "$ac_ct_OTOOL"; then
                   6919:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6920: else
                   6921: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6922: for as_dir in $PATH
                   6923: do
                   6924:   IFS=$as_save_IFS
                   6925:   test -z "$as_dir" && as_dir=.
                   6926:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6927:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6928:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6929:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6930:     break 2
                   6931:   fi
                   6932: done
                   6933: done
                   6934: 
                   6935:   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
                   6936: fi
                   6937: fi
                   6938: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6939: if test -n "$ac_ct_OTOOL"; then
                   6940:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
                   6941: echo "${ECHO_T}$ac_ct_OTOOL" >&6
                   6942: else
                   6943:   echo "$as_me:$LINENO: result: no" >&5
                   6944: echo "${ECHO_T}no" >&6
                   6945: fi
                   6946: 
                   6947:   OTOOL=$ac_ct_OTOOL
                   6948: else
                   6949:   OTOOL="$ac_cv_prog_OTOOL"
                   6950: fi
                   6951: 
                   6952:     if test -n "$ac_tool_prefix"; then
                   6953:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6954: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6955: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6956: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6957: if test "${ac_cv_prog_OTOOL64+set}" = set; then
                   6958:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6959: else
                   6960:   if test -n "$OTOOL64"; then
                   6961:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6962: else
                   6963: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6964: for as_dir in $PATH
                   6965: do
                   6966:   IFS=$as_save_IFS
                   6967:   test -z "$as_dir" && as_dir=.
                   6968:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6969:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6970:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6971:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6972:     break 2
                   6973:   fi
                   6974: done
                   6975: done
                   6976: 
                   6977: fi
                   6978: fi
                   6979: OTOOL64=$ac_cv_prog_OTOOL64
                   6980: if test -n "$OTOOL64"; then
                   6981:   echo "$as_me:$LINENO: result: $OTOOL64" >&5
                   6982: echo "${ECHO_T}$OTOOL64" >&6
                   6983: else
                   6984:   echo "$as_me:$LINENO: result: no" >&5
                   6985: echo "${ECHO_T}no" >&6
                   6986: fi
                   6987: 
                   6988: fi
                   6989: if test -z "$ac_cv_prog_OTOOL64"; then
                   6990:   ac_ct_OTOOL64=$OTOOL64
                   6991:   # Extract the first word of "otool64", so it can be a program name with args.
                   6992: set dummy otool64; ac_word=$2
                   6993: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6994: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6995: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
                   6996:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6997: else
                   6998:   if test -n "$ac_ct_OTOOL64"; then
                   6999:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7000: else
                   7001: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7002: for as_dir in $PATH
                   7003: do
                   7004:   IFS=$as_save_IFS
                   7005:   test -z "$as_dir" && as_dir=.
                   7006:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7007:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7008:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   7009:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7010:     break 2
                   7011:   fi
                   7012: done
                   7013: done
                   7014: 
                   7015:   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
                   7016: fi
                   7017: fi
                   7018: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7019: if test -n "$ac_ct_OTOOL64"; then
                   7020:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
                   7021: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
                   7022: else
                   7023:   echo "$as_me:$LINENO: result: no" >&5
                   7024: echo "${ECHO_T}no" >&6
                   7025: fi
                   7026: 
                   7027:   OTOOL64=$ac_ct_OTOOL64
                   7028: else
                   7029:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7030: fi
                   7031: 
                   7032: 
                   7033: 
                   7034: 
                   7035: 
                   7036: 
                   7037: 
                   7038: 
                   7039: 
                   7040: 
                   7041: 
                   7042: 
                   7043: 
                   7044: 
                   7045: 
                   7046: 
                   7047: 
                   7048: 
                   7049: 
                   7050: 
                   7051: 
                   7052: 
                   7053: 
                   7054: 
                   7055: 
                   7056: 
                   7057: 
                   7058:     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
                   7059: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
                   7060: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
                   7061:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7062: else
                   7063:   lt_cv_apple_cc_single_mod=no
                   7064:       if test -z "${LT_MULTI_MODULE}"; then
                   7065:        # By default we will add the -single_module flag. You can override
                   7066:        # by either setting the environment variable LT_MULTI_MODULE
                   7067:        # non-empty at configure time, or by adding -multi_module to the
                   7068:        # link flags.
                   7069:        rm -rf libconftest.dylib*
                   7070:        echo "int foo(void){return 1;}" > conftest.c
                   7071:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7072: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7073:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7074:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7075:         _lt_result=$?
                   7076:        # If there is a non-empty error log, and "single_module"
                   7077:        # appears in it, assume the flag caused a linker warning
                   7078:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7079:          cat conftest.err >&5
                   7080:        # Otherwise, if the output was created with a 0 exit code from
                   7081:        # the compiler, it worked.
                   7082:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   7083:          lt_cv_apple_cc_single_mod=yes
                   7084:        else
                   7085:          cat conftest.err >&5
                   7086:        fi
                   7087:        rm -rf libconftest.dylib*
                   7088:        rm -f conftest.*
                   7089:       fi
                   7090: fi
                   7091: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
                   7092: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
                   7093: 
                   7094:     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
                   7095: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
                   7096: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
                   7097:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7098: else
                   7099:   lt_cv_ld_exported_symbols_list=no
                   7100:       save_LDFLAGS=$LDFLAGS
                   7101:       echo "_main" > conftest.sym
                   7102:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7103:       cat >conftest.$ac_ext <<_ACEOF
                   7104: /* confdefs.h.  */
                   7105: _ACEOF
                   7106: cat confdefs.h >>conftest.$ac_ext
                   7107: cat >>conftest.$ac_ext <<_ACEOF
                   7108: /* end confdefs.h.  */
                   7109: 
                   7110: int
                   7111: main ()
                   7112: {
                   7113: 
                   7114:   ;
                   7115:   return 0;
                   7116: }
                   7117: _ACEOF
                   7118: rm -f conftest.$ac_objext conftest$ac_exeext
                   7119: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7120:   (eval $ac_link) 2>conftest.er1
                   7121:   ac_status=$?
                   7122:   grep -v '^ *+' conftest.er1 >conftest.err
                   7123:   rm -f conftest.er1
                   7124:   cat conftest.err >&5
                   7125:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7126:   (exit $ac_status); } &&
                   7127:         { ac_try='test -z "$ac_c_werror_flag"
                   7128:                         || test ! -s conftest.err'
                   7129:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7130:   (eval $ac_try) 2>&5
                   7131:   ac_status=$?
                   7132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7133:   (exit $ac_status); }; } &&
                   7134:         { ac_try='test -s conftest$ac_exeext'
                   7135:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7136:   (eval $ac_try) 2>&5
                   7137:   ac_status=$?
                   7138:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7139:   (exit $ac_status); }; }; then
                   7140:   lt_cv_ld_exported_symbols_list=yes
                   7141: else
                   7142:   echo "$as_me: failed program was:" >&5
                   7143: sed 's/^/| /' conftest.$ac_ext >&5
                   7144: 
                   7145: lt_cv_ld_exported_symbols_list=no
                   7146: fi
                   7147: rm -f conftest.err conftest.$ac_objext \
                   7148:       conftest$ac_exeext conftest.$ac_ext
                   7149:        LDFLAGS="$save_LDFLAGS"
                   7150: 
                   7151: fi
                   7152: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
                   7153: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
                   7154: 
                   7155:     echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
                   7156: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
                   7157: if test "${lt_cv_ld_force_load+set}" = set; then
                   7158:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7159: else
                   7160:   lt_cv_ld_force_load=no
                   7161:       cat > conftest.c << _LT_EOF
                   7162: int forced_loaded() { return 2;}
                   7163: _LT_EOF
                   7164:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7165:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7166:       echo "$AR cru libconftest.a conftest.o" >&5
                   7167:       $AR cru libconftest.a conftest.o 2>&5
                   7168:       echo "$RANLIB libconftest.a" >&5
                   7169:       $RANLIB libconftest.a 2>&5
                   7170:       cat > conftest.c << _LT_EOF
                   7171: int main() { return 0;}
                   7172: _LT_EOF
                   7173:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7174:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7175:       _lt_result=$?
                   7176:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7177:        cat conftest.err >&5
                   7178:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7179:        lt_cv_ld_force_load=yes
                   7180:       else
                   7181:        cat conftest.err >&5
                   7182:       fi
                   7183:         rm -f conftest.err libconftest.a conftest conftest.c
                   7184:         rm -rf conftest.dSYM
                   7185: 
                   7186: fi
                   7187: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
                   7188: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
                   7189:     case $host_os in
                   7190:     rhapsody* | darwin1.[012])
                   7191:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7192:     darwin1.*)
                   7193:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7194:     darwin*) # darwin 5.x on
                   7195:       # if running on 10.5 or later, the deployment target defaults
                   7196:       # to the OS version, if on x86, and 10.4, the deployment
                   7197:       # target defaults to 10.4. Don't you love it?
                   7198:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7199:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7200:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7201:        10.[012]*)
                   7202:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7203:        10.*)
                   7204:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7205:       esac
                   7206:     ;;
                   7207:   esac
                   7208:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7209:       _lt_dar_single_mod='$single_module'
                   7210:     fi
                   7211:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7212:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7213:     else
                   7214:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7215:     fi
                   7216:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7217:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7218:     else
                   7219:       _lt_dsymutil=
                   7220:     fi
                   7221:     ;;
                   7222:   esac
                   7223: 
                   7224: ac_ext=c
                   7225: ac_cpp='$CPP $CPPFLAGS'
                   7226: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7227: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7228: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7229: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   7230: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   7231: # On Suns, sometimes $CPP names a directory.
                   7232: if test -n "$CPP" && test -d "$CPP"; then
                   7233:   CPP=
                   7234: fi
                   7235: if test -z "$CPP"; then
                   7236:   if test "${ac_cv_prog_CPP+set}" = set; then
                   7237:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7238: else
                   7239:       # Double quotes because CPP needs to be expanded
                   7240:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7241:     do
                   7242:       ac_preproc_ok=false
                   7243: for ac_c_preproc_warn_flag in '' yes
                   7244: do
                   7245:   # Use a header file that comes with gcc, so configuring glibc
                   7246:   # with a fresh cross-compiler works.
                   7247:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7248:   # <limits.h> exists even on freestanding compilers.
                   7249:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7250:   # not just through cpp. "Syntax error" is here to catch this case.
                   7251:   cat >conftest.$ac_ext <<_ACEOF
                   7252: /* confdefs.h.  */
                   7253: _ACEOF
                   7254: cat confdefs.h >>conftest.$ac_ext
                   7255: cat >>conftest.$ac_ext <<_ACEOF
                   7256: /* end confdefs.h.  */
                   7257: #ifdef __STDC__
                   7258: # include <limits.h>
                   7259: #else
                   7260: # include <assert.h>
                   7261: #endif
                   7262:                     Syntax error
                   7263: _ACEOF
                   7264: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7265:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7266:   ac_status=$?
                   7267:   grep -v '^ *+' conftest.er1 >conftest.err
                   7268:   rm -f conftest.er1
                   7269:   cat conftest.err >&5
                   7270:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7271:   (exit $ac_status); } >/dev/null; then
                   7272:   if test -s conftest.err; then
                   7273:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7274:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7275:   else
                   7276:     ac_cpp_err=
                   7277:   fi
                   7278: else
                   7279:   ac_cpp_err=yes
                   7280: fi
                   7281: if test -z "$ac_cpp_err"; then
                   7282:   :
                   7283: else
                   7284:   echo "$as_me: failed program was:" >&5
                   7285: sed 's/^/| /' conftest.$ac_ext >&5
                   7286: 
                   7287:   # Broken: fails on valid input.
                   7288: continue
                   7289: fi
                   7290: rm -f conftest.err conftest.$ac_ext
                   7291: 
                   7292:   # OK, works on sane cases.  Now check whether non-existent headers
                   7293:   # can be detected and how.
                   7294:   cat >conftest.$ac_ext <<_ACEOF
                   7295: /* confdefs.h.  */
                   7296: _ACEOF
                   7297: cat confdefs.h >>conftest.$ac_ext
                   7298: cat >>conftest.$ac_ext <<_ACEOF
                   7299: /* end confdefs.h.  */
                   7300: #include <ac_nonexistent.h>
                   7301: _ACEOF
                   7302: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7303:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7304:   ac_status=$?
                   7305:   grep -v '^ *+' conftest.er1 >conftest.err
                   7306:   rm -f conftest.er1
                   7307:   cat conftest.err >&5
                   7308:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7309:   (exit $ac_status); } >/dev/null; then
                   7310:   if test -s conftest.err; then
                   7311:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7312:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7313:   else
                   7314:     ac_cpp_err=
                   7315:   fi
                   7316: else
                   7317:   ac_cpp_err=yes
                   7318: fi
                   7319: if test -z "$ac_cpp_err"; then
                   7320:   # Broken: success on invalid input.
                   7321: continue
                   7322: else
                   7323:   echo "$as_me: failed program was:" >&5
                   7324: sed 's/^/| /' conftest.$ac_ext >&5
                   7325: 
                   7326:   # Passes both tests.
                   7327: ac_preproc_ok=:
                   7328: break
                   7329: fi
                   7330: rm -f conftest.err conftest.$ac_ext
                   7331: 
                   7332: done
                   7333: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7334: rm -f conftest.err conftest.$ac_ext
                   7335: if $ac_preproc_ok; then
                   7336:   break
                   7337: fi
                   7338: 
                   7339:     done
                   7340:     ac_cv_prog_CPP=$CPP
                   7341: 
                   7342: fi
                   7343:   CPP=$ac_cv_prog_CPP
                   7344: else
                   7345:   ac_cv_prog_CPP=$CPP
                   7346: fi
                   7347: echo "$as_me:$LINENO: result: $CPP" >&5
                   7348: echo "${ECHO_T}$CPP" >&6
                   7349: ac_preproc_ok=false
                   7350: for ac_c_preproc_warn_flag in '' yes
                   7351: do
                   7352:   # Use a header file that comes with gcc, so configuring glibc
                   7353:   # with a fresh cross-compiler works.
                   7354:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7355:   # <limits.h> exists even on freestanding compilers.
                   7356:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7357:   # not just through cpp. "Syntax error" is here to catch this case.
                   7358:   cat >conftest.$ac_ext <<_ACEOF
                   7359: /* confdefs.h.  */
                   7360: _ACEOF
                   7361: cat confdefs.h >>conftest.$ac_ext
                   7362: cat >>conftest.$ac_ext <<_ACEOF
                   7363: /* end confdefs.h.  */
                   7364: #ifdef __STDC__
                   7365: # include <limits.h>
                   7366: #else
                   7367: # include <assert.h>
                   7368: #endif
                   7369:                     Syntax error
                   7370: _ACEOF
                   7371: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7372:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7373:   ac_status=$?
                   7374:   grep -v '^ *+' conftest.er1 >conftest.err
                   7375:   rm -f conftest.er1
                   7376:   cat conftest.err >&5
                   7377:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7378:   (exit $ac_status); } >/dev/null; then
                   7379:   if test -s conftest.err; then
                   7380:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7381:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7382:   else
                   7383:     ac_cpp_err=
                   7384:   fi
                   7385: else
                   7386:   ac_cpp_err=yes
                   7387: fi
                   7388: if test -z "$ac_cpp_err"; then
                   7389:   :
                   7390: else
                   7391:   echo "$as_me: failed program was:" >&5
                   7392: sed 's/^/| /' conftest.$ac_ext >&5
                   7393: 
                   7394:   # Broken: fails on valid input.
                   7395: continue
                   7396: fi
                   7397: rm -f conftest.err conftest.$ac_ext
                   7398: 
                   7399:   # OK, works on sane cases.  Now check whether non-existent headers
                   7400:   # can be detected and how.
                   7401:   cat >conftest.$ac_ext <<_ACEOF
                   7402: /* confdefs.h.  */
                   7403: _ACEOF
                   7404: cat confdefs.h >>conftest.$ac_ext
                   7405: cat >>conftest.$ac_ext <<_ACEOF
                   7406: /* end confdefs.h.  */
                   7407: #include <ac_nonexistent.h>
                   7408: _ACEOF
                   7409: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7410:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7411:   ac_status=$?
                   7412:   grep -v '^ *+' conftest.er1 >conftest.err
                   7413:   rm -f conftest.er1
                   7414:   cat conftest.err >&5
                   7415:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7416:   (exit $ac_status); } >/dev/null; then
                   7417:   if test -s conftest.err; then
                   7418:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7419:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7420:   else
                   7421:     ac_cpp_err=
                   7422:   fi
                   7423: else
                   7424:   ac_cpp_err=yes
                   7425: fi
                   7426: if test -z "$ac_cpp_err"; then
                   7427:   # Broken: success on invalid input.
                   7428: continue
                   7429: else
                   7430:   echo "$as_me: failed program was:" >&5
                   7431: sed 's/^/| /' conftest.$ac_ext >&5
                   7432: 
                   7433:   # Passes both tests.
                   7434: ac_preproc_ok=:
                   7435: break
                   7436: fi
                   7437: rm -f conftest.err conftest.$ac_ext
                   7438: 
                   7439: done
                   7440: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7441: rm -f conftest.err conftest.$ac_ext
                   7442: if $ac_preproc_ok; then
                   7443:   :
                   7444: else
                   7445:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   7446: See \`config.log' for more details." >&5
                   7447: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   7448: See \`config.log' for more details." >&2;}
                   7449:    { (exit 1); exit 1; }; }
                   7450: fi
                   7451: 
                   7452: ac_ext=c
                   7453: ac_cpp='$CPP $CPPFLAGS'
                   7454: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7455: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7456: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7457: 
                   7458: 
                   7459: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   7460: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   7461: if test "${ac_cv_header_stdc+set}" = set; then
                   7462:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7463: else
                   7464:   cat >conftest.$ac_ext <<_ACEOF
                   7465: /* confdefs.h.  */
                   7466: _ACEOF
                   7467: cat confdefs.h >>conftest.$ac_ext
                   7468: cat >>conftest.$ac_ext <<_ACEOF
                   7469: /* end confdefs.h.  */
                   7470: #include <stdlib.h>
                   7471: #include <stdarg.h>
                   7472: #include <string.h>
                   7473: #include <float.h>
                   7474: 
                   7475: int
                   7476: main ()
                   7477: {
                   7478: 
                   7479:   ;
                   7480:   return 0;
                   7481: }
                   7482: _ACEOF
                   7483: rm -f conftest.$ac_objext
                   7484: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7485:   (eval $ac_compile) 2>conftest.er1
                   7486:   ac_status=$?
                   7487:   grep -v '^ *+' conftest.er1 >conftest.err
                   7488:   rm -f conftest.er1
                   7489:   cat conftest.err >&5
                   7490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7491:   (exit $ac_status); } &&
                   7492:         { ac_try='test -z "$ac_c_werror_flag"
                   7493:                         || test ! -s conftest.err'
                   7494:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7495:   (eval $ac_try) 2>&5
                   7496:   ac_status=$?
                   7497:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7498:   (exit $ac_status); }; } &&
                   7499:         { ac_try='test -s conftest.$ac_objext'
                   7500:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7501:   (eval $ac_try) 2>&5
                   7502:   ac_status=$?
                   7503:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7504:   (exit $ac_status); }; }; then
                   7505:   ac_cv_header_stdc=yes
                   7506: else
                   7507:   echo "$as_me: failed program was:" >&5
                   7508: sed 's/^/| /' conftest.$ac_ext >&5
                   7509: 
                   7510: ac_cv_header_stdc=no
                   7511: fi
                   7512: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7513: 
                   7514: if test $ac_cv_header_stdc = yes; then
                   7515:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7516:   cat >conftest.$ac_ext <<_ACEOF
                   7517: /* confdefs.h.  */
                   7518: _ACEOF
                   7519: cat confdefs.h >>conftest.$ac_ext
                   7520: cat >>conftest.$ac_ext <<_ACEOF
                   7521: /* end confdefs.h.  */
                   7522: #include <string.h>
                   7523: 
                   7524: _ACEOF
                   7525: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7526:   $EGREP "memchr" >/dev/null 2>&1; then
                   7527:   :
                   7528: else
                   7529:   ac_cv_header_stdc=no
                   7530: fi
                   7531: rm -f conftest*
                   7532: 
                   7533: fi
                   7534: 
                   7535: if test $ac_cv_header_stdc = yes; then
                   7536:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7537:   cat >conftest.$ac_ext <<_ACEOF
                   7538: /* confdefs.h.  */
                   7539: _ACEOF
                   7540: cat confdefs.h >>conftest.$ac_ext
                   7541: cat >>conftest.$ac_ext <<_ACEOF
                   7542: /* end confdefs.h.  */
                   7543: #include <stdlib.h>
                   7544: 
                   7545: _ACEOF
                   7546: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7547:   $EGREP "free" >/dev/null 2>&1; then
                   7548:   :
                   7549: else
                   7550:   ac_cv_header_stdc=no
                   7551: fi
                   7552: rm -f conftest*
                   7553: 
                   7554: fi
                   7555: 
                   7556: if test $ac_cv_header_stdc = yes; then
                   7557:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7558:   if test "$cross_compiling" = yes; then
                   7559:   :
                   7560: else
                   7561:   cat >conftest.$ac_ext <<_ACEOF
                   7562: /* confdefs.h.  */
                   7563: _ACEOF
                   7564: cat confdefs.h >>conftest.$ac_ext
                   7565: cat >>conftest.$ac_ext <<_ACEOF
                   7566: /* end confdefs.h.  */
                   7567: #include <ctype.h>
                   7568: #if ((' ' & 0x0FF) == 0x020)
                   7569: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7570: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7571: #else
                   7572: # define ISLOWER(c) \
                   7573:                   (('a' <= (c) && (c) <= 'i') \
                   7574:                     || ('j' <= (c) && (c) <= 'r') \
                   7575:                     || ('s' <= (c) && (c) <= 'z'))
                   7576: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7577: #endif
                   7578: 
                   7579: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7580: int
                   7581: main ()
                   7582: {
                   7583:   int i;
                   7584:   for (i = 0; i < 256; i++)
                   7585:     if (XOR (islower (i), ISLOWER (i))
                   7586:        || toupper (i) != TOUPPER (i))
                   7587:       exit(2);
                   7588:   exit (0);
                   7589: }
                   7590: _ACEOF
                   7591: rm -f conftest$ac_exeext
                   7592: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7593:   (eval $ac_link) 2>&5
                   7594:   ac_status=$?
                   7595:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7596:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   7597:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7598:   (eval $ac_try) 2>&5
                   7599:   ac_status=$?
                   7600:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7601:   (exit $ac_status); }; }; then
                   7602:   :
                   7603: else
                   7604:   echo "$as_me: program exited with status $ac_status" >&5
                   7605: echo "$as_me: failed program was:" >&5
                   7606: sed 's/^/| /' conftest.$ac_ext >&5
                   7607: 
                   7608: ( exit $ac_status )
                   7609: ac_cv_header_stdc=no
                   7610: fi
                   7611: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   7612: fi
                   7613: fi
                   7614: fi
                   7615: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   7616: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   7617: if test $ac_cv_header_stdc = yes; then
                   7618: 
                   7619: cat >>confdefs.h <<\_ACEOF
                   7620: #define STDC_HEADERS 1
                   7621: _ACEOF
                   7622: 
                   7623: fi
                   7624: 
                   7625: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7626: 
                   7627: 
                   7628: 
                   7629: 
                   7630: 
                   7631: 
                   7632: 
                   7633: 
                   7634: 
                   7635: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7636:                  inttypes.h stdint.h unistd.h
                   7637: do
                   7638: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7639: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7640: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7641: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7642:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7643: else
                   7644:   cat >conftest.$ac_ext <<_ACEOF
                   7645: /* confdefs.h.  */
                   7646: _ACEOF
                   7647: cat confdefs.h >>conftest.$ac_ext
                   7648: cat >>conftest.$ac_ext <<_ACEOF
                   7649: /* end confdefs.h.  */
                   7650: $ac_includes_default
                   7651: 
                   7652: #include <$ac_header>
                   7653: _ACEOF
                   7654: rm -f conftest.$ac_objext
                   7655: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7656:   (eval $ac_compile) 2>conftest.er1
                   7657:   ac_status=$?
                   7658:   grep -v '^ *+' conftest.er1 >conftest.err
                   7659:   rm -f conftest.er1
                   7660:   cat conftest.err >&5
                   7661:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7662:   (exit $ac_status); } &&
                   7663:         { ac_try='test -z "$ac_c_werror_flag"
                   7664:                         || test ! -s conftest.err'
                   7665:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7666:   (eval $ac_try) 2>&5
                   7667:   ac_status=$?
                   7668:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7669:   (exit $ac_status); }; } &&
                   7670:         { ac_try='test -s conftest.$ac_objext'
                   7671:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7672:   (eval $ac_try) 2>&5
                   7673:   ac_status=$?
                   7674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7675:   (exit $ac_status); }; }; then
                   7676:   eval "$as_ac_Header=yes"
                   7677: else
                   7678:   echo "$as_me: failed program was:" >&5
                   7679: sed 's/^/| /' conftest.$ac_ext >&5
                   7680: 
                   7681: eval "$as_ac_Header=no"
                   7682: fi
                   7683: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7684: fi
                   7685: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7686: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7687: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7688:   cat >>confdefs.h <<_ACEOF
                   7689: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7690: _ACEOF
                   7691: 
                   7692: fi
                   7693: 
                   7694: done
                   7695: 
                   7696: 
                   7697: 
                   7698: for ac_header in dlfcn.h
                   7699: do
                   7700: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7701: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7702: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7703: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7704:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7705: else
                   7706:   cat >conftest.$ac_ext <<_ACEOF
                   7707: /* confdefs.h.  */
                   7708: _ACEOF
                   7709: cat confdefs.h >>conftest.$ac_ext
                   7710: cat >>conftest.$ac_ext <<_ACEOF
                   7711: /* end confdefs.h.  */
                   7712: $ac_includes_default
                   7713: 
                   7714: #include <$ac_header>
                   7715: _ACEOF
                   7716: rm -f conftest.$ac_objext
                   7717: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7718:   (eval $ac_compile) 2>conftest.er1
                   7719:   ac_status=$?
                   7720:   grep -v '^ *+' conftest.er1 >conftest.err
                   7721:   rm -f conftest.er1
                   7722:   cat conftest.err >&5
                   7723:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7724:   (exit $ac_status); } &&
                   7725:         { ac_try='test -z "$ac_c_werror_flag"
                   7726:                         || test ! -s conftest.err'
                   7727:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7728:   (eval $ac_try) 2>&5
                   7729:   ac_status=$?
                   7730:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7731:   (exit $ac_status); }; } &&
                   7732:         { ac_try='test -s conftest.$ac_objext'
                   7733:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7734:   (eval $ac_try) 2>&5
                   7735:   ac_status=$?
                   7736:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7737:   (exit $ac_status); }; }; then
                   7738:   eval "$as_ac_Header=yes"
                   7739: else
                   7740:   echo "$as_me: failed program was:" >&5
                   7741: sed 's/^/| /' conftest.$ac_ext >&5
                   7742: 
                   7743: eval "$as_ac_Header=no"
                   7744: fi
                   7745: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7746: fi
                   7747: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7748: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7749: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7750:   cat >>confdefs.h <<_ACEOF
                   7751: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7752: _ACEOF
                   7753: 
                   7754: fi
                   7755: 
                   7756: done
                   7757: 
                   7758: 
                   7759: 
                   7760: 
                   7761: func_stripname_cnf ()
                   7762: {
                   7763:   case ${2} in
                   7764:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7765:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7766:   esac
                   7767: } # func_stripname_cnf
                   7768: 
                   7769: 
                   7770: 
                   7771: 
                   7772: 
                   7773: # Set options
                   7774: enable_dlopen=yes
                   7775: enable_win32_dll=yes
                   7776: 
                   7777: case $host in
                   7778: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7779:   if test -n "$ac_tool_prefix"; then
                   7780:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7781: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7782: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7783: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7784: if test "${ac_cv_prog_AS+set}" = set; then
                   7785:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7786: else
                   7787:   if test -n "$AS"; then
                   7788:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7789: else
                   7790: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7791: for as_dir in $PATH
                   7792: do
                   7793:   IFS=$as_save_IFS
                   7794:   test -z "$as_dir" && as_dir=.
                   7795:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7796:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7797:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7798:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7799:     break 2
                   7800:   fi
                   7801: done
                   7802: done
                   7803: 
                   7804: fi
                   7805: fi
                   7806: AS=$ac_cv_prog_AS
                   7807: if test -n "$AS"; then
                   7808:   echo "$as_me:$LINENO: result: $AS" >&5
                   7809: echo "${ECHO_T}$AS" >&6
                   7810: else
                   7811:   echo "$as_me:$LINENO: result: no" >&5
                   7812: echo "${ECHO_T}no" >&6
                   7813: fi
                   7814: 
                   7815: fi
                   7816: if test -z "$ac_cv_prog_AS"; then
                   7817:   ac_ct_AS=$AS
                   7818:   # Extract the first word of "as", so it can be a program name with args.
                   7819: set dummy as; ac_word=$2
                   7820: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7821: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7822: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   7823:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7824: else
                   7825:   if test -n "$ac_ct_AS"; then
                   7826:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   7827: else
                   7828: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7829: for as_dir in $PATH
                   7830: do
                   7831:   IFS=$as_save_IFS
                   7832:   test -z "$as_dir" && as_dir=.
                   7833:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7834:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7835:     ac_cv_prog_ac_ct_AS="as"
                   7836:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7837:     break 2
                   7838:   fi
                   7839: done
                   7840: done
                   7841: 
                   7842:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
                   7843: fi
                   7844: fi
                   7845: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7846: if test -n "$ac_ct_AS"; then
                   7847:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   7848: echo "${ECHO_T}$ac_ct_AS" >&6
                   7849: else
                   7850:   echo "$as_me:$LINENO: result: no" >&5
                   7851: echo "${ECHO_T}no" >&6
                   7852: fi
                   7853: 
                   7854:   AS=$ac_ct_AS
                   7855: else
                   7856:   AS="$ac_cv_prog_AS"
                   7857: fi
                   7858: 
                   7859:   if test -n "$ac_tool_prefix"; then
                   7860:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7861: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7862: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7863: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7864: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   7865:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7866: else
                   7867:   if test -n "$DLLTOOL"; then
                   7868:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   7869: else
                   7870: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7871: for as_dir in $PATH
                   7872: do
                   7873:   IFS=$as_save_IFS
                   7874:   test -z "$as_dir" && as_dir=.
                   7875:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7876:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7877:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7878:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7879:     break 2
                   7880:   fi
                   7881: done
                   7882: done
                   7883: 
                   7884: fi
                   7885: fi
                   7886: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7887: if test -n "$DLLTOOL"; then
                   7888:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   7889: echo "${ECHO_T}$DLLTOOL" >&6
                   7890: else
                   7891:   echo "$as_me:$LINENO: result: no" >&5
                   7892: echo "${ECHO_T}no" >&6
                   7893: fi
                   7894: 
                   7895: fi
                   7896: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7897:   ac_ct_DLLTOOL=$DLLTOOL
                   7898:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7899: set dummy dlltool; ac_word=$2
                   7900: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7901: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7902: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   7903:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7904: else
                   7905:   if test -n "$ac_ct_DLLTOOL"; then
                   7906:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   7907: else
                   7908: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7909: for as_dir in $PATH
                   7910: do
                   7911:   IFS=$as_save_IFS
                   7912:   test -z "$as_dir" && as_dir=.
                   7913:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7914:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7915:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7916:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7917:     break 2
                   7918:   fi
                   7919: done
                   7920: done
                   7921: 
                   7922:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   7923: fi
                   7924: fi
                   7925: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7926: if test -n "$ac_ct_DLLTOOL"; then
                   7927:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   7928: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   7929: else
                   7930:   echo "$as_me:$LINENO: result: no" >&5
                   7931: echo "${ECHO_T}no" >&6
                   7932: fi
                   7933: 
                   7934:   DLLTOOL=$ac_ct_DLLTOOL
                   7935: else
                   7936:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7937: fi
                   7938: 
                   7939:   if test -n "$ac_tool_prefix"; then
                   7940:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7941: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7942: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7943: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7944: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   7945:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7946: else
                   7947:   if test -n "$OBJDUMP"; then
                   7948:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7949: else
                   7950: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7951: for as_dir in $PATH
                   7952: do
                   7953:   IFS=$as_save_IFS
                   7954:   test -z "$as_dir" && as_dir=.
                   7955:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7956:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7957:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7958:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7959:     break 2
                   7960:   fi
                   7961: done
                   7962: done
                   7963: 
                   7964: fi
                   7965: fi
                   7966: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7967: if test -n "$OBJDUMP"; then
                   7968:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   7969: echo "${ECHO_T}$OBJDUMP" >&6
                   7970: else
                   7971:   echo "$as_me:$LINENO: result: no" >&5
                   7972: echo "${ECHO_T}no" >&6
                   7973: fi
                   7974: 
                   7975: fi
                   7976: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7977:   ac_ct_OBJDUMP=$OBJDUMP
                   7978:   # Extract the first word of "objdump", so it can be a program name with args.
                   7979: set dummy objdump; ac_word=$2
                   7980: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7981: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7982: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   7983:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7984: else
                   7985:   if test -n "$ac_ct_OBJDUMP"; then
                   7986:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   7987: else
                   7988: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7989: for as_dir in $PATH
                   7990: do
                   7991:   IFS=$as_save_IFS
                   7992:   test -z "$as_dir" && as_dir=.
                   7993:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7994:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7995:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7996:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7997:     break 2
                   7998:   fi
                   7999: done
                   8000: done
                   8001: 
                   8002:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   8003: fi
                   8004: fi
                   8005: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8006: if test -n "$ac_ct_OBJDUMP"; then
                   8007:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   8008: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   8009: else
                   8010:   echo "$as_me:$LINENO: result: no" >&5
                   8011: echo "${ECHO_T}no" >&6
                   8012: fi
                   8013: 
                   8014:   OBJDUMP=$ac_ct_OBJDUMP
                   8015: else
                   8016:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8017: fi
                   8018: 
                   8019:   ;;
                   8020: esac
                   8021: 
                   8022: test -z "$AS" && AS=as
                   8023: 
                   8024: 
                   8025: 
                   8026: 
                   8027: 
                   8028: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8029: 
                   8030: 
                   8031: 
                   8032: 
                   8033: 
                   8034: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8035: 
                   8036: 
                   8037: 
                   8038: 
                   8039: 
1.145     moko     8040: # Check whether --with-pic or --without-pic was given.
                   8041: if test "${with_pic+set}" = set; then
                   8042:   withval="$with_pic"
                   8043:   lt_p=${PACKAGE-default}
                   8044:     case $withval in
                   8045:     yes|no) pic_mode=$withval ;;
                   8046:     *)
                   8047:       pic_mode=default
                   8048:       # Look at the argument we got.  We use all the common list separators.
                   8049:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8050:       for lt_pkg in $withval; do
                   8051:        IFS="$lt_save_ifs"
                   8052:        if test "X$lt_pkg" = "X$lt_p"; then
                   8053:          pic_mode=yes
                   8054:        fi
                   8055:       done
                   8056:       IFS="$lt_save_ifs"
                   8057:       ;;
                   8058:     esac
                   8059: else
                   8060:   pic_mode=default
                   8061: fi;
                   8062: 
                   8063: test -z "$pic_mode" && pic_mode=no
                   8064: 
                   8065: 
                   8066: 
                   8067: 
                   8068: 
                   8069: 
1.128     moko     8070: 
                   8071: 
                   8072: 
                   8073: 
                   8074:             # Check whether --enable-shared or --disable-shared was given.
                   8075: if test "${enable_shared+set}" = set; then
                   8076:   enableval="$enable_shared"
                   8077:   p=${PACKAGE-default}
                   8078:     case $enableval in
                   8079:     yes) enable_shared=yes ;;
                   8080:     no) enable_shared=no ;;
                   8081:     *)
                   8082:       enable_shared=no
                   8083:       # Look at the argument we got.  We use all the common list separators.
                   8084:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8085:       for pkg in $enableval; do
                   8086:        IFS="$lt_save_ifs"
                   8087:        if test "X$pkg" = "X$p"; then
                   8088:          enable_shared=yes
                   8089:        fi
                   8090:       done
                   8091:       IFS="$lt_save_ifs"
                   8092:       ;;
                   8093:     esac
                   8094: else
                   8095:   enable_shared=yes
                   8096: fi;
                   8097: 
                   8098: 
                   8099: 
                   8100: 
                   8101: 
                   8102: 
                   8103: 
                   8104: 
1.138     moko     8105:   # Check whether --enable-static or --disable-static was given.
                   8106: if test "${enable_static+set}" = set; then
                   8107:   enableval="$enable_static"
                   8108:   p=${PACKAGE-default}
                   8109:     case $enableval in
                   8110:     yes) enable_static=yes ;;
                   8111:     no) enable_static=no ;;
                   8112:     *)
                   8113:      enable_static=no
                   8114:       # Look at the argument we got.  We use all the common list separators.
                   8115:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8116:       for pkg in $enableval; do
                   8117:        IFS="$lt_save_ifs"
                   8118:        if test "X$pkg" = "X$p"; then
                   8119:          enable_static=yes
                   8120:        fi
                   8121:       done
                   8122:       IFS="$lt_save_ifs"
                   8123:       ;;
                   8124:     esac
                   8125: else
                   8126:   enable_static=yes
                   8127: fi;
                   8128: 
                   8129: 
                   8130: 
                   8131: 
                   8132: 
                   8133: 
                   8134: 
1.128     moko     8135: 
                   8136: 
                   8137:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   8138: if test "${enable_fast_install+set}" = set; then
                   8139:   enableval="$enable_fast_install"
                   8140:   p=${PACKAGE-default}
                   8141:     case $enableval in
                   8142:     yes) enable_fast_install=yes ;;
                   8143:     no) enable_fast_install=no ;;
                   8144:     *)
                   8145:       enable_fast_install=no
                   8146:       # Look at the argument we got.  We use all the common list separators.
                   8147:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8148:       for pkg in $enableval; do
                   8149:        IFS="$lt_save_ifs"
                   8150:        if test "X$pkg" = "X$p"; then
                   8151:          enable_fast_install=yes
                   8152:        fi
                   8153:       done
                   8154:       IFS="$lt_save_ifs"
                   8155:       ;;
                   8156:     esac
                   8157: else
                   8158:   enable_fast_install=yes
                   8159: fi;
                   8160: 
                   8161: 
                   8162: 
                   8163: 
                   8164: 
                   8165: 
                   8166: 
                   8167: 
                   8168: 
                   8169: 
                   8170: # This can be used to rebuild libtool when needed
                   8171: LIBTOOL_DEPS="$ltmain"
                   8172: 
                   8173: # Always use our own libtool.
                   8174: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8175: 
                   8176: 
                   8177: 
                   8178: 
                   8179: 
                   8180: 
                   8181: 
                   8182: 
                   8183: 
                   8184: 
                   8185: 
                   8186: 
                   8187: 
                   8188: 
                   8189: 
                   8190: 
                   8191: 
                   8192: 
                   8193: 
                   8194: 
                   8195: 
                   8196: 
                   8197: 
                   8198: 
                   8199: 
                   8200: 
                   8201: 
                   8202: 
                   8203: 
                   8204: 
                   8205: test -z "$LN_S" && LN_S="ln -s"
                   8206: 
                   8207: 
                   8208: 
                   8209: 
                   8210: 
                   8211: 
                   8212: 
                   8213: 
                   8214: 
                   8215: 
                   8216: 
                   8217: 
                   8218: 
                   8219: 
                   8220: if test -n "${ZSH_VERSION+set}" ; then
                   8221:    setopt NO_GLOB_SUBST
                   8222: fi
                   8223: 
                   8224: echo "$as_me:$LINENO: checking for objdir" >&5
                   8225: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   8226: if test "${lt_cv_objdir+set}" = set; then
                   8227:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8228: else
                   8229:   rm -f .libs 2>/dev/null
                   8230: mkdir .libs 2>/dev/null
                   8231: if test -d .libs; then
                   8232:   lt_cv_objdir=.libs
                   8233: else
                   8234:   # MS-DOS does not allow filenames that begin with a dot.
                   8235:   lt_cv_objdir=_libs
                   8236: fi
                   8237: rmdir .libs 2>/dev/null
                   8238: fi
                   8239: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   8240: echo "${ECHO_T}$lt_cv_objdir" >&6
                   8241: objdir=$lt_cv_objdir
                   8242: 
                   8243: 
                   8244: 
                   8245: 
                   8246: 
                   8247: cat >>confdefs.h <<_ACEOF
                   8248: #define LT_OBJDIR "$lt_cv_objdir/"
                   8249: _ACEOF
                   8250: 
                   8251: 
                   8252: 
                   8253: 
                   8254: case $host_os in
                   8255: aix3*)
                   8256:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8257:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8258:   # vanish in a puff of smoke.
                   8259:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8260:     COLLECT_NAMES=
                   8261:     export COLLECT_NAMES
                   8262:   fi
                   8263:   ;;
                   8264: esac
                   8265: 
                   8266: # Global variables:
                   8267: ofile=libtool
                   8268: can_build_shared=yes
                   8269: 
                   8270: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8271: # which needs '.lib').
                   8272: libext=a
                   8273: 
                   8274: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   8275: 
                   8276: old_CC="$CC"
                   8277: old_CFLAGS="$CFLAGS"
                   8278: 
                   8279: # Set sane defaults for various variables
                   8280: test -z "$CC" && CC=cc
                   8281: test -z "$LTCC" && LTCC=$CC
                   8282: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8283: test -z "$LD" && LD=ld
                   8284: test -z "$ac_objext" && ac_objext=o
                   8285: 
                   8286: for cc_temp in $compiler""; do
                   8287:   case $cc_temp in
                   8288:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8289:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8290:     \-*) ;;
                   8291:     *) break;;
                   8292:   esac
                   8293: done
                   8294: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   8295: 
                   8296: 
                   8297: # Only perform the check for file, if the check method requires it
                   8298: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8299: case $deplibs_check_method in
                   8300: file_magic*)
                   8301:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8302:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   8303: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   8304: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8305:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8306: else
                   8307:   case $MAGIC_CMD in
                   8308: [\\/*] |  ?:[\\/]*)
                   8309:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8310:   ;;
                   8311: *)
                   8312:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8313:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8314:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8315:   for ac_dir in $ac_dummy; do
                   8316:     IFS="$lt_save_ifs"
                   8317:     test -z "$ac_dir" && ac_dir=.
                   8318:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8319:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8320:       if test -n "$file_magic_test_file"; then
                   8321:        case $deplibs_check_method in
                   8322:        "file_magic "*)
                   8323:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8324:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8325:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8326:            $EGREP "$file_magic_regex" > /dev/null; then
                   8327:            :
                   8328:          else
                   8329:            cat <<_LT_EOF 1>&2
                   8330: 
                   8331: *** Warning: the command libtool uses to detect shared libraries,
                   8332: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8333: *** The result is that libtool may fail to recognize shared libraries
                   8334: *** as such.  This will affect the creation of libtool libraries that
                   8335: *** depend on shared libraries, but programs linked with such libtool
                   8336: *** libraries will work regardless of this problem.  Nevertheless, you
                   8337: *** may want to report the problem to your system manager and/or to
                   8338: *** bug-libtool@gnu.org
                   8339: 
                   8340: _LT_EOF
                   8341:          fi ;;
                   8342:        esac
                   8343:       fi
                   8344:       break
                   8345:     fi
                   8346:   done
                   8347:   IFS="$lt_save_ifs"
                   8348:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8349:   ;;
                   8350: esac
                   8351: fi
                   8352: 
                   8353: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8354: if test -n "$MAGIC_CMD"; then
                   8355:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8356: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8357: else
                   8358:   echo "$as_me:$LINENO: result: no" >&5
                   8359: echo "${ECHO_T}no" >&6
                   8360: fi
                   8361: 
                   8362: 
                   8363: 
                   8364: 
                   8365: 
                   8366: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8367:   if test -n "$ac_tool_prefix"; then
                   8368:     echo "$as_me:$LINENO: checking for file" >&5
                   8369: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   8370: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8371:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8372: else
                   8373:   case $MAGIC_CMD in
                   8374: [\\/*] |  ?:[\\/]*)
                   8375:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8376:   ;;
                   8377: *)
                   8378:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8379:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8380:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8381:   for ac_dir in $ac_dummy; do
                   8382:     IFS="$lt_save_ifs"
                   8383:     test -z "$ac_dir" && ac_dir=.
                   8384:     if test -f $ac_dir/file; then
                   8385:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8386:       if test -n "$file_magic_test_file"; then
                   8387:        case $deplibs_check_method in
                   8388:        "file_magic "*)
                   8389:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8390:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8391:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8392:            $EGREP "$file_magic_regex" > /dev/null; then
                   8393:            :
                   8394:          else
                   8395:            cat <<_LT_EOF 1>&2
                   8396: 
                   8397: *** Warning: the command libtool uses to detect shared libraries,
                   8398: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8399: *** The result is that libtool may fail to recognize shared libraries
                   8400: *** as such.  This will affect the creation of libtool libraries that
                   8401: *** depend on shared libraries, but programs linked with such libtool
                   8402: *** libraries will work regardless of this problem.  Nevertheless, you
                   8403: *** may want to report the problem to your system manager and/or to
                   8404: *** bug-libtool@gnu.org
                   8405: 
                   8406: _LT_EOF
                   8407:          fi ;;
                   8408:        esac
                   8409:       fi
                   8410:       break
                   8411:     fi
                   8412:   done
                   8413:   IFS="$lt_save_ifs"
                   8414:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8415:   ;;
                   8416: esac
                   8417: fi
                   8418: 
                   8419: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8420: if test -n "$MAGIC_CMD"; then
                   8421:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8422: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8423: else
                   8424:   echo "$as_me:$LINENO: result: no" >&5
                   8425: echo "${ECHO_T}no" >&6
                   8426: fi
                   8427: 
                   8428: 
                   8429:   else
                   8430:     MAGIC_CMD=:
                   8431:   fi
                   8432: fi
                   8433: 
                   8434:   fi
                   8435:   ;;
                   8436: esac
                   8437: 
                   8438: # Use C for the default configuration in the libtool script
                   8439: 
                   8440: lt_save_CC="$CC"
                   8441: ac_ext=c
                   8442: ac_cpp='$CPP $CPPFLAGS'
                   8443: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8444: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8445: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8446: 
                   8447: 
                   8448: # Source file extension for C test sources.
                   8449: ac_ext=c
                   8450: 
                   8451: # Object file extension for compiled C test sources.
                   8452: objext=o
                   8453: objext=$objext
                   8454: 
                   8455: # Code to be used in simple compile tests
                   8456: lt_simple_compile_test_code="int some_variable = 0;"
                   8457: 
                   8458: # Code to be used in simple link tests
                   8459: lt_simple_link_test_code='int main(){return(0);}'
                   8460: 
                   8461: 
                   8462: 
                   8463: 
                   8464: 
                   8465: 
                   8466: 
                   8467: # If no C compiler was specified, use CC.
                   8468: LTCC=${LTCC-"$CC"}
                   8469: 
                   8470: # If no C compiler flags were specified, use CFLAGS.
                   8471: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8472: 
                   8473: # Allow CC to be a program name with arguments.
                   8474: compiler=$CC
                   8475: 
                   8476: # Save the default compiler, since it gets overwritten when the other
                   8477: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8478: compiler_DEFAULT=$CC
                   8479: 
                   8480: # save warnings/boilerplate of simple test code
                   8481: ac_outfile=conftest.$ac_objext
                   8482: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8483: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8484: _lt_compiler_boilerplate=`cat conftest.err`
                   8485: $RM conftest*
                   8486: 
                   8487: ac_outfile=conftest.$ac_objext
                   8488: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8489: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8490: _lt_linker_boilerplate=`cat conftest.err`
                   8491: $RM -r conftest*
                   8492: 
                   8493: 
                   8494: ## CAVEAT EMPTOR:
                   8495: ## There is no encapsulation within the following macros, do not change
                   8496: ## the running order or otherwise move them around unless you know exactly
                   8497: ## what you are doing...
                   8498: if test -n "$compiler"; then
                   8499: 
                   8500: lt_prog_compiler_no_builtin_flag=
                   8501: 
                   8502: if test "$GCC" = yes; then
                   8503:   case $cc_basename in
                   8504:   nvcc*)
                   8505:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8506:   *)
                   8507:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8508:   esac
                   8509: 
                   8510:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8511: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   8512: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
                   8513:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8514: else
                   8515:   lt_cv_prog_compiler_rtti_exceptions=no
                   8516:    ac_outfile=conftest.$ac_objext
                   8517:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8518:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8519:    # Insert the option either (1) after the last *FLAGS variable, or
                   8520:    # (2) before a word containing "conftest.", or (3) at the end.
                   8521:    # Note that $ac_compile itself does not contain backslashes and begins
                   8522:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8523:    # The option is referenced via a variable to avoid confusing sed.
                   8524:    lt_compile=`echo "$ac_compile" | $SED \
                   8525:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8526:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8527:    -e 's:$: $lt_compiler_flag:'`
                   8528:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8529:    (eval "$lt_compile" 2>conftest.err)
                   8530:    ac_status=$?
                   8531:    cat conftest.err >&5
                   8532:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8533:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8534:      # The compiler can only warn and ignore the option if not recognized
                   8535:      # So say no if there are warnings other than the usual output.
                   8536:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8537:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8538:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8539:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8540:      fi
                   8541:    fi
                   8542:    $RM conftest*
                   8543: 
                   8544: fi
                   8545: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8546: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
                   8547: 
                   8548: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8549:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8550: else
                   8551:     :
                   8552: fi
                   8553: 
                   8554: fi
                   8555: 
                   8556: 
                   8557: 
                   8558: 
                   8559: 
                   8560: 
                   8561:   lt_prog_compiler_wl=
                   8562: lt_prog_compiler_pic=
                   8563: lt_prog_compiler_static=
                   8564: 
                   8565: 
                   8566:   if test "$GCC" = yes; then
                   8567:     lt_prog_compiler_wl='-Wl,'
                   8568:     lt_prog_compiler_static='-static'
                   8569: 
                   8570:     case $host_os in
                   8571:       aix*)
                   8572:       # All AIX code is PIC.
                   8573:       if test "$host_cpu" = ia64; then
                   8574:        # AIX 5 now supports IA64 processor
                   8575:        lt_prog_compiler_static='-Bstatic'
                   8576:       fi
                   8577:       ;;
                   8578: 
                   8579:     amigaos*)
                   8580:       case $host_cpu in
                   8581:       powerpc)
                   8582:             # see comment about AmigaOS4 .so support
                   8583:             lt_prog_compiler_pic='-fPIC'
                   8584:         ;;
                   8585:       m68k)
                   8586:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8587:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8588:             # like `-m68040'.
                   8589:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8590:         ;;
                   8591:       esac
                   8592:       ;;
                   8593: 
                   8594:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8595:       # PIC is the default for these OSes.
                   8596:       ;;
                   8597: 
                   8598:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8599:       # This hack is so that the source file can tell whether it is being
                   8600:       # built for inclusion in a dll (and should export symbols for example).
                   8601:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8602:       # (--disable-auto-import) libraries
                   8603:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8604:       ;;
                   8605: 
                   8606:     darwin* | rhapsody*)
                   8607:       # PIC is the default on this platform
                   8608:       # Common symbols not allowed in MH_DYLIB files
                   8609:       lt_prog_compiler_pic='-fno-common'
                   8610:       ;;
                   8611: 
                   8612:     haiku*)
                   8613:       # PIC is the default for Haiku.
                   8614:       # The "-static" flag exists, but is broken.
                   8615:       lt_prog_compiler_static=
                   8616:       ;;
                   8617: 
                   8618:     hpux*)
                   8619:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8620:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8621:       # sets the default TLS model and affects inlining.
                   8622:       case $host_cpu in
                   8623:       hppa*64*)
                   8624:        # +Z the default
                   8625:        ;;
                   8626:       *)
                   8627:        lt_prog_compiler_pic='-fPIC'
                   8628:        ;;
                   8629:       esac
                   8630:       ;;
                   8631: 
                   8632:     interix[3-9]*)
                   8633:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8634:       # Instead, we relocate shared libraries at runtime.
                   8635:       ;;
                   8636: 
                   8637:     msdosdjgpp*)
                   8638:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8639:       # on systems that don't support them.
                   8640:       lt_prog_compiler_can_build_shared=no
                   8641:       enable_shared=no
                   8642:       ;;
                   8643: 
                   8644:     *nto* | *qnx*)
                   8645:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8646:       # it will coredump.
                   8647:       lt_prog_compiler_pic='-fPIC -shared'
                   8648:       ;;
                   8649: 
                   8650:     sysv4*MP*)
                   8651:       if test -d /usr/nec; then
                   8652:        lt_prog_compiler_pic=-Kconform_pic
                   8653:       fi
                   8654:       ;;
                   8655: 
                   8656:     *)
                   8657:       lt_prog_compiler_pic='-fPIC'
                   8658:       ;;
                   8659:     esac
                   8660: 
                   8661:     case $cc_basename in
                   8662:     nvcc*) # Cuda Compiler Driver 2.2
                   8663:       lt_prog_compiler_wl='-Xlinker '
                   8664:       if test -n "$lt_prog_compiler_pic"; then
                   8665:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8666:       fi
                   8667:       ;;
                   8668:     esac
                   8669:   else
                   8670:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8671:     case $host_os in
                   8672:     aix*)
                   8673:       lt_prog_compiler_wl='-Wl,'
                   8674:       if test "$host_cpu" = ia64; then
                   8675:        # AIX 5 now supports IA64 processor
                   8676:        lt_prog_compiler_static='-Bstatic'
                   8677:       else
                   8678:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8679:       fi
                   8680:       ;;
                   8681: 
                   8682:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8683:       # This hack is so that the source file can tell whether it is being
                   8684:       # built for inclusion in a dll (and should export symbols for example).
                   8685:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8686:       ;;
                   8687: 
                   8688:     hpux9* | hpux10* | hpux11*)
                   8689:       lt_prog_compiler_wl='-Wl,'
                   8690:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8691:       # not for PA HP-UX.
                   8692:       case $host_cpu in
                   8693:       hppa*64*|ia64*)
                   8694:        # +Z the default
                   8695:        ;;
                   8696:       *)
                   8697:        lt_prog_compiler_pic='+Z'
                   8698:        ;;
                   8699:       esac
                   8700:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8701:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8702:       ;;
                   8703: 
                   8704:     irix5* | irix6* | nonstopux*)
                   8705:       lt_prog_compiler_wl='-Wl,'
                   8706:       # PIC (with -KPIC) is the default.
                   8707:       lt_prog_compiler_static='-non_shared'
                   8708:       ;;
                   8709: 
                   8710:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8711:       case $cc_basename in
                   8712:       # old Intel for x86_64 which still supported -KPIC.
                   8713:       ecc*)
                   8714:        lt_prog_compiler_wl='-Wl,'
                   8715:        lt_prog_compiler_pic='-KPIC'
                   8716:        lt_prog_compiler_static='-static'
                   8717:         ;;
                   8718:       # icc used to be incompatible with GCC.
                   8719:       # ICC 10 doesn't accept -KPIC any more.
                   8720:       icc* | ifort*)
                   8721:        lt_prog_compiler_wl='-Wl,'
                   8722:        lt_prog_compiler_pic='-fPIC'
                   8723:        lt_prog_compiler_static='-static'
                   8724:         ;;
                   8725:       # Lahey Fortran 8.1.
                   8726:       lf95*)
                   8727:        lt_prog_compiler_wl='-Wl,'
                   8728:        lt_prog_compiler_pic='--shared'
                   8729:        lt_prog_compiler_static='--static'
                   8730:        ;;
                   8731:       nagfor*)
                   8732:        # NAG Fortran compiler
                   8733:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8734:        lt_prog_compiler_pic='-PIC'
                   8735:        lt_prog_compiler_static='-Bstatic'
                   8736:        ;;
                   8737:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8738:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8739:        # which looks to be a dead project)
                   8740:        lt_prog_compiler_wl='-Wl,'
                   8741:        lt_prog_compiler_pic='-fpic'
                   8742:        lt_prog_compiler_static='-Bstatic'
                   8743:         ;;
                   8744:       ccc*)
                   8745:         lt_prog_compiler_wl='-Wl,'
                   8746:         # All Alpha code is PIC.
                   8747:         lt_prog_compiler_static='-non_shared'
                   8748:         ;;
                   8749:       xl* | bgxl* | bgf* | mpixl*)
                   8750:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8751:        lt_prog_compiler_wl='-Wl,'
                   8752:        lt_prog_compiler_pic='-qpic'
                   8753:        lt_prog_compiler_static='-qstaticlink'
                   8754:        ;;
                   8755:       *)
                   8756:        case `$CC -V 2>&1 | sed 5q` in
                   8757:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8758:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8759:          lt_prog_compiler_pic='-KPIC'
                   8760:          lt_prog_compiler_static='-Bstatic'
                   8761:          lt_prog_compiler_wl=''
                   8762:          ;;
                   8763:        *Sun\ F* | *Sun*Fortran*)
                   8764:          lt_prog_compiler_pic='-KPIC'
                   8765:          lt_prog_compiler_static='-Bstatic'
                   8766:          lt_prog_compiler_wl='-Qoption ld '
                   8767:          ;;
                   8768:        *Sun\ C*)
                   8769:          # Sun C 5.9
                   8770:          lt_prog_compiler_pic='-KPIC'
                   8771:          lt_prog_compiler_static='-Bstatic'
                   8772:          lt_prog_compiler_wl='-Wl,'
                   8773:          ;;
                   8774:         *Intel*\ [CF]*Compiler*)
                   8775:          lt_prog_compiler_wl='-Wl,'
                   8776:          lt_prog_compiler_pic='-fPIC'
                   8777:          lt_prog_compiler_static='-static'
                   8778:          ;;
                   8779:        *Portland\ Group*)
                   8780:          lt_prog_compiler_wl='-Wl,'
                   8781:          lt_prog_compiler_pic='-fpic'
                   8782:          lt_prog_compiler_static='-Bstatic'
                   8783:          ;;
                   8784:        esac
                   8785:        ;;
                   8786:       esac
                   8787:       ;;
                   8788: 
                   8789:     newsos6)
                   8790:       lt_prog_compiler_pic='-KPIC'
                   8791:       lt_prog_compiler_static='-Bstatic'
                   8792:       ;;
                   8793: 
                   8794:     *nto* | *qnx*)
                   8795:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8796:       # it will coredump.
                   8797:       lt_prog_compiler_pic='-fPIC -shared'
                   8798:       ;;
                   8799: 
                   8800:     osf3* | osf4* | osf5*)
                   8801:       lt_prog_compiler_wl='-Wl,'
                   8802:       # All OSF/1 code is PIC.
                   8803:       lt_prog_compiler_static='-non_shared'
                   8804:       ;;
                   8805: 
                   8806:     rdos*)
                   8807:       lt_prog_compiler_static='-non_shared'
                   8808:       ;;
                   8809: 
                   8810:     solaris*)
                   8811:       lt_prog_compiler_pic='-KPIC'
                   8812:       lt_prog_compiler_static='-Bstatic'
                   8813:       case $cc_basename in
                   8814:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8815:        lt_prog_compiler_wl='-Qoption ld ';;
                   8816:       *)
                   8817:        lt_prog_compiler_wl='-Wl,';;
                   8818:       esac
                   8819:       ;;
                   8820: 
                   8821:     sunos4*)
                   8822:       lt_prog_compiler_wl='-Qoption ld '
                   8823:       lt_prog_compiler_pic='-PIC'
                   8824:       lt_prog_compiler_static='-Bstatic'
                   8825:       ;;
                   8826: 
                   8827:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8828:       lt_prog_compiler_wl='-Wl,'
                   8829:       lt_prog_compiler_pic='-KPIC'
                   8830:       lt_prog_compiler_static='-Bstatic'
                   8831:       ;;
                   8832: 
                   8833:     sysv4*MP*)
                   8834:       if test -d /usr/nec ;then
                   8835:        lt_prog_compiler_pic='-Kconform_pic'
                   8836:        lt_prog_compiler_static='-Bstatic'
                   8837:       fi
                   8838:       ;;
                   8839: 
                   8840:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8841:       lt_prog_compiler_wl='-Wl,'
                   8842:       lt_prog_compiler_pic='-KPIC'
                   8843:       lt_prog_compiler_static='-Bstatic'
                   8844:       ;;
                   8845: 
                   8846:     unicos*)
                   8847:       lt_prog_compiler_wl='-Wl,'
                   8848:       lt_prog_compiler_can_build_shared=no
                   8849:       ;;
                   8850: 
                   8851:     uts4*)
                   8852:       lt_prog_compiler_pic='-pic'
                   8853:       lt_prog_compiler_static='-Bstatic'
                   8854:       ;;
                   8855: 
                   8856:     *)
                   8857:       lt_prog_compiler_can_build_shared=no
                   8858:       ;;
                   8859:     esac
                   8860:   fi
                   8861: 
                   8862: case $host_os in
                   8863:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8864:   *djgpp*)
                   8865:     lt_prog_compiler_pic=
                   8866:     ;;
                   8867:   *)
                   8868:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8869:     ;;
                   8870: esac
                   8871: 
                   8872: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   8873: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   8874: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   8875:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8876: else
                   8877:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8878: fi
                   8879: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   8880: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
                   8881: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8882: 
                   8883: #
                   8884: # Check to make sure the PIC flag actually works.
                   8885: #
                   8886: if test -n "$lt_prog_compiler_pic"; then
                   8887:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8888: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   8889: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
                   8890:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8891: else
                   8892:   lt_cv_prog_compiler_pic_works=no
                   8893:    ac_outfile=conftest.$ac_objext
                   8894:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8895:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8896:    # Insert the option either (1) after the last *FLAGS variable, or
                   8897:    # (2) before a word containing "conftest.", or (3) at the end.
                   8898:    # Note that $ac_compile itself does not contain backslashes and begins
                   8899:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8900:    # The option is referenced via a variable to avoid confusing sed.
                   8901:    lt_compile=`echo "$ac_compile" | $SED \
                   8902:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8903:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8904:    -e 's:$: $lt_compiler_flag:'`
                   8905:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8906:    (eval "$lt_compile" 2>conftest.err)
                   8907:    ac_status=$?
                   8908:    cat conftest.err >&5
                   8909:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8910:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8911:      # The compiler can only warn and ignore the option if not recognized
                   8912:      # So say no if there are warnings other than the usual output.
                   8913:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8914:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8915:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8916:        lt_cv_prog_compiler_pic_works=yes
                   8917:      fi
                   8918:    fi
                   8919:    $RM conftest*
                   8920: 
                   8921: fi
                   8922: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   8923: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
                   8924: 
                   8925: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8926:     case $lt_prog_compiler_pic in
                   8927:      "" | " "*) ;;
                   8928:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8929:      esac
                   8930: else
                   8931:     lt_prog_compiler_pic=
                   8932:      lt_prog_compiler_can_build_shared=no
                   8933: fi
                   8934: 
                   8935: fi
                   8936: 
                   8937: 
                   8938: 
                   8939: 
                   8940: 
                   8941: 
                   8942: 
                   8943: 
                   8944: 
                   8945: 
                   8946: 
                   8947: #
                   8948: # Check to make sure the static flag actually works.
                   8949: #
                   8950: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8951: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8952: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8953: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8954:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8955: else
                   8956:   lt_cv_prog_compiler_static_works=no
                   8957:    save_LDFLAGS="$LDFLAGS"
                   8958:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8959:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8960:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8961:      # The linker can only warn and ignore the option if not recognized
                   8962:      # So say no if there are warnings
                   8963:      if test -s conftest.err; then
                   8964:        # Append any errors to the config.log.
                   8965:        cat conftest.err 1>&5
                   8966:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8967:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8968:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8969:          lt_cv_prog_compiler_static_works=yes
                   8970:        fi
                   8971:      else
                   8972:        lt_cv_prog_compiler_static_works=yes
                   8973:      fi
                   8974:    fi
                   8975:    $RM -r conftest*
                   8976:    LDFLAGS="$save_LDFLAGS"
                   8977: 
                   8978: fi
                   8979: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8980: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
                   8981: 
                   8982: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8983:     :
                   8984: else
                   8985:     lt_prog_compiler_static=
                   8986: fi
                   8987: 
                   8988: 
                   8989: 
                   8990: 
                   8991: 
                   8992: 
                   8993: 
                   8994:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8995: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8996: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8997:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8998: else
                   8999:   lt_cv_prog_compiler_c_o=no
                   9000:    $RM -r conftest 2>/dev/null
                   9001:    mkdir conftest
                   9002:    cd conftest
                   9003:    mkdir out
                   9004:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9005: 
                   9006:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9007:    # Insert the option either (1) after the last *FLAGS variable, or
                   9008:    # (2) before a word containing "conftest.", or (3) at the end.
                   9009:    # Note that $ac_compile itself does not contain backslashes and begins
                   9010:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9011:    lt_compile=`echo "$ac_compile" | $SED \
                   9012:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9013:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9014:    -e 's:$: $lt_compiler_flag:'`
                   9015:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9016:    (eval "$lt_compile" 2>out/conftest.err)
                   9017:    ac_status=$?
                   9018:    cat out/conftest.err >&5
                   9019:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9020:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9021:    then
                   9022:      # The compiler can only warn and ignore the option if not recognized
                   9023:      # So say no if there are warnings
                   9024:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9025:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9026:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9027:        lt_cv_prog_compiler_c_o=yes
                   9028:      fi
                   9029:    fi
                   9030:    chmod u+w . 2>&5
                   9031:    $RM conftest*
                   9032:    # SGI C++ compiler will create directory out/ii_files/ for
                   9033:    # template instantiation
                   9034:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9035:    $RM out/* && rmdir out
                   9036:    cd ..
                   9037:    $RM -r conftest
                   9038:    $RM conftest*
                   9039: 
                   9040: fi
                   9041: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   9042: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   9043: 
                   9044: 
                   9045: 
                   9046: 
                   9047: 
                   9048: 
                   9049:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9050: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   9051: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   9052:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9053: else
                   9054:   lt_cv_prog_compiler_c_o=no
                   9055:    $RM -r conftest 2>/dev/null
                   9056:    mkdir conftest
                   9057:    cd conftest
                   9058:    mkdir out
                   9059:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9060: 
                   9061:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9062:    # Insert the option either (1) after the last *FLAGS variable, or
                   9063:    # (2) before a word containing "conftest.", or (3) at the end.
                   9064:    # Note that $ac_compile itself does not contain backslashes and begins
                   9065:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9066:    lt_compile=`echo "$ac_compile" | $SED \
                   9067:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9068:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9069:    -e 's:$: $lt_compiler_flag:'`
                   9070:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9071:    (eval "$lt_compile" 2>out/conftest.err)
                   9072:    ac_status=$?
                   9073:    cat out/conftest.err >&5
                   9074:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9075:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9076:    then
                   9077:      # The compiler can only warn and ignore the option if not recognized
                   9078:      # So say no if there are warnings
                   9079:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9080:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9081:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9082:        lt_cv_prog_compiler_c_o=yes
                   9083:      fi
                   9084:    fi
                   9085:    chmod u+w . 2>&5
                   9086:    $RM conftest*
                   9087:    # SGI C++ compiler will create directory out/ii_files/ for
                   9088:    # template instantiation
                   9089:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9090:    $RM out/* && rmdir out
                   9091:    cd ..
                   9092:    $RM -r conftest
                   9093:    $RM conftest*
                   9094: 
                   9095: fi
                   9096: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   9097: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   9098: 
                   9099: 
                   9100: 
                   9101: 
                   9102: hard_links="nottested"
                   9103: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9104:   # do not overwrite the value of need_locks provided by the user
                   9105:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   9106: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   9107:   hard_links=yes
                   9108:   $RM conftest*
                   9109:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9110:   touch conftest.a
                   9111:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9112:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9113:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   9114: echo "${ECHO_T}$hard_links" >&6
                   9115:   if test "$hard_links" = no; then
                   9116:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9117: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   9118:     need_locks=warn
                   9119:   fi
                   9120: else
                   9121:   need_locks=no
                   9122: fi
                   9123: 
                   9124: 
                   9125: 
                   9126: 
                   9127: 
                   9128: 
                   9129:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9130: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   9131: 
                   9132:   runpath_var=
                   9133:   allow_undefined_flag=
                   9134:   always_export_symbols=no
                   9135:   archive_cmds=
                   9136:   archive_expsym_cmds=
                   9137:   compiler_needs_object=no
                   9138:   enable_shared_with_static_runtimes=no
                   9139:   export_dynamic_flag_spec=
                   9140:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9141:   hardcode_automatic=no
                   9142:   hardcode_direct=no
                   9143:   hardcode_direct_absolute=no
                   9144:   hardcode_libdir_flag_spec=
                   9145:   hardcode_libdir_separator=
                   9146:   hardcode_minus_L=no
                   9147:   hardcode_shlibpath_var=unsupported
                   9148:   inherit_rpath=no
                   9149:   link_all_deplibs=unknown
                   9150:   module_cmds=
                   9151:   module_expsym_cmds=
                   9152:   old_archive_from_new_cmds=
                   9153:   old_archive_from_expsyms_cmds=
                   9154:   thread_safe_flag_spec=
                   9155:   whole_archive_flag_spec=
                   9156:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9157:   # included in the symbol list
                   9158:   include_expsyms=
                   9159:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9160:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9161:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9162:   # as well as any symbol that contains `d'.
                   9163:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9164:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9165:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9166:   # the symbol is explicitly referenced.  Since portable code cannot
                   9167:   # rely on this symbol name, it's probably fine to never include it in
                   9168:   # preloaded symbol tables.
                   9169:   # Exclude shared library initialization/finalization symbols.
                   9170:   extract_expsyms_cmds=
                   9171: 
                   9172:   case $host_os in
                   9173:   cygwin* | mingw* | pw32* | cegcc*)
                   9174:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9175:     # When not using gcc, we currently assume that we are using
                   9176:     # Microsoft Visual C++.
                   9177:     if test "$GCC" != yes; then
                   9178:       with_gnu_ld=no
                   9179:     fi
                   9180:     ;;
                   9181:   interix*)
                   9182:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9183:     with_gnu_ld=yes
                   9184:     ;;
                   9185:   openbsd*)
                   9186:     with_gnu_ld=no
                   9187:     ;;
                   9188:   esac
                   9189: 
                   9190:   ld_shlibs=yes
                   9191: 
                   9192:   # On some targets, GNU ld is compatible enough with the native linker
                   9193:   # that we're better off using the native interface for both.
                   9194:   lt_use_gnu_ld_interface=no
                   9195:   if test "$with_gnu_ld" = yes; then
                   9196:     case $host_os in
                   9197:       aix*)
                   9198:        # The AIX port of GNU ld has always aspired to compatibility
                   9199:        # with the native linker.  However, as the warning in the GNU ld
                   9200:        # block says, versions before 2.19.5* couldn't really create working
                   9201:        # shared libraries, regardless of the interface used.
                   9202:        case `$LD -v 2>&1` in
                   9203:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9204:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9205:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9206:          *)
                   9207:            lt_use_gnu_ld_interface=yes
                   9208:            ;;
                   9209:        esac
                   9210:        ;;
                   9211:       *)
                   9212:        lt_use_gnu_ld_interface=yes
                   9213:        ;;
                   9214:     esac
                   9215:   fi
                   9216: 
                   9217:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9218:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9219:     wlarc='${wl}'
                   9220: 
                   9221:     # Set some defaults for GNU ld with shared library support. These
                   9222:     # are reset later if shared libraries are not supported. Putting them
                   9223:     # here allows them to be overridden if necessary.
                   9224:     runpath_var=LD_RUN_PATH
                   9225:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9226:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9227:     # ancient GNU ld didn't support --whole-archive et. al.
                   9228:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9229:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9230:     else
                   9231:       whole_archive_flag_spec=
                   9232:     fi
                   9233:     supports_anon_versioning=no
                   9234:     case `$LD -v 2>&1` in
                   9235:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9236:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9237:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9238:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9239:       *\ 2.11.*) ;; # other 2.11 versions
                   9240:       *) supports_anon_versioning=yes ;;
                   9241:     esac
                   9242: 
                   9243:     # See if GNU ld supports shared libraries.
                   9244:     case $host_os in
                   9245:     aix[3-9]*)
                   9246:       # On AIX/PPC, the GNU linker is very broken
                   9247:       if test "$host_cpu" != ia64; then
                   9248:        ld_shlibs=no
                   9249:        cat <<_LT_EOF 1>&2
                   9250: 
                   9251: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9252: *** to be unable to reliably create shared libraries on AIX.
                   9253: *** Therefore, libtool is disabling shared libraries support.  If you
                   9254: *** really care for shared libraries, you may want to install binutils
                   9255: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9256: *** You will then need to restart the configuration process.
                   9257: 
                   9258: _LT_EOF
                   9259:       fi
                   9260:       ;;
                   9261: 
                   9262:     amigaos*)
                   9263:       case $host_cpu in
                   9264:       powerpc)
                   9265:             # see comment about AmigaOS4 .so support
                   9266:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9267:             archive_expsym_cmds=''
                   9268:         ;;
                   9269:       m68k)
                   9270:             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)'
                   9271:             hardcode_libdir_flag_spec='-L$libdir'
                   9272:             hardcode_minus_L=yes
                   9273:         ;;
                   9274:       esac
                   9275:       ;;
                   9276: 
                   9277:     beos*)
                   9278:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9279:        allow_undefined_flag=unsupported
                   9280:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9281:        # support --undefined.  This deserves some investigation.  FIXME
                   9282:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9283:       else
                   9284:        ld_shlibs=no
                   9285:       fi
                   9286:       ;;
                   9287: 
                   9288:     cygwin* | mingw* | pw32* | cegcc*)
                   9289:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9290:       # as there is no search path for DLLs.
                   9291:       hardcode_libdir_flag_spec='-L$libdir'
                   9292:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9293:       allow_undefined_flag=unsupported
                   9294:       always_export_symbols=no
                   9295:       enable_shared_with_static_runtimes=yes
                   9296:       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'
                   9297:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9298: 
                   9299:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9300:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9301:        # If the export-symbols file already is a .def file (1st line
                   9302:        # is EXPORTS), use it as is; otherwise, prepend...
                   9303:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9304:          cp $export_symbols $output_objdir/$soname.def;
                   9305:        else
                   9306:          echo EXPORTS > $output_objdir/$soname.def;
                   9307:          cat $export_symbols >> $output_objdir/$soname.def;
                   9308:        fi~
                   9309:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9310:       else
                   9311:        ld_shlibs=no
                   9312:       fi
                   9313:       ;;
                   9314: 
                   9315:     haiku*)
                   9316:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9317:       link_all_deplibs=yes
                   9318:       ;;
                   9319: 
                   9320:     interix[3-9]*)
                   9321:       hardcode_direct=no
                   9322:       hardcode_shlibpath_var=no
                   9323:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9324:       export_dynamic_flag_spec='${wl}-E'
                   9325:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9326:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9327:       # default) and relocated if they conflict, which is a slow very memory
                   9328:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9329:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9330:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9331:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9332:       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'
                   9333:       ;;
                   9334: 
                   9335:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9336:       tmp_diet=no
                   9337:       if test "$host_os" = linux-dietlibc; then
                   9338:        case $cc_basename in
                   9339:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9340:        esac
                   9341:       fi
                   9342:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9343:         && test "$tmp_diet" = no
                   9344:       then
                   9345:        tmp_addflag=' $pic_flag'
                   9346:        tmp_sharedflag='-shared'
                   9347:        case $cc_basename,$host_cpu in
                   9348:         pgcc*)                         # Portland Group C compiler
                   9349:          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'
                   9350:          tmp_addflag=' $pic_flag'
                   9351:          ;;
                   9352:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9353:                                        # Portland Group f77 and f90 compilers
                   9354:          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'
                   9355:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9356:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9357:          tmp_addflag=' -i_dynamic' ;;
                   9358:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9359:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9360:        ifc* | ifort*)                  # Intel Fortran compiler
                   9361:          tmp_addflag=' -nofor_main' ;;
                   9362:        lf95*)                          # Lahey Fortran 8.1
                   9363:          whole_archive_flag_spec=
                   9364:          tmp_sharedflag='--shared' ;;
                   9365:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9366:          tmp_sharedflag='-qmkshrobj'
                   9367:          tmp_addflag= ;;
                   9368:        nvcc*)  # Cuda Compiler Driver 2.2
                   9369:          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'
                   9370:          compiler_needs_object=yes
                   9371:          ;;
                   9372:        esac
                   9373:        case `$CC -V 2>&1 | sed 5q` in
                   9374:        *Sun\ C*)                       # Sun C 5.9
                   9375:          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'
                   9376:          compiler_needs_object=yes
                   9377:          tmp_sharedflag='-G' ;;
                   9378:        *Sun\ F*)                       # Sun Fortran 8.3
                   9379:          tmp_sharedflag='-G' ;;
                   9380:        esac
                   9381:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9382: 
                   9383:         if test "x$supports_anon_versioning" = xyes; then
                   9384:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9385:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9386:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9387:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9388:         fi
                   9389: 
                   9390:        case $cc_basename in
                   9391:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9392:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9393:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   9394:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9395:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9396:          if test "x$supports_anon_versioning" = xyes; then
                   9397:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9398:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9399:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9400:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9401:          fi
                   9402:          ;;
                   9403:        esac
                   9404:       else
                   9405:         ld_shlibs=no
                   9406:       fi
                   9407:       ;;
                   9408: 
                   9409:     netbsd*)
                   9410:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9411:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9412:        wlarc=
                   9413:       else
                   9414:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9415:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9416:       fi
                   9417:       ;;
                   9418: 
                   9419:     solaris*)
                   9420:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9421:        ld_shlibs=no
                   9422:        cat <<_LT_EOF 1>&2
                   9423: 
                   9424: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9425: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9426: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9427: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9428: *** your PATH or compiler configuration so that the native linker is
                   9429: *** used, and then restart.
                   9430: 
                   9431: _LT_EOF
                   9432:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9433:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9434:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9435:       else
                   9436:        ld_shlibs=no
                   9437:       fi
                   9438:       ;;
                   9439: 
                   9440:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9441:       case `$LD -v 2>&1` in
                   9442:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9443:        ld_shlibs=no
                   9444:        cat <<_LT_EOF 1>&2
                   9445: 
                   9446: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9447: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9448: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9449: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9450: *** your PATH or compiler configuration so that the native linker is
                   9451: *** used, and then restart.
                   9452: 
                   9453: _LT_EOF
                   9454:        ;;
                   9455:        *)
                   9456:          # For security reasons, it is highly recommended that you always
                   9457:          # use absolute paths for naming shared libraries, and exclude the
                   9458:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9459:          # requires that you compile everything twice, which is a pain.
                   9460:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9461:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9462:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9463:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9464:          else
                   9465:            ld_shlibs=no
                   9466:          fi
                   9467:        ;;
                   9468:       esac
                   9469:       ;;
                   9470: 
                   9471:     sunos4*)
                   9472:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9473:       wlarc=
                   9474:       hardcode_direct=yes
                   9475:       hardcode_shlibpath_var=no
                   9476:       ;;
                   9477: 
                   9478:     *)
                   9479:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9480:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9481:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9482:       else
                   9483:        ld_shlibs=no
                   9484:       fi
                   9485:       ;;
                   9486:     esac
                   9487: 
                   9488:     if test "$ld_shlibs" = no; then
                   9489:       runpath_var=
                   9490:       hardcode_libdir_flag_spec=
                   9491:       export_dynamic_flag_spec=
                   9492:       whole_archive_flag_spec=
                   9493:     fi
                   9494:   else
                   9495:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9496:     case $host_os in
                   9497:     aix3*)
                   9498:       allow_undefined_flag=unsupported
                   9499:       always_export_symbols=yes
                   9500:       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'
                   9501:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9502:       # are no directories specified by -L.
                   9503:       hardcode_minus_L=yes
                   9504:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9505:        # Neither direct hardcoding nor static linking is supported with a
                   9506:        # broken collect2.
                   9507:        hardcode_direct=unsupported
                   9508:       fi
                   9509:       ;;
                   9510: 
                   9511:     aix[4-9]*)
                   9512:       if test "$host_cpu" = ia64; then
                   9513:        # On IA64, the linker does run time linking by default, so we don't
                   9514:        # have to do anything special.
                   9515:        aix_use_runtimelinking=no
                   9516:        exp_sym_flag='-Bexport'
                   9517:        no_entry_flag=""
                   9518:       else
                   9519:        # If we're using GNU nm, then we don't want the "-C" option.
                   9520:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9521:        # Also, AIX nm treats weak defined symbols like other global
                   9522:        # defined symbols, whereas GNU nm marks them as "W".
                   9523:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9524:          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'
                   9525:        else
                   9526:          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'
                   9527:        fi
                   9528:        aix_use_runtimelinking=no
                   9529: 
                   9530:        # Test if we are trying to use run time linking or normal
                   9531:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9532:        # need to do runtime linking.
                   9533:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9534:          for ld_flag in $LDFLAGS; do
                   9535:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9536:            aix_use_runtimelinking=yes
                   9537:            break
                   9538:          fi
                   9539:          done
                   9540:          ;;
                   9541:        esac
                   9542: 
                   9543:        exp_sym_flag='-bexport'
                   9544:        no_entry_flag='-bnoentry'
                   9545:       fi
                   9546: 
                   9547:       # When large executables or shared objects are built, AIX ld can
                   9548:       # have problems creating the table of contents.  If linking a library
                   9549:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9550:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9551:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9552: 
                   9553:       archive_cmds=''
                   9554:       hardcode_direct=yes
                   9555:       hardcode_direct_absolute=yes
                   9556:       hardcode_libdir_separator=':'
                   9557:       link_all_deplibs=yes
                   9558:       file_list_spec='${wl}-f,'
                   9559: 
                   9560:       if test "$GCC" = yes; then
                   9561:        case $host_os in aix4.[012]|aix4.[012].*)
                   9562:        # We only want to do this on AIX 4.2 and lower, the check
                   9563:        # below for broken collect2 doesn't work under 4.3+
                   9564:          collect2name=`${CC} -print-prog-name=collect2`
                   9565:          if test -f "$collect2name" &&
                   9566:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9567:          then
                   9568:          # We have reworked collect2
                   9569:          :
                   9570:          else
                   9571:          # We have old collect2
                   9572:          hardcode_direct=unsupported
                   9573:          # It fails to find uninstalled libraries when the uninstalled
                   9574:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9575:          # to unsupported forces relinking
                   9576:          hardcode_minus_L=yes
                   9577:          hardcode_libdir_flag_spec='-L$libdir'
                   9578:          hardcode_libdir_separator=
                   9579:          fi
                   9580:          ;;
                   9581:        esac
                   9582:        shared_flag='-shared'
                   9583:        if test "$aix_use_runtimelinking" = yes; then
                   9584:          shared_flag="$shared_flag "'${wl}-G'
                   9585:        fi
                   9586:       else
                   9587:        # not using gcc
                   9588:        if test "$host_cpu" = ia64; then
                   9589:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9590:        # chokes on -Wl,-G. The following line is correct:
                   9591:          shared_flag='-G'
                   9592:        else
                   9593:          if test "$aix_use_runtimelinking" = yes; then
                   9594:            shared_flag='${wl}-G'
                   9595:          else
                   9596:            shared_flag='${wl}-bM:SRE'
                   9597:          fi
                   9598:        fi
                   9599:       fi
                   9600: 
                   9601:       export_dynamic_flag_spec='${wl}-bexpall'
                   9602:       # It seems that -bexpall does not export symbols beginning with
                   9603:       # underscore (_), so it is better to generate a list of symbols to export.
                   9604:       always_export_symbols=yes
                   9605:       if test "$aix_use_runtimelinking" = yes; then
                   9606:        # Warning - without using the other runtime loading flags (-brtl),
                   9607:        # -berok will link without error, but may produce a broken library.
                   9608:        allow_undefined_flag='-berok'
                   9609:         # Determine the default libpath from the value encoded in an
                   9610:         # empty executable.
                   9611:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9612:   aix_libpath=$lt_cv_aix_libpath
                   9613: else
                   9614:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9615:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9616: else
                   9617:   cat >conftest.$ac_ext <<_ACEOF
                   9618: /* confdefs.h.  */
                   9619: _ACEOF
                   9620: cat confdefs.h >>conftest.$ac_ext
                   9621: cat >>conftest.$ac_ext <<_ACEOF
                   9622: /* end confdefs.h.  */
                   9623: 
                   9624: int
                   9625: main ()
                   9626: {
                   9627: 
                   9628:   ;
                   9629:   return 0;
                   9630: }
                   9631: _ACEOF
                   9632: rm -f conftest.$ac_objext conftest$ac_exeext
                   9633: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9634:   (eval $ac_link) 2>conftest.er1
                   9635:   ac_status=$?
                   9636:   grep -v '^ *+' conftest.er1 >conftest.err
                   9637:   rm -f conftest.er1
                   9638:   cat conftest.err >&5
                   9639:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9640:   (exit $ac_status); } &&
                   9641:         { ac_try='test -z "$ac_c_werror_flag"
                   9642:                         || test ! -s conftest.err'
                   9643:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9644:   (eval $ac_try) 2>&5
                   9645:   ac_status=$?
                   9646:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9647:   (exit $ac_status); }; } &&
                   9648:         { ac_try='test -s conftest$ac_exeext'
                   9649:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9650:   (eval $ac_try) 2>&5
                   9651:   ac_status=$?
                   9652:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9653:   (exit $ac_status); }; }; then
                   9654: 
                   9655:   lt_aix_libpath_sed='
                   9656:       /Import File Strings/,/^$/ {
                   9657:          /^0/ {
                   9658:              s/^0  *\([^ ]*\) *$/\1/
                   9659:              p
                   9660:          }
                   9661:       }'
                   9662:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9663:   # Check for a 64-bit object if we didn't find anything.
                   9664:   if test -z "$lt_cv_aix_libpath_"; then
                   9665:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9666:   fi
                   9667: else
                   9668:   echo "$as_me: failed program was:" >&5
                   9669: sed 's/^/| /' conftest.$ac_ext >&5
                   9670: 
                   9671: fi
                   9672: rm -f conftest.err conftest.$ac_objext \
                   9673:       conftest$ac_exeext conftest.$ac_ext
                   9674:   if test -z "$lt_cv_aix_libpath_"; then
                   9675:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9676:   fi
                   9677: 
                   9678: fi
                   9679: 
                   9680:   aix_libpath=$lt_cv_aix_libpath_
                   9681: fi
                   9682: 
                   9683:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9684:         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"
                   9685:       else
                   9686:        if test "$host_cpu" = ia64; then
                   9687:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9688:          allow_undefined_flag="-z nodefs"
                   9689:          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"
                   9690:        else
                   9691:         # Determine the default libpath from the value encoded in an
                   9692:         # empty executable.
                   9693:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9694:   aix_libpath=$lt_cv_aix_libpath
                   9695: else
                   9696:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9697:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9698: else
                   9699:   cat >conftest.$ac_ext <<_ACEOF
                   9700: /* confdefs.h.  */
                   9701: _ACEOF
                   9702: cat confdefs.h >>conftest.$ac_ext
                   9703: cat >>conftest.$ac_ext <<_ACEOF
                   9704: /* end confdefs.h.  */
                   9705: 
                   9706: int
                   9707: main ()
                   9708: {
                   9709: 
                   9710:   ;
                   9711:   return 0;
                   9712: }
                   9713: _ACEOF
                   9714: rm -f conftest.$ac_objext conftest$ac_exeext
                   9715: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9716:   (eval $ac_link) 2>conftest.er1
                   9717:   ac_status=$?
                   9718:   grep -v '^ *+' conftest.er1 >conftest.err
                   9719:   rm -f conftest.er1
                   9720:   cat conftest.err >&5
                   9721:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9722:   (exit $ac_status); } &&
                   9723:         { ac_try='test -z "$ac_c_werror_flag"
                   9724:                         || test ! -s conftest.err'
                   9725:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9726:   (eval $ac_try) 2>&5
                   9727:   ac_status=$?
                   9728:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9729:   (exit $ac_status); }; } &&
                   9730:         { ac_try='test -s conftest$ac_exeext'
                   9731:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9732:   (eval $ac_try) 2>&5
                   9733:   ac_status=$?
                   9734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9735:   (exit $ac_status); }; }; then
                   9736: 
                   9737:   lt_aix_libpath_sed='
                   9738:       /Import File Strings/,/^$/ {
                   9739:          /^0/ {
                   9740:              s/^0  *\([^ ]*\) *$/\1/
                   9741:              p
                   9742:          }
                   9743:       }'
                   9744:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9745:   # Check for a 64-bit object if we didn't find anything.
                   9746:   if test -z "$lt_cv_aix_libpath_"; then
                   9747:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9748:   fi
                   9749: else
                   9750:   echo "$as_me: failed program was:" >&5
                   9751: sed 's/^/| /' conftest.$ac_ext >&5
                   9752: 
                   9753: fi
                   9754: rm -f conftest.err conftest.$ac_objext \
                   9755:       conftest$ac_exeext conftest.$ac_ext
                   9756:   if test -z "$lt_cv_aix_libpath_"; then
                   9757:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9758:   fi
                   9759: 
                   9760: fi
                   9761: 
                   9762:   aix_libpath=$lt_cv_aix_libpath_
                   9763: fi
                   9764: 
                   9765:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9766:          # Warning - without using the other run time loading flags,
                   9767:          # -berok will link without error, but may produce a broken library.
                   9768:          no_undefined_flag=' ${wl}-bernotok'
                   9769:          allow_undefined_flag=' ${wl}-berok'
                   9770:          if test "$with_gnu_ld" = yes; then
                   9771:            # We only use this code for GNU lds that support --whole-archive.
                   9772:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9773:          else
                   9774:            # Exported symbols can be pulled into shared objects from archives
                   9775:            whole_archive_flag_spec='$convenience'
                   9776:          fi
                   9777:          archive_cmds_need_lc=yes
                   9778:          # This is similar to how AIX traditionally builds its shared libraries.
                   9779:          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'
                   9780:        fi
                   9781:       fi
                   9782:       ;;
                   9783: 
                   9784:     amigaos*)
                   9785:       case $host_cpu in
                   9786:       powerpc)
                   9787:             # see comment about AmigaOS4 .so support
                   9788:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9789:             archive_expsym_cmds=''
                   9790:         ;;
                   9791:       m68k)
                   9792:             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)'
                   9793:             hardcode_libdir_flag_spec='-L$libdir'
                   9794:             hardcode_minus_L=yes
                   9795:         ;;
                   9796:       esac
                   9797:       ;;
                   9798: 
                   9799:     bsdi[45]*)
                   9800:       export_dynamic_flag_spec=-rdynamic
                   9801:       ;;
                   9802: 
                   9803:     cygwin* | mingw* | pw32* | cegcc*)
                   9804:       # When not using gcc, we currently assume that we are using
                   9805:       # Microsoft Visual C++.
                   9806:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9807:       # no search path for DLLs.
                   9808:       case $cc_basename in
                   9809:       cl*)
                   9810:        # Native MSVC
                   9811:        hardcode_libdir_flag_spec=' '
                   9812:        allow_undefined_flag=unsupported
                   9813:        always_export_symbols=yes
                   9814:        file_list_spec='@'
                   9815:        # Tell ltmain to make .lib files, not .a files.
                   9816:        libext=lib
                   9817:        # Tell ltmain to make .dll files, not .so files.
                   9818:        shrext_cmds=".dll"
                   9819:        # FIXME: Setting linknames here is a bad hack.
                   9820:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9821:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9822:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9823:          else
                   9824:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9825:          fi~
                   9826:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9827:          linknames='
                   9828:        # The linker will not automatically build a static lib if we build a DLL.
                   9829:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9830:        enable_shared_with_static_runtimes=yes
                   9831:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9832:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9833:        # Don't use ranlib
                   9834:        old_postinstall_cmds='chmod 644 $oldlib'
                   9835:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9836:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9837:          case $lt_outputfile in
                   9838:            *.exe|*.EXE) ;;
                   9839:            *)
                   9840:              lt_outputfile="$lt_outputfile.exe"
                   9841:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9842:              ;;
                   9843:          esac~
                   9844:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9845:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9846:            $RM "$lt_outputfile.manifest";
                   9847:          fi'
                   9848:        ;;
                   9849:       *)
                   9850:        # Assume MSVC wrapper
                   9851:        hardcode_libdir_flag_spec=' '
                   9852:        allow_undefined_flag=unsupported
                   9853:        # Tell ltmain to make .lib files, not .a files.
                   9854:        libext=lib
                   9855:        # Tell ltmain to make .dll files, not .so files.
                   9856:        shrext_cmds=".dll"
                   9857:        # FIXME: Setting linknames here is a bad hack.
                   9858:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9859:        # The linker will automatically build a .lib file if we build a DLL.
                   9860:        old_archive_from_new_cmds='true'
                   9861:        # FIXME: Should let the user specify the lib program.
                   9862:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9863:        enable_shared_with_static_runtimes=yes
                   9864:        ;;
                   9865:       esac
                   9866:       ;;
                   9867: 
                   9868:     darwin* | rhapsody*)
                   9869: 
                   9870: 
                   9871:   archive_cmds_need_lc=no
                   9872:   hardcode_direct=no
                   9873:   hardcode_automatic=yes
                   9874:   hardcode_shlibpath_var=unsupported
                   9875:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9876:     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\"`'
                   9877: 
                   9878:   else
                   9879:     whole_archive_flag_spec=''
                   9880:   fi
                   9881:   link_all_deplibs=yes
                   9882:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9883:   case $cc_basename in
                   9884:      ifort*) _lt_dar_can_shared=yes ;;
                   9885:      *) _lt_dar_can_shared=$GCC ;;
                   9886:   esac
                   9887:   if test "$_lt_dar_can_shared" = "yes"; then
                   9888:     output_verbose_link_cmd=func_echo_all
                   9889:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9890:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9891:     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}"
                   9892:     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}"
                   9893: 
                   9894:   else
                   9895:   ld_shlibs=no
                   9896:   fi
                   9897: 
                   9898:       ;;
                   9899: 
                   9900:     dgux*)
                   9901:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9902:       hardcode_libdir_flag_spec='-L$libdir'
                   9903:       hardcode_shlibpath_var=no
                   9904:       ;;
                   9905: 
                   9906:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9907:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9908:     # does not break anything, and helps significantly (at the cost of a little
                   9909:     # extra space).
                   9910:     freebsd2.2*)
                   9911:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9912:       hardcode_libdir_flag_spec='-R$libdir'
                   9913:       hardcode_direct=yes
                   9914:       hardcode_shlibpath_var=no
                   9915:       ;;
                   9916: 
                   9917:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9918:     freebsd2.*)
                   9919:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9920:       hardcode_direct=yes
                   9921:       hardcode_minus_L=yes
                   9922:       hardcode_shlibpath_var=no
                   9923:       ;;
                   9924: 
                   9925:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9926:     freebsd* | dragonfly*)
                   9927:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9928:       hardcode_libdir_flag_spec='-R$libdir'
                   9929:       hardcode_direct=yes
                   9930:       hardcode_shlibpath_var=no
                   9931:       ;;
                   9932: 
                   9933:     hpux9*)
                   9934:       if test "$GCC" = yes; then
                   9935:        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'
                   9936:       else
                   9937:        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'
                   9938:       fi
                   9939:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9940:       hardcode_libdir_separator=:
                   9941:       hardcode_direct=yes
                   9942: 
                   9943:       # hardcode_minus_L: Not really in the search PATH,
                   9944:       # but as the default location of the library.
                   9945:       hardcode_minus_L=yes
                   9946:       export_dynamic_flag_spec='${wl}-E'
                   9947:       ;;
                   9948: 
                   9949:     hpux10*)
                   9950:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9951:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9952:       else
                   9953:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9954:       fi
                   9955:       if test "$with_gnu_ld" = no; then
                   9956:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9957:        hardcode_libdir_separator=:
                   9958:        hardcode_direct=yes
                   9959:        hardcode_direct_absolute=yes
                   9960:        export_dynamic_flag_spec='${wl}-E'
                   9961:        # hardcode_minus_L: Not really in the search PATH,
                   9962:        # but as the default location of the library.
                   9963:        hardcode_minus_L=yes
                   9964:       fi
                   9965:       ;;
                   9966: 
                   9967:     hpux11*)
                   9968:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9969:        case $host_cpu in
                   9970:        hppa*64*)
                   9971:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9972:          ;;
                   9973:        ia64*)
                   9974:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9975:          ;;
                   9976:        *)
                   9977:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9978:          ;;
                   9979:        esac
                   9980:       else
                   9981:        case $host_cpu in
                   9982:        hppa*64*)
                   9983:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9984:          ;;
                   9985:        ia64*)
                   9986:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9987:          ;;
                   9988:        *)
                   9989: 
                   9990:          # Older versions of the 11.00 compiler do not understand -b yet
                   9991:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9992:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9993: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9994: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9995:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9996: else
                   9997:   lt_cv_prog_compiler__b=no
                   9998:    save_LDFLAGS="$LDFLAGS"
                   9999:    LDFLAGS="$LDFLAGS -b"
                   10000:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10001:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10002:      # The linker can only warn and ignore the option if not recognized
                   10003:      # So say no if there are warnings
                   10004:      if test -s conftest.err; then
                   10005:        # Append any errors to the config.log.
                   10006:        cat conftest.err 1>&5
                   10007:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10008:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10009:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10010:          lt_cv_prog_compiler__b=yes
                   10011:        fi
                   10012:      else
                   10013:        lt_cv_prog_compiler__b=yes
                   10014:      fi
                   10015:    fi
                   10016:    $RM -r conftest*
                   10017:    LDFLAGS="$save_LDFLAGS"
                   10018: 
                   10019: fi
                   10020: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   10021: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
                   10022: 
                   10023: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10024:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10025: else
                   10026:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10027: fi
                   10028: 
                   10029:          ;;
                   10030:        esac
                   10031:       fi
                   10032:       if test "$with_gnu_ld" = no; then
                   10033:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10034:        hardcode_libdir_separator=:
                   10035: 
                   10036:        case $host_cpu in
                   10037:        hppa*64*|ia64*)
                   10038:          hardcode_direct=no
                   10039:          hardcode_shlibpath_var=no
                   10040:          ;;
                   10041:        *)
                   10042:          hardcode_direct=yes
                   10043:          hardcode_direct_absolute=yes
                   10044:          export_dynamic_flag_spec='${wl}-E'
                   10045: 
                   10046:          # hardcode_minus_L: Not really in the search PATH,
                   10047:          # but as the default location of the library.
                   10048:          hardcode_minus_L=yes
                   10049:          ;;
                   10050:        esac
                   10051:       fi
                   10052:       ;;
                   10053: 
                   10054:     irix5* | irix6* | nonstopux*)
                   10055:       if test "$GCC" = yes; then
                   10056:        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'
                   10057:        # Try to use the -exported_symbol ld option, if it does not
                   10058:        # work, assume that -exports_file does not work either and
                   10059:        # implicitly export all symbols.
                   10060:        # This should be the same for all languages, so no per-tag cache variable.
                   10061:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10062: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   10063: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   10064:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10065: else
                   10066:   save_LDFLAGS="$LDFLAGS"
                   10067:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   10068:           cat >conftest.$ac_ext <<_ACEOF
                   10069: /* confdefs.h.  */
                   10070: _ACEOF
                   10071: cat confdefs.h >>conftest.$ac_ext
                   10072: cat >>conftest.$ac_ext <<_ACEOF
                   10073: /* end confdefs.h.  */
                   10074: int foo (void) { return 0; }
                   10075: _ACEOF
                   10076: rm -f conftest.$ac_objext conftest$ac_exeext
                   10077: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10078:   (eval $ac_link) 2>conftest.er1
                   10079:   ac_status=$?
                   10080:   grep -v '^ *+' conftest.er1 >conftest.err
                   10081:   rm -f conftest.er1
                   10082:   cat conftest.err >&5
                   10083:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10084:   (exit $ac_status); } &&
                   10085:         { ac_try='test -z "$ac_c_werror_flag"
                   10086:                         || test ! -s conftest.err'
                   10087:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10088:   (eval $ac_try) 2>&5
                   10089:   ac_status=$?
                   10090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10091:   (exit $ac_status); }; } &&
                   10092:         { ac_try='test -s conftest$ac_exeext'
                   10093:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10094:   (eval $ac_try) 2>&5
                   10095:   ac_status=$?
                   10096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10097:   (exit $ac_status); }; }; then
                   10098:   lt_cv_irix_exported_symbol=yes
                   10099: else
                   10100:   echo "$as_me: failed program was:" >&5
                   10101: sed 's/^/| /' conftest.$ac_ext >&5
                   10102: 
                   10103: lt_cv_irix_exported_symbol=no
                   10104: fi
                   10105: rm -f conftest.err conftest.$ac_objext \
                   10106:       conftest$ac_exeext conftest.$ac_ext
                   10107:            LDFLAGS="$save_LDFLAGS"
                   10108: fi
                   10109: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   10110: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
                   10111:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10112:           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'
                   10113:        fi
                   10114:       else
                   10115:        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'
                   10116:        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'
                   10117:       fi
                   10118:       archive_cmds_need_lc='no'
                   10119:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10120:       hardcode_libdir_separator=:
                   10121:       inherit_rpath=yes
                   10122:       link_all_deplibs=yes
                   10123:       ;;
                   10124: 
                   10125:     netbsd*)
                   10126:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10127:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10128:       else
                   10129:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10130:       fi
                   10131:       hardcode_libdir_flag_spec='-R$libdir'
                   10132:       hardcode_direct=yes
                   10133:       hardcode_shlibpath_var=no
                   10134:       ;;
                   10135: 
                   10136:     newsos6)
                   10137:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10138:       hardcode_direct=yes
                   10139:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10140:       hardcode_libdir_separator=:
                   10141:       hardcode_shlibpath_var=no
                   10142:       ;;
                   10143: 
                   10144:     *nto* | *qnx*)
                   10145:       ;;
                   10146: 
                   10147:     openbsd*)
                   10148:       if test -f /usr/libexec/ld.so; then
                   10149:        hardcode_direct=yes
                   10150:        hardcode_shlibpath_var=no
                   10151:        hardcode_direct_absolute=yes
                   10152:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10153:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10154:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10155:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10156:          export_dynamic_flag_spec='${wl}-E'
                   10157:        else
                   10158:          case $host_os in
                   10159:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10160:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10161:             hardcode_libdir_flag_spec='-R$libdir'
                   10162:             ;;
                   10163:           *)
                   10164:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10165:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10166:             ;;
                   10167:          esac
                   10168:        fi
                   10169:       else
                   10170:        ld_shlibs=no
                   10171:       fi
                   10172:       ;;
                   10173: 
                   10174:     os2*)
                   10175:       hardcode_libdir_flag_spec='-L$libdir'
                   10176:       hardcode_minus_L=yes
                   10177:       allow_undefined_flag=unsupported
                   10178:       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'
                   10179:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10180:       ;;
                   10181: 
                   10182:     osf3*)
                   10183:       if test "$GCC" = yes; then
                   10184:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10185:        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'
                   10186:       else
                   10187:        allow_undefined_flag=' -expect_unresolved \*'
                   10188:        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'
                   10189:       fi
                   10190:       archive_cmds_need_lc='no'
                   10191:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10192:       hardcode_libdir_separator=:
                   10193:       ;;
                   10194: 
                   10195:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10196:       if test "$GCC" = yes; then
                   10197:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10198:        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'
                   10199:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10200:       else
                   10201:        allow_undefined_flag=' -expect_unresolved \*'
                   10202:        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'
                   10203:        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~
                   10204:        $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'
                   10205: 
                   10206:        # Both c and cxx compiler support -rpath directly
                   10207:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10208:       fi
                   10209:       archive_cmds_need_lc='no'
                   10210:       hardcode_libdir_separator=:
                   10211:       ;;
                   10212: 
                   10213:     solaris*)
                   10214:       no_undefined_flag=' -z defs'
                   10215:       if test "$GCC" = yes; then
                   10216:        wlarc='${wl}'
                   10217:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10218:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10219:          $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'
                   10220:       else
                   10221:        case `$CC -V 2>&1` in
                   10222:        *"Compilers 5.0"*)
                   10223:          wlarc=''
                   10224:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10225:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10226:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10227:          ;;
                   10228:        *)
                   10229:          wlarc='${wl}'
                   10230:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10231:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10232:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10233:          ;;
                   10234:        esac
                   10235:       fi
                   10236:       hardcode_libdir_flag_spec='-R$libdir'
                   10237:       hardcode_shlibpath_var=no
                   10238:       case $host_os in
                   10239:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10240:       *)
                   10241:        # The compiler driver will combine and reorder linker options,
                   10242:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10243:        # but is careful enough not to reorder.
                   10244:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10245:        if test "$GCC" = yes; then
                   10246:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10247:        else
                   10248:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10249:        fi
                   10250:        ;;
                   10251:       esac
                   10252:       link_all_deplibs=yes
                   10253:       ;;
                   10254: 
                   10255:     sunos4*)
                   10256:       if test "x$host_vendor" = xsequent; then
                   10257:        # Use $CC to link under sequent, because it throws in some extra .o
                   10258:        # files that make .init and .fini sections work.
                   10259:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10260:       else
                   10261:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10262:       fi
                   10263:       hardcode_libdir_flag_spec='-L$libdir'
                   10264:       hardcode_direct=yes
                   10265:       hardcode_minus_L=yes
                   10266:       hardcode_shlibpath_var=no
                   10267:       ;;
                   10268: 
                   10269:     sysv4)
                   10270:       case $host_vendor in
                   10271:        sni)
                   10272:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10273:          hardcode_direct=yes # is this really true???
                   10274:        ;;
                   10275:        siemens)
                   10276:          ## LD is ld it makes a PLAMLIB
                   10277:          ## CC just makes a GrossModule.
                   10278:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10279:          reload_cmds='$CC -r -o $output$reload_objs'
                   10280:          hardcode_direct=no
                   10281:         ;;
                   10282:        motorola)
                   10283:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10284:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10285:        ;;
                   10286:       esac
                   10287:       runpath_var='LD_RUN_PATH'
                   10288:       hardcode_shlibpath_var=no
                   10289:       ;;
                   10290: 
                   10291:     sysv4.3*)
                   10292:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10293:       hardcode_shlibpath_var=no
                   10294:       export_dynamic_flag_spec='-Bexport'
                   10295:       ;;
                   10296: 
                   10297:     sysv4*MP*)
                   10298:       if test -d /usr/nec; then
                   10299:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10300:        hardcode_shlibpath_var=no
                   10301:        runpath_var=LD_RUN_PATH
                   10302:        hardcode_runpath_var=yes
                   10303:        ld_shlibs=yes
                   10304:       fi
                   10305:       ;;
                   10306: 
                   10307:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10308:       no_undefined_flag='${wl}-z,text'
                   10309:       archive_cmds_need_lc=no
                   10310:       hardcode_shlibpath_var=no
                   10311:       runpath_var='LD_RUN_PATH'
                   10312: 
                   10313:       if test "$GCC" = yes; then
                   10314:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10315:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10316:       else
                   10317:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10318:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10319:       fi
                   10320:       ;;
                   10321: 
                   10322:     sysv5* | sco3.2v5* | sco5v6*)
                   10323:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10324:       # link with -lc, and that would cause any symbols used from libc to
                   10325:       # always be unresolved, which means just about no library would
                   10326:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10327:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10328:       # as -z defs.
                   10329:       no_undefined_flag='${wl}-z,text'
                   10330:       allow_undefined_flag='${wl}-z,nodefs'
                   10331:       archive_cmds_need_lc=no
                   10332:       hardcode_shlibpath_var=no
                   10333:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10334:       hardcode_libdir_separator=':'
                   10335:       link_all_deplibs=yes
                   10336:       export_dynamic_flag_spec='${wl}-Bexport'
                   10337:       runpath_var='LD_RUN_PATH'
                   10338: 
                   10339:       if test "$GCC" = yes; then
                   10340:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10341:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10342:       else
                   10343:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10344:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10345:       fi
                   10346:       ;;
                   10347: 
                   10348:     uts4*)
                   10349:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10350:       hardcode_libdir_flag_spec='-L$libdir'
                   10351:       hardcode_shlibpath_var=no
                   10352:       ;;
                   10353: 
                   10354:     *)
                   10355:       ld_shlibs=no
                   10356:       ;;
                   10357:     esac
                   10358: 
                   10359:     if test x$host_vendor = xsni; then
                   10360:       case $host in
                   10361:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10362:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10363:        ;;
                   10364:       esac
                   10365:     fi
                   10366:   fi
                   10367: 
                   10368: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   10369: echo "${ECHO_T}$ld_shlibs" >&6
                   10370: test "$ld_shlibs" = no && can_build_shared=no
                   10371: 
                   10372: with_gnu_ld=$with_gnu_ld
                   10373: 
                   10374: 
                   10375: 
                   10376: 
                   10377: 
                   10378: 
                   10379: 
                   10380: 
                   10381: 
                   10382: 
                   10383: 
                   10384: 
                   10385: 
                   10386: 
                   10387: 
                   10388: #
                   10389: # Do we need to explicitly link libc?
                   10390: #
                   10391: case "x$archive_cmds_need_lc" in
                   10392: x|xyes)
                   10393:   # Assume -lc should be added
                   10394:   archive_cmds_need_lc=yes
                   10395: 
                   10396:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10397:     case $archive_cmds in
                   10398:     *'~'*)
                   10399:       # FIXME: we may have to deal with multi-command sequences.
                   10400:       ;;
                   10401:     '$CC '*)
                   10402:       # Test whether the compiler implicitly links with -lc since on some
                   10403:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10404:       # to ld, don't add -lc before -lgcc.
                   10405:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   10406: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   10407: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   10408:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10409: else
                   10410:   $RM conftest*
                   10411:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10412: 
                   10413:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10414:   (eval $ac_compile) 2>&5
                   10415:   ac_status=$?
                   10416:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10417:   (exit $ac_status); } 2>conftest.err; then
                   10418:          soname=conftest
                   10419:          lib=conftest
                   10420:          libobjs=conftest.$ac_objext
                   10421:          deplibs=
                   10422:          wl=$lt_prog_compiler_wl
                   10423:          pic_flag=$lt_prog_compiler_pic
                   10424:          compiler_flags=-v
                   10425:          linker_flags=-v
                   10426:          verstring=
                   10427:          output_objdir=.
                   10428:          libname=conftest
                   10429:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10430:          allow_undefined_flag=
                   10431:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   10432:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10433:   ac_status=$?
                   10434:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10435:   (exit $ac_status); }
                   10436:          then
                   10437:            lt_cv_archive_cmds_need_lc=no
                   10438:          else
                   10439:            lt_cv_archive_cmds_need_lc=yes
                   10440:          fi
                   10441:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10442:        else
                   10443:          cat conftest.err 1>&5
                   10444:        fi
                   10445:        $RM conftest*
                   10446: 
                   10447: fi
                   10448: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   10449: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   10450:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10451:       ;;
                   10452:     esac
                   10453:   fi
                   10454:   ;;
                   10455: esac
                   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: 
                   10595: 
                   10596: 
                   10597: 
                   10598: 
                   10599: 
                   10600: 
                   10601: 
                   10602: 
                   10603: 
                   10604: 
                   10605: 
                   10606: 
                   10607: 
                   10608:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   10609: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   10610: 
                   10611: if test "$GCC" = yes; then
                   10612:   case $host_os in
                   10613:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10614:     *) lt_awk_arg="/^libraries:/" ;;
                   10615:   esac
                   10616:   case $host_os in
                   10617:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10618:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10619:   esac
                   10620:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10621:   case $lt_search_path_spec in
                   10622:   *\;*)
                   10623:     # if the path contains ";" then we assume it to be the separator
                   10624:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10625:     # assumed that no part of a normal pathname contains ";" but that should
                   10626:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10627:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10628:     ;;
                   10629:   *)
                   10630:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10631:     ;;
                   10632:   esac
                   10633:   # Ok, now we have the path, separated by spaces, we can step through it
                   10634:   # and add multilib dir if necessary.
                   10635:   lt_tmp_lt_search_path_spec=
                   10636:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10637:   for lt_sys_path in $lt_search_path_spec; do
                   10638:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10639:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10640:     else
                   10641:       test -d "$lt_sys_path" && \
                   10642:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10643:     fi
                   10644:   done
                   10645:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10646: BEGIN {RS=" "; FS="/|\n";} {
                   10647:   lt_foo="";
                   10648:   lt_count=0;
                   10649:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10650:     if ($lt_i != "" && $lt_i != ".") {
                   10651:       if ($lt_i == "..") {
                   10652:         lt_count++;
                   10653:       } else {
                   10654:         if (lt_count == 0) {
                   10655:           lt_foo="/" $lt_i lt_foo;
                   10656:         } else {
                   10657:           lt_count--;
                   10658:         }
                   10659:       }
                   10660:     }
                   10661:   }
                   10662:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10663:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10664: }'`
                   10665:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10666:   # for these hosts.
                   10667:   case $host_os in
                   10668:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10669:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10670:   esac
                   10671:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10672: else
                   10673:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10674: fi
                   10675: library_names_spec=
                   10676: libname_spec='lib$name'
                   10677: soname_spec=
                   10678: shrext_cmds=".so"
                   10679: postinstall_cmds=
                   10680: postuninstall_cmds=
                   10681: finish_cmds=
                   10682: finish_eval=
                   10683: shlibpath_var=
                   10684: shlibpath_overrides_runpath=unknown
                   10685: version_type=none
                   10686: dynamic_linker="$host_os ld.so"
                   10687: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10688: need_lib_prefix=unknown
                   10689: hardcode_into_libs=no
                   10690: 
                   10691: # when you set need_version to no, make sure it does not cause -set_version
                   10692: # flags to be left without arguments
                   10693: need_version=unknown
                   10694: 
                   10695: case $host_os in
                   10696: aix3*)
                   10697:   version_type=linux # correct to gnu/linux during the next big refactor
                   10698:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10699:   shlibpath_var=LIBPATH
                   10700: 
                   10701:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10702:   soname_spec='${libname}${release}${shared_ext}$major'
                   10703:   ;;
                   10704: 
                   10705: aix[4-9]*)
                   10706:   version_type=linux # correct to gnu/linux during the next big refactor
                   10707:   need_lib_prefix=no
                   10708:   need_version=no
                   10709:   hardcode_into_libs=yes
                   10710:   if test "$host_cpu" = ia64; then
                   10711:     # AIX 5 supports IA64
                   10712:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10713:     shlibpath_var=LD_LIBRARY_PATH
                   10714:   else
                   10715:     # With GCC up to 2.95.x, collect2 would create an import file
                   10716:     # for dependence libraries.  The import file would start with
                   10717:     # the line `#! .'.  This would cause the generated library to
                   10718:     # depend on `.', always an invalid library.  This was fixed in
                   10719:     # development snapshots of GCC prior to 3.0.
                   10720:     case $host_os in
                   10721:       aix4 | aix4.[01] | aix4.[01].*)
                   10722:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10723:           echo ' yes '
                   10724:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10725:        :
                   10726:       else
                   10727:        can_build_shared=no
                   10728:       fi
                   10729:       ;;
                   10730:     esac
                   10731:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10732:     # soname into executable. Probably we can add versioning support to
                   10733:     # collect2, so additional links can be useful in future.
                   10734:     if test "$aix_use_runtimelinking" = yes; then
                   10735:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10736:       # instead of lib<name>.a to let people know that these are not
                   10737:       # typical AIX shared libraries.
                   10738:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10739:     else
                   10740:       # We preserve .a as extension for shared libraries through AIX4.2
                   10741:       # and later when we are not doing run time linking.
                   10742:       library_names_spec='${libname}${release}.a $libname.a'
                   10743:       soname_spec='${libname}${release}${shared_ext}$major'
                   10744:     fi
                   10745:     shlibpath_var=LIBPATH
                   10746:   fi
                   10747:   ;;
                   10748: 
                   10749: amigaos*)
                   10750:   case $host_cpu in
                   10751:   powerpc)
                   10752:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10753:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10754:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10755:     ;;
                   10756:   m68k)
                   10757:     library_names_spec='$libname.ixlibrary $libname.a'
                   10758:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10759:     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'
                   10760:     ;;
                   10761:   esac
                   10762:   ;;
                   10763: 
                   10764: beos*)
                   10765:   library_names_spec='${libname}${shared_ext}'
                   10766:   dynamic_linker="$host_os ld.so"
                   10767:   shlibpath_var=LIBRARY_PATH
                   10768:   ;;
                   10769: 
                   10770: bsdi[45]*)
                   10771:   version_type=linux # correct to gnu/linux during the next big refactor
                   10772:   need_version=no
                   10773:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10774:   soname_spec='${libname}${release}${shared_ext}$major'
                   10775:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10776:   shlibpath_var=LD_LIBRARY_PATH
                   10777:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10778:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10779:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10780:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10781:   # libtool to hard-code these into programs
                   10782:   ;;
                   10783: 
                   10784: cygwin* | mingw* | pw32* | cegcc*)
                   10785:   version_type=windows
                   10786:   shrext_cmds=".dll"
                   10787:   need_version=no
                   10788:   need_lib_prefix=no
                   10789: 
                   10790:   case $GCC,$cc_basename in
                   10791:   yes,*)
                   10792:     # gcc
                   10793:     library_names_spec='$libname.dll.a'
                   10794:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10795:     postinstall_cmds='base_file=`basename \${file}`~
                   10796:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10797:       dldir=$destdir/`dirname \$dlpath`~
                   10798:       test -d \$dldir || mkdir -p \$dldir~
                   10799:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10800:       chmod a+x \$dldir/$dlname~
                   10801:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10802:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10803:       fi'
                   10804:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10805:       dlpath=$dir/\$dldll~
                   10806:        $RM \$dlpath'
                   10807:     shlibpath_overrides_runpath=yes
                   10808: 
                   10809:     case $host_os in
                   10810:     cygwin*)
                   10811:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10812:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10813: 
                   10814:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10815:       ;;
                   10816:     mingw* | cegcc*)
                   10817:       # MinGW DLLs use traditional 'lib' prefix
                   10818:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10819:       ;;
                   10820:     pw32*)
                   10821:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10822:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10823:       ;;
                   10824:     esac
                   10825:     dynamic_linker='Win32 ld.exe'
                   10826:     ;;
                   10827: 
                   10828:   *,cl*)
                   10829:     # Native MSVC
                   10830:     libname_spec='$name'
                   10831:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10832:     library_names_spec='${libname}.dll.lib'
                   10833: 
                   10834:     case $build_os in
                   10835:     mingw*)
                   10836:       sys_lib_search_path_spec=
                   10837:       lt_save_ifs=$IFS
                   10838:       IFS=';'
                   10839:       for lt_path in $LIB
                   10840:       do
                   10841:         IFS=$lt_save_ifs
                   10842:         # Let DOS variable expansion print the short 8.3 style file name.
                   10843:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10844:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10845:       done
                   10846:       IFS=$lt_save_ifs
                   10847:       # Convert to MSYS style.
                   10848:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10849:       ;;
                   10850:     cygwin*)
                   10851:       # Convert to unix form, then to dos form, then back to unix form
                   10852:       # but this time dos style (no spaces!) so that the unix form looks
                   10853:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10854:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10855:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10856:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10857:       ;;
                   10858:     *)
                   10859:       sys_lib_search_path_spec="$LIB"
                   10860:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10861:         # It is most probably a Windows format PATH.
                   10862:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10863:       else
                   10864:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10865:       fi
                   10866:       # FIXME: find the short name or the path components, as spaces are
                   10867:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10868:       ;;
                   10869:     esac
                   10870: 
                   10871:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10872:     postinstall_cmds='base_file=`basename \${file}`~
                   10873:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10874:       dldir=$destdir/`dirname \$dlpath`~
                   10875:       test -d \$dldir || mkdir -p \$dldir~
                   10876:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10877:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10878:       dlpath=$dir/\$dldll~
                   10879:        $RM \$dlpath'
                   10880:     shlibpath_overrides_runpath=yes
                   10881:     dynamic_linker='Win32 link.exe'
                   10882:     ;;
                   10883: 
                   10884:   *)
                   10885:     # Assume MSVC wrapper
                   10886:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10887:     dynamic_linker='Win32 ld.exe'
                   10888:     ;;
                   10889:   esac
                   10890:   # FIXME: first we should search . and the directory the executable is in
                   10891:   shlibpath_var=PATH
                   10892:   ;;
                   10893: 
                   10894: darwin* | rhapsody*)
                   10895:   dynamic_linker="$host_os dyld"
                   10896:   version_type=darwin
                   10897:   need_lib_prefix=no
                   10898:   need_version=no
                   10899:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10900:   soname_spec='${libname}${release}${major}$shared_ext'
                   10901:   shlibpath_overrides_runpath=yes
                   10902:   shlibpath_var=DYLD_LIBRARY_PATH
                   10903:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10904: 
                   10905:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10906:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10907:   ;;
                   10908: 
                   10909: dgux*)
                   10910:   version_type=linux # correct to gnu/linux during the next big refactor
                   10911:   need_lib_prefix=no
                   10912:   need_version=no
                   10913:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10914:   soname_spec='${libname}${release}${shared_ext}$major'
                   10915:   shlibpath_var=LD_LIBRARY_PATH
                   10916:   ;;
                   10917: 
                   10918: freebsd* | dragonfly*)
                   10919:   # DragonFly does not have aout.  When/if they implement a new
                   10920:   # versioning mechanism, adjust this.
                   10921:   if test -x /usr/bin/objformat; then
                   10922:     objformat=`/usr/bin/objformat`
                   10923:   else
                   10924:     case $host_os in
                   10925:     freebsd[23].*) objformat=aout ;;
                   10926:     *) objformat=elf ;;
                   10927:     esac
                   10928:   fi
                   10929:   version_type=freebsd-$objformat
                   10930:   case $version_type in
                   10931:     freebsd-elf*)
                   10932:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10933:       need_version=no
                   10934:       need_lib_prefix=no
                   10935:       ;;
                   10936:     freebsd-*)
                   10937:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10938:       need_version=yes
                   10939:       ;;
                   10940:   esac
                   10941:   shlibpath_var=LD_LIBRARY_PATH
                   10942:   case $host_os in
                   10943:   freebsd2.*)
                   10944:     shlibpath_overrides_runpath=yes
                   10945:     ;;
                   10946:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10947:     shlibpath_overrides_runpath=yes
                   10948:     hardcode_into_libs=yes
                   10949:     ;;
                   10950:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10951:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10952:     shlibpath_overrides_runpath=no
                   10953:     hardcode_into_libs=yes
                   10954:     ;;
                   10955:   *) # from 4.6 on, and DragonFly
                   10956:     shlibpath_overrides_runpath=yes
                   10957:     hardcode_into_libs=yes
                   10958:     ;;
                   10959:   esac
                   10960:   ;;
                   10961: 
                   10962: gnu*)
                   10963:   version_type=linux # correct to gnu/linux during the next big refactor
                   10964:   need_lib_prefix=no
                   10965:   need_version=no
                   10966:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10967:   soname_spec='${libname}${release}${shared_ext}$major'
                   10968:   shlibpath_var=LD_LIBRARY_PATH
                   10969:   shlibpath_overrides_runpath=no
                   10970:   hardcode_into_libs=yes
                   10971:   ;;
                   10972: 
                   10973: haiku*)
                   10974:   version_type=linux # correct to gnu/linux during the next big refactor
                   10975:   need_lib_prefix=no
                   10976:   need_version=no
                   10977:   dynamic_linker="$host_os runtime_loader"
                   10978:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10979:   soname_spec='${libname}${release}${shared_ext}$major'
                   10980:   shlibpath_var=LIBRARY_PATH
                   10981:   shlibpath_overrides_runpath=yes
                   10982:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10983:   hardcode_into_libs=yes
                   10984:   ;;
                   10985: 
                   10986: hpux9* | hpux10* | hpux11*)
                   10987:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10988:   # link against other versions.
                   10989:   version_type=sunos
                   10990:   need_lib_prefix=no
                   10991:   need_version=no
                   10992:   case $host_cpu in
                   10993:   ia64*)
                   10994:     shrext_cmds='.so'
                   10995:     hardcode_into_libs=yes
                   10996:     dynamic_linker="$host_os dld.so"
                   10997:     shlibpath_var=LD_LIBRARY_PATH
                   10998:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10999:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11000:     soname_spec='${libname}${release}${shared_ext}$major'
                   11001:     if test "X$HPUX_IA64_MODE" = X32; then
                   11002:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11003:     else
                   11004:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11005:     fi
                   11006:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11007:     ;;
                   11008:   hppa*64*)
                   11009:     shrext_cmds='.sl'
                   11010:     hardcode_into_libs=yes
                   11011:     dynamic_linker="$host_os dld.sl"
                   11012:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11013:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11014:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11015:     soname_spec='${libname}${release}${shared_ext}$major'
                   11016:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11017:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11018:     ;;
                   11019:   *)
                   11020:     shrext_cmds='.sl'
                   11021:     dynamic_linker="$host_os dld.sl"
                   11022:     shlibpath_var=SHLIB_PATH
                   11023:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   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:     ;;
                   11027:   esac
                   11028:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11029:   postinstall_cmds='chmod 555 $lib'
                   11030:   # or fails outright, so override atomically:
                   11031:   install_override_mode=555
                   11032:   ;;
                   11033: 
                   11034: interix[3-9]*)
                   11035:   version_type=linux # correct to gnu/linux during the next big refactor
                   11036:   need_lib_prefix=no
                   11037:   need_version=no
                   11038:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11039:   soname_spec='${libname}${release}${shared_ext}$major'
                   11040:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11041:   shlibpath_var=LD_LIBRARY_PATH
                   11042:   shlibpath_overrides_runpath=no
                   11043:   hardcode_into_libs=yes
                   11044:   ;;
                   11045: 
                   11046: irix5* | irix6* | nonstopux*)
                   11047:   case $host_os in
                   11048:     nonstopux*) version_type=nonstopux ;;
                   11049:     *)
                   11050:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11051:                version_type=linux # correct to gnu/linux during the next big refactor
                   11052:        else
                   11053:                version_type=irix
                   11054:        fi ;;
                   11055:   esac
                   11056:   need_lib_prefix=no
                   11057:   need_version=no
                   11058:   soname_spec='${libname}${release}${shared_ext}$major'
                   11059:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11060:   case $host_os in
                   11061:   irix5* | nonstopux*)
                   11062:     libsuff= shlibsuff=
                   11063:     ;;
                   11064:   *)
                   11065:     case $LD in # libtool.m4 will add one of these switches to LD
                   11066:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11067:       libsuff= shlibsuff= libmagic=32-bit;;
                   11068:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11069:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11070:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11071:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11072:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11073:     esac
                   11074:     ;;
                   11075:   esac
                   11076:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11077:   shlibpath_overrides_runpath=no
                   11078:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11079:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11080:   hardcode_into_libs=yes
                   11081:   ;;
                   11082: 
                   11083: # No shared lib support for Linux oldld, aout, or coff.
                   11084: linux*oldld* | linux*aout* | linux*coff*)
                   11085:   dynamic_linker=no
                   11086:   ;;
                   11087: 
                   11088: # This must be glibc/ELF.
                   11089: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11090:   version_type=linux # correct to gnu/linux during the next big refactor
                   11091:   need_lib_prefix=no
                   11092:   need_version=no
                   11093:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11094:   soname_spec='${libname}${release}${shared_ext}$major'
                   11095:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11096:   shlibpath_var=LD_LIBRARY_PATH
                   11097:   shlibpath_overrides_runpath=no
                   11098: 
                   11099:   # Some binutils ld are patched to set DT_RUNPATH
                   11100:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   11101:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11102: else
                   11103:   lt_cv_shlibpath_overrides_runpath=no
                   11104:     save_LDFLAGS=$LDFLAGS
                   11105:     save_libdir=$libdir
                   11106:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11107:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   11108:     cat >conftest.$ac_ext <<_ACEOF
                   11109: /* confdefs.h.  */
                   11110: _ACEOF
                   11111: cat confdefs.h >>conftest.$ac_ext
                   11112: cat >>conftest.$ac_ext <<_ACEOF
                   11113: /* end confdefs.h.  */
                   11114: 
                   11115: int
                   11116: main ()
                   11117: {
                   11118: 
                   11119:   ;
                   11120:   return 0;
                   11121: }
                   11122: _ACEOF
                   11123: rm -f conftest.$ac_objext conftest$ac_exeext
                   11124: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11125:   (eval $ac_link) 2>conftest.er1
                   11126:   ac_status=$?
                   11127:   grep -v '^ *+' conftest.er1 >conftest.err
                   11128:   rm -f conftest.er1
                   11129:   cat conftest.err >&5
                   11130:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11131:   (exit $ac_status); } &&
                   11132:         { ac_try='test -z "$ac_c_werror_flag"
                   11133:                         || test ! -s conftest.err'
                   11134:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11135:   (eval $ac_try) 2>&5
                   11136:   ac_status=$?
                   11137:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11138:   (exit $ac_status); }; } &&
                   11139:         { ac_try='test -s conftest$ac_exeext'
                   11140:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11141:   (eval $ac_try) 2>&5
                   11142:   ac_status=$?
                   11143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11144:   (exit $ac_status); }; }; then
                   11145:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   11146:   lt_cv_shlibpath_overrides_runpath=yes
                   11147: fi
                   11148: 
                   11149: else
                   11150:   echo "$as_me: failed program was:" >&5
                   11151: sed 's/^/| /' conftest.$ac_ext >&5
                   11152: 
                   11153: fi
                   11154: rm -f conftest.err conftest.$ac_objext \
                   11155:       conftest$ac_exeext conftest.$ac_ext
                   11156:     LDFLAGS=$save_LDFLAGS
                   11157:     libdir=$save_libdir
                   11158: 
                   11159: fi
                   11160: 
                   11161:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11162: 
                   11163:   # This implies no fast_install, which is unacceptable.
                   11164:   # Some rework will be needed to allow for fast_install
                   11165:   # before this can be enabled.
                   11166:   hardcode_into_libs=yes
                   11167: 
                   11168:   # Append ld.so.conf contents to the search path
                   11169:   if test -f /etc/ld.so.conf; then
                   11170:     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' ' '`
                   11171:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11172:   fi
                   11173: 
                   11174:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11175:   # powerpc, because MkLinux only supported shared libraries with the
                   11176:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11177:   # most powerpc-linux boxes support dynamic linking these days and
                   11178:   # people can always --disable-shared, the test was removed, and we
                   11179:   # assume the GNU/Linux dynamic linker is in use.
                   11180:   dynamic_linker='GNU/Linux ld.so'
                   11181:   ;;
                   11182: 
                   11183: netbsd*)
                   11184:   version_type=sunos
                   11185:   need_lib_prefix=no
                   11186:   need_version=no
                   11187:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11188:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11189:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11190:     dynamic_linker='NetBSD (a.out) ld.so'
                   11191:   else
                   11192:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11193:     soname_spec='${libname}${release}${shared_ext}$major'
                   11194:     dynamic_linker='NetBSD ld.elf_so'
                   11195:   fi
                   11196:   shlibpath_var=LD_LIBRARY_PATH
                   11197:   shlibpath_overrides_runpath=yes
                   11198:   hardcode_into_libs=yes
                   11199:   ;;
                   11200: 
                   11201: newsos6)
                   11202:   version_type=linux # correct to gnu/linux during the next big refactor
                   11203:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11204:   shlibpath_var=LD_LIBRARY_PATH
                   11205:   shlibpath_overrides_runpath=yes
                   11206:   ;;
                   11207: 
                   11208: *nto* | *qnx*)
                   11209:   version_type=qnx
                   11210:   need_lib_prefix=no
                   11211:   need_version=no
                   11212:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11213:   soname_spec='${libname}${release}${shared_ext}$major'
                   11214:   shlibpath_var=LD_LIBRARY_PATH
                   11215:   shlibpath_overrides_runpath=no
                   11216:   hardcode_into_libs=yes
                   11217:   dynamic_linker='ldqnx.so'
                   11218:   ;;
                   11219: 
                   11220: openbsd*)
                   11221:   version_type=sunos
                   11222:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11223:   need_lib_prefix=no
                   11224:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11225:   case $host_os in
                   11226:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11227:     *)                         need_version=no  ;;
                   11228:   esac
                   11229:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11230:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11231:   shlibpath_var=LD_LIBRARY_PATH
                   11232:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11233:     case $host_os in
                   11234:       openbsd2.[89] | openbsd2.[89].*)
                   11235:        shlibpath_overrides_runpath=no
                   11236:        ;;
                   11237:       *)
                   11238:        shlibpath_overrides_runpath=yes
                   11239:        ;;
                   11240:       esac
                   11241:   else
                   11242:     shlibpath_overrides_runpath=yes
                   11243:   fi
                   11244:   ;;
                   11245: 
                   11246: os2*)
                   11247:   libname_spec='$name'
                   11248:   shrext_cmds=".dll"
                   11249:   need_lib_prefix=no
                   11250:   library_names_spec='$libname${shared_ext} $libname.a'
                   11251:   dynamic_linker='OS/2 ld.exe'
                   11252:   shlibpath_var=LIBPATH
                   11253:   ;;
                   11254: 
                   11255: osf3* | osf4* | osf5*)
                   11256:   version_type=osf
                   11257:   need_lib_prefix=no
                   11258:   need_version=no
                   11259:   soname_spec='${libname}${release}${shared_ext}$major'
                   11260:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11261:   shlibpath_var=LD_LIBRARY_PATH
                   11262:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11263:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11264:   ;;
                   11265: 
                   11266: rdos*)
                   11267:   dynamic_linker=no
                   11268:   ;;
                   11269: 
                   11270: solaris*)
                   11271:   version_type=linux # correct to gnu/linux during the next big refactor
                   11272:   need_lib_prefix=no
                   11273:   need_version=no
                   11274:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11275:   soname_spec='${libname}${release}${shared_ext}$major'
                   11276:   shlibpath_var=LD_LIBRARY_PATH
                   11277:   shlibpath_overrides_runpath=yes
                   11278:   hardcode_into_libs=yes
                   11279:   # ldd complains unless libraries are executable
                   11280:   postinstall_cmds='chmod +x $lib'
                   11281:   ;;
                   11282: 
                   11283: sunos4*)
                   11284:   version_type=sunos
                   11285:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11286:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11287:   shlibpath_var=LD_LIBRARY_PATH
                   11288:   shlibpath_overrides_runpath=yes
                   11289:   if test "$with_gnu_ld" = yes; then
                   11290:     need_lib_prefix=no
                   11291:   fi
                   11292:   need_version=yes
                   11293:   ;;
                   11294: 
                   11295: sysv4 | sysv4.3*)
                   11296:   version_type=linux # correct to gnu/linux during the next big refactor
                   11297:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11298:   soname_spec='${libname}${release}${shared_ext}$major'
                   11299:   shlibpath_var=LD_LIBRARY_PATH
                   11300:   case $host_vendor in
                   11301:     sni)
                   11302:       shlibpath_overrides_runpath=no
                   11303:       need_lib_prefix=no
                   11304:       runpath_var=LD_RUN_PATH
                   11305:       ;;
                   11306:     siemens)
                   11307:       need_lib_prefix=no
                   11308:       ;;
                   11309:     motorola)
                   11310:       need_lib_prefix=no
                   11311:       need_version=no
                   11312:       shlibpath_overrides_runpath=no
                   11313:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11314:       ;;
                   11315:   esac
                   11316:   ;;
                   11317: 
                   11318: sysv4*MP*)
                   11319:   if test -d /usr/nec ;then
                   11320:     version_type=linux # correct to gnu/linux during the next big refactor
                   11321:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11322:     soname_spec='$libname${shared_ext}.$major'
                   11323:     shlibpath_var=LD_LIBRARY_PATH
                   11324:   fi
                   11325:   ;;
                   11326: 
                   11327: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11328:   version_type=freebsd-elf
                   11329:   need_lib_prefix=no
                   11330:   need_version=no
                   11331:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11332:   soname_spec='${libname}${release}${shared_ext}$major'
                   11333:   shlibpath_var=LD_LIBRARY_PATH
                   11334:   shlibpath_overrides_runpath=yes
                   11335:   hardcode_into_libs=yes
                   11336:   if test "$with_gnu_ld" = yes; then
                   11337:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11338:   else
                   11339:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11340:     case $host_os in
                   11341:       sco3.2v5*)
                   11342:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11343:        ;;
                   11344:     esac
                   11345:   fi
                   11346:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11347:   ;;
                   11348: 
                   11349: tpf*)
                   11350:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11351:   version_type=linux # correct to gnu/linux during the next big refactor
                   11352:   need_lib_prefix=no
                   11353:   need_version=no
                   11354:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11355:   shlibpath_var=LD_LIBRARY_PATH
                   11356:   shlibpath_overrides_runpath=no
                   11357:   hardcode_into_libs=yes
                   11358:   ;;
                   11359: 
                   11360: uts4*)
                   11361:   version_type=linux # correct to gnu/linux during the next big refactor
                   11362:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11363:   soname_spec='${libname}${release}${shared_ext}$major'
                   11364:   shlibpath_var=LD_LIBRARY_PATH
                   11365:   ;;
                   11366: 
                   11367: *)
                   11368:   dynamic_linker=no
                   11369:   ;;
                   11370: esac
                   11371: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   11372: echo "${ECHO_T}$dynamic_linker" >&6
                   11373: test "$dynamic_linker" = no && can_build_shared=no
                   11374: 
                   11375: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11376: if test "$GCC" = yes; then
                   11377:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11378: fi
                   11379: 
                   11380: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11381:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11382: fi
                   11383: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11384:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11385: fi
                   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: 
                   11465: 
                   11466: 
                   11467: 
                   11468: 
                   11469: 
                   11470: 
                   11471: 
                   11472: 
                   11473: 
                   11474: 
                   11475: 
                   11476: 
                   11477: 
                   11478:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   11479: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   11480: hardcode_action=
                   11481: if test -n "$hardcode_libdir_flag_spec" ||
                   11482:    test -n "$runpath_var" ||
                   11483:    test "X$hardcode_automatic" = "Xyes" ; then
                   11484: 
                   11485:   # We can hardcode non-existent directories.
                   11486:   if test "$hardcode_direct" != no &&
                   11487:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11488:      # have to relink, otherwise we might link with an installed library
                   11489:      # when we should be linking with a yet-to-be-installed one
                   11490:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11491:      test "$hardcode_minus_L" != no; then
                   11492:     # Linking always hardcodes the temporary library directory.
                   11493:     hardcode_action=relink
                   11494:   else
                   11495:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11496:     hardcode_action=immediate
                   11497:   fi
                   11498: else
                   11499:   # We cannot hardcode anything, or else we can only hardcode existing
                   11500:   # directories.
                   11501:   hardcode_action=unsupported
                   11502: fi
                   11503: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   11504: echo "${ECHO_T}$hardcode_action" >&6
                   11505: 
                   11506: if test "$hardcode_action" = relink ||
                   11507:    test "$inherit_rpath" = yes; then
                   11508:   # Fast installation is not supported
                   11509:   enable_fast_install=no
                   11510: elif test "$shlibpath_overrides_runpath" = yes ||
                   11511:      test "$enable_shared" = no; then
                   11512:   # Fast installation is not necessary
                   11513:   enable_fast_install=needless
                   11514: fi
                   11515: 
                   11516: 
                   11517: 
                   11518: 
                   11519: 
                   11520: 
                   11521:   if test "x$enable_dlopen" != xyes; then
                   11522:   enable_dlopen=unknown
                   11523:   enable_dlopen_self=unknown
                   11524:   enable_dlopen_self_static=unknown
                   11525: else
                   11526:   lt_cv_dlopen=no
                   11527:   lt_cv_dlopen_libs=
                   11528: 
                   11529:   case $host_os in
                   11530:   beos*)
                   11531:     lt_cv_dlopen="load_add_on"
                   11532:     lt_cv_dlopen_libs=
                   11533:     lt_cv_dlopen_self=yes
                   11534:     ;;
                   11535: 
                   11536:   mingw* | pw32* | cegcc*)
                   11537:     lt_cv_dlopen="LoadLibrary"
                   11538:     lt_cv_dlopen_libs=
                   11539:     ;;
                   11540: 
                   11541:   cygwin*)
                   11542:     lt_cv_dlopen="dlopen"
                   11543:     lt_cv_dlopen_libs=
                   11544:     ;;
                   11545: 
                   11546:   darwin*)
                   11547:   # if libdl is installed we need to link against it
                   11548:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11549: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11550: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11551:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11552: else
                   11553:   ac_check_lib_save_LIBS=$LIBS
                   11554: LIBS="-ldl  $LIBS"
                   11555: cat >conftest.$ac_ext <<_ACEOF
                   11556: /* confdefs.h.  */
                   11557: _ACEOF
                   11558: cat confdefs.h >>conftest.$ac_ext
                   11559: cat >>conftest.$ac_ext <<_ACEOF
                   11560: /* end confdefs.h.  */
                   11561: 
                   11562: /* Override any gcc2 internal prototype to avoid an error.  */
                   11563: #ifdef __cplusplus
                   11564: extern "C"
                   11565: #endif
                   11566: /* We use char because int might match the return type of a gcc2
                   11567:    builtin and then its argument prototype would still apply.  */
                   11568: char dlopen ();
                   11569: int
                   11570: main ()
                   11571: {
                   11572: dlopen ();
                   11573:   ;
                   11574:   return 0;
                   11575: }
                   11576: _ACEOF
                   11577: rm -f conftest.$ac_objext conftest$ac_exeext
                   11578: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11579:   (eval $ac_link) 2>conftest.er1
                   11580:   ac_status=$?
                   11581:   grep -v '^ *+' conftest.er1 >conftest.err
                   11582:   rm -f conftest.er1
                   11583:   cat conftest.err >&5
                   11584:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11585:   (exit $ac_status); } &&
                   11586:         { ac_try='test -z "$ac_c_werror_flag"
                   11587:                         || test ! -s conftest.err'
                   11588:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11589:   (eval $ac_try) 2>&5
                   11590:   ac_status=$?
                   11591:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11592:   (exit $ac_status); }; } &&
                   11593:         { ac_try='test -s conftest$ac_exeext'
                   11594:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11595:   (eval $ac_try) 2>&5
                   11596:   ac_status=$?
                   11597:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11598:   (exit $ac_status); }; }; then
                   11599:   ac_cv_lib_dl_dlopen=yes
                   11600: else
                   11601:   echo "$as_me: failed program was:" >&5
                   11602: sed 's/^/| /' conftest.$ac_ext >&5
                   11603: 
                   11604: ac_cv_lib_dl_dlopen=no
                   11605: fi
                   11606: rm -f conftest.err conftest.$ac_objext \
                   11607:       conftest$ac_exeext conftest.$ac_ext
                   11608: LIBS=$ac_check_lib_save_LIBS
                   11609: fi
                   11610: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11611: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11612: if test $ac_cv_lib_dl_dlopen = yes; then
                   11613:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11614: else
                   11615: 
                   11616:     lt_cv_dlopen="dyld"
                   11617:     lt_cv_dlopen_libs=
                   11618:     lt_cv_dlopen_self=yes
                   11619: 
                   11620: fi
                   11621: 
                   11622:     ;;
                   11623: 
                   11624:   *)
                   11625:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   11626: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   11627: if test "${ac_cv_func_shl_load+set}" = set; then
                   11628:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11629: else
                   11630:   cat >conftest.$ac_ext <<_ACEOF
                   11631: /* confdefs.h.  */
                   11632: _ACEOF
                   11633: cat confdefs.h >>conftest.$ac_ext
                   11634: cat >>conftest.$ac_ext <<_ACEOF
                   11635: /* end confdefs.h.  */
                   11636: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   11637:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11638: #define shl_load innocuous_shl_load
                   11639: 
                   11640: /* System header to define __stub macros and hopefully few prototypes,
                   11641:     which can conflict with char shl_load (); below.
                   11642:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11643:     <limits.h> exists even on freestanding compilers.  */
                   11644: 
                   11645: #ifdef __STDC__
                   11646: # include <limits.h>
                   11647: #else
                   11648: # include <assert.h>
                   11649: #endif
                   11650: 
                   11651: #undef shl_load
                   11652: 
                   11653: /* Override any gcc2 internal prototype to avoid an error.  */
                   11654: #ifdef __cplusplus
                   11655: extern "C"
                   11656: {
                   11657: #endif
                   11658: /* We use char because int might match the return type of a gcc2
                   11659:    builtin and then its argument prototype would still apply.  */
                   11660: char shl_load ();
                   11661: /* The GNU C library defines this for functions which it implements
                   11662:     to always fail with ENOSYS.  Some functions are actually named
                   11663:     something starting with __ and the normal name is an alias.  */
                   11664: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   11665: choke me
                   11666: #else
                   11667: char (*f) () = shl_load;
                   11668: #endif
                   11669: #ifdef __cplusplus
                   11670: }
                   11671: #endif
                   11672: 
                   11673: int
                   11674: main ()
                   11675: {
                   11676: return f != shl_load;
                   11677:   ;
                   11678:   return 0;
                   11679: }
                   11680: _ACEOF
                   11681: rm -f conftest.$ac_objext conftest$ac_exeext
                   11682: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11683:   (eval $ac_link) 2>conftest.er1
                   11684:   ac_status=$?
                   11685:   grep -v '^ *+' conftest.er1 >conftest.err
                   11686:   rm -f conftest.er1
                   11687:   cat conftest.err >&5
                   11688:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11689:   (exit $ac_status); } &&
                   11690:         { ac_try='test -z "$ac_c_werror_flag"
                   11691:                         || test ! -s conftest.err'
                   11692:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11693:   (eval $ac_try) 2>&5
                   11694:   ac_status=$?
                   11695:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11696:   (exit $ac_status); }; } &&
                   11697:         { ac_try='test -s conftest$ac_exeext'
                   11698:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11699:   (eval $ac_try) 2>&5
                   11700:   ac_status=$?
                   11701:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11702:   (exit $ac_status); }; }; then
                   11703:   ac_cv_func_shl_load=yes
                   11704: else
                   11705:   echo "$as_me: failed program was:" >&5
                   11706: sed 's/^/| /' conftest.$ac_ext >&5
                   11707: 
                   11708: ac_cv_func_shl_load=no
                   11709: fi
                   11710: rm -f conftest.err conftest.$ac_objext \
                   11711:       conftest$ac_exeext conftest.$ac_ext
                   11712: fi
                   11713: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   11714: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   11715: if test $ac_cv_func_shl_load = yes; then
                   11716:   lt_cv_dlopen="shl_load"
                   11717: else
                   11718:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   11719: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   11720: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   11721:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11722: else
                   11723:   ac_check_lib_save_LIBS=$LIBS
                   11724: LIBS="-ldld  $LIBS"
                   11725: cat >conftest.$ac_ext <<_ACEOF
                   11726: /* confdefs.h.  */
                   11727: _ACEOF
                   11728: cat confdefs.h >>conftest.$ac_ext
                   11729: cat >>conftest.$ac_ext <<_ACEOF
                   11730: /* end confdefs.h.  */
                   11731: 
                   11732: /* Override any gcc2 internal prototype to avoid an error.  */
                   11733: #ifdef __cplusplus
                   11734: extern "C"
                   11735: #endif
                   11736: /* We use char because int might match the return type of a gcc2
                   11737:    builtin and then its argument prototype would still apply.  */
                   11738: char shl_load ();
                   11739: int
                   11740: main ()
                   11741: {
                   11742: shl_load ();
                   11743:   ;
                   11744:   return 0;
                   11745: }
                   11746: _ACEOF
                   11747: rm -f conftest.$ac_objext conftest$ac_exeext
                   11748: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11749:   (eval $ac_link) 2>conftest.er1
                   11750:   ac_status=$?
                   11751:   grep -v '^ *+' conftest.er1 >conftest.err
                   11752:   rm -f conftest.er1
                   11753:   cat conftest.err >&5
                   11754:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11755:   (exit $ac_status); } &&
                   11756:         { ac_try='test -z "$ac_c_werror_flag"
                   11757:                         || test ! -s conftest.err'
                   11758:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11759:   (eval $ac_try) 2>&5
                   11760:   ac_status=$?
                   11761:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11762:   (exit $ac_status); }; } &&
                   11763:         { ac_try='test -s conftest$ac_exeext'
                   11764:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11765:   (eval $ac_try) 2>&5
                   11766:   ac_status=$?
                   11767:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11768:   (exit $ac_status); }; }; then
                   11769:   ac_cv_lib_dld_shl_load=yes
                   11770: else
                   11771:   echo "$as_me: failed program was:" >&5
                   11772: sed 's/^/| /' conftest.$ac_ext >&5
                   11773: 
                   11774: ac_cv_lib_dld_shl_load=no
                   11775: fi
                   11776: rm -f conftest.err conftest.$ac_objext \
                   11777:       conftest$ac_exeext conftest.$ac_ext
                   11778: LIBS=$ac_check_lib_save_LIBS
                   11779: fi
                   11780: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   11781: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   11782: if test $ac_cv_lib_dld_shl_load = yes; then
                   11783:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11784: else
                   11785:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   11786: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   11787: if test "${ac_cv_func_dlopen+set}" = set; then
                   11788:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11789: else
                   11790:   cat >conftest.$ac_ext <<_ACEOF
                   11791: /* confdefs.h.  */
                   11792: _ACEOF
                   11793: cat confdefs.h >>conftest.$ac_ext
                   11794: cat >>conftest.$ac_ext <<_ACEOF
                   11795: /* end confdefs.h.  */
                   11796: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   11797:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11798: #define dlopen innocuous_dlopen
                   11799: 
                   11800: /* System header to define __stub macros and hopefully few prototypes,
                   11801:     which can conflict with char dlopen (); below.
                   11802:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11803:     <limits.h> exists even on freestanding compilers.  */
                   11804: 
                   11805: #ifdef __STDC__
                   11806: # include <limits.h>
                   11807: #else
                   11808: # include <assert.h>
                   11809: #endif
                   11810: 
                   11811: #undef dlopen
                   11812: 
                   11813: /* Override any gcc2 internal prototype to avoid an error.  */
                   11814: #ifdef __cplusplus
                   11815: extern "C"
                   11816: {
                   11817: #endif
                   11818: /* We use char because int might match the return type of a gcc2
                   11819:    builtin and then its argument prototype would still apply.  */
                   11820: char dlopen ();
                   11821: /* The GNU C library defines this for functions which it implements
                   11822:     to always fail with ENOSYS.  Some functions are actually named
                   11823:     something starting with __ and the normal name is an alias.  */
                   11824: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   11825: choke me
                   11826: #else
                   11827: char (*f) () = dlopen;
                   11828: #endif
                   11829: #ifdef __cplusplus
                   11830: }
                   11831: #endif
                   11832: 
                   11833: int
                   11834: main ()
                   11835: {
                   11836: return f != dlopen;
                   11837:   ;
                   11838:   return 0;
                   11839: }
                   11840: _ACEOF
                   11841: rm -f conftest.$ac_objext conftest$ac_exeext
                   11842: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11843:   (eval $ac_link) 2>conftest.er1
                   11844:   ac_status=$?
                   11845:   grep -v '^ *+' conftest.er1 >conftest.err
                   11846:   rm -f conftest.er1
                   11847:   cat conftest.err >&5
                   11848:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11849:   (exit $ac_status); } &&
                   11850:         { ac_try='test -z "$ac_c_werror_flag"
                   11851:                         || test ! -s conftest.err'
                   11852:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11853:   (eval $ac_try) 2>&5
                   11854:   ac_status=$?
                   11855:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11856:   (exit $ac_status); }; } &&
                   11857:         { ac_try='test -s conftest$ac_exeext'
                   11858:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11859:   (eval $ac_try) 2>&5
                   11860:   ac_status=$?
                   11861:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11862:   (exit $ac_status); }; }; then
                   11863:   ac_cv_func_dlopen=yes
                   11864: else
                   11865:   echo "$as_me: failed program was:" >&5
                   11866: sed 's/^/| /' conftest.$ac_ext >&5
                   11867: 
                   11868: ac_cv_func_dlopen=no
                   11869: fi
                   11870: rm -f conftest.err conftest.$ac_objext \
                   11871:       conftest$ac_exeext conftest.$ac_ext
                   11872: fi
                   11873: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   11874: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   11875: if test $ac_cv_func_dlopen = yes; then
                   11876:   lt_cv_dlopen="dlopen"
                   11877: else
                   11878:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11879: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11880: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11881:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11882: else
                   11883:   ac_check_lib_save_LIBS=$LIBS
                   11884: LIBS="-ldl  $LIBS"
                   11885: cat >conftest.$ac_ext <<_ACEOF
                   11886: /* confdefs.h.  */
                   11887: _ACEOF
                   11888: cat confdefs.h >>conftest.$ac_ext
                   11889: cat >>conftest.$ac_ext <<_ACEOF
                   11890: /* end confdefs.h.  */
                   11891: 
                   11892: /* Override any gcc2 internal prototype to avoid an error.  */
                   11893: #ifdef __cplusplus
                   11894: extern "C"
                   11895: #endif
                   11896: /* We use char because int might match the return type of a gcc2
                   11897:    builtin and then its argument prototype would still apply.  */
                   11898: char dlopen ();
                   11899: int
                   11900: main ()
                   11901: {
                   11902: dlopen ();
                   11903:   ;
                   11904:   return 0;
                   11905: }
                   11906: _ACEOF
                   11907: rm -f conftest.$ac_objext conftest$ac_exeext
                   11908: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11909:   (eval $ac_link) 2>conftest.er1
                   11910:   ac_status=$?
                   11911:   grep -v '^ *+' conftest.er1 >conftest.err
                   11912:   rm -f conftest.er1
                   11913:   cat conftest.err >&5
                   11914:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11915:   (exit $ac_status); } &&
                   11916:         { ac_try='test -z "$ac_c_werror_flag"
                   11917:                         || test ! -s conftest.err'
                   11918:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11919:   (eval $ac_try) 2>&5
                   11920:   ac_status=$?
                   11921:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11922:   (exit $ac_status); }; } &&
                   11923:         { ac_try='test -s conftest$ac_exeext'
                   11924:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11925:   (eval $ac_try) 2>&5
                   11926:   ac_status=$?
                   11927:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11928:   (exit $ac_status); }; }; then
                   11929:   ac_cv_lib_dl_dlopen=yes
                   11930: else
                   11931:   echo "$as_me: failed program was:" >&5
                   11932: sed 's/^/| /' conftest.$ac_ext >&5
                   11933: 
                   11934: ac_cv_lib_dl_dlopen=no
                   11935: fi
                   11936: rm -f conftest.err conftest.$ac_objext \
                   11937:       conftest$ac_exeext conftest.$ac_ext
                   11938: LIBS=$ac_check_lib_save_LIBS
                   11939: fi
                   11940: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11941: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11942: if test $ac_cv_lib_dl_dlopen = yes; then
                   11943:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11944: else
                   11945:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   11946: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   11947: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   11948:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11949: else
                   11950:   ac_check_lib_save_LIBS=$LIBS
                   11951: LIBS="-lsvld  $LIBS"
                   11952: cat >conftest.$ac_ext <<_ACEOF
                   11953: /* confdefs.h.  */
                   11954: _ACEOF
                   11955: cat confdefs.h >>conftest.$ac_ext
                   11956: cat >>conftest.$ac_ext <<_ACEOF
                   11957: /* end confdefs.h.  */
                   11958: 
                   11959: /* Override any gcc2 internal prototype to avoid an error.  */
                   11960: #ifdef __cplusplus
                   11961: extern "C"
                   11962: #endif
                   11963: /* We use char because int might match the return type of a gcc2
                   11964:    builtin and then its argument prototype would still apply.  */
                   11965: char dlopen ();
                   11966: int
                   11967: main ()
                   11968: {
                   11969: dlopen ();
                   11970:   ;
                   11971:   return 0;
                   11972: }
                   11973: _ACEOF
                   11974: rm -f conftest.$ac_objext conftest$ac_exeext
                   11975: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11976:   (eval $ac_link) 2>conftest.er1
                   11977:   ac_status=$?
                   11978:   grep -v '^ *+' conftest.er1 >conftest.err
                   11979:   rm -f conftest.er1
                   11980:   cat conftest.err >&5
                   11981:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11982:   (exit $ac_status); } &&
                   11983:         { ac_try='test -z "$ac_c_werror_flag"
                   11984:                         || test ! -s conftest.err'
                   11985:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11986:   (eval $ac_try) 2>&5
                   11987:   ac_status=$?
                   11988:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11989:   (exit $ac_status); }; } &&
                   11990:         { ac_try='test -s conftest$ac_exeext'
                   11991:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11992:   (eval $ac_try) 2>&5
                   11993:   ac_status=$?
                   11994:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11995:   (exit $ac_status); }; }; then
                   11996:   ac_cv_lib_svld_dlopen=yes
                   11997: else
                   11998:   echo "$as_me: failed program was:" >&5
                   11999: sed 's/^/| /' conftest.$ac_ext >&5
                   12000: 
                   12001: ac_cv_lib_svld_dlopen=no
                   12002: fi
                   12003: rm -f conftest.err conftest.$ac_objext \
                   12004:       conftest$ac_exeext conftest.$ac_ext
                   12005: LIBS=$ac_check_lib_save_LIBS
                   12006: fi
                   12007: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   12008: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   12009: if test $ac_cv_lib_svld_dlopen = yes; then
                   12010:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12011: else
                   12012:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   12013: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   12014: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   12015:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12016: else
                   12017:   ac_check_lib_save_LIBS=$LIBS
                   12018: LIBS="-ldld  $LIBS"
                   12019: cat >conftest.$ac_ext <<_ACEOF
                   12020: /* confdefs.h.  */
                   12021: _ACEOF
                   12022: cat confdefs.h >>conftest.$ac_ext
                   12023: cat >>conftest.$ac_ext <<_ACEOF
                   12024: /* end confdefs.h.  */
                   12025: 
                   12026: /* Override any gcc2 internal prototype to avoid an error.  */
                   12027: #ifdef __cplusplus
                   12028: extern "C"
                   12029: #endif
                   12030: /* We use char because int might match the return type of a gcc2
                   12031:    builtin and then its argument prototype would still apply.  */
                   12032: char dld_link ();
                   12033: int
                   12034: main ()
                   12035: {
                   12036: dld_link ();
                   12037:   ;
                   12038:   return 0;
                   12039: }
                   12040: _ACEOF
                   12041: rm -f conftest.$ac_objext conftest$ac_exeext
                   12042: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12043:   (eval $ac_link) 2>conftest.er1
                   12044:   ac_status=$?
                   12045:   grep -v '^ *+' conftest.er1 >conftest.err
                   12046:   rm -f conftest.er1
                   12047:   cat conftest.err >&5
                   12048:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12049:   (exit $ac_status); } &&
                   12050:         { ac_try='test -z "$ac_c_werror_flag"
                   12051:                         || test ! -s conftest.err'
                   12052:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12053:   (eval $ac_try) 2>&5
                   12054:   ac_status=$?
                   12055:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12056:   (exit $ac_status); }; } &&
                   12057:         { ac_try='test -s conftest$ac_exeext'
                   12058:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12059:   (eval $ac_try) 2>&5
                   12060:   ac_status=$?
                   12061:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12062:   (exit $ac_status); }; }; then
                   12063:   ac_cv_lib_dld_dld_link=yes
                   12064: else
                   12065:   echo "$as_me: failed program was:" >&5
                   12066: sed 's/^/| /' conftest.$ac_ext >&5
                   12067: 
                   12068: ac_cv_lib_dld_dld_link=no
                   12069: fi
                   12070: rm -f conftest.err conftest.$ac_objext \
                   12071:       conftest$ac_exeext conftest.$ac_ext
                   12072: LIBS=$ac_check_lib_save_LIBS
                   12073: fi
                   12074: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   12075: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   12076: if test $ac_cv_lib_dld_dld_link = yes; then
                   12077:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12078: fi
                   12079: 
                   12080: 
                   12081: fi
                   12082: 
                   12083: 
                   12084: fi
                   12085: 
                   12086: 
                   12087: fi
                   12088: 
                   12089: 
                   12090: fi
                   12091: 
                   12092: 
                   12093: fi
                   12094: 
                   12095:     ;;
                   12096:   esac
                   12097: 
                   12098:   if test "x$lt_cv_dlopen" != xno; then
                   12099:     enable_dlopen=yes
                   12100:   else
                   12101:     enable_dlopen=no
                   12102:   fi
                   12103: 
                   12104:   case $lt_cv_dlopen in
                   12105:   dlopen)
                   12106:     save_CPPFLAGS="$CPPFLAGS"
                   12107:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12108: 
                   12109:     save_LDFLAGS="$LDFLAGS"
                   12110:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12111: 
                   12112:     save_LIBS="$LIBS"
                   12113:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12114: 
                   12115:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   12116: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   12117: if test "${lt_cv_dlopen_self+set}" = set; then
                   12118:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12119: else
                   12120:          if test "$cross_compiling" = yes; then :
                   12121:   lt_cv_dlopen_self=cross
                   12122: else
                   12123:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12124:   lt_status=$lt_dlunknown
                   12125:   cat > conftest.$ac_ext <<_LT_EOF
                   12126: #line $LINENO "configure"
                   12127: #include "confdefs.h"
                   12128: 
                   12129: #if HAVE_DLFCN_H
                   12130: #include <dlfcn.h>
                   12131: #endif
                   12132: 
                   12133: #include <stdio.h>
                   12134: 
                   12135: #ifdef RTLD_GLOBAL
                   12136: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12137: #else
                   12138: #  ifdef DL_GLOBAL
                   12139: #    define LT_DLGLOBAL                DL_GLOBAL
                   12140: #  else
                   12141: #    define LT_DLGLOBAL                0
                   12142: #  endif
                   12143: #endif
                   12144: 
                   12145: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12146:    find out it does not work in some platform. */
                   12147: #ifndef LT_DLLAZY_OR_NOW
                   12148: #  ifdef RTLD_LAZY
                   12149: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12150: #  else
                   12151: #    ifdef DL_LAZY
                   12152: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12153: #    else
                   12154: #      ifdef RTLD_NOW
                   12155: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12156: #      else
                   12157: #        ifdef DL_NOW
                   12158: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12159: #        else
                   12160: #          define LT_DLLAZY_OR_NOW     0
                   12161: #        endif
                   12162: #      endif
                   12163: #    endif
                   12164: #  endif
                   12165: #endif
                   12166: 
                   12167: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12168:    correspondingly for the symbols needed.  */
                   12169: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12170: int fnord () __attribute__((visibility("default")));
                   12171: #endif
                   12172: 
                   12173: int fnord () { return 42; }
                   12174: int main ()
                   12175: {
                   12176:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12177:   int status = $lt_dlunknown;
                   12178: 
                   12179:   if (self)
                   12180:     {
                   12181:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12182:       else
                   12183:         {
                   12184:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12185:           else puts (dlerror ());
                   12186:        }
                   12187:       /* dlclose (self); */
                   12188:     }
                   12189:   else
                   12190:     puts (dlerror ());
                   12191: 
                   12192:   return status;
                   12193: }
                   12194: _LT_EOF
                   12195:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12196:   (eval $ac_link) 2>&5
                   12197:   ac_status=$?
                   12198:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12199:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12200:     (./conftest; exit; ) >&5 2>/dev/null
                   12201:     lt_status=$?
                   12202:     case x$lt_status in
                   12203:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12204:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12205:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12206:     esac
                   12207:   else :
                   12208:     # compilation failed
                   12209:     lt_cv_dlopen_self=no
                   12210:   fi
                   12211: fi
                   12212: rm -fr conftest*
                   12213: 
                   12214: 
                   12215: fi
                   12216: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   12217: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   12218: 
                   12219:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12220:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   12221:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   12222: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   12223: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   12224:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12225: else
                   12226:          if test "$cross_compiling" = yes; then :
                   12227:   lt_cv_dlopen_self_static=cross
                   12228: else
                   12229:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12230:   lt_status=$lt_dlunknown
                   12231:   cat > conftest.$ac_ext <<_LT_EOF
                   12232: #line $LINENO "configure"
                   12233: #include "confdefs.h"
                   12234: 
                   12235: #if HAVE_DLFCN_H
                   12236: #include <dlfcn.h>
                   12237: #endif
                   12238: 
                   12239: #include <stdio.h>
                   12240: 
                   12241: #ifdef RTLD_GLOBAL
                   12242: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12243: #else
                   12244: #  ifdef DL_GLOBAL
                   12245: #    define LT_DLGLOBAL                DL_GLOBAL
                   12246: #  else
                   12247: #    define LT_DLGLOBAL                0
                   12248: #  endif
                   12249: #endif
                   12250: 
                   12251: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12252:    find out it does not work in some platform. */
                   12253: #ifndef LT_DLLAZY_OR_NOW
                   12254: #  ifdef RTLD_LAZY
                   12255: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12256: #  else
                   12257: #    ifdef DL_LAZY
                   12258: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12259: #    else
                   12260: #      ifdef RTLD_NOW
                   12261: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12262: #      else
                   12263: #        ifdef DL_NOW
                   12264: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12265: #        else
                   12266: #          define LT_DLLAZY_OR_NOW     0
                   12267: #        endif
                   12268: #      endif
                   12269: #    endif
                   12270: #  endif
                   12271: #endif
                   12272: 
                   12273: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12274:    correspondingly for the symbols needed.  */
                   12275: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12276: int fnord () __attribute__((visibility("default")));
                   12277: #endif
                   12278: 
                   12279: int fnord () { return 42; }
                   12280: int main ()
                   12281: {
                   12282:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12283:   int status = $lt_dlunknown;
                   12284: 
                   12285:   if (self)
                   12286:     {
                   12287:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12288:       else
                   12289:         {
                   12290:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12291:           else puts (dlerror ());
                   12292:        }
                   12293:       /* dlclose (self); */
                   12294:     }
                   12295:   else
                   12296:     puts (dlerror ());
                   12297: 
                   12298:   return status;
                   12299: }
                   12300: _LT_EOF
                   12301:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12302:   (eval $ac_link) 2>&5
                   12303:   ac_status=$?
                   12304:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12305:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12306:     (./conftest; exit; ) >&5 2>/dev/null
                   12307:     lt_status=$?
                   12308:     case x$lt_status in
                   12309:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12310:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12311:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12312:     esac
                   12313:   else :
                   12314:     # compilation failed
                   12315:     lt_cv_dlopen_self_static=no
                   12316:   fi
                   12317: fi
                   12318: rm -fr conftest*
                   12319: 
                   12320: 
                   12321: fi
                   12322: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   12323: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   12324:     fi
                   12325: 
                   12326:     CPPFLAGS="$save_CPPFLAGS"
                   12327:     LDFLAGS="$save_LDFLAGS"
                   12328:     LIBS="$save_LIBS"
                   12329:     ;;
                   12330:   esac
                   12331: 
                   12332:   case $lt_cv_dlopen_self in
                   12333:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12334:   *) enable_dlopen_self=unknown ;;
                   12335:   esac
                   12336: 
                   12337:   case $lt_cv_dlopen_self_static in
                   12338:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12339:   *) enable_dlopen_self_static=unknown ;;
                   12340:   esac
                   12341: fi
                   12342: 
                   12343: 
                   12344: 
                   12345: 
                   12346: 
                   12347: 
                   12348: 
                   12349: 
                   12350: 
                   12351: 
                   12352: 
                   12353: 
                   12354: 
                   12355: 
                   12356: 
                   12357: 
                   12358: 
                   12359: striplib=
                   12360: old_striplib=
                   12361: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   12362: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   12363: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12364:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12365:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   12366:   echo "$as_me:$LINENO: result: yes" >&5
                   12367: echo "${ECHO_T}yes" >&6
                   12368: else
                   12369: # FIXME - insert some real tests, host_os isn't really good enough
                   12370:   case $host_os in
                   12371:   darwin*)
                   12372:     if test -n "$STRIP" ; then
                   12373:       striplib="$STRIP -x"
                   12374:       old_striplib="$STRIP -S"
                   12375:       echo "$as_me:$LINENO: result: yes" >&5
                   12376: echo "${ECHO_T}yes" >&6
                   12377:     else
                   12378:       echo "$as_me:$LINENO: result: no" >&5
                   12379: echo "${ECHO_T}no" >&6
                   12380:     fi
                   12381:     ;;
                   12382:   *)
                   12383:     echo "$as_me:$LINENO: result: no" >&5
                   12384: echo "${ECHO_T}no" >&6
                   12385:     ;;
                   12386:   esac
                   12387: fi
                   12388: 
                   12389: 
                   12390: 
                   12391: 
                   12392: 
                   12393: 
                   12394: 
                   12395: 
                   12396: 
                   12397: 
                   12398: 
                   12399: 
                   12400:   # Report which library types will actually be built
                   12401:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   12402: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   12403:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   12404: echo "${ECHO_T}$can_build_shared" >&6
                   12405: 
                   12406:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   12407: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   12408:   test "$can_build_shared" = "no" && enable_shared=no
                   12409: 
                   12410:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12411:   # are all built from PIC.
                   12412:   case $host_os in
                   12413:   aix3*)
                   12414:     test "$enable_shared" = yes && enable_static=no
                   12415:     if test -n "$RANLIB"; then
                   12416:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12417:       postinstall_cmds='$RANLIB $lib'
                   12418:     fi
                   12419:     ;;
                   12420: 
                   12421:   aix[4-9]*)
                   12422:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12423:       test "$enable_shared" = yes && enable_static=no
                   12424:     fi
                   12425:     ;;
                   12426:   esac
                   12427:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   12428: echo "${ECHO_T}$enable_shared" >&6
                   12429: 
                   12430:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   12431: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   12432:   # Make sure either enable_shared or enable_static is yes.
                   12433:   test "$enable_shared" = yes || enable_static=yes
                   12434:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   12435: echo "${ECHO_T}$enable_static" >&6
                   12436: 
                   12437: 
                   12438: 
                   12439: 
                   12440: fi
                   12441: ac_ext=c
                   12442: ac_cpp='$CPP $CPPFLAGS'
                   12443: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12444: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12445: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12446: 
                   12447: CC="$lt_save_CC"
                   12448: 
                   12449:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12450:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12451:     (test "X$CXX" != "Xg++"))) ; then
                   12452:   ac_ext=cc
                   12453: ac_cpp='$CXXCPP $CPPFLAGS'
                   12454: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12455: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12456: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12457: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   12458: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
                   12459: if test -z "$CXXCPP"; then
                   12460:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   12461:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12462: else
                   12463:       # Double quotes because CXXCPP needs to be expanded
                   12464:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12465:     do
                   12466:       ac_preproc_ok=false
                   12467: for ac_cxx_preproc_warn_flag in '' yes
                   12468: do
                   12469:   # Use a header file that comes with gcc, so configuring glibc
                   12470:   # with a fresh cross-compiler works.
                   12471:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12472:   # <limits.h> exists even on freestanding compilers.
                   12473:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12474:   # not just through cpp. "Syntax error" is here to catch this case.
                   12475:   cat >conftest.$ac_ext <<_ACEOF
                   12476: /* confdefs.h.  */
                   12477: _ACEOF
                   12478: cat confdefs.h >>conftest.$ac_ext
                   12479: cat >>conftest.$ac_ext <<_ACEOF
                   12480: /* end confdefs.h.  */
                   12481: #ifdef __STDC__
                   12482: # include <limits.h>
                   12483: #else
                   12484: # include <assert.h>
                   12485: #endif
                   12486:                     Syntax error
                   12487: _ACEOF
                   12488: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12489:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12490:   ac_status=$?
                   12491:   grep -v '^ *+' conftest.er1 >conftest.err
                   12492:   rm -f conftest.er1
                   12493:   cat conftest.err >&5
                   12494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12495:   (exit $ac_status); } >/dev/null; then
                   12496:   if test -s conftest.err; then
                   12497:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12498:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12499:   else
                   12500:     ac_cpp_err=
                   12501:   fi
                   12502: else
                   12503:   ac_cpp_err=yes
                   12504: fi
                   12505: if test -z "$ac_cpp_err"; then
                   12506:   :
                   12507: else
                   12508:   echo "$as_me: failed program was:" >&5
                   12509: sed 's/^/| /' conftest.$ac_ext >&5
                   12510: 
                   12511:   # Broken: fails on valid input.
                   12512: continue
                   12513: fi
                   12514: rm -f conftest.err conftest.$ac_ext
                   12515: 
                   12516:   # OK, works on sane cases.  Now check whether non-existent headers
                   12517:   # can be detected and how.
                   12518:   cat >conftest.$ac_ext <<_ACEOF
                   12519: /* confdefs.h.  */
                   12520: _ACEOF
                   12521: cat confdefs.h >>conftest.$ac_ext
                   12522: cat >>conftest.$ac_ext <<_ACEOF
                   12523: /* end confdefs.h.  */
                   12524: #include <ac_nonexistent.h>
                   12525: _ACEOF
                   12526: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12527:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12528:   ac_status=$?
                   12529:   grep -v '^ *+' conftest.er1 >conftest.err
                   12530:   rm -f conftest.er1
                   12531:   cat conftest.err >&5
                   12532:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12533:   (exit $ac_status); } >/dev/null; then
                   12534:   if test -s conftest.err; then
                   12535:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12536:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12537:   else
                   12538:     ac_cpp_err=
                   12539:   fi
                   12540: else
                   12541:   ac_cpp_err=yes
                   12542: fi
                   12543: if test -z "$ac_cpp_err"; then
                   12544:   # Broken: success on invalid input.
                   12545: continue
                   12546: else
                   12547:   echo "$as_me: failed program was:" >&5
                   12548: sed 's/^/| /' conftest.$ac_ext >&5
                   12549: 
                   12550:   # Passes both tests.
                   12551: ac_preproc_ok=:
                   12552: break
                   12553: fi
                   12554: rm -f conftest.err conftest.$ac_ext
                   12555: 
                   12556: done
                   12557: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12558: rm -f conftest.err conftest.$ac_ext
                   12559: if $ac_preproc_ok; then
                   12560:   break
                   12561: fi
                   12562: 
                   12563:     done
                   12564:     ac_cv_prog_CXXCPP=$CXXCPP
                   12565: 
                   12566: fi
                   12567:   CXXCPP=$ac_cv_prog_CXXCPP
                   12568: else
                   12569:   ac_cv_prog_CXXCPP=$CXXCPP
                   12570: fi
                   12571: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   12572: echo "${ECHO_T}$CXXCPP" >&6
                   12573: ac_preproc_ok=false
                   12574: for ac_cxx_preproc_warn_flag in '' yes
                   12575: do
                   12576:   # Use a header file that comes with gcc, so configuring glibc
                   12577:   # with a fresh cross-compiler works.
                   12578:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12579:   # <limits.h> exists even on freestanding compilers.
                   12580:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12581:   # not just through cpp. "Syntax error" is here to catch this case.
                   12582:   cat >conftest.$ac_ext <<_ACEOF
                   12583: /* confdefs.h.  */
                   12584: _ACEOF
                   12585: cat confdefs.h >>conftest.$ac_ext
                   12586: cat >>conftest.$ac_ext <<_ACEOF
                   12587: /* end confdefs.h.  */
                   12588: #ifdef __STDC__
                   12589: # include <limits.h>
                   12590: #else
                   12591: # include <assert.h>
                   12592: #endif
                   12593:                     Syntax error
                   12594: _ACEOF
                   12595: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12596:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12597:   ac_status=$?
                   12598:   grep -v '^ *+' conftest.er1 >conftest.err
                   12599:   rm -f conftest.er1
                   12600:   cat conftest.err >&5
                   12601:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12602:   (exit $ac_status); } >/dev/null; then
                   12603:   if test -s conftest.err; then
                   12604:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12605:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12606:   else
                   12607:     ac_cpp_err=
                   12608:   fi
                   12609: else
                   12610:   ac_cpp_err=yes
                   12611: fi
                   12612: if test -z "$ac_cpp_err"; then
                   12613:   :
                   12614: else
                   12615:   echo "$as_me: failed program was:" >&5
                   12616: sed 's/^/| /' conftest.$ac_ext >&5
                   12617: 
                   12618:   # Broken: fails on valid input.
                   12619: continue
                   12620: fi
                   12621: rm -f conftest.err conftest.$ac_ext
                   12622: 
                   12623:   # OK, works on sane cases.  Now check whether non-existent headers
                   12624:   # can be detected and how.
                   12625:   cat >conftest.$ac_ext <<_ACEOF
                   12626: /* confdefs.h.  */
                   12627: _ACEOF
                   12628: cat confdefs.h >>conftest.$ac_ext
                   12629: cat >>conftest.$ac_ext <<_ACEOF
                   12630: /* end confdefs.h.  */
                   12631: #include <ac_nonexistent.h>
                   12632: _ACEOF
                   12633: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12634:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12635:   ac_status=$?
                   12636:   grep -v '^ *+' conftest.er1 >conftest.err
                   12637:   rm -f conftest.er1
                   12638:   cat conftest.err >&5
                   12639:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12640:   (exit $ac_status); } >/dev/null; then
                   12641:   if test -s conftest.err; then
                   12642:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12643:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12644:   else
                   12645:     ac_cpp_err=
                   12646:   fi
                   12647: else
                   12648:   ac_cpp_err=yes
                   12649: fi
                   12650: if test -z "$ac_cpp_err"; then
                   12651:   # Broken: success on invalid input.
                   12652: continue
                   12653: else
                   12654:   echo "$as_me: failed program was:" >&5
                   12655: sed 's/^/| /' conftest.$ac_ext >&5
                   12656: 
                   12657:   # Passes both tests.
                   12658: ac_preproc_ok=:
                   12659: break
                   12660: fi
                   12661: rm -f conftest.err conftest.$ac_ext
                   12662: 
                   12663: done
                   12664: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12665: rm -f conftest.err conftest.$ac_ext
                   12666: if $ac_preproc_ok; then
                   12667:   :
                   12668: else
                   12669:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12670: See \`config.log' for more details." >&5
                   12671: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12672: See \`config.log' for more details." >&2;}
                   12673:    { (exit 1); exit 1; }; }
                   12674: fi
                   12675: 
                   12676: ac_ext=c
                   12677: ac_cpp='$CPP $CPPFLAGS'
                   12678: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12679: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12680: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12681: 
                   12682: else
                   12683:   _lt_caught_CXX_error=yes
                   12684: fi
                   12685: 
                   12686: ac_ext=cc
                   12687: ac_cpp='$CXXCPP $CPPFLAGS'
                   12688: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12689: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12690: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12691: 
                   12692: archive_cmds_need_lc_CXX=no
                   12693: allow_undefined_flag_CXX=
                   12694: always_export_symbols_CXX=no
                   12695: archive_expsym_cmds_CXX=
                   12696: compiler_needs_object_CXX=no
                   12697: export_dynamic_flag_spec_CXX=
                   12698: hardcode_direct_CXX=no
                   12699: hardcode_direct_absolute_CXX=no
                   12700: hardcode_libdir_flag_spec_CXX=
                   12701: hardcode_libdir_separator_CXX=
                   12702: hardcode_minus_L_CXX=no
                   12703: hardcode_shlibpath_var_CXX=unsupported
                   12704: hardcode_automatic_CXX=no
                   12705: inherit_rpath_CXX=no
                   12706: module_cmds_CXX=
                   12707: module_expsym_cmds_CXX=
                   12708: link_all_deplibs_CXX=unknown
                   12709: old_archive_cmds_CXX=$old_archive_cmds
                   12710: reload_flag_CXX=$reload_flag
                   12711: reload_cmds_CXX=$reload_cmds
                   12712: no_undefined_flag_CXX=
                   12713: whole_archive_flag_spec_CXX=
                   12714: enable_shared_with_static_runtimes_CXX=no
                   12715: 
                   12716: # Source file extension for C++ test sources.
                   12717: ac_ext=cpp
                   12718: 
                   12719: # Object file extension for compiled C++ test sources.
                   12720: objext=o
                   12721: objext_CXX=$objext
                   12722: 
                   12723: # No sense in running all these tests if we already determined that
                   12724: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12725: # are currently assumed to apply to all compilers on this platform,
                   12726: # and will be corrupted by setting them based on a non-working compiler.
                   12727: if test "$_lt_caught_CXX_error" != yes; then
                   12728:   # Code to be used in simple compile tests
                   12729:   lt_simple_compile_test_code="int some_variable = 0;"
                   12730: 
                   12731:   # Code to be used in simple link tests
                   12732:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12733: 
                   12734:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12735: 
                   12736: 
                   12737: 
                   12738: 
                   12739: 
                   12740: 
                   12741: # If no C compiler was specified, use CC.
                   12742: LTCC=${LTCC-"$CC"}
                   12743: 
                   12744: # If no C compiler flags were specified, use CFLAGS.
                   12745: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12746: 
                   12747: # Allow CC to be a program name with arguments.
                   12748: compiler=$CC
                   12749: 
                   12750: 
                   12751:   # save warnings/boilerplate of simple test code
                   12752:   ac_outfile=conftest.$ac_objext
                   12753: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12754: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12755: _lt_compiler_boilerplate=`cat conftest.err`
                   12756: $RM conftest*
                   12757: 
                   12758:   ac_outfile=conftest.$ac_objext
                   12759: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12760: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12761: _lt_linker_boilerplate=`cat conftest.err`
                   12762: $RM -r conftest*
                   12763: 
                   12764: 
                   12765:   # Allow CC to be a program name with arguments.
                   12766:   lt_save_CC=$CC
                   12767:   lt_save_CFLAGS=$CFLAGS
                   12768:   lt_save_LD=$LD
                   12769:   lt_save_GCC=$GCC
                   12770:   GCC=$GXX
                   12771:   lt_save_with_gnu_ld=$with_gnu_ld
                   12772:   lt_save_path_LD=$lt_cv_path_LD
                   12773:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12774:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12775:   else
                   12776:     $as_unset lt_cv_prog_gnu_ld
                   12777:   fi
                   12778:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12779:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12780:   else
                   12781:     $as_unset lt_cv_path_LD
                   12782:   fi
                   12783:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12784:   CC=${CXX-"c++"}
                   12785:   CFLAGS=$CXXFLAGS
                   12786:   compiler=$CC
                   12787:   compiler_CXX=$CC
                   12788:   for cc_temp in $compiler""; do
                   12789:   case $cc_temp in
                   12790:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12791:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12792:     \-*) ;;
                   12793:     *) break;;
                   12794:   esac
                   12795: done
                   12796: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12797: 
                   12798: 
                   12799:   if test -n "$compiler"; then
                   12800:     # We don't want -fno-exception when compiling C++ code, so set the
                   12801:     # no_builtin_flag separately
                   12802:     if test "$GXX" = yes; then
                   12803:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12804:     else
                   12805:       lt_prog_compiler_no_builtin_flag_CXX=
                   12806:     fi
                   12807: 
                   12808:     if test "$GXX" = yes; then
                   12809:       # Set up default GNU C++ configuration
                   12810: 
                   12811: 
                   12812: 
                   12813: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   12814: if test "${with_gnu_ld+set}" = set; then
                   12815:   withval="$with_gnu_ld"
                   12816:   test "$withval" = no || with_gnu_ld=yes
                   12817: else
                   12818:   with_gnu_ld=no
                   12819: fi;
                   12820: ac_prog=ld
                   12821: if test "$GCC" = yes; then
                   12822:   # Check if gcc -print-prog-name=ld gives a path.
                   12823:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   12824: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   12825:   case $host in
                   12826:   *-*-mingw*)
                   12827:     # gcc leaves a trailing carriage return which upsets mingw
                   12828:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12829:   *)
                   12830:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12831:   esac
                   12832:   case $ac_prog in
                   12833:     # Accept absolute paths.
                   12834:     [\\/]* | ?:[\\/]*)
                   12835:       re_direlt='/[^/][^/]*/\.\./'
                   12836:       # Canonicalize the pathname of ld
                   12837:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12838:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12839:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12840:       done
                   12841:       test -z "$LD" && LD="$ac_prog"
                   12842:       ;;
                   12843:   "")
                   12844:     # If it fails, then pretend we aren't using GCC.
                   12845:     ac_prog=ld
                   12846:     ;;
                   12847:   *)
                   12848:     # If it is relative, then search for the first ld in PATH.
                   12849:     with_gnu_ld=unknown
                   12850:     ;;
                   12851:   esac
                   12852: elif test "$with_gnu_ld" = yes; then
                   12853:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   12854: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   12855: else
                   12856:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   12857: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   12858: fi
                   12859: if test "${lt_cv_path_LD+set}" = set; then
                   12860:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12861: else
                   12862:   if test -z "$LD"; then
                   12863:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12864:   for ac_dir in $PATH; do
                   12865:     IFS="$lt_save_ifs"
                   12866:     test -z "$ac_dir" && ac_dir=.
                   12867:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12868:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12869:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12870:       # but apparently some variants of GNU ld only accept -v.
                   12871:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12872:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12873:       *GNU* | *'with BFD'*)
                   12874:        test "$with_gnu_ld" != no && break
                   12875:        ;;
                   12876:       *)
                   12877:        test "$with_gnu_ld" != yes && break
                   12878:        ;;
                   12879:       esac
                   12880:     fi
                   12881:   done
                   12882:   IFS="$lt_save_ifs"
                   12883: else
                   12884:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12885: fi
                   12886: fi
                   12887: 
                   12888: LD="$lt_cv_path_LD"
                   12889: if test -n "$LD"; then
                   12890:   echo "$as_me:$LINENO: result: $LD" >&5
                   12891: echo "${ECHO_T}$LD" >&6
                   12892: else
                   12893:   echo "$as_me:$LINENO: result: no" >&5
                   12894: echo "${ECHO_T}no" >&6
                   12895: fi
                   12896: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   12897: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   12898:    { (exit 1); exit 1; }; }
                   12899: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   12900: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   12901: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   12902:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12903: else
                   12904:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12905: case `$LD -v 2>&1 </dev/null` in
                   12906: *GNU* | *'with BFD'*)
                   12907:   lt_cv_prog_gnu_ld=yes
                   12908:   ;;
                   12909: *)
                   12910:   lt_cv_prog_gnu_ld=no
                   12911:   ;;
                   12912: esac
                   12913: fi
                   12914: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   12915: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   12916: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12917: 
                   12918: 
                   12919: 
                   12920: 
                   12921: 
                   12922: 
                   12923: 
                   12924:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12925:       # archiving commands below assume that GNU ld is being used.
                   12926:       if test "$with_gnu_ld" = yes; then
                   12927:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12928:         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'
                   12929: 
                   12930:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12931:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12932: 
                   12933:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12934:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12935:         #     investigate it a little bit more. (MM)
                   12936:         wlarc='${wl}'
                   12937: 
                   12938:         # ancient GNU ld didn't support --whole-archive et. al.
                   12939:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12940:          $GREP 'no-whole-archive' > /dev/null; then
                   12941:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12942:         else
                   12943:           whole_archive_flag_spec_CXX=
                   12944:         fi
                   12945:       else
                   12946:         with_gnu_ld=no
                   12947:         wlarc=
                   12948: 
                   12949:         # A generic and very simple default shared library creation
                   12950:         # command for GNU C++ for the case where it uses the native
                   12951:         # linker, instead of GNU ld.  If possible, this setting should
                   12952:         # overridden to take advantage of the native linker features on
                   12953:         # the platform it is being used on.
                   12954:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12955:       fi
                   12956: 
                   12957:       # Commands to make compiler produce verbose output that lists
                   12958:       # what "hidden" libraries, object files and flags are used when
                   12959:       # linking a shared library.
                   12960:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12961: 
                   12962:     else
                   12963:       GXX=no
                   12964:       with_gnu_ld=no
                   12965:       wlarc=
                   12966:     fi
                   12967: 
                   12968:     # PORTME: fill in a description of your system's C++ link characteristics
                   12969:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12970: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   12971:     ld_shlibs_CXX=yes
                   12972:     case $host_os in
                   12973:       aix3*)
                   12974:         # FIXME: insert proper C++ library support
                   12975:         ld_shlibs_CXX=no
                   12976:         ;;
                   12977:       aix[4-9]*)
                   12978:         if test "$host_cpu" = ia64; then
                   12979:           # On IA64, the linker does run time linking by default, so we don't
                   12980:           # have to do anything special.
                   12981:           aix_use_runtimelinking=no
                   12982:           exp_sym_flag='-Bexport'
                   12983:           no_entry_flag=""
                   12984:         else
                   12985:           aix_use_runtimelinking=no
                   12986: 
                   12987:           # Test if we are trying to use run time linking or normal
                   12988:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12989:           # need to do runtime linking.
                   12990:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12991:            for ld_flag in $LDFLAGS; do
                   12992:              case $ld_flag in
                   12993:              *-brtl*)
                   12994:                aix_use_runtimelinking=yes
                   12995:                break
                   12996:                ;;
                   12997:              esac
                   12998:            done
                   12999:            ;;
                   13000:           esac
                   13001: 
                   13002:           exp_sym_flag='-bexport'
                   13003:           no_entry_flag='-bnoentry'
                   13004:         fi
                   13005: 
                   13006:         # When large executables or shared objects are built, AIX ld can
                   13007:         # have problems creating the table of contents.  If linking a library
                   13008:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13009:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13010:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13011: 
                   13012:         archive_cmds_CXX=''
                   13013:         hardcode_direct_CXX=yes
                   13014:         hardcode_direct_absolute_CXX=yes
                   13015:         hardcode_libdir_separator_CXX=':'
                   13016:         link_all_deplibs_CXX=yes
                   13017:         file_list_spec_CXX='${wl}-f,'
                   13018: 
                   13019:         if test "$GXX" = yes; then
                   13020:           case $host_os in aix4.[012]|aix4.[012].*)
                   13021:           # We only want to do this on AIX 4.2 and lower, the check
                   13022:           # below for broken collect2 doesn't work under 4.3+
                   13023:          collect2name=`${CC} -print-prog-name=collect2`
                   13024:          if test -f "$collect2name" &&
                   13025:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13026:          then
                   13027:            # We have reworked collect2
                   13028:            :
                   13029:          else
                   13030:            # We have old collect2
                   13031:            hardcode_direct_CXX=unsupported
                   13032:            # It fails to find uninstalled libraries when the uninstalled
                   13033:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13034:            # to unsupported forces relinking
                   13035:            hardcode_minus_L_CXX=yes
                   13036:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13037:            hardcode_libdir_separator_CXX=
                   13038:          fi
                   13039:           esac
                   13040:           shared_flag='-shared'
                   13041:          if test "$aix_use_runtimelinking" = yes; then
                   13042:            shared_flag="$shared_flag "'${wl}-G'
                   13043:          fi
                   13044:         else
                   13045:           # not using gcc
                   13046:           if test "$host_cpu" = ia64; then
                   13047:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13048:          # chokes on -Wl,-G. The following line is correct:
                   13049:          shared_flag='-G'
                   13050:           else
                   13051:            if test "$aix_use_runtimelinking" = yes; then
                   13052:              shared_flag='${wl}-G'
                   13053:            else
                   13054:              shared_flag='${wl}-bM:SRE'
                   13055:            fi
                   13056:           fi
                   13057:         fi
                   13058: 
                   13059:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13060:         # It seems that -bexpall does not export symbols beginning with
                   13061:         # underscore (_), so it is better to generate a list of symbols to
                   13062:        # export.
                   13063:         always_export_symbols_CXX=yes
                   13064:         if test "$aix_use_runtimelinking" = yes; then
                   13065:           # Warning - without using the other runtime loading flags (-brtl),
                   13066:           # -berok will link without error, but may produce a broken library.
                   13067:           allow_undefined_flag_CXX='-berok'
                   13068:           # Determine the default libpath from the value encoded in an empty
                   13069:           # executable.
                   13070:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13071:   aix_libpath=$lt_cv_aix_libpath
                   13072: else
                   13073:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13074:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13075: else
                   13076:   cat >conftest.$ac_ext <<_ACEOF
                   13077: /* confdefs.h.  */
                   13078: _ACEOF
                   13079: cat confdefs.h >>conftest.$ac_ext
                   13080: cat >>conftest.$ac_ext <<_ACEOF
                   13081: /* end confdefs.h.  */
                   13082: 
                   13083: int
                   13084: main ()
                   13085: {
                   13086: 
                   13087:   ;
                   13088:   return 0;
                   13089: }
                   13090: _ACEOF
                   13091: rm -f conftest.$ac_objext conftest$ac_exeext
                   13092: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13093:   (eval $ac_link) 2>conftest.er1
                   13094:   ac_status=$?
                   13095:   grep -v '^ *+' conftest.er1 >conftest.err
                   13096:   rm -f conftest.er1
                   13097:   cat conftest.err >&5
                   13098:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13099:   (exit $ac_status); } &&
                   13100:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13101:                         || test ! -s conftest.err'
                   13102:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13103:   (eval $ac_try) 2>&5
                   13104:   ac_status=$?
                   13105:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13106:   (exit $ac_status); }; } &&
                   13107:         { ac_try='test -s conftest$ac_exeext'
                   13108:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13109:   (eval $ac_try) 2>&5
                   13110:   ac_status=$?
                   13111:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13112:   (exit $ac_status); }; }; then
                   13113: 
                   13114:   lt_aix_libpath_sed='
                   13115:       /Import File Strings/,/^$/ {
                   13116:          /^0/ {
                   13117:              s/^0  *\([^ ]*\) *$/\1/
                   13118:              p
                   13119:          }
                   13120:       }'
                   13121:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13122:   # Check for a 64-bit object if we didn't find anything.
                   13123:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13124:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13125:   fi
                   13126: else
                   13127:   echo "$as_me: failed program was:" >&5
                   13128: sed 's/^/| /' conftest.$ac_ext >&5
                   13129: 
                   13130: fi
                   13131: rm -f conftest.err conftest.$ac_objext \
                   13132:       conftest$ac_exeext conftest.$ac_ext
                   13133:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13134:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13135:   fi
                   13136: 
                   13137: fi
                   13138: 
                   13139:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13140: fi
                   13141: 
                   13142:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13143: 
                   13144:           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"
                   13145:         else
                   13146:           if test "$host_cpu" = ia64; then
                   13147:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13148:            allow_undefined_flag_CXX="-z nodefs"
                   13149:            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"
                   13150:           else
                   13151:            # Determine the default libpath from the value encoded in an
                   13152:            # empty executable.
                   13153:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13154:   aix_libpath=$lt_cv_aix_libpath
                   13155: else
                   13156:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13157:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13158: else
                   13159:   cat >conftest.$ac_ext <<_ACEOF
                   13160: /* confdefs.h.  */
                   13161: _ACEOF
                   13162: cat confdefs.h >>conftest.$ac_ext
                   13163: cat >>conftest.$ac_ext <<_ACEOF
                   13164: /* end confdefs.h.  */
                   13165: 
                   13166: int
                   13167: main ()
                   13168: {
                   13169: 
                   13170:   ;
                   13171:   return 0;
                   13172: }
                   13173: _ACEOF
                   13174: rm -f conftest.$ac_objext conftest$ac_exeext
                   13175: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13176:   (eval $ac_link) 2>conftest.er1
                   13177:   ac_status=$?
                   13178:   grep -v '^ *+' conftest.er1 >conftest.err
                   13179:   rm -f conftest.er1
                   13180:   cat conftest.err >&5
                   13181:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13182:   (exit $ac_status); } &&
                   13183:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13184:                         || test ! -s conftest.err'
                   13185:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13186:   (eval $ac_try) 2>&5
                   13187:   ac_status=$?
                   13188:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13189:   (exit $ac_status); }; } &&
                   13190:         { ac_try='test -s conftest$ac_exeext'
                   13191:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13192:   (eval $ac_try) 2>&5
                   13193:   ac_status=$?
                   13194:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13195:   (exit $ac_status); }; }; then
                   13196: 
                   13197:   lt_aix_libpath_sed='
                   13198:       /Import File Strings/,/^$/ {
                   13199:          /^0/ {
                   13200:              s/^0  *\([^ ]*\) *$/\1/
                   13201:              p
                   13202:          }
                   13203:       }'
                   13204:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13205:   # Check for a 64-bit object if we didn't find anything.
                   13206:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13207:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13208:   fi
                   13209: else
                   13210:   echo "$as_me: failed program was:" >&5
                   13211: sed 's/^/| /' conftest.$ac_ext >&5
                   13212: 
                   13213: fi
                   13214: rm -f conftest.err conftest.$ac_objext \
                   13215:       conftest$ac_exeext conftest.$ac_ext
                   13216:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13217:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13218:   fi
                   13219: 
                   13220: fi
                   13221: 
                   13222:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13223: fi
                   13224: 
                   13225:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13226:            # Warning - without using the other run time loading flags,
                   13227:            # -berok will link without error, but may produce a broken library.
                   13228:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13229:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13230:            if test "$with_gnu_ld" = yes; then
                   13231:              # We only use this code for GNU lds that support --whole-archive.
                   13232:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13233:            else
                   13234:              # Exported symbols can be pulled into shared objects from archives
                   13235:              whole_archive_flag_spec_CXX='$convenience'
                   13236:            fi
                   13237:            archive_cmds_need_lc_CXX=yes
                   13238:            # This is similar to how AIX traditionally builds its shared
                   13239:            # libraries.
                   13240:            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'
                   13241:           fi
                   13242:         fi
                   13243:         ;;
                   13244: 
                   13245:       beos*)
                   13246:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13247:          allow_undefined_flag_CXX=unsupported
                   13248:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13249:          # support --undefined.  This deserves some investigation.  FIXME
                   13250:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13251:        else
                   13252:          ld_shlibs_CXX=no
                   13253:        fi
                   13254:        ;;
                   13255: 
                   13256:       chorus*)
                   13257:         case $cc_basename in
                   13258:           *)
                   13259:          # FIXME: insert proper C++ library support
                   13260:          ld_shlibs_CXX=no
                   13261:          ;;
                   13262:         esac
                   13263:         ;;
                   13264: 
                   13265:       cygwin* | mingw* | pw32* | cegcc*)
                   13266:        case $GXX,$cc_basename in
                   13267:        ,cl* | no,cl*)
                   13268:          # Native MSVC
                   13269:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13270:          # no search path for DLLs.
                   13271:          hardcode_libdir_flag_spec_CXX=' '
                   13272:          allow_undefined_flag_CXX=unsupported
                   13273:          always_export_symbols_CXX=yes
                   13274:          file_list_spec_CXX='@'
                   13275:          # Tell ltmain to make .lib files, not .a files.
                   13276:          libext=lib
                   13277:          # Tell ltmain to make .dll files, not .so files.
                   13278:          shrext_cmds=".dll"
                   13279:          # FIXME: Setting linknames here is a bad hack.
                   13280:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13281:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13282:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13283:            else
                   13284:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13285:            fi~
                   13286:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13287:            linknames='
                   13288:          # The linker will not automatically build a static lib if we build a DLL.
                   13289:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13290:          enable_shared_with_static_runtimes_CXX=yes
                   13291:          # Don't use ranlib
                   13292:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13293:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13294:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13295:            case $lt_outputfile in
                   13296:              *.exe|*.EXE) ;;
                   13297:              *)
                   13298:                lt_outputfile="$lt_outputfile.exe"
                   13299:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13300:                ;;
                   13301:            esac~
                   13302:            func_to_tool_file "$lt_outputfile"~
                   13303:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13304:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13305:              $RM "$lt_outputfile.manifest";
                   13306:            fi'
                   13307:          ;;
                   13308:        *)
                   13309:          # g++
                   13310:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13311:          # as there is no search path for DLLs.
                   13312:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13313:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13314:          allow_undefined_flag_CXX=unsupported
                   13315:          always_export_symbols_CXX=no
                   13316:          enable_shared_with_static_runtimes_CXX=yes
                   13317: 
                   13318:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13319:            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'
                   13320:            # If the export-symbols file already is a .def file (1st line
                   13321:            # is EXPORTS), use it as is; otherwise, prepend...
                   13322:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13323:              cp $export_symbols $output_objdir/$soname.def;
                   13324:            else
                   13325:              echo EXPORTS > $output_objdir/$soname.def;
                   13326:              cat $export_symbols >> $output_objdir/$soname.def;
                   13327:            fi~
                   13328:            $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'
                   13329:          else
                   13330:            ld_shlibs_CXX=no
                   13331:          fi
                   13332:          ;;
                   13333:        esac
                   13334:        ;;
                   13335:       darwin* | rhapsody*)
                   13336: 
                   13337: 
                   13338:   archive_cmds_need_lc_CXX=no
                   13339:   hardcode_direct_CXX=no
                   13340:   hardcode_automatic_CXX=yes
                   13341:   hardcode_shlibpath_var_CXX=unsupported
                   13342:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13343:     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\"`'
                   13344: 
                   13345:   else
                   13346:     whole_archive_flag_spec_CXX=''
                   13347:   fi
                   13348:   link_all_deplibs_CXX=yes
                   13349:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13350:   case $cc_basename in
                   13351:      ifort*) _lt_dar_can_shared=yes ;;
                   13352:      *) _lt_dar_can_shared=$GCC ;;
                   13353:   esac
                   13354:   if test "$_lt_dar_can_shared" = "yes"; then
                   13355:     output_verbose_link_cmd=func_echo_all
                   13356:     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}"
                   13357:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13358:     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}"
                   13359:     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}"
                   13360:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13361:       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}"
                   13362:       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}"
                   13363:     fi
                   13364: 
                   13365:   else
                   13366:   ld_shlibs_CXX=no
                   13367:   fi
                   13368: 
                   13369:        ;;
                   13370: 
                   13371:       dgux*)
                   13372:         case $cc_basename in
                   13373:           ec++*)
                   13374:            # FIXME: insert proper C++ library support
                   13375:            ld_shlibs_CXX=no
                   13376:            ;;
                   13377:           ghcx*)
                   13378:            # Green Hills C++ Compiler
                   13379:            # FIXME: insert proper C++ library support
                   13380:            ld_shlibs_CXX=no
                   13381:            ;;
                   13382:           *)
                   13383:            # FIXME: insert proper C++ library support
                   13384:            ld_shlibs_CXX=no
                   13385:            ;;
                   13386:         esac
                   13387:         ;;
                   13388: 
                   13389:       freebsd2.*)
                   13390:         # C++ shared libraries reported to be fairly broken before
                   13391:        # switch to ELF
                   13392:         ld_shlibs_CXX=no
                   13393:         ;;
                   13394: 
                   13395:       freebsd-elf*)
                   13396:         archive_cmds_need_lc_CXX=no
                   13397:         ;;
                   13398: 
                   13399:       freebsd* | dragonfly*)
                   13400:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13401:         # conventions
                   13402:         ld_shlibs_CXX=yes
                   13403:         ;;
                   13404: 
                   13405:       gnu*)
                   13406:         ;;
                   13407: 
                   13408:       haiku*)
                   13409:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13410:         link_all_deplibs_CXX=yes
                   13411:         ;;
                   13412: 
                   13413:       hpux9*)
                   13414:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13415:         hardcode_libdir_separator_CXX=:
                   13416:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13417:         hardcode_direct_CXX=yes
                   13418:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13419:                                             # but as the default
                   13420:                                             # location of the library.
                   13421: 
                   13422:         case $cc_basename in
                   13423:           CC*)
                   13424:             # FIXME: insert proper C++ library support
                   13425:             ld_shlibs_CXX=no
                   13426:             ;;
                   13427:           aCC*)
                   13428:             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'
                   13429:             # Commands to make compiler produce verbose output that lists
                   13430:             # what "hidden" libraries, object files and flags are used when
                   13431:             # linking a shared library.
                   13432:             #
                   13433:             # There doesn't appear to be a way to prevent this compiler from
                   13434:             # explicitly linking system object files so we need to strip them
                   13435:             # from the output so that they don't get included in the library
                   13436:             # dependencies.
                   13437:             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"'
                   13438:             ;;
                   13439:           *)
                   13440:             if test "$GXX" = yes; then
                   13441:               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'
                   13442:             else
                   13443:               # FIXME: insert proper C++ library support
                   13444:               ld_shlibs_CXX=no
                   13445:             fi
                   13446:             ;;
                   13447:         esac
                   13448:         ;;
                   13449: 
                   13450:       hpux10*|hpux11*)
                   13451:         if test $with_gnu_ld = no; then
                   13452:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13453:          hardcode_libdir_separator_CXX=:
                   13454: 
                   13455:           case $host_cpu in
                   13456:             hppa*64*|ia64*)
                   13457:               ;;
                   13458:             *)
                   13459:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13460:               ;;
                   13461:           esac
                   13462:         fi
                   13463:         case $host_cpu in
                   13464:           hppa*64*|ia64*)
                   13465:             hardcode_direct_CXX=no
                   13466:             hardcode_shlibpath_var_CXX=no
                   13467:             ;;
                   13468:           *)
                   13469:             hardcode_direct_CXX=yes
                   13470:             hardcode_direct_absolute_CXX=yes
                   13471:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13472:                                                 # but as the default
                   13473:                                                 # location of the library.
                   13474:             ;;
                   13475:         esac
                   13476: 
                   13477:         case $cc_basename in
                   13478:           CC*)
                   13479:            # FIXME: insert proper C++ library support
                   13480:            ld_shlibs_CXX=no
                   13481:            ;;
                   13482:           aCC*)
                   13483:            case $host_cpu in
                   13484:              hppa*64*)
                   13485:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13486:                ;;
                   13487:              ia64*)
                   13488:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13489:                ;;
                   13490:              *)
                   13491:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13492:                ;;
                   13493:            esac
                   13494:            # Commands to make compiler produce verbose output that lists
                   13495:            # what "hidden" libraries, object files and flags are used when
                   13496:            # linking a shared library.
                   13497:            #
                   13498:            # There doesn't appear to be a way to prevent this compiler from
                   13499:            # explicitly linking system object files so we need to strip them
                   13500:            # from the output so that they don't get included in the library
                   13501:            # dependencies.
                   13502:            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"'
                   13503:            ;;
                   13504:           *)
                   13505:            if test "$GXX" = yes; then
                   13506:              if test $with_gnu_ld = no; then
                   13507:                case $host_cpu in
                   13508:                  hppa*64*)
                   13509:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13510:                    ;;
                   13511:                  ia64*)
                   13512:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13513:                    ;;
                   13514:                  *)
                   13515:                    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'
                   13516:                    ;;
                   13517:                esac
                   13518:              fi
                   13519:            else
                   13520:              # FIXME: insert proper C++ library support
                   13521:              ld_shlibs_CXX=no
                   13522:            fi
                   13523:            ;;
                   13524:         esac
                   13525:         ;;
                   13526: 
                   13527:       interix[3-9]*)
                   13528:        hardcode_direct_CXX=no
                   13529:        hardcode_shlibpath_var_CXX=no
                   13530:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13531:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13532:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13533:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13534:        # default) and relocated if they conflict, which is a slow very memory
                   13535:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13536:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13537:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13538:        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'
                   13539:        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'
                   13540:        ;;
                   13541:       irix5* | irix6*)
                   13542:         case $cc_basename in
                   13543:           CC*)
                   13544:            # SGI C++
                   13545:            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'
                   13546: 
                   13547:            # Archives containing C++ object files must be created using
                   13548:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13549:            # necessary to make sure instantiated templates are included
                   13550:            # in the archive.
                   13551:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13552:            ;;
                   13553:           *)
                   13554:            if test "$GXX" = yes; then
                   13555:              if test "$with_gnu_ld" = no; then
                   13556:                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'
                   13557:              else
                   13558:                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'
                   13559:              fi
                   13560:            fi
                   13561:            link_all_deplibs_CXX=yes
                   13562:            ;;
                   13563:         esac
                   13564:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13565:         hardcode_libdir_separator_CXX=:
                   13566:         inherit_rpath_CXX=yes
                   13567:         ;;
                   13568: 
                   13569:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13570:         case $cc_basename in
                   13571:           KCC*)
                   13572:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13573: 
                   13574:            # KCC will only create a shared library if the output file
                   13575:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13576:            # to its proper name (with version) after linking.
                   13577:            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'
                   13578:            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'
                   13579:            # Commands to make compiler produce verbose output that lists
                   13580:            # what "hidden" libraries, object files and flags are used when
                   13581:            # linking a shared library.
                   13582:            #
                   13583:            # There doesn't appear to be a way to prevent this compiler from
                   13584:            # explicitly linking system object files so we need to strip them
                   13585:            # from the output so that they don't get included in the library
                   13586:            # dependencies.
                   13587:            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"'
                   13588: 
                   13589:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13590:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13591: 
                   13592:            # Archives containing C++ object files must be created using
                   13593:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13594:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13595:            ;;
                   13596:          icpc* | ecpc* )
                   13597:            # Intel C++
                   13598:            with_gnu_ld=yes
                   13599:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13600:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13601:            # earlier do not add the objects themselves.
                   13602:            case `$CC -V 2>&1` in
                   13603:              *"Version 7."*)
                   13604:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13605:                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'
                   13606:                ;;
                   13607:              *)  # Version 8.0 or newer
                   13608:                tmp_idyn=
                   13609:                case $host_cpu in
                   13610:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13611:                esac
                   13612:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13613:                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'
                   13614:                ;;
                   13615:            esac
                   13616:            archive_cmds_need_lc_CXX=no
                   13617:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13618:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13619:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13620:            ;;
                   13621:           pgCC* | pgcpp*)
                   13622:             # Portland Group C++ compiler
                   13623:            case `$CC -V` in
                   13624:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13625:              prelink_cmds_CXX='tpldir=Template.dir~
                   13626:                rm -rf $tpldir~
                   13627:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13628:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13629:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13630:                rm -rf $tpldir~
                   13631:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13632:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13633:                $RANLIB $oldlib'
                   13634:              archive_cmds_CXX='tpldir=Template.dir~
                   13635:                rm -rf $tpldir~
                   13636:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13637:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13638:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13639:                rm -rf $tpldir~
                   13640:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13641:                $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'
                   13642:              ;;
                   13643:            *) # Version 6 and above use weak symbols
                   13644:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13645:              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'
                   13646:              ;;
                   13647:            esac
                   13648: 
                   13649:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13650:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13651:            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'
                   13652:             ;;
                   13653:          cxx*)
                   13654:            # Compaq C++
                   13655:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13656:            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'
                   13657: 
                   13658:            runpath_var=LD_RUN_PATH
                   13659:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13660:            hardcode_libdir_separator_CXX=:
                   13661: 
                   13662:            # Commands to make compiler produce verbose output that lists
                   13663:            # what "hidden" libraries, object files and flags are used when
                   13664:            # linking a shared library.
                   13665:            #
                   13666:            # There doesn't appear to be a way to prevent this compiler from
                   13667:            # explicitly linking system object files so we need to strip them
                   13668:            # from the output so that they don't get included in the library
                   13669:            # dependencies.
                   13670:            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'
                   13671:            ;;
                   13672:          xl* | mpixl* | bgxl*)
                   13673:            # IBM XL 8.0 on PPC, with GNU ld
                   13674:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13675:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13676:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13677:            if test "x$supports_anon_versioning" = xyes; then
                   13678:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13679:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13680:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13681:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13682:            fi
                   13683:            ;;
                   13684:          *)
                   13685:            case `$CC -V 2>&1 | sed 5q` in
                   13686:            *Sun\ C*)
                   13687:              # Sun C++ 5.9
                   13688:              no_undefined_flag_CXX=' -zdefs'
                   13689:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13690:              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'
                   13691:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13692:              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'
                   13693:              compiler_needs_object_CXX=yes
                   13694: 
                   13695:              # Not sure whether something based on
                   13696:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13697:              # would be better.
                   13698:              output_verbose_link_cmd='func_echo_all'
                   13699: 
                   13700:              # Archives containing C++ object files must be created using
                   13701:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13702:              # necessary to make sure instantiated templates are included
                   13703:              # in the archive.
                   13704:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13705:              ;;
                   13706:            esac
                   13707:            ;;
                   13708:        esac
                   13709:        ;;
                   13710: 
                   13711:       lynxos*)
                   13712:         # FIXME: insert proper C++ library support
                   13713:        ld_shlibs_CXX=no
                   13714:        ;;
                   13715: 
                   13716:       m88k*)
                   13717:         # FIXME: insert proper C++ library support
                   13718:         ld_shlibs_CXX=no
                   13719:        ;;
                   13720: 
                   13721:       mvs*)
                   13722:         case $cc_basename in
                   13723:           cxx*)
                   13724:            # FIXME: insert proper C++ library support
                   13725:            ld_shlibs_CXX=no
                   13726:            ;;
                   13727:          *)
                   13728:            # FIXME: insert proper C++ library support
                   13729:            ld_shlibs_CXX=no
                   13730:            ;;
                   13731:        esac
                   13732:        ;;
                   13733: 
                   13734:       netbsd*)
                   13735:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13736:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13737:          wlarc=
                   13738:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13739:          hardcode_direct_CXX=yes
                   13740:          hardcode_shlibpath_var_CXX=no
                   13741:        fi
                   13742:        # Workaround some broken pre-1.5 toolchains
                   13743:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13744:        ;;
                   13745: 
                   13746:       *nto* | *qnx*)
                   13747:         ld_shlibs_CXX=yes
                   13748:        ;;
                   13749: 
                   13750:       openbsd2*)
                   13751:         # C++ shared libraries are fairly broken
                   13752:        ld_shlibs_CXX=no
                   13753:        ;;
                   13754: 
                   13755:       openbsd*)
                   13756:        if test -f /usr/libexec/ld.so; then
                   13757:          hardcode_direct_CXX=yes
                   13758:          hardcode_shlibpath_var_CXX=no
                   13759:          hardcode_direct_absolute_CXX=yes
                   13760:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13761:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13762:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13763:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13764:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13765:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13766:          fi
                   13767:          output_verbose_link_cmd=func_echo_all
                   13768:        else
                   13769:          ld_shlibs_CXX=no
                   13770:        fi
                   13771:        ;;
                   13772: 
                   13773:       osf3* | osf4* | osf5*)
                   13774:         case $cc_basename in
                   13775:           KCC*)
                   13776:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13777: 
                   13778:            # KCC will only create a shared library if the output file
                   13779:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13780:            # to its proper name (with version) after linking.
                   13781:            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'
                   13782: 
                   13783:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13784:            hardcode_libdir_separator_CXX=:
                   13785: 
                   13786:            # Archives containing C++ object files must be created using
                   13787:            # the KAI C++ compiler.
                   13788:            case $host in
                   13789:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13790:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13791:            esac
                   13792:            ;;
                   13793:           RCC*)
                   13794:            # Rational C++ 2.4.1
                   13795:            # FIXME: insert proper C++ library support
                   13796:            ld_shlibs_CXX=no
                   13797:            ;;
                   13798:           cxx*)
                   13799:            case $host in
                   13800:              osf3*)
                   13801:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13802:                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'
                   13803:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13804:                ;;
                   13805:              *)
                   13806:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13807:                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'
                   13808:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13809:                  echo "-hidden">> $lib.exp~
                   13810:                  $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~
                   13811:                  $RM $lib.exp'
                   13812:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13813:                ;;
                   13814:            esac
                   13815: 
                   13816:            hardcode_libdir_separator_CXX=:
                   13817: 
                   13818:            # Commands to make compiler produce verbose output that lists
                   13819:            # what "hidden" libraries, object files and flags are used when
                   13820:            # linking a shared library.
                   13821:            #
                   13822:            # There doesn't appear to be a way to prevent this compiler from
                   13823:            # explicitly linking system object files so we need to strip them
                   13824:            # from the output so that they don't get included in the library
                   13825:            # dependencies.
                   13826:            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"'
                   13827:            ;;
                   13828:          *)
                   13829:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13830:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13831:              case $host in
                   13832:                osf3*)
                   13833:                  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'
                   13834:                  ;;
                   13835:                *)
                   13836:                  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'
                   13837:                  ;;
                   13838:              esac
                   13839: 
                   13840:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13841:              hardcode_libdir_separator_CXX=:
                   13842: 
                   13843:              # Commands to make compiler produce verbose output that lists
                   13844:              # what "hidden" libraries, object files and flags are used when
                   13845:              # linking a shared library.
                   13846:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13847: 
                   13848:            else
                   13849:              # FIXME: insert proper C++ library support
                   13850:              ld_shlibs_CXX=no
                   13851:            fi
                   13852:            ;;
                   13853:         esac
                   13854:         ;;
                   13855: 
                   13856:       psos*)
                   13857:         # FIXME: insert proper C++ library support
                   13858:         ld_shlibs_CXX=no
                   13859:         ;;
                   13860: 
                   13861:       sunos4*)
                   13862:         case $cc_basename in
                   13863:           CC*)
                   13864:            # Sun C++ 4.x
                   13865:            # FIXME: insert proper C++ library support
                   13866:            ld_shlibs_CXX=no
                   13867:            ;;
                   13868:           lcc*)
                   13869:            # Lucid
                   13870:            # FIXME: insert proper C++ library support
                   13871:            ld_shlibs_CXX=no
                   13872:            ;;
                   13873:           *)
                   13874:            # FIXME: insert proper C++ library support
                   13875:            ld_shlibs_CXX=no
                   13876:            ;;
                   13877:         esac
                   13878:         ;;
                   13879: 
                   13880:       solaris*)
                   13881:         case $cc_basename in
                   13882:           CC* | sunCC*)
                   13883:            # Sun C++ 4.2, 5.x and Centerline C++
                   13884:             archive_cmds_need_lc_CXX=yes
                   13885:            no_undefined_flag_CXX=' -zdefs'
                   13886:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13887:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13888:              $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'
                   13889: 
                   13890:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13891:            hardcode_shlibpath_var_CXX=no
                   13892:            case $host_os in
                   13893:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13894:              *)
                   13895:                # The compiler driver will combine and reorder linker options,
                   13896:                # but understands `-z linker_flag'.
                   13897:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13898:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13899:                ;;
                   13900:            esac
                   13901:            link_all_deplibs_CXX=yes
                   13902: 
                   13903:            output_verbose_link_cmd='func_echo_all'
                   13904: 
                   13905:            # Archives containing C++ object files must be created using
                   13906:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13907:            # necessary to make sure instantiated templates are included
                   13908:            # in the archive.
                   13909:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13910:            ;;
                   13911:           gcx*)
                   13912:            # Green Hills C++ Compiler
                   13913:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13914: 
                   13915:            # The C++ compiler must be used to create the archive.
                   13916:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13917:            ;;
                   13918:           *)
                   13919:            # GNU C++ compiler with Solaris linker
                   13920:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13921:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13922:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13923:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13924:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13925:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13926: 
                   13927:                # Commands to make compiler produce verbose output that lists
                   13928:                # what "hidden" libraries, object files and flags are used when
                   13929:                # linking a shared library.
                   13930:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13931:              else
                   13932:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13933:                # platform.
                   13934:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13935:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13936:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13937: 
                   13938:                # Commands to make compiler produce verbose output that lists
                   13939:                # what "hidden" libraries, object files and flags are used when
                   13940:                # linking a shared library.
                   13941:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13942:              fi
                   13943: 
                   13944:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13945:              case $host_os in
                   13946:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13947:                *)
                   13948:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13949:                  ;;
                   13950:              esac
                   13951:            fi
                   13952:            ;;
                   13953:         esac
                   13954:         ;;
                   13955: 
                   13956:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13957:       no_undefined_flag_CXX='${wl}-z,text'
                   13958:       archive_cmds_need_lc_CXX=no
                   13959:       hardcode_shlibpath_var_CXX=no
                   13960:       runpath_var='LD_RUN_PATH'
                   13961: 
                   13962:       case $cc_basename in
                   13963:         CC*)
                   13964:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13965:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13966:          ;;
                   13967:        *)
                   13968:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13969:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13970:          ;;
                   13971:       esac
                   13972:       ;;
                   13973: 
                   13974:       sysv5* | sco3.2v5* | sco5v6*)
                   13975:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13976:        # link with -lc, and that would cause any symbols used from libc to
                   13977:        # always be unresolved, which means just about no library would
                   13978:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13979:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13980:        # as -z defs.
                   13981:        no_undefined_flag_CXX='${wl}-z,text'
                   13982:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13983:        archive_cmds_need_lc_CXX=no
                   13984:        hardcode_shlibpath_var_CXX=no
                   13985:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13986:        hardcode_libdir_separator_CXX=':'
                   13987:        link_all_deplibs_CXX=yes
                   13988:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13989:        runpath_var='LD_RUN_PATH'
                   13990: 
                   13991:        case $cc_basename in
                   13992:           CC*)
                   13993:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13994:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13995:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13996:              '"$old_archive_cmds_CXX"
                   13997:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13998:              '"$reload_cmds_CXX"
                   13999:            ;;
                   14000:          *)
                   14001:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14002:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14003:            ;;
                   14004:        esac
                   14005:       ;;
                   14006: 
                   14007:       tandem*)
                   14008:         case $cc_basename in
                   14009:           NCC*)
                   14010:            # NonStop-UX NCC 3.20
                   14011:            # FIXME: insert proper C++ library support
                   14012:            ld_shlibs_CXX=no
                   14013:            ;;
                   14014:           *)
                   14015:            # FIXME: insert proper C++ library support
                   14016:            ld_shlibs_CXX=no
                   14017:            ;;
                   14018:         esac
                   14019:         ;;
                   14020: 
                   14021:       vxworks*)
                   14022:         # FIXME: insert proper C++ library support
                   14023:         ld_shlibs_CXX=no
                   14024:         ;;
                   14025: 
                   14026:       *)
                   14027:         # FIXME: insert proper C++ library support
                   14028:         ld_shlibs_CXX=no
                   14029:         ;;
                   14030:     esac
                   14031: 
                   14032:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14033: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14034:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14035: 
                   14036:     GCC_CXX="$GXX"
                   14037:     LD_CXX="$LD"
                   14038: 
                   14039:     ## CAVEAT EMPTOR:
                   14040:     ## There is no encapsulation within the following macros, do not change
                   14041:     ## the running order or otherwise move them around unless you know exactly
                   14042:     ## what you are doing...
                   14043:     # Dependencies to place before and after the object being linked:
                   14044: predep_objects_CXX=
                   14045: postdep_objects_CXX=
                   14046: predeps_CXX=
                   14047: postdeps_CXX=
                   14048: compiler_lib_search_path_CXX=
                   14049: 
                   14050: cat > conftest.$ac_ext <<_LT_EOF
                   14051: class Foo
                   14052: {
                   14053: public:
                   14054:   Foo (void) { a = 0; }
                   14055: private:
                   14056:   int a;
                   14057: };
                   14058: _LT_EOF
                   14059: 
                   14060: 
                   14061: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14062: case "$CC $CFLAGS " in #(
                   14063: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14064: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14065: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14066: esac
                   14067: 
                   14068: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14069:   (eval $ac_compile) 2>&5
                   14070:   ac_status=$?
                   14071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14072:   (exit $ac_status); }; then
                   14073:   # Parse the compiler output and extract the necessary
                   14074:   # objects, libraries and library flags.
                   14075: 
                   14076:   # Sentinel used to keep track of whether or not we are before
                   14077:   # the conftest object file.
                   14078:   pre_test_object_deps_done=no
                   14079: 
                   14080:   for p in `eval "$output_verbose_link_cmd"`; do
                   14081:     case ${prev}${p} in
                   14082: 
                   14083:     -L* | -R* | -l*)
                   14084:        # Some compilers place space between "-{L,R}" and the path.
                   14085:        # Remove the space.
                   14086:        if test $p = "-L" ||
                   14087:           test $p = "-R"; then
                   14088:         prev=$p
                   14089:         continue
                   14090:        fi
                   14091: 
                   14092:        # Expand the sysroot to ease extracting the directories later.
                   14093:        if test -z "$prev"; then
                   14094:          case $p in
                   14095:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14096:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14097:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14098:          esac
                   14099:        fi
                   14100:        case $p in
                   14101:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14102:        esac
                   14103:        if test "$pre_test_object_deps_done" = no; then
                   14104:         case ${prev} in
                   14105:         -L | -R)
                   14106:           # Internal compiler library paths should come after those
                   14107:           # provided the user.  The postdeps already come after the
                   14108:           # user supplied libs so there is no need to process them.
                   14109:           if test -z "$compiler_lib_search_path_CXX"; then
                   14110:             compiler_lib_search_path_CXX="${prev}${p}"
                   14111:           else
                   14112:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14113:           fi
                   14114:           ;;
                   14115:         # The "-l" case would never come before the object being
                   14116:         # linked, so don't bother handling this case.
                   14117:         esac
                   14118:        else
                   14119:         if test -z "$postdeps_CXX"; then
                   14120:           postdeps_CXX="${prev}${p}"
                   14121:         else
                   14122:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14123:         fi
                   14124:        fi
                   14125:        prev=
                   14126:        ;;
                   14127: 
                   14128:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14129:     *.$objext)
                   14130:        # This assumes that the test object file only shows up
                   14131:        # once in the compiler output.
                   14132:        if test "$p" = "conftest.$objext"; then
                   14133:         pre_test_object_deps_done=yes
                   14134:         continue
                   14135:        fi
                   14136: 
                   14137:        if test "$pre_test_object_deps_done" = no; then
                   14138:         if test -z "$predep_objects_CXX"; then
                   14139:           predep_objects_CXX="$p"
                   14140:         else
                   14141:           predep_objects_CXX="$predep_objects_CXX $p"
                   14142:         fi
                   14143:        else
                   14144:         if test -z "$postdep_objects_CXX"; then
                   14145:           postdep_objects_CXX="$p"
                   14146:         else
                   14147:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14148:         fi
                   14149:        fi
                   14150:        ;;
                   14151: 
                   14152:     *) ;; # Ignore the rest.
                   14153: 
                   14154:     esac
                   14155:   done
                   14156: 
                   14157:   # Clean up.
                   14158:   rm -f a.out a.exe
                   14159: else
                   14160:   echo "libtool.m4: error: problem compiling CXX test program"
                   14161: fi
                   14162: 
                   14163: $RM -f confest.$objext
                   14164: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14165: 
                   14166: # PORTME: override above test on systems where it is broken
                   14167: case $host_os in
                   14168: interix[3-9]*)
                   14169:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14170:   # hack all around it, let's just trust "g++" to DTRT.
                   14171:   predep_objects_CXX=
                   14172:   postdep_objects_CXX=
                   14173:   postdeps_CXX=
                   14174:   ;;
                   14175: 
                   14176: linux*)
                   14177:   case `$CC -V 2>&1 | sed 5q` in
                   14178:   *Sun\ C*)
                   14179:     # Sun C++ 5.9
                   14180: 
                   14181:     # The more standards-conforming stlport4 library is
                   14182:     # incompatible with the Cstd library. Avoid specifying
                   14183:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14184:     # -library=stlport4 depends on it.
                   14185:     case " $CXX $CXXFLAGS " in
                   14186:     *" -library=stlport4 "*)
                   14187:       solaris_use_stlport4=yes
                   14188:       ;;
                   14189:     esac
                   14190: 
                   14191:     if test "$solaris_use_stlport4" != yes; then
                   14192:       postdeps_CXX='-library=Cstd -library=Crun'
                   14193:     fi
                   14194:     ;;
                   14195:   esac
                   14196:   ;;
                   14197: 
                   14198: solaris*)
                   14199:   case $cc_basename in
                   14200:   CC* | sunCC*)
                   14201:     # The more standards-conforming stlport4 library is
                   14202:     # incompatible with the Cstd library. Avoid specifying
                   14203:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14204:     # -library=stlport4 depends on it.
                   14205:     case " $CXX $CXXFLAGS " in
                   14206:     *" -library=stlport4 "*)
                   14207:       solaris_use_stlport4=yes
                   14208:       ;;
                   14209:     esac
                   14210: 
                   14211:     # Adding this requires a known-good setup of shared libraries for
                   14212:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14213:     # archive will be linked into the output, leading to subtle bugs.
                   14214:     if test "$solaris_use_stlport4" != yes; then
                   14215:       postdeps_CXX='-library=Cstd -library=Crun'
                   14216:     fi
                   14217:     ;;
                   14218:   esac
                   14219:   ;;
                   14220: esac
                   14221: 
                   14222: 
                   14223: case " $postdeps_CXX " in
                   14224: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14225: esac
                   14226:  compiler_lib_search_dirs_CXX=
                   14227: if test -n "${compiler_lib_search_path_CXX}"; then
                   14228:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14229: fi
                   14230: 
                   14231: 
                   14232: 
                   14233: 
                   14234: 
                   14235: 
                   14236: 
                   14237: 
                   14238: 
                   14239: 
                   14240: 
                   14241: 
                   14242: 
                   14243: 
                   14244: 
                   14245: 
                   14246: 
                   14247: 
                   14248: 
                   14249: 
                   14250: 
                   14251: 
                   14252: 
                   14253: 
                   14254: 
                   14255: 
                   14256: 
                   14257: 
                   14258: 
                   14259: 
                   14260: 
                   14261:     lt_prog_compiler_wl_CXX=
                   14262: lt_prog_compiler_pic_CXX=
                   14263: lt_prog_compiler_static_CXX=
                   14264: 
                   14265: 
                   14266:   # C++ specific cases for pic, static, wl, etc.
                   14267:   if test "$GXX" = yes; then
                   14268:     lt_prog_compiler_wl_CXX='-Wl,'
                   14269:     lt_prog_compiler_static_CXX='-static'
                   14270: 
                   14271:     case $host_os in
                   14272:     aix*)
                   14273:       # All AIX code is PIC.
                   14274:       if test "$host_cpu" = ia64; then
                   14275:        # AIX 5 now supports IA64 processor
                   14276:        lt_prog_compiler_static_CXX='-Bstatic'
                   14277:       fi
                   14278:       ;;
                   14279: 
                   14280:     amigaos*)
                   14281:       case $host_cpu in
                   14282:       powerpc)
                   14283:             # see comment about AmigaOS4 .so support
                   14284:             lt_prog_compiler_pic_CXX='-fPIC'
                   14285:         ;;
                   14286:       m68k)
                   14287:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14288:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14289:             # like `-m68040'.
                   14290:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14291:         ;;
                   14292:       esac
                   14293:       ;;
                   14294: 
                   14295:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14296:       # PIC is the default for these OSes.
                   14297:       ;;
                   14298:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14299:       # This hack is so that the source file can tell whether it is being
                   14300:       # built for inclusion in a dll (and should export symbols for example).
                   14301:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14302:       # (--disable-auto-import) libraries
                   14303:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14304:       ;;
                   14305:     darwin* | rhapsody*)
                   14306:       # PIC is the default on this platform
                   14307:       # Common symbols not allowed in MH_DYLIB files
                   14308:       lt_prog_compiler_pic_CXX='-fno-common'
                   14309:       ;;
                   14310:     *djgpp*)
                   14311:       # DJGPP does not support shared libraries at all
                   14312:       lt_prog_compiler_pic_CXX=
                   14313:       ;;
                   14314:     haiku*)
                   14315:       # PIC is the default for Haiku.
                   14316:       # The "-static" flag exists, but is broken.
                   14317:       lt_prog_compiler_static_CXX=
                   14318:       ;;
                   14319:     interix[3-9]*)
                   14320:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14321:       # Instead, we relocate shared libraries at runtime.
                   14322:       ;;
                   14323:     sysv4*MP*)
                   14324:       if test -d /usr/nec; then
                   14325:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14326:       fi
                   14327:       ;;
                   14328:     hpux*)
                   14329:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14330:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14331:       # sets the default TLS model and affects inlining.
                   14332:       case $host_cpu in
                   14333:       hppa*64*)
                   14334:        ;;
                   14335:       *)
                   14336:        lt_prog_compiler_pic_CXX='-fPIC'
                   14337:        ;;
                   14338:       esac
                   14339:       ;;
                   14340:     *qnx* | *nto*)
                   14341:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14342:       # it will coredump.
                   14343:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14344:       ;;
                   14345:     *)
                   14346:       lt_prog_compiler_pic_CXX='-fPIC'
                   14347:       ;;
                   14348:     esac
                   14349:   else
                   14350:     case $host_os in
                   14351:       aix[4-9]*)
                   14352:        # All AIX code is PIC.
                   14353:        if test "$host_cpu" = ia64; then
                   14354:          # AIX 5 now supports IA64 processor
                   14355:          lt_prog_compiler_static_CXX='-Bstatic'
                   14356:        else
                   14357:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14358:        fi
                   14359:        ;;
                   14360:       chorus*)
                   14361:        case $cc_basename in
                   14362:        cxch68*)
                   14363:          # Green Hills C++ Compiler
                   14364:          # _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"
                   14365:          ;;
                   14366:        esac
                   14367:        ;;
                   14368:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14369:        # This hack is so that the source file can tell whether it is being
                   14370:        # built for inclusion in a dll (and should export symbols for example).
                   14371:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14372:        ;;
                   14373:       dgux*)
                   14374:        case $cc_basename in
                   14375:          ec++*)
                   14376:            lt_prog_compiler_pic_CXX='-KPIC'
                   14377:            ;;
                   14378:          ghcx*)
                   14379:            # Green Hills C++ Compiler
                   14380:            lt_prog_compiler_pic_CXX='-pic'
                   14381:            ;;
                   14382:          *)
                   14383:            ;;
                   14384:        esac
                   14385:        ;;
                   14386:       freebsd* | dragonfly*)
                   14387:        # FreeBSD uses GNU C++
                   14388:        ;;
                   14389:       hpux9* | hpux10* | hpux11*)
                   14390:        case $cc_basename in
                   14391:          CC*)
                   14392:            lt_prog_compiler_wl_CXX='-Wl,'
                   14393:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14394:            if test "$host_cpu" != ia64; then
                   14395:              lt_prog_compiler_pic_CXX='+Z'
                   14396:            fi
                   14397:            ;;
                   14398:          aCC*)
                   14399:            lt_prog_compiler_wl_CXX='-Wl,'
                   14400:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14401:            case $host_cpu in
                   14402:            hppa*64*|ia64*)
                   14403:              # +Z the default
                   14404:              ;;
                   14405:            *)
                   14406:              lt_prog_compiler_pic_CXX='+Z'
                   14407:              ;;
                   14408:            esac
                   14409:            ;;
                   14410:          *)
                   14411:            ;;
                   14412:        esac
                   14413:        ;;
                   14414:       interix*)
                   14415:        # This is c89, which is MS Visual C++ (no shared libs)
                   14416:        # Anyone wants to do a port?
                   14417:        ;;
                   14418:       irix5* | irix6* | nonstopux*)
                   14419:        case $cc_basename in
                   14420:          CC*)
                   14421:            lt_prog_compiler_wl_CXX='-Wl,'
                   14422:            lt_prog_compiler_static_CXX='-non_shared'
                   14423:            # CC pic flag -KPIC is the default.
                   14424:            ;;
                   14425:          *)
                   14426:            ;;
                   14427:        esac
                   14428:        ;;
                   14429:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14430:        case $cc_basename in
                   14431:          KCC*)
                   14432:            # KAI C++ Compiler
                   14433:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14434:            lt_prog_compiler_pic_CXX='-fPIC'
                   14435:            ;;
                   14436:          ecpc* )
                   14437:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14438:            lt_prog_compiler_wl_CXX='-Wl,'
                   14439:            lt_prog_compiler_pic_CXX='-KPIC'
                   14440:            lt_prog_compiler_static_CXX='-static'
                   14441:            ;;
                   14442:          icpc* )
                   14443:            # Intel C++, used to be incompatible with GCC.
                   14444:            # ICC 10 doesn't accept -KPIC any more.
                   14445:            lt_prog_compiler_wl_CXX='-Wl,'
                   14446:            lt_prog_compiler_pic_CXX='-fPIC'
                   14447:            lt_prog_compiler_static_CXX='-static'
                   14448:            ;;
                   14449:          pgCC* | pgcpp*)
                   14450:            # Portland Group C++ compiler
                   14451:            lt_prog_compiler_wl_CXX='-Wl,'
                   14452:            lt_prog_compiler_pic_CXX='-fpic'
                   14453:            lt_prog_compiler_static_CXX='-Bstatic'
                   14454:            ;;
                   14455:          cxx*)
                   14456:            # Compaq C++
                   14457:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14458:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14459:            lt_prog_compiler_pic_CXX=
                   14460:            lt_prog_compiler_static_CXX='-non_shared'
                   14461:            ;;
                   14462:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14463:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14464:            lt_prog_compiler_wl_CXX='-Wl,'
                   14465:            lt_prog_compiler_pic_CXX='-qpic'
                   14466:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14467:            ;;
                   14468:          *)
                   14469:            case `$CC -V 2>&1 | sed 5q` in
                   14470:            *Sun\ C*)
                   14471:              # Sun C++ 5.9
                   14472:              lt_prog_compiler_pic_CXX='-KPIC'
                   14473:              lt_prog_compiler_static_CXX='-Bstatic'
                   14474:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14475:              ;;
                   14476:            esac
                   14477:            ;;
                   14478:        esac
                   14479:        ;;
                   14480:       lynxos*)
                   14481:        ;;
                   14482:       m88k*)
                   14483:        ;;
                   14484:       mvs*)
                   14485:        case $cc_basename in
                   14486:          cxx*)
                   14487:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14488:            ;;
                   14489:          *)
                   14490:            ;;
                   14491:        esac
                   14492:        ;;
                   14493:       netbsd*)
                   14494:        ;;
                   14495:       *qnx* | *nto*)
                   14496:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14497:         # it will coredump.
                   14498:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14499:         ;;
                   14500:       osf3* | osf4* | osf5*)
                   14501:        case $cc_basename in
                   14502:          KCC*)
                   14503:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14504:            ;;
                   14505:          RCC*)
                   14506:            # Rational C++ 2.4.1
                   14507:            lt_prog_compiler_pic_CXX='-pic'
                   14508:            ;;
                   14509:          cxx*)
                   14510:            # Digital/Compaq C++
                   14511:            lt_prog_compiler_wl_CXX='-Wl,'
                   14512:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14513:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14514:            lt_prog_compiler_pic_CXX=
                   14515:            lt_prog_compiler_static_CXX='-non_shared'
                   14516:            ;;
                   14517:          *)
                   14518:            ;;
                   14519:        esac
                   14520:        ;;
                   14521:       psos*)
                   14522:        ;;
                   14523:       solaris*)
                   14524:        case $cc_basename in
                   14525:          CC* | sunCC*)
                   14526:            # Sun C++ 4.2, 5.x and Centerline C++
                   14527:            lt_prog_compiler_pic_CXX='-KPIC'
                   14528:            lt_prog_compiler_static_CXX='-Bstatic'
                   14529:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14530:            ;;
                   14531:          gcx*)
                   14532:            # Green Hills C++ Compiler
                   14533:            lt_prog_compiler_pic_CXX='-PIC'
                   14534:            ;;
                   14535:          *)
                   14536:            ;;
                   14537:        esac
                   14538:        ;;
                   14539:       sunos4*)
                   14540:        case $cc_basename in
                   14541:          CC*)
                   14542:            # Sun C++ 4.x
                   14543:            lt_prog_compiler_pic_CXX='-pic'
                   14544:            lt_prog_compiler_static_CXX='-Bstatic'
                   14545:            ;;
                   14546:          lcc*)
                   14547:            # Lucid
                   14548:            lt_prog_compiler_pic_CXX='-pic'
                   14549:            ;;
                   14550:          *)
                   14551:            ;;
                   14552:        esac
                   14553:        ;;
                   14554:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14555:        case $cc_basename in
                   14556:          CC*)
                   14557:            lt_prog_compiler_wl_CXX='-Wl,'
                   14558:            lt_prog_compiler_pic_CXX='-KPIC'
                   14559:            lt_prog_compiler_static_CXX='-Bstatic'
                   14560:            ;;
                   14561:        esac
                   14562:        ;;
                   14563:       tandem*)
                   14564:        case $cc_basename in
                   14565:          NCC*)
                   14566:            # NonStop-UX NCC 3.20
                   14567:            lt_prog_compiler_pic_CXX='-KPIC'
                   14568:            ;;
                   14569:          *)
                   14570:            ;;
                   14571:        esac
                   14572:        ;;
                   14573:       vxworks*)
                   14574:        ;;
                   14575:       *)
                   14576:        lt_prog_compiler_can_build_shared_CXX=no
                   14577:        ;;
                   14578:     esac
                   14579:   fi
                   14580: 
                   14581: case $host_os in
                   14582:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14583:   *djgpp*)
                   14584:     lt_prog_compiler_pic_CXX=
                   14585:     ;;
                   14586:   *)
                   14587:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14588:     ;;
                   14589: esac
                   14590: 
                   14591: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   14592: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   14593: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   14594:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14595: else
                   14596:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14597: fi
                   14598: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14599: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
                   14600: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14601: 
                   14602: #
                   14603: # Check to make sure the PIC flag actually works.
                   14604: #
                   14605: if test -n "$lt_prog_compiler_pic_CXX"; then
                   14606:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14607: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   14608: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   14609:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14610: else
                   14611:   lt_cv_prog_compiler_pic_works_CXX=no
                   14612:    ac_outfile=conftest.$ac_objext
                   14613:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14614:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14615:    # Insert the option either (1) after the last *FLAGS variable, or
                   14616:    # (2) before a word containing "conftest.", or (3) at the end.
                   14617:    # Note that $ac_compile itself does not contain backslashes and begins
                   14618:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14619:    # The option is referenced via a variable to avoid confusing sed.
                   14620:    lt_compile=`echo "$ac_compile" | $SED \
                   14621:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14622:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14623:    -e 's:$: $lt_compiler_flag:'`
                   14624:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14625:    (eval "$lt_compile" 2>conftest.err)
                   14626:    ac_status=$?
                   14627:    cat conftest.err >&5
                   14628:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14629:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14630:      # The compiler can only warn and ignore the option if not recognized
                   14631:      # So say no if there are warnings other than the usual output.
                   14632:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14633:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14634:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14635:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14636:      fi
                   14637:    fi
                   14638:    $RM conftest*
                   14639: 
                   14640: fi
                   14641: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14642: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
                   14643: 
                   14644: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14645:     case $lt_prog_compiler_pic_CXX in
                   14646:      "" | " "*) ;;
                   14647:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14648:      esac
                   14649: else
                   14650:     lt_prog_compiler_pic_CXX=
                   14651:      lt_prog_compiler_can_build_shared_CXX=no
                   14652: fi
                   14653: 
                   14654: fi
                   14655: 
                   14656: 
                   14657: 
                   14658: 
                   14659: 
                   14660: #
                   14661: # Check to make sure the static flag actually works.
                   14662: #
                   14663: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   14664: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14665: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   14666: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   14667:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14668: else
                   14669:   lt_cv_prog_compiler_static_works_CXX=no
                   14670:    save_LDFLAGS="$LDFLAGS"
                   14671:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14672:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14673:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14674:      # The linker can only warn and ignore the option if not recognized
                   14675:      # So say no if there are warnings
                   14676:      if test -s conftest.err; then
                   14677:        # Append any errors to the config.log.
                   14678:        cat conftest.err 1>&5
                   14679:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14680:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14681:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14682:          lt_cv_prog_compiler_static_works_CXX=yes
                   14683:        fi
                   14684:      else
                   14685:        lt_cv_prog_compiler_static_works_CXX=yes
                   14686:      fi
                   14687:    fi
                   14688:    $RM -r conftest*
                   14689:    LDFLAGS="$save_LDFLAGS"
                   14690: 
                   14691: fi
                   14692: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14693: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
                   14694: 
                   14695: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14696:     :
                   14697: else
                   14698:     lt_prog_compiler_static_CXX=
                   14699: fi
                   14700: 
                   14701: 
                   14702: 
                   14703: 
                   14704:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14705: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14706: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14707:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14708: else
                   14709:   lt_cv_prog_compiler_c_o_CXX=no
                   14710:    $RM -r conftest 2>/dev/null
                   14711:    mkdir conftest
                   14712:    cd conftest
                   14713:    mkdir out
                   14714:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14715: 
                   14716:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14717:    # Insert the option either (1) after the last *FLAGS variable, or
                   14718:    # (2) before a word containing "conftest.", or (3) at the end.
                   14719:    # Note that $ac_compile itself does not contain backslashes and begins
                   14720:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14721:    lt_compile=`echo "$ac_compile" | $SED \
                   14722:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14723:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14724:    -e 's:$: $lt_compiler_flag:'`
                   14725:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14726:    (eval "$lt_compile" 2>out/conftest.err)
                   14727:    ac_status=$?
                   14728:    cat out/conftest.err >&5
                   14729:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14730:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14731:    then
                   14732:      # The compiler can only warn and ignore the option if not recognized
                   14733:      # So say no if there are warnings
                   14734:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14735:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14736:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14737:        lt_cv_prog_compiler_c_o_CXX=yes
                   14738:      fi
                   14739:    fi
                   14740:    chmod u+w . 2>&5
                   14741:    $RM conftest*
                   14742:    # SGI C++ compiler will create directory out/ii_files/ for
                   14743:    # template instantiation
                   14744:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14745:    $RM out/* && rmdir out
                   14746:    cd ..
                   14747:    $RM -r conftest
                   14748:    $RM conftest*
                   14749: 
                   14750: fi
                   14751: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14752: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14753: 
                   14754: 
                   14755: 
                   14756:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14757: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14758: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14759:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14760: else
                   14761:   lt_cv_prog_compiler_c_o_CXX=no
                   14762:    $RM -r conftest 2>/dev/null
                   14763:    mkdir conftest
                   14764:    cd conftest
                   14765:    mkdir out
                   14766:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14767: 
                   14768:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14769:    # Insert the option either (1) after the last *FLAGS variable, or
                   14770:    # (2) before a word containing "conftest.", or (3) at the end.
                   14771:    # Note that $ac_compile itself does not contain backslashes and begins
                   14772:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14773:    lt_compile=`echo "$ac_compile" | $SED \
                   14774:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14775:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14776:    -e 's:$: $lt_compiler_flag:'`
                   14777:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14778:    (eval "$lt_compile" 2>out/conftest.err)
                   14779:    ac_status=$?
                   14780:    cat out/conftest.err >&5
                   14781:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14782:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14783:    then
                   14784:      # The compiler can only warn and ignore the option if not recognized
                   14785:      # So say no if there are warnings
                   14786:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14787:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14788:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14789:        lt_cv_prog_compiler_c_o_CXX=yes
                   14790:      fi
                   14791:    fi
                   14792:    chmod u+w . 2>&5
                   14793:    $RM conftest*
                   14794:    # SGI C++ compiler will create directory out/ii_files/ for
                   14795:    # template instantiation
                   14796:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14797:    $RM out/* && rmdir out
                   14798:    cd ..
                   14799:    $RM -r conftest
                   14800:    $RM conftest*
                   14801: 
                   14802: fi
                   14803: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14804: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14805: 
                   14806: 
                   14807: 
                   14808: 
                   14809: hard_links="nottested"
                   14810: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14811:   # do not overwrite the value of need_locks provided by the user
                   14812:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   14813: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   14814:   hard_links=yes
                   14815:   $RM conftest*
                   14816:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14817:   touch conftest.a
                   14818:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14819:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14820:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   14821: echo "${ECHO_T}$hard_links" >&6
                   14822:   if test "$hard_links" = no; then
                   14823:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14824: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   14825:     need_locks=warn
                   14826:   fi
                   14827: else
                   14828:   need_locks=no
                   14829: fi
                   14830: 
                   14831: 
                   14832: 
                   14833:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14834: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   14835: 
                   14836:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14837:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14838:   case $host_os in
                   14839:   aix[4-9]*)
                   14840:     # If we're using GNU nm, then we don't want the "-C" option.
                   14841:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14842:     # Also, AIX nm treats weak defined symbols like other global defined
                   14843:     # symbols, whereas GNU nm marks them as "W".
                   14844:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14845:       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'
                   14846:     else
                   14847:       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'
                   14848:     fi
                   14849:     ;;
                   14850:   pw32*)
                   14851:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14852:     ;;
                   14853:   cygwin* | mingw* | cegcc*)
                   14854:     case $cc_basename in
                   14855:     cl*)
                   14856:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14857:       ;;
                   14858:     *)
                   14859:       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'
                   14860:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14861:       ;;
                   14862:     esac
                   14863:     ;;
                   14864:   *)
                   14865:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14866:     ;;
                   14867:   esac
                   14868: 
                   14869: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14870: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14871: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14872: 
                   14873: with_gnu_ld_CXX=$with_gnu_ld
                   14874: 
                   14875: 
                   14876: 
                   14877: 
                   14878: 
                   14879: 
                   14880: #
                   14881: # Do we need to explicitly link libc?
                   14882: #
                   14883: case "x$archive_cmds_need_lc_CXX" in
                   14884: x|xyes)
                   14885:   # Assume -lc should be added
                   14886:   archive_cmds_need_lc_CXX=yes
                   14887: 
                   14888:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14889:     case $archive_cmds_CXX in
                   14890:     *'~'*)
                   14891:       # FIXME: we may have to deal with multi-command sequences.
                   14892:       ;;
                   14893:     '$CC '*)
                   14894:       # Test whether the compiler implicitly links with -lc since on some
                   14895:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14896:       # to ld, don't add -lc before -lgcc.
                   14897:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   14898: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   14899: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   14900:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14901: else
                   14902:   $RM conftest*
                   14903:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14904: 
                   14905:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14906:   (eval $ac_compile) 2>&5
                   14907:   ac_status=$?
                   14908:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14909:   (exit $ac_status); } 2>conftest.err; then
                   14910:          soname=conftest
                   14911:          lib=conftest
                   14912:          libobjs=conftest.$ac_objext
                   14913:          deplibs=
                   14914:          wl=$lt_prog_compiler_wl_CXX
                   14915:          pic_flag=$lt_prog_compiler_pic_CXX
                   14916:          compiler_flags=-v
                   14917:          linker_flags=-v
                   14918:          verstring=
                   14919:          output_objdir=.
                   14920:          libname=conftest
                   14921:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14922:          allow_undefined_flag_CXX=
                   14923:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   14924:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14925:   ac_status=$?
                   14926:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14927:   (exit $ac_status); }
                   14928:          then
                   14929:            lt_cv_archive_cmds_need_lc_CXX=no
                   14930:          else
                   14931:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14932:          fi
                   14933:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14934:        else
                   14935:          cat conftest.err 1>&5
                   14936:        fi
                   14937:        $RM conftest*
                   14938: 
                   14939: fi
                   14940: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14941: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
                   14942:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14943:       ;;
                   14944:     esac
                   14945:   fi
                   14946:   ;;
                   14947: esac
                   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: 
                   14997: 
                   14998: 
                   14999: 
                   15000: 
                   15001: 
                   15002: 
                   15003: 
                   15004: 
                   15005: 
                   15006: 
                   15007: 
                   15008: 
                   15009: 
                   15010:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   15011: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   15012: 
                   15013: library_names_spec=
                   15014: libname_spec='lib$name'
                   15015: soname_spec=
                   15016: shrext_cmds=".so"
                   15017: postinstall_cmds=
                   15018: postuninstall_cmds=
                   15019: finish_cmds=
                   15020: finish_eval=
                   15021: shlibpath_var=
                   15022: shlibpath_overrides_runpath=unknown
                   15023: version_type=none
                   15024: dynamic_linker="$host_os ld.so"
                   15025: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15026: need_lib_prefix=unknown
                   15027: hardcode_into_libs=no
                   15028: 
                   15029: # when you set need_version to no, make sure it does not cause -set_version
                   15030: # flags to be left without arguments
                   15031: need_version=unknown
                   15032: 
                   15033: case $host_os in
                   15034: aix3*)
                   15035:   version_type=linux # correct to gnu/linux during the next big refactor
                   15036:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15037:   shlibpath_var=LIBPATH
                   15038: 
                   15039:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15040:   soname_spec='${libname}${release}${shared_ext}$major'
                   15041:   ;;
                   15042: 
                   15043: aix[4-9]*)
                   15044:   version_type=linux # correct to gnu/linux during the next big refactor
                   15045:   need_lib_prefix=no
                   15046:   need_version=no
                   15047:   hardcode_into_libs=yes
                   15048:   if test "$host_cpu" = ia64; then
                   15049:     # AIX 5 supports IA64
                   15050:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15051:     shlibpath_var=LD_LIBRARY_PATH
                   15052:   else
                   15053:     # With GCC up to 2.95.x, collect2 would create an import file
                   15054:     # for dependence libraries.  The import file would start with
                   15055:     # the line `#! .'.  This would cause the generated library to
                   15056:     # depend on `.', always an invalid library.  This was fixed in
                   15057:     # development snapshots of GCC prior to 3.0.
                   15058:     case $host_os in
                   15059:       aix4 | aix4.[01] | aix4.[01].*)
                   15060:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15061:           echo ' yes '
                   15062:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15063:        :
                   15064:       else
                   15065:        can_build_shared=no
                   15066:       fi
                   15067:       ;;
                   15068:     esac
                   15069:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15070:     # soname into executable. Probably we can add versioning support to
                   15071:     # collect2, so additional links can be useful in future.
                   15072:     if test "$aix_use_runtimelinking" = yes; then
                   15073:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15074:       # instead of lib<name>.a to let people know that these are not
                   15075:       # typical AIX shared libraries.
                   15076:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15077:     else
                   15078:       # We preserve .a as extension for shared libraries through AIX4.2
                   15079:       # and later when we are not doing run time linking.
                   15080:       library_names_spec='${libname}${release}.a $libname.a'
                   15081:       soname_spec='${libname}${release}${shared_ext}$major'
                   15082:     fi
                   15083:     shlibpath_var=LIBPATH
                   15084:   fi
                   15085:   ;;
                   15086: 
                   15087: amigaos*)
                   15088:   case $host_cpu in
                   15089:   powerpc)
                   15090:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15091:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15092:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15093:     ;;
                   15094:   m68k)
                   15095:     library_names_spec='$libname.ixlibrary $libname.a'
                   15096:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15097:     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'
                   15098:     ;;
                   15099:   esac
                   15100:   ;;
                   15101: 
                   15102: beos*)
                   15103:   library_names_spec='${libname}${shared_ext}'
                   15104:   dynamic_linker="$host_os ld.so"
                   15105:   shlibpath_var=LIBRARY_PATH
                   15106:   ;;
                   15107: 
                   15108: bsdi[45]*)
                   15109:   version_type=linux # correct to gnu/linux during the next big refactor
                   15110:   need_version=no
                   15111:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15112:   soname_spec='${libname}${release}${shared_ext}$major'
                   15113:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15114:   shlibpath_var=LD_LIBRARY_PATH
                   15115:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15116:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15117:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15118:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15119:   # libtool to hard-code these into programs
                   15120:   ;;
                   15121: 
                   15122: cygwin* | mingw* | pw32* | cegcc*)
                   15123:   version_type=windows
                   15124:   shrext_cmds=".dll"
                   15125:   need_version=no
                   15126:   need_lib_prefix=no
                   15127: 
                   15128:   case $GCC,$cc_basename in
                   15129:   yes,*)
                   15130:     # gcc
                   15131:     library_names_spec='$libname.dll.a'
                   15132:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15133:     postinstall_cmds='base_file=`basename \${file}`~
                   15134:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15135:       dldir=$destdir/`dirname \$dlpath`~
                   15136:       test -d \$dldir || mkdir -p \$dldir~
                   15137:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15138:       chmod a+x \$dldir/$dlname~
                   15139:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15140:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15141:       fi'
                   15142:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15143:       dlpath=$dir/\$dldll~
                   15144:        $RM \$dlpath'
                   15145:     shlibpath_overrides_runpath=yes
                   15146: 
                   15147:     case $host_os in
                   15148:     cygwin*)
                   15149:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15150:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15151: 
                   15152:       ;;
                   15153:     mingw* | cegcc*)
                   15154:       # MinGW DLLs use traditional 'lib' prefix
                   15155:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15156:       ;;
                   15157:     pw32*)
                   15158:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15159:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15160:       ;;
                   15161:     esac
                   15162:     dynamic_linker='Win32 ld.exe'
                   15163:     ;;
                   15164: 
                   15165:   *,cl*)
                   15166:     # Native MSVC
                   15167:     libname_spec='$name'
                   15168:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15169:     library_names_spec='${libname}.dll.lib'
                   15170: 
                   15171:     case $build_os in
                   15172:     mingw*)
                   15173:       sys_lib_search_path_spec=
                   15174:       lt_save_ifs=$IFS
                   15175:       IFS=';'
                   15176:       for lt_path in $LIB
                   15177:       do
                   15178:         IFS=$lt_save_ifs
                   15179:         # Let DOS variable expansion print the short 8.3 style file name.
                   15180:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15181:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15182:       done
                   15183:       IFS=$lt_save_ifs
                   15184:       # Convert to MSYS style.
                   15185:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15186:       ;;
                   15187:     cygwin*)
                   15188:       # Convert to unix form, then to dos form, then back to unix form
                   15189:       # but this time dos style (no spaces!) so that the unix form looks
                   15190:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15191:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15192:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15193:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15194:       ;;
                   15195:     *)
                   15196:       sys_lib_search_path_spec="$LIB"
                   15197:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15198:         # It is most probably a Windows format PATH.
                   15199:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15200:       else
                   15201:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15202:       fi
                   15203:       # FIXME: find the short name or the path components, as spaces are
                   15204:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15205:       ;;
                   15206:     esac
                   15207: 
                   15208:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15209:     postinstall_cmds='base_file=`basename \${file}`~
                   15210:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15211:       dldir=$destdir/`dirname \$dlpath`~
                   15212:       test -d \$dldir || mkdir -p \$dldir~
                   15213:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15214:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15215:       dlpath=$dir/\$dldll~
                   15216:        $RM \$dlpath'
                   15217:     shlibpath_overrides_runpath=yes
                   15218:     dynamic_linker='Win32 link.exe'
                   15219:     ;;
                   15220: 
                   15221:   *)
                   15222:     # Assume MSVC wrapper
                   15223:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15224:     dynamic_linker='Win32 ld.exe'
                   15225:     ;;
                   15226:   esac
                   15227:   # FIXME: first we should search . and the directory the executable is in
                   15228:   shlibpath_var=PATH
                   15229:   ;;
                   15230: 
                   15231: darwin* | rhapsody*)
                   15232:   dynamic_linker="$host_os dyld"
                   15233:   version_type=darwin
                   15234:   need_lib_prefix=no
                   15235:   need_version=no
                   15236:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15237:   soname_spec='${libname}${release}${major}$shared_ext'
                   15238:   shlibpath_overrides_runpath=yes
                   15239:   shlibpath_var=DYLD_LIBRARY_PATH
                   15240:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15241: 
                   15242:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15243:   ;;
                   15244: 
                   15245: dgux*)
                   15246:   version_type=linux # correct to gnu/linux during the next big refactor
                   15247:   need_lib_prefix=no
                   15248:   need_version=no
                   15249:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15250:   soname_spec='${libname}${release}${shared_ext}$major'
                   15251:   shlibpath_var=LD_LIBRARY_PATH
                   15252:   ;;
                   15253: 
                   15254: freebsd* | dragonfly*)
                   15255:   # DragonFly does not have aout.  When/if they implement a new
                   15256:   # versioning mechanism, adjust this.
                   15257:   if test -x /usr/bin/objformat; then
                   15258:     objformat=`/usr/bin/objformat`
                   15259:   else
                   15260:     case $host_os in
                   15261:     freebsd[23].*) objformat=aout ;;
                   15262:     *) objformat=elf ;;
                   15263:     esac
                   15264:   fi
                   15265:   version_type=freebsd-$objformat
                   15266:   case $version_type in
                   15267:     freebsd-elf*)
                   15268:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15269:       need_version=no
                   15270:       need_lib_prefix=no
                   15271:       ;;
                   15272:     freebsd-*)
                   15273:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15274:       need_version=yes
                   15275:       ;;
                   15276:   esac
                   15277:   shlibpath_var=LD_LIBRARY_PATH
                   15278:   case $host_os in
                   15279:   freebsd2.*)
                   15280:     shlibpath_overrides_runpath=yes
                   15281:     ;;
                   15282:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15283:     shlibpath_overrides_runpath=yes
                   15284:     hardcode_into_libs=yes
                   15285:     ;;
                   15286:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15287:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15288:     shlibpath_overrides_runpath=no
                   15289:     hardcode_into_libs=yes
                   15290:     ;;
                   15291:   *) # from 4.6 on, and DragonFly
                   15292:     shlibpath_overrides_runpath=yes
                   15293:     hardcode_into_libs=yes
                   15294:     ;;
                   15295:   esac
                   15296:   ;;
                   15297: 
                   15298: gnu*)
                   15299:   version_type=linux # correct to gnu/linux during the next big refactor
                   15300:   need_lib_prefix=no
                   15301:   need_version=no
                   15302:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15303:   soname_spec='${libname}${release}${shared_ext}$major'
                   15304:   shlibpath_var=LD_LIBRARY_PATH
                   15305:   shlibpath_overrides_runpath=no
                   15306:   hardcode_into_libs=yes
                   15307:   ;;
                   15308: 
                   15309: haiku*)
                   15310:   version_type=linux # correct to gnu/linux during the next big refactor
                   15311:   need_lib_prefix=no
                   15312:   need_version=no
                   15313:   dynamic_linker="$host_os runtime_loader"
                   15314:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15315:   soname_spec='${libname}${release}${shared_ext}$major'
                   15316:   shlibpath_var=LIBRARY_PATH
                   15317:   shlibpath_overrides_runpath=yes
                   15318:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15319:   hardcode_into_libs=yes
                   15320:   ;;
                   15321: 
                   15322: hpux9* | hpux10* | hpux11*)
                   15323:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15324:   # link against other versions.
                   15325:   version_type=sunos
                   15326:   need_lib_prefix=no
                   15327:   need_version=no
                   15328:   case $host_cpu in
                   15329:   ia64*)
                   15330:     shrext_cmds='.so'
                   15331:     hardcode_into_libs=yes
                   15332:     dynamic_linker="$host_os dld.so"
                   15333:     shlibpath_var=LD_LIBRARY_PATH
                   15334:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15335:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15336:     soname_spec='${libname}${release}${shared_ext}$major'
                   15337:     if test "X$HPUX_IA64_MODE" = X32; then
                   15338:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15339:     else
                   15340:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15341:     fi
                   15342:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15343:     ;;
                   15344:   hppa*64*)
                   15345:     shrext_cmds='.sl'
                   15346:     hardcode_into_libs=yes
                   15347:     dynamic_linker="$host_os dld.sl"
                   15348:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15349:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15350:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15351:     soname_spec='${libname}${release}${shared_ext}$major'
                   15352:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15353:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15354:     ;;
                   15355:   *)
                   15356:     shrext_cmds='.sl'
                   15357:     dynamic_linker="$host_os dld.sl"
                   15358:     shlibpath_var=SHLIB_PATH
                   15359:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   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:     ;;
                   15363:   esac
                   15364:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15365:   postinstall_cmds='chmod 555 $lib'
                   15366:   # or fails outright, so override atomically:
                   15367:   install_override_mode=555
                   15368:   ;;
                   15369: 
                   15370: interix[3-9]*)
                   15371:   version_type=linux # correct to gnu/linux during the next big refactor
                   15372:   need_lib_prefix=no
                   15373:   need_version=no
                   15374:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15375:   soname_spec='${libname}${release}${shared_ext}$major'
                   15376:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15377:   shlibpath_var=LD_LIBRARY_PATH
                   15378:   shlibpath_overrides_runpath=no
                   15379:   hardcode_into_libs=yes
                   15380:   ;;
                   15381: 
                   15382: irix5* | irix6* | nonstopux*)
                   15383:   case $host_os in
                   15384:     nonstopux*) version_type=nonstopux ;;
                   15385:     *)
                   15386:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15387:                version_type=linux # correct to gnu/linux during the next big refactor
                   15388:        else
                   15389:                version_type=irix
                   15390:        fi ;;
                   15391:   esac
                   15392:   need_lib_prefix=no
                   15393:   need_version=no
                   15394:   soname_spec='${libname}${release}${shared_ext}$major'
                   15395:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15396:   case $host_os in
                   15397:   irix5* | nonstopux*)
                   15398:     libsuff= shlibsuff=
                   15399:     ;;
                   15400:   *)
                   15401:     case $LD in # libtool.m4 will add one of these switches to LD
                   15402:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15403:       libsuff= shlibsuff= libmagic=32-bit;;
                   15404:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15405:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15406:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15407:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15408:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15409:     esac
                   15410:     ;;
                   15411:   esac
                   15412:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15413:   shlibpath_overrides_runpath=no
                   15414:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15415:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15416:   hardcode_into_libs=yes
                   15417:   ;;
                   15418: 
                   15419: # No shared lib support for Linux oldld, aout, or coff.
                   15420: linux*oldld* | linux*aout* | linux*coff*)
                   15421:   dynamic_linker=no
                   15422:   ;;
                   15423: 
                   15424: # This must be glibc/ELF.
                   15425: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15426:   version_type=linux # correct to gnu/linux during the next big refactor
                   15427:   need_lib_prefix=no
                   15428:   need_version=no
                   15429:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15430:   soname_spec='${libname}${release}${shared_ext}$major'
                   15431:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15432:   shlibpath_var=LD_LIBRARY_PATH
                   15433:   shlibpath_overrides_runpath=no
                   15434: 
                   15435:   # Some binutils ld are patched to set DT_RUNPATH
                   15436:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   15437:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15438: else
                   15439:   lt_cv_shlibpath_overrides_runpath=no
                   15440:     save_LDFLAGS=$LDFLAGS
                   15441:     save_libdir=$libdir
                   15442:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15443:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   15444:     cat >conftest.$ac_ext <<_ACEOF
                   15445: /* confdefs.h.  */
                   15446: _ACEOF
                   15447: cat confdefs.h >>conftest.$ac_ext
                   15448: cat >>conftest.$ac_ext <<_ACEOF
                   15449: /* end confdefs.h.  */
                   15450: 
                   15451: int
                   15452: main ()
                   15453: {
                   15454: 
                   15455:   ;
                   15456:   return 0;
                   15457: }
                   15458: _ACEOF
                   15459: rm -f conftest.$ac_objext conftest$ac_exeext
                   15460: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15461:   (eval $ac_link) 2>conftest.er1
                   15462:   ac_status=$?
                   15463:   grep -v '^ *+' conftest.er1 >conftest.err
                   15464:   rm -f conftest.er1
                   15465:   cat conftest.err >&5
                   15466:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15467:   (exit $ac_status); } &&
                   15468:         { ac_try='test -z "$ac_cxx_werror_flag"
                   15469:                         || test ! -s conftest.err'
                   15470:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15471:   (eval $ac_try) 2>&5
                   15472:   ac_status=$?
                   15473:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15474:   (exit $ac_status); }; } &&
                   15475:         { ac_try='test -s conftest$ac_exeext'
                   15476:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15477:   (eval $ac_try) 2>&5
                   15478:   ac_status=$?
                   15479:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15480:   (exit $ac_status); }; }; then
                   15481:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   15482:   lt_cv_shlibpath_overrides_runpath=yes
                   15483: fi
                   15484: 
                   15485: else
                   15486:   echo "$as_me: failed program was:" >&5
                   15487: sed 's/^/| /' conftest.$ac_ext >&5
                   15488: 
                   15489: fi
                   15490: rm -f conftest.err conftest.$ac_objext \
                   15491:       conftest$ac_exeext conftest.$ac_ext
                   15492:     LDFLAGS=$save_LDFLAGS
                   15493:     libdir=$save_libdir
                   15494: 
                   15495: fi
                   15496: 
                   15497:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15498: 
                   15499:   # This implies no fast_install, which is unacceptable.
                   15500:   # Some rework will be needed to allow for fast_install
                   15501:   # before this can be enabled.
                   15502:   hardcode_into_libs=yes
                   15503: 
                   15504:   # Append ld.so.conf contents to the search path
                   15505:   if test -f /etc/ld.so.conf; then
                   15506:     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' ' '`
                   15507:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15508:   fi
                   15509: 
                   15510:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15511:   # powerpc, because MkLinux only supported shared libraries with the
                   15512:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15513:   # most powerpc-linux boxes support dynamic linking these days and
                   15514:   # people can always --disable-shared, the test was removed, and we
                   15515:   # assume the GNU/Linux dynamic linker is in use.
                   15516:   dynamic_linker='GNU/Linux ld.so'
                   15517:   ;;
                   15518: 
                   15519: netbsd*)
                   15520:   version_type=sunos
                   15521:   need_lib_prefix=no
                   15522:   need_version=no
                   15523:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15524:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15525:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15526:     dynamic_linker='NetBSD (a.out) ld.so'
                   15527:   else
                   15528:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15529:     soname_spec='${libname}${release}${shared_ext}$major'
                   15530:     dynamic_linker='NetBSD ld.elf_so'
                   15531:   fi
                   15532:   shlibpath_var=LD_LIBRARY_PATH
                   15533:   shlibpath_overrides_runpath=yes
                   15534:   hardcode_into_libs=yes
                   15535:   ;;
                   15536: 
                   15537: newsos6)
                   15538:   version_type=linux # correct to gnu/linux during the next big refactor
                   15539:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15540:   shlibpath_var=LD_LIBRARY_PATH
                   15541:   shlibpath_overrides_runpath=yes
                   15542:   ;;
                   15543: 
                   15544: *nto* | *qnx*)
                   15545:   version_type=qnx
                   15546:   need_lib_prefix=no
                   15547:   need_version=no
                   15548:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15549:   soname_spec='${libname}${release}${shared_ext}$major'
                   15550:   shlibpath_var=LD_LIBRARY_PATH
                   15551:   shlibpath_overrides_runpath=no
                   15552:   hardcode_into_libs=yes
                   15553:   dynamic_linker='ldqnx.so'
                   15554:   ;;
                   15555: 
                   15556: openbsd*)
                   15557:   version_type=sunos
                   15558:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15559:   need_lib_prefix=no
                   15560:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15561:   case $host_os in
                   15562:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15563:     *)                         need_version=no  ;;
                   15564:   esac
                   15565:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15566:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15567:   shlibpath_var=LD_LIBRARY_PATH
                   15568:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15569:     case $host_os in
                   15570:       openbsd2.[89] | openbsd2.[89].*)
                   15571:        shlibpath_overrides_runpath=no
                   15572:        ;;
                   15573:       *)
                   15574:        shlibpath_overrides_runpath=yes
                   15575:        ;;
                   15576:       esac
                   15577:   else
                   15578:     shlibpath_overrides_runpath=yes
                   15579:   fi
                   15580:   ;;
                   15581: 
                   15582: os2*)
                   15583:   libname_spec='$name'
                   15584:   shrext_cmds=".dll"
                   15585:   need_lib_prefix=no
                   15586:   library_names_spec='$libname${shared_ext} $libname.a'
                   15587:   dynamic_linker='OS/2 ld.exe'
                   15588:   shlibpath_var=LIBPATH
                   15589:   ;;
                   15590: 
                   15591: osf3* | osf4* | osf5*)
                   15592:   version_type=osf
                   15593:   need_lib_prefix=no
                   15594:   need_version=no
                   15595:   soname_spec='${libname}${release}${shared_ext}$major'
                   15596:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15597:   shlibpath_var=LD_LIBRARY_PATH
                   15598:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15599:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15600:   ;;
                   15601: 
                   15602: rdos*)
                   15603:   dynamic_linker=no
                   15604:   ;;
                   15605: 
                   15606: solaris*)
                   15607:   version_type=linux # correct to gnu/linux during the next big refactor
                   15608:   need_lib_prefix=no
                   15609:   need_version=no
                   15610:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15611:   soname_spec='${libname}${release}${shared_ext}$major'
                   15612:   shlibpath_var=LD_LIBRARY_PATH
                   15613:   shlibpath_overrides_runpath=yes
                   15614:   hardcode_into_libs=yes
                   15615:   # ldd complains unless libraries are executable
                   15616:   postinstall_cmds='chmod +x $lib'
                   15617:   ;;
                   15618: 
                   15619: sunos4*)
                   15620:   version_type=sunos
                   15621:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15622:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15623:   shlibpath_var=LD_LIBRARY_PATH
                   15624:   shlibpath_overrides_runpath=yes
                   15625:   if test "$with_gnu_ld" = yes; then
                   15626:     need_lib_prefix=no
                   15627:   fi
                   15628:   need_version=yes
                   15629:   ;;
                   15630: 
                   15631: sysv4 | sysv4.3*)
                   15632:   version_type=linux # correct to gnu/linux during the next big refactor
                   15633:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15634:   soname_spec='${libname}${release}${shared_ext}$major'
                   15635:   shlibpath_var=LD_LIBRARY_PATH
                   15636:   case $host_vendor in
                   15637:     sni)
                   15638:       shlibpath_overrides_runpath=no
                   15639:       need_lib_prefix=no
                   15640:       runpath_var=LD_RUN_PATH
                   15641:       ;;
                   15642:     siemens)
                   15643:       need_lib_prefix=no
                   15644:       ;;
                   15645:     motorola)
                   15646:       need_lib_prefix=no
                   15647:       need_version=no
                   15648:       shlibpath_overrides_runpath=no
                   15649:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15650:       ;;
                   15651:   esac
                   15652:   ;;
                   15653: 
                   15654: sysv4*MP*)
                   15655:   if test -d /usr/nec ;then
                   15656:     version_type=linux # correct to gnu/linux during the next big refactor
                   15657:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15658:     soname_spec='$libname${shared_ext}.$major'
                   15659:     shlibpath_var=LD_LIBRARY_PATH
                   15660:   fi
                   15661:   ;;
                   15662: 
                   15663: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15664:   version_type=freebsd-elf
                   15665:   need_lib_prefix=no
                   15666:   need_version=no
                   15667:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15668:   soname_spec='${libname}${release}${shared_ext}$major'
                   15669:   shlibpath_var=LD_LIBRARY_PATH
                   15670:   shlibpath_overrides_runpath=yes
                   15671:   hardcode_into_libs=yes
                   15672:   if test "$with_gnu_ld" = yes; then
                   15673:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15674:   else
                   15675:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15676:     case $host_os in
                   15677:       sco3.2v5*)
                   15678:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15679:        ;;
                   15680:     esac
                   15681:   fi
                   15682:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15683:   ;;
                   15684: 
                   15685: tpf*)
                   15686:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15687:   version_type=linux # correct to gnu/linux during the next big refactor
                   15688:   need_lib_prefix=no
                   15689:   need_version=no
                   15690:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15691:   shlibpath_var=LD_LIBRARY_PATH
                   15692:   shlibpath_overrides_runpath=no
                   15693:   hardcode_into_libs=yes
                   15694:   ;;
                   15695: 
                   15696: uts4*)
                   15697:   version_type=linux # correct to gnu/linux during the next big refactor
                   15698:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15699:   soname_spec='${libname}${release}${shared_ext}$major'
                   15700:   shlibpath_var=LD_LIBRARY_PATH
                   15701:   ;;
                   15702: 
                   15703: *)
                   15704:   dynamic_linker=no
                   15705:   ;;
                   15706: esac
                   15707: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   15708: echo "${ECHO_T}$dynamic_linker" >&6
                   15709: test "$dynamic_linker" = no && can_build_shared=no
                   15710: 
                   15711: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15712: if test "$GCC" = yes; then
                   15713:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15714: fi
                   15715: 
                   15716: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15717:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15718: fi
                   15719: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15720:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15721: fi
                   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: 
                   15747: 
                   15748: 
                   15749: 
                   15750: 
                   15751: 
                   15752: 
                   15753: 
                   15754: 
                   15755: 
                   15756: 
                   15757: 
                   15758: 
                   15759: 
                   15760:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   15761: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   15762: hardcode_action_CXX=
                   15763: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15764:    test -n "$runpath_var_CXX" ||
                   15765:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15766: 
                   15767:   # We can hardcode non-existent directories.
                   15768:   if test "$hardcode_direct_CXX" != no &&
                   15769:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15770:      # have to relink, otherwise we might link with an installed library
                   15771:      # when we should be linking with a yet-to-be-installed one
                   15772:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15773:      test "$hardcode_minus_L_CXX" != no; then
                   15774:     # Linking always hardcodes the temporary library directory.
                   15775:     hardcode_action_CXX=relink
                   15776:   else
                   15777:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15778:     hardcode_action_CXX=immediate
                   15779:   fi
                   15780: else
                   15781:   # We cannot hardcode anything, or else we can only hardcode existing
                   15782:   # directories.
                   15783:   hardcode_action_CXX=unsupported
                   15784: fi
                   15785: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   15786: echo "${ECHO_T}$hardcode_action_CXX" >&6
                   15787: 
                   15788: if test "$hardcode_action_CXX" = relink ||
                   15789:    test "$inherit_rpath_CXX" = yes; then
                   15790:   # Fast installation is not supported
                   15791:   enable_fast_install=no
                   15792: elif test "$shlibpath_overrides_runpath" = yes ||
                   15793:      test "$enable_shared" = no; then
                   15794:   # Fast installation is not necessary
                   15795:   enable_fast_install=needless
                   15796: fi
                   15797: 
                   15798: 
                   15799: 
                   15800: 
                   15801: 
                   15802: 
                   15803: 
                   15804:   fi # test -n "$compiler"
                   15805: 
                   15806:   CC=$lt_save_CC
                   15807:   CFLAGS=$lt_save_CFLAGS
                   15808:   LDCXX=$LD
                   15809:   LD=$lt_save_LD
                   15810:   GCC=$lt_save_GCC
                   15811:   with_gnu_ld=$lt_save_with_gnu_ld
                   15812:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15813:   lt_cv_path_LD=$lt_save_path_LD
                   15814:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15815:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15816: fi # test "$_lt_caught_CXX_error" != yes
                   15817: 
                   15818: ac_ext=c
                   15819: ac_cpp='$CPP $CPPFLAGS'
                   15820: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15821: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15822: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15823: 
                   15824: 
                   15825: 
                   15826: 
                   15827: 
                   15828: 
                   15829: 
                   15830: 
                   15831: 
                   15832: 
                   15833: 
                   15834: 
                   15835: 
                   15836: 
                   15837: 
                   15838:                   ac_config_commands="$ac_config_commands libtool"
                   15839: 
                   15840: 
                   15841: 
                   15842: 
                   15843: # Only expand once:
                   15844: 
                   15845: 
                   15846: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15847: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15848: if test "${libltdl_cv_shlibext+set}" = set; then
                   15849:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15850: else
                   15851: 
                   15852: module=yes
                   15853: eval libltdl_cv_shlibext=$shrext_cmds
                   15854: module=no
                   15855: eval libltdl_cv_shrext=$shrext_cmds
                   15856: 
                   15857: fi
                   15858: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15859: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   15860: if test -n "$libltdl_cv_shlibext"; then
                   15861: 
                   15862: cat >>confdefs.h <<_ACEOF
                   15863: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15864: _ACEOF
                   15865: 
                   15866: fi
                   15867: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15868: 
                   15869: cat >>confdefs.h <<_ACEOF
                   15870: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15871: _ACEOF
                   15872: 
                   15873: fi
                   15874: 
                   15875: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15876: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15877: if test "${lt_cv_module_path_var+set}" = set; then
                   15878:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15879: else
                   15880:   lt_cv_module_path_var="$shlibpath_var"
                   15881: fi
                   15882: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15883: echo "${ECHO_T}$lt_cv_module_path_var" >&6
                   15884: if test -n "$lt_cv_module_path_var"; then
                   15885: 
                   15886: cat >>confdefs.h <<_ACEOF
                   15887: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15888: _ACEOF
                   15889: 
                   15890: fi
                   15891: 
                   15892: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15893: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15894: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15895:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15896: else
                   15897:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15898: fi
                   15899: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15900: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
                   15901: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15902:   sys_dlsearch_path=
                   15903:   for dir in $lt_cv_sys_dlsearch_path; do
                   15904:     if test -z "$sys_dlsearch_path"; then
                   15905:       sys_dlsearch_path="$dir"
                   15906:     else
                   15907:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15908:     fi
                   15909:   done
                   15910: 
                   15911: cat >>confdefs.h <<_ACEOF
                   15912: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15913: _ACEOF
                   15914: 
                   15915: fi
                   15916: 
                   15917: 
                   15918: LT_DLLOADERS=
                   15919: 
                   15920: 
                   15921: ac_ext=c
                   15922: ac_cpp='$CPP $CPPFLAGS'
                   15923: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15924: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15925: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15926: 
                   15927: 
                   15928: LIBADD_DLOPEN=
                   15929: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15930: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15931: if test "${ac_cv_search_dlopen+set}" = set; then
                   15932:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15933: else
                   15934:   ac_func_search_save_LIBS=$LIBS
                   15935: ac_cv_search_dlopen=no
                   15936: cat >conftest.$ac_ext <<_ACEOF
                   15937: /* confdefs.h.  */
                   15938: _ACEOF
                   15939: cat confdefs.h >>conftest.$ac_ext
                   15940: cat >>conftest.$ac_ext <<_ACEOF
                   15941: /* end confdefs.h.  */
                   15942: 
                   15943: /* Override any gcc2 internal prototype to avoid an error.  */
                   15944: #ifdef __cplusplus
                   15945: extern "C"
                   15946: #endif
                   15947: /* We use char because int might match the return type of a gcc2
                   15948:    builtin and then its argument prototype would still apply.  */
                   15949: char dlopen ();
                   15950: int
                   15951: main ()
                   15952: {
                   15953: dlopen ();
                   15954:   ;
                   15955:   return 0;
                   15956: }
                   15957: _ACEOF
                   15958: rm -f conftest.$ac_objext conftest$ac_exeext
                   15959: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15960:   (eval $ac_link) 2>conftest.er1
                   15961:   ac_status=$?
                   15962:   grep -v '^ *+' conftest.er1 >conftest.err
                   15963:   rm -f conftest.er1
                   15964:   cat conftest.err >&5
                   15965:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15966:   (exit $ac_status); } &&
                   15967:         { ac_try='test -z "$ac_c_werror_flag"
                   15968:                         || test ! -s conftest.err'
                   15969:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15970:   (eval $ac_try) 2>&5
                   15971:   ac_status=$?
                   15972:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15973:   (exit $ac_status); }; } &&
                   15974:         { ac_try='test -s conftest$ac_exeext'
                   15975:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15976:   (eval $ac_try) 2>&5
                   15977:   ac_status=$?
                   15978:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15979:   (exit $ac_status); }; }; then
                   15980:   ac_cv_search_dlopen="none required"
                   15981: else
                   15982:   echo "$as_me: failed program was:" >&5
                   15983: sed 's/^/| /' conftest.$ac_ext >&5
                   15984: 
                   15985: fi
                   15986: rm -f conftest.err conftest.$ac_objext \
                   15987:       conftest$ac_exeext conftest.$ac_ext
                   15988: if test "$ac_cv_search_dlopen" = no; then
                   15989:   for ac_lib in dl; do
                   15990:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15991:     cat >conftest.$ac_ext <<_ACEOF
                   15992: /* confdefs.h.  */
                   15993: _ACEOF
                   15994: cat confdefs.h >>conftest.$ac_ext
                   15995: cat >>conftest.$ac_ext <<_ACEOF
                   15996: /* end confdefs.h.  */
                   15997: 
                   15998: /* Override any gcc2 internal prototype to avoid an error.  */
                   15999: #ifdef __cplusplus
                   16000: extern "C"
                   16001: #endif
                   16002: /* We use char because int might match the return type of a gcc2
                   16003:    builtin and then its argument prototype would still apply.  */
                   16004: char dlopen ();
                   16005: int
                   16006: main ()
                   16007: {
                   16008: dlopen ();
                   16009:   ;
                   16010:   return 0;
                   16011: }
                   16012: _ACEOF
                   16013: rm -f conftest.$ac_objext conftest$ac_exeext
                   16014: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16015:   (eval $ac_link) 2>conftest.er1
                   16016:   ac_status=$?
                   16017:   grep -v '^ *+' conftest.er1 >conftest.err
                   16018:   rm -f conftest.er1
                   16019:   cat conftest.err >&5
                   16020:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16021:   (exit $ac_status); } &&
                   16022:         { ac_try='test -z "$ac_c_werror_flag"
                   16023:                         || test ! -s conftest.err'
                   16024:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16025:   (eval $ac_try) 2>&5
                   16026:   ac_status=$?
                   16027:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16028:   (exit $ac_status); }; } &&
                   16029:         { ac_try='test -s conftest$ac_exeext'
                   16030:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16031:   (eval $ac_try) 2>&5
                   16032:   ac_status=$?
                   16033:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16034:   (exit $ac_status); }; }; then
                   16035:   ac_cv_search_dlopen="-l$ac_lib"
                   16036: break
                   16037: else
                   16038:   echo "$as_me: failed program was:" >&5
                   16039: sed 's/^/| /' conftest.$ac_ext >&5
                   16040: 
                   16041: fi
                   16042: rm -f conftest.err conftest.$ac_objext \
                   16043:       conftest$ac_exeext conftest.$ac_ext
                   16044:   done
                   16045: fi
                   16046: LIBS=$ac_func_search_save_LIBS
                   16047: fi
                   16048: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   16049: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   16050: if test "$ac_cv_search_dlopen" != no; then
                   16051:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
                   16052: 
                   16053: cat >>confdefs.h <<\_ACEOF
                   16054: #define HAVE_LIBDL 1
                   16055: _ACEOF
                   16056: 
                   16057:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16058:          LIBADD_DLOPEN="-ldl"
                   16059:        fi
                   16060:        libltdl_cv_lib_dl_dlopen="yes"
                   16061:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16062: else
                   16063:   cat >conftest.$ac_ext <<_ACEOF
                   16064: /* confdefs.h.  */
                   16065: _ACEOF
                   16066: cat confdefs.h >>conftest.$ac_ext
                   16067: cat >>conftest.$ac_ext <<_ACEOF
                   16068: /* end confdefs.h.  */
                   16069: #if HAVE_DLFCN_H
                   16070: #  include <dlfcn.h>
                   16071: #endif
                   16072: 
                   16073: int
                   16074: main ()
                   16075: {
                   16076: dlopen(0, 0);
                   16077:   ;
                   16078:   return 0;
                   16079: }
                   16080: _ACEOF
                   16081: rm -f conftest.$ac_objext conftest$ac_exeext
                   16082: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16083:   (eval $ac_link) 2>conftest.er1
                   16084:   ac_status=$?
                   16085:   grep -v '^ *+' conftest.er1 >conftest.err
                   16086:   rm -f conftest.er1
                   16087:   cat conftest.err >&5
                   16088:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16089:   (exit $ac_status); } &&
                   16090:         { ac_try='test -z "$ac_c_werror_flag"
                   16091:                         || test ! -s conftest.err'
                   16092:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16093:   (eval $ac_try) 2>&5
                   16094:   ac_status=$?
                   16095:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16096:   (exit $ac_status); }; } &&
                   16097:         { ac_try='test -s conftest$ac_exeext'
                   16098:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16099:   (eval $ac_try) 2>&5
                   16100:   ac_status=$?
                   16101:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16102:   (exit $ac_status); }; }; then
                   16103: 
                   16104: cat >>confdefs.h <<\_ACEOF
                   16105: #define HAVE_LIBDL 1
                   16106: _ACEOF
                   16107: 
                   16108:            libltdl_cv_func_dlopen="yes"
                   16109:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16110: else
                   16111:   echo "$as_me: failed program was:" >&5
                   16112: sed 's/^/| /' conftest.$ac_ext >&5
                   16113: 
                   16114: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   16115: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   16116: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   16117:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16118: else
                   16119:   ac_check_lib_save_LIBS=$LIBS
                   16120: LIBS="-lsvld  $LIBS"
                   16121: cat >conftest.$ac_ext <<_ACEOF
                   16122: /* confdefs.h.  */
                   16123: _ACEOF
                   16124: cat confdefs.h >>conftest.$ac_ext
                   16125: cat >>conftest.$ac_ext <<_ACEOF
                   16126: /* end confdefs.h.  */
                   16127: 
                   16128: /* Override any gcc2 internal prototype to avoid an error.  */
                   16129: #ifdef __cplusplus
                   16130: extern "C"
                   16131: #endif
                   16132: /* We use char because int might match the return type of a gcc2
                   16133:    builtin and then its argument prototype would still apply.  */
                   16134: char dlopen ();
                   16135: int
                   16136: main ()
                   16137: {
                   16138: dlopen ();
                   16139:   ;
                   16140:   return 0;
                   16141: }
                   16142: _ACEOF
                   16143: rm -f conftest.$ac_objext conftest$ac_exeext
                   16144: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16145:   (eval $ac_link) 2>conftest.er1
                   16146:   ac_status=$?
                   16147:   grep -v '^ *+' conftest.er1 >conftest.err
                   16148:   rm -f conftest.er1
                   16149:   cat conftest.err >&5
                   16150:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16151:   (exit $ac_status); } &&
                   16152:         { ac_try='test -z "$ac_c_werror_flag"
                   16153:                         || test ! -s conftest.err'
                   16154:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16155:   (eval $ac_try) 2>&5
                   16156:   ac_status=$?
                   16157:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16158:   (exit $ac_status); }; } &&
                   16159:         { ac_try='test -s conftest$ac_exeext'
                   16160:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16161:   (eval $ac_try) 2>&5
                   16162:   ac_status=$?
                   16163:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16164:   (exit $ac_status); }; }; then
                   16165:   ac_cv_lib_svld_dlopen=yes
                   16166: else
                   16167:   echo "$as_me: failed program was:" >&5
                   16168: sed 's/^/| /' conftest.$ac_ext >&5
                   16169: 
                   16170: ac_cv_lib_svld_dlopen=no
                   16171: fi
                   16172: rm -f conftest.err conftest.$ac_objext \
                   16173:       conftest$ac_exeext conftest.$ac_ext
                   16174: LIBS=$ac_check_lib_save_LIBS
                   16175: fi
                   16176: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   16177: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   16178: if test $ac_cv_lib_svld_dlopen = yes; then
                   16179: 
                   16180: cat >>confdefs.h <<\_ACEOF
                   16181: #define HAVE_LIBDL 1
                   16182: _ACEOF
                   16183: 
                   16184:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16185:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16186: fi
                   16187: 
                   16188: fi
                   16189: rm -f conftest.err conftest.$ac_objext \
                   16190:       conftest$ac_exeext conftest.$ac_ext
                   16191: fi
                   16192: 
                   16193: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16194: then
                   16195:   lt_save_LIBS="$LIBS"
                   16196:   LIBS="$LIBS $LIBADD_DLOPEN"
                   16197: 
                   16198: for ac_func in dlerror
                   16199: do
                   16200: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16201: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16202: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16203: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16204:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16205: else
                   16206:   cat >conftest.$ac_ext <<_ACEOF
                   16207: /* confdefs.h.  */
                   16208: _ACEOF
                   16209: cat confdefs.h >>conftest.$ac_ext
                   16210: cat >>conftest.$ac_ext <<_ACEOF
                   16211: /* end confdefs.h.  */
                   16212: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16213:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16214: #define $ac_func innocuous_$ac_func
                   16215: 
                   16216: /* System header to define __stub macros and hopefully few prototypes,
                   16217:     which can conflict with char $ac_func (); below.
                   16218:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16219:     <limits.h> exists even on freestanding compilers.  */
                   16220: 
                   16221: #ifdef __STDC__
                   16222: # include <limits.h>
                   16223: #else
                   16224: # include <assert.h>
                   16225: #endif
                   16226: 
                   16227: #undef $ac_func
                   16228: 
                   16229: /* Override any gcc2 internal prototype to avoid an error.  */
                   16230: #ifdef __cplusplus
                   16231: extern "C"
                   16232: {
                   16233: #endif
                   16234: /* We use char because int might match the return type of a gcc2
                   16235:    builtin and then its argument prototype would still apply.  */
                   16236: char $ac_func ();
                   16237: /* The GNU C library defines this for functions which it implements
                   16238:     to always fail with ENOSYS.  Some functions are actually named
                   16239:     something starting with __ and the normal name is an alias.  */
                   16240: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16241: choke me
                   16242: #else
                   16243: char (*f) () = $ac_func;
                   16244: #endif
                   16245: #ifdef __cplusplus
                   16246: }
                   16247: #endif
                   16248: 
                   16249: int
                   16250: main ()
                   16251: {
                   16252: return f != $ac_func;
                   16253:   ;
                   16254:   return 0;
                   16255: }
                   16256: _ACEOF
                   16257: rm -f conftest.$ac_objext conftest$ac_exeext
                   16258: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16259:   (eval $ac_link) 2>conftest.er1
                   16260:   ac_status=$?
                   16261:   grep -v '^ *+' conftest.er1 >conftest.err
                   16262:   rm -f conftest.er1
                   16263:   cat conftest.err >&5
                   16264:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16265:   (exit $ac_status); } &&
                   16266:         { ac_try='test -z "$ac_c_werror_flag"
                   16267:                         || test ! -s conftest.err'
                   16268:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16269:   (eval $ac_try) 2>&5
                   16270:   ac_status=$?
                   16271:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16272:   (exit $ac_status); }; } &&
                   16273:         { ac_try='test -s conftest$ac_exeext'
                   16274:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16275:   (eval $ac_try) 2>&5
                   16276:   ac_status=$?
                   16277:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16278:   (exit $ac_status); }; }; then
                   16279:   eval "$as_ac_var=yes"
                   16280: else
                   16281:   echo "$as_me: failed program was:" >&5
                   16282: sed 's/^/| /' conftest.$ac_ext >&5
                   16283: 
                   16284: eval "$as_ac_var=no"
                   16285: fi
                   16286: rm -f conftest.err conftest.$ac_objext \
                   16287:       conftest$ac_exeext conftest.$ac_ext
                   16288: fi
                   16289: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16290: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16291: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   16292:   cat >>confdefs.h <<_ACEOF
                   16293: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16294: _ACEOF
                   16295: 
                   16296: fi
                   16297: done
                   16298: 
                   16299:   LIBS="$lt_save_LIBS"
                   16300: fi
                   16301: 
                   16302: 
                   16303: LIBADD_SHL_LOAD=
                   16304: echo "$as_me:$LINENO: checking for shl_load" >&5
                   16305: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   16306: if test "${ac_cv_func_shl_load+set}" = set; then
                   16307:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16308: else
                   16309:   cat >conftest.$ac_ext <<_ACEOF
                   16310: /* confdefs.h.  */
                   16311: _ACEOF
                   16312: cat confdefs.h >>conftest.$ac_ext
                   16313: cat >>conftest.$ac_ext <<_ACEOF
                   16314: /* end confdefs.h.  */
                   16315: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   16316:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16317: #define shl_load innocuous_shl_load
                   16318: 
                   16319: /* System header to define __stub macros and hopefully few prototypes,
                   16320:     which can conflict with char shl_load (); below.
                   16321:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16322:     <limits.h> exists even on freestanding compilers.  */
                   16323: 
                   16324: #ifdef __STDC__
                   16325: # include <limits.h>
                   16326: #else
                   16327: # include <assert.h>
                   16328: #endif
                   16329: 
                   16330: #undef shl_load
                   16331: 
                   16332: /* Override any gcc2 internal prototype to avoid an error.  */
                   16333: #ifdef __cplusplus
                   16334: extern "C"
                   16335: {
                   16336: #endif
                   16337: /* We use char because int might match the return type of a gcc2
                   16338:    builtin and then its argument prototype would still apply.  */
                   16339: char shl_load ();
                   16340: /* The GNU C library defines this for functions which it implements
                   16341:     to always fail with ENOSYS.  Some functions are actually named
                   16342:     something starting with __ and the normal name is an alias.  */
                   16343: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   16344: choke me
                   16345: #else
                   16346: char (*f) () = shl_load;
                   16347: #endif
                   16348: #ifdef __cplusplus
                   16349: }
                   16350: #endif
                   16351: 
                   16352: int
                   16353: main ()
                   16354: {
                   16355: return f != shl_load;
                   16356:   ;
                   16357:   return 0;
                   16358: }
                   16359: _ACEOF
                   16360: rm -f conftest.$ac_objext conftest$ac_exeext
                   16361: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16362:   (eval $ac_link) 2>conftest.er1
                   16363:   ac_status=$?
                   16364:   grep -v '^ *+' conftest.er1 >conftest.err
                   16365:   rm -f conftest.er1
                   16366:   cat conftest.err >&5
                   16367:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16368:   (exit $ac_status); } &&
                   16369:         { ac_try='test -z "$ac_c_werror_flag"
                   16370:                         || test ! -s conftest.err'
                   16371:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16372:   (eval $ac_try) 2>&5
                   16373:   ac_status=$?
                   16374:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16375:   (exit $ac_status); }; } &&
                   16376:         { ac_try='test -s conftest$ac_exeext'
                   16377:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16378:   (eval $ac_try) 2>&5
                   16379:   ac_status=$?
                   16380:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16381:   (exit $ac_status); }; }; then
                   16382:   ac_cv_func_shl_load=yes
                   16383: else
                   16384:   echo "$as_me: failed program was:" >&5
                   16385: sed 's/^/| /' conftest.$ac_ext >&5
                   16386: 
                   16387: ac_cv_func_shl_load=no
                   16388: fi
                   16389: rm -f conftest.err conftest.$ac_objext \
                   16390:       conftest$ac_exeext conftest.$ac_ext
                   16391: fi
                   16392: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   16393: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   16394: if test $ac_cv_func_shl_load = yes; then
                   16395: 
                   16396: cat >>confdefs.h <<\_ACEOF
                   16397: #define HAVE_SHL_LOAD 1
                   16398: _ACEOF
                   16399: 
                   16400:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16401: else
                   16402:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   16403: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   16404: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   16405:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16406: else
                   16407:   ac_check_lib_save_LIBS=$LIBS
                   16408: LIBS="-ldld  $LIBS"
                   16409: cat >conftest.$ac_ext <<_ACEOF
                   16410: /* confdefs.h.  */
                   16411: _ACEOF
                   16412: cat confdefs.h >>conftest.$ac_ext
                   16413: cat >>conftest.$ac_ext <<_ACEOF
                   16414: /* end confdefs.h.  */
1.10      paf      16415: 
1.66      paf      16416: /* Override any gcc2 internal prototype to avoid an error.  */
                   16417: #ifdef __cplusplus
                   16418: extern "C"
                   16419: #endif
                   16420: /* We use char because int might match the return type of a gcc2
                   16421:    builtin and then its argument prototype would still apply.  */
                   16422: char shl_load ();
                   16423: int
                   16424: main ()
                   16425: {
                   16426: shl_load ();
                   16427:   ;
                   16428:   return 0;
                   16429: }
                   16430: _ACEOF
                   16431: rm -f conftest.$ac_objext conftest$ac_exeext
                   16432: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16433:   (eval $ac_link) 2>conftest.er1
1.66      paf      16434:   ac_status=$?
1.86      paf      16435:   grep -v '^ *+' conftest.er1 >conftest.err
                   16436:   rm -f conftest.er1
                   16437:   cat conftest.err >&5
1.66      paf      16438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16439:   (exit $ac_status); } &&
1.86      paf      16440:         { ac_try='test -z "$ac_c_werror_flag"
                   16441:                         || test ! -s conftest.err'
                   16442:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16443:   (eval $ac_try) 2>&5
                   16444:   ac_status=$?
                   16445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16446:   (exit $ac_status); }; } &&
                   16447:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16448:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16449:   (eval $ac_try) 2>&5
                   16450:   ac_status=$?
                   16451:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16452:   (exit $ac_status); }; }; then
                   16453:   ac_cv_lib_dld_shl_load=yes
                   16454: else
                   16455:   echo "$as_me: failed program was:" >&5
                   16456: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      16457: 
1.66      paf      16458: ac_cv_lib_dld_shl_load=no
                   16459: fi
1.86      paf      16460: rm -f conftest.err conftest.$ac_objext \
                   16461:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      16462: LIBS=$ac_check_lib_save_LIBS
                   16463: fi
                   16464: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   16465: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   16466: if test $ac_cv_lib_dld_shl_load = yes; then
1.1       paf      16467: 
1.66      paf      16468: cat >>confdefs.h <<\_ACEOF
                   16469: #define HAVE_SHL_LOAD 1
                   16470: _ACEOF
1.1       paf      16471: 
1.128     moko     16472:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16473:            LIBADD_SHL_LOAD="-ldld"
                   16474: fi
                   16475: 
                   16476: fi
                   16477: 
                   16478: 
                   16479: 
                   16480: case $host_os in
                   16481: darwin[1567].*)
                   16482: # We only want this for pre-Mac OS X 10.4.
                   16483:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   16484: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   16485: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   16486:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16487: else
                   16488:   cat >conftest.$ac_ext <<_ACEOF
                   16489: /* confdefs.h.  */
                   16490: _ACEOF
                   16491: cat confdefs.h >>conftest.$ac_ext
                   16492: cat >>conftest.$ac_ext <<_ACEOF
                   16493: /* end confdefs.h.  */
                   16494: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   16495:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16496: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   16497: 
                   16498: /* System header to define __stub macros and hopefully few prototypes,
                   16499:     which can conflict with char _dyld_func_lookup (); below.
                   16500:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16501:     <limits.h> exists even on freestanding compilers.  */
                   16502: 
                   16503: #ifdef __STDC__
                   16504: # include <limits.h>
                   16505: #else
                   16506: # include <assert.h>
                   16507: #endif
                   16508: 
                   16509: #undef _dyld_func_lookup
                   16510: 
                   16511: /* Override any gcc2 internal prototype to avoid an error.  */
                   16512: #ifdef __cplusplus
                   16513: extern "C"
                   16514: {
                   16515: #endif
                   16516: /* We use char because int might match the return type of a gcc2
                   16517:    builtin and then its argument prototype would still apply.  */
                   16518: char _dyld_func_lookup ();
                   16519: /* The GNU C library defines this for functions which it implements
                   16520:     to always fail with ENOSYS.  Some functions are actually named
                   16521:     something starting with __ and the normal name is an alias.  */
                   16522: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   16523: choke me
                   16524: #else
                   16525: char (*f) () = _dyld_func_lookup;
                   16526: #endif
                   16527: #ifdef __cplusplus
                   16528: }
                   16529: #endif
                   16530: 
                   16531: int
                   16532: main ()
                   16533: {
                   16534: return f != _dyld_func_lookup;
                   16535:   ;
                   16536:   return 0;
                   16537: }
                   16538: _ACEOF
                   16539: rm -f conftest.$ac_objext conftest$ac_exeext
                   16540: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16541:   (eval $ac_link) 2>conftest.er1
                   16542:   ac_status=$?
                   16543:   grep -v '^ *+' conftest.er1 >conftest.err
                   16544:   rm -f conftest.er1
                   16545:   cat conftest.err >&5
                   16546:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16547:   (exit $ac_status); } &&
                   16548:         { ac_try='test -z "$ac_c_werror_flag"
                   16549:                         || test ! -s conftest.err'
                   16550:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16551:   (eval $ac_try) 2>&5
                   16552:   ac_status=$?
                   16553:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16554:   (exit $ac_status); }; } &&
                   16555:         { ac_try='test -s conftest$ac_exeext'
                   16556:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16557:   (eval $ac_try) 2>&5
                   16558:   ac_status=$?
                   16559:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16560:   (exit $ac_status); }; }; then
                   16561:   ac_cv_func__dyld_func_lookup=yes
                   16562: else
                   16563:   echo "$as_me: failed program was:" >&5
                   16564: sed 's/^/| /' conftest.$ac_ext >&5
                   16565: 
                   16566: ac_cv_func__dyld_func_lookup=no
                   16567: fi
                   16568: rm -f conftest.err conftest.$ac_objext \
                   16569:       conftest$ac_exeext conftest.$ac_ext
                   16570: fi
                   16571: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   16572: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   16573: if test $ac_cv_func__dyld_func_lookup = yes; then
                   16574: 
                   16575: cat >>confdefs.h <<\_ACEOF
                   16576: #define HAVE_DYLD 1
                   16577: _ACEOF
                   16578: 
                   16579:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16580: fi
                   16581: 
                   16582:   ;;
                   16583: beos*)
                   16584:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16585:   ;;
                   16586: cygwin* | mingw* | os2* | pw32*)
                   16587:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   16588: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   16589: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   16590:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16591: else
                   16592:   cat >conftest.$ac_ext <<_ACEOF
                   16593: /* confdefs.h.  */
                   16594: _ACEOF
                   16595: cat confdefs.h >>conftest.$ac_ext
                   16596: cat >>conftest.$ac_ext <<_ACEOF
                   16597: /* end confdefs.h.  */
                   16598: #include <sys/cygwin.h>
                   16599: 
                   16600: int
                   16601: main ()
                   16602: {
                   16603: #ifndef cygwin_conv_path
                   16604:   char *p = (char *) cygwin_conv_path;
                   16605: #endif
                   16606: 
                   16607:   ;
                   16608:   return 0;
                   16609: }
                   16610: _ACEOF
                   16611: rm -f conftest.$ac_objext
                   16612: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16613:   (eval $ac_compile) 2>conftest.er1
                   16614:   ac_status=$?
                   16615:   grep -v '^ *+' conftest.er1 >conftest.err
                   16616:   rm -f conftest.er1
                   16617:   cat conftest.err >&5
                   16618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16619:   (exit $ac_status); } &&
                   16620:         { ac_try='test -z "$ac_c_werror_flag"
                   16621:                         || test ! -s conftest.err'
                   16622:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16623:   (eval $ac_try) 2>&5
                   16624:   ac_status=$?
                   16625:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16626:   (exit $ac_status); }; } &&
                   16627:         { ac_try='test -s conftest.$ac_objext'
                   16628:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16629:   (eval $ac_try) 2>&5
                   16630:   ac_status=$?
                   16631:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16632:   (exit $ac_status); }; }; then
                   16633:   ac_cv_have_decl_cygwin_conv_path=yes
                   16634: else
                   16635:   echo "$as_me: failed program was:" >&5
                   16636: sed 's/^/| /' conftest.$ac_ext >&5
                   16637: 
                   16638: ac_cv_have_decl_cygwin_conv_path=no
                   16639: fi
                   16640: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16641: fi
                   16642: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   16643: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   16644: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
                   16645: 
                   16646: cat >>confdefs.h <<_ACEOF
                   16647: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   16648: _ACEOF
                   16649: 
                   16650: 
1.66      paf      16651: else
1.128     moko     16652:   cat >>confdefs.h <<_ACEOF
                   16653: #define HAVE_DECL_CYGWIN_CONV_PATH 0
                   16654: _ACEOF
                   16655: 
                   16656: 
                   16657: fi
                   16658: 
                   16659: 
                   16660:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16661:   ;;
                   16662: esac
                   16663: 
                   16664: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   16665: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   16666: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.66      paf      16667:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16668: else
                   16669:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16670: LIBS="-ldld  $LIBS"
1.66      paf      16671: cat >conftest.$ac_ext <<_ACEOF
                   16672: /* confdefs.h.  */
                   16673: _ACEOF
                   16674: cat confdefs.h >>conftest.$ac_ext
                   16675: cat >>conftest.$ac_ext <<_ACEOF
                   16676: /* end confdefs.h.  */
1.62      paf      16677: 
1.66      paf      16678: /* Override any gcc2 internal prototype to avoid an error.  */
                   16679: #ifdef __cplusplus
                   16680: extern "C"
                   16681: #endif
                   16682: /* We use char because int might match the return type of a gcc2
                   16683:    builtin and then its argument prototype would still apply.  */
1.128     moko     16684: char dld_link ();
1.66      paf      16685: int
                   16686: main ()
                   16687: {
1.128     moko     16688: dld_link ();
1.66      paf      16689:   ;
                   16690:   return 0;
                   16691: }
                   16692: _ACEOF
                   16693: rm -f conftest.$ac_objext conftest$ac_exeext
                   16694: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16695:   (eval $ac_link) 2>conftest.er1
1.66      paf      16696:   ac_status=$?
1.86      paf      16697:   grep -v '^ *+' conftest.er1 >conftest.err
                   16698:   rm -f conftest.er1
                   16699:   cat conftest.err >&5
1.66      paf      16700:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16701:   (exit $ac_status); } &&
1.86      paf      16702:         { ac_try='test -z "$ac_c_werror_flag"
                   16703:                         || test ! -s conftest.err'
                   16704:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16705:   (eval $ac_try) 2>&5
                   16706:   ac_status=$?
                   16707:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16708:   (exit $ac_status); }; } &&
                   16709:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16710:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16711:   (eval $ac_try) 2>&5
                   16712:   ac_status=$?
                   16713:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16714:   (exit $ac_status); }; }; then
1.128     moko     16715:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16716: else
                   16717:   echo "$as_me: failed program was:" >&5
1.128     moko     16718: sed 's/^/| /' conftest.$ac_ext >&5
                   16719: 
                   16720: ac_cv_lib_dld_dld_link=no
                   16721: fi
                   16722: rm -f conftest.err conftest.$ac_objext \
                   16723:       conftest$ac_exeext conftest.$ac_ext
                   16724: LIBS=$ac_check_lib_save_LIBS
                   16725: fi
                   16726: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16727: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16728: if test $ac_cv_lib_dld_dld_link = yes; then
                   16729: 
                   16730: cat >>confdefs.h <<\_ACEOF
                   16731: #define HAVE_DLD 1
                   16732: _ACEOF
                   16733: 
                   16734:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16735: fi
                   16736: 
                   16737: 
                   16738: 
                   16739: 
                   16740: LT_DLPREOPEN=
                   16741: if test -n "$LT_DLLOADERS"
                   16742: then
                   16743:   for lt_loader in $LT_DLLOADERS; do
                   16744:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16745:   done
                   16746: 
                   16747: cat >>confdefs.h <<\_ACEOF
                   16748: #define HAVE_LIBDLLOADER 1
                   16749: _ACEOF
                   16750: 
                   16751: fi
                   16752: 
                   16753: 
                   16754: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16755: 
                   16756: 
                   16757: ac_ext=c
                   16758: ac_cpp='$CPP $CPPFLAGS'
                   16759: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16760: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16761: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16762: 
                   16763: 
                   16764: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16765: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16766: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16767:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16768: else
                   16769:   lt_cv_sys_symbol_underscore=no
                   16770:   cat > conftest.$ac_ext <<_LT_EOF
                   16771: void nm_test_func(){}
                   16772: int main(){nm_test_func;return 0;}
                   16773: _LT_EOF
                   16774:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16775:   (eval $ac_compile) 2>&5
                   16776:   ac_status=$?
                   16777:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16778:   (exit $ac_status); }; then
                   16779:     # Now try to grab the symbols.
                   16780:     ac_nlist=conftest.nm
                   16781:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
                   16782:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16783:   ac_status=$?
                   16784:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16785:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   16786:       # See whether the symbols have a leading underscore.
                   16787:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16788:         lt_cv_sys_symbol_underscore=yes
                   16789:       else
                   16790:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16791:          :
                   16792:         else
                   16793:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16794:         fi
                   16795:       fi
                   16796:     else
                   16797:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16798:     fi
                   16799:   else
                   16800:     echo "configure: failed program was:" >&5
                   16801:     cat conftest.c >&5
                   16802:   fi
                   16803:   rm -rf conftest*
1.29      paf      16804: 
1.66      paf      16805: fi
1.128     moko     16806: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16807: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
                   16808:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16809: 
1.62      paf      16810: 
1.128     moko     16811: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16812:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16813:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   16814:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16815: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16816: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16817:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16818: else
1.128     moko     16819:   libltdl_cv_need_uscore=unknown
                   16820:           save_LIBS="$LIBS"
                   16821:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16822:          if test "$cross_compiling" = yes; then :
                   16823:   libltdl_cv_need_uscore=cross
                   16824: else
                   16825:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16826:   lt_status=$lt_dlunknown
                   16827:   cat > conftest.$ac_ext <<_LT_EOF
                   16828: #line $LINENO "configure"
                   16829: #include "confdefs.h"
                   16830: 
1.66      paf      16831: #if HAVE_DLFCN_H
1.128     moko     16832: #include <dlfcn.h>
                   16833: #endif
                   16834: 
                   16835: #include <stdio.h>
                   16836: 
                   16837: #ifdef RTLD_GLOBAL
                   16838: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16839: #else
                   16840: #  ifdef DL_GLOBAL
                   16841: #    define LT_DLGLOBAL                DL_GLOBAL
                   16842: #  else
                   16843: #    define LT_DLGLOBAL                0
                   16844: #  endif
                   16845: #endif
                   16846: 
                   16847: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16848:    find out it does not work in some platform. */
                   16849: #ifndef LT_DLLAZY_OR_NOW
                   16850: #  ifdef RTLD_LAZY
                   16851: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16852: #  else
                   16853: #    ifdef DL_LAZY
                   16854: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16855: #    else
                   16856: #      ifdef RTLD_NOW
                   16857: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16858: #      else
                   16859: #        ifdef DL_NOW
                   16860: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16861: #        else
                   16862: #          define LT_DLLAZY_OR_NOW     0
                   16863: #        endif
                   16864: #      endif
                   16865: #    endif
                   16866: #  endif
                   16867: #endif
                   16868: 
                   16869: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16870:    correspondingly for the symbols needed.  */
                   16871: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16872: int fnord () __attribute__((visibility("default")));
1.66      paf      16873: #endif
1.62      paf      16874: 
1.128     moko     16875: int fnord () { return 42; }
                   16876: int main ()
1.66      paf      16877: {
1.128     moko     16878:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16879:   int status = $lt_dlunknown;
                   16880: 
                   16881:   if (self)
                   16882:     {
                   16883:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16884:       else
                   16885:         {
                   16886:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16887:           else puts (dlerror ());
                   16888:        }
                   16889:       /* dlclose (self); */
                   16890:     }
                   16891:   else
                   16892:     puts (dlerror ());
                   16893: 
                   16894:   return status;
1.66      paf      16895: }
1.128     moko     16896: _LT_EOF
                   16897:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16898:   (eval $ac_link) 2>&5
1.66      paf      16899:   ac_status=$?
                   16900:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     16901:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   16902:     (./conftest; exit; ) >&5 2>/dev/null
                   16903:     lt_status=$?
                   16904:     case x$lt_status in
                   16905:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16906:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16907:       x$lt_dlunknown|x*)  ;;
                   16908:     esac
                   16909:   else :
                   16910:     # compilation failed
                   16911: 
                   16912:   fi
                   16913: fi
                   16914: rm -fr conftest*
                   16915: 
                   16916:          LIBS="$save_LIBS"
                   16917: 
                   16918: fi
                   16919: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16920: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   16921:   fi
                   16922: fi
                   16923: 
                   16924: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16925: 
1.66      paf      16926: cat >>confdefs.h <<\_ACEOF
1.128     moko     16927: #define NEED_USCORE 1
1.66      paf      16928: _ACEOF
1.29      paf      16929: 
1.128     moko     16930: fi
                   16931: 
                   16932: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16933: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16934: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16935:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16936: else
1.128     moko     16937:   # PORTME does your system automatically load deplibs for dlopen?
                   16938:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16939:   # For now, we just catch OSes we know something about -- in the
                   16940:   # future, we'll try test this programmatically.
                   16941:   lt_cv_sys_dlopen_deplibs=unknown
                   16942:   case $host_os in
                   16943:   aix3*|aix4.1.*|aix4.2.*)
                   16944:     # Unknown whether this is true for these versions of AIX, but
                   16945:     # we want this `case' here to explicitly catch those versions.
                   16946:     lt_cv_sys_dlopen_deplibs=unknown
                   16947:     ;;
                   16948:   aix[4-9]*)
                   16949:     lt_cv_sys_dlopen_deplibs=yes
                   16950:     ;;
                   16951:   amigaos*)
                   16952:     case $host_cpu in
                   16953:     powerpc)
                   16954:       lt_cv_sys_dlopen_deplibs=no
                   16955:       ;;
                   16956:     esac
                   16957:     ;;
                   16958:   darwin*)
                   16959:     # Assuming the user has installed a libdl from somewhere, this is true
                   16960:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16961:     lt_cv_sys_dlopen_deplibs=yes
                   16962:     ;;
                   16963:   freebsd* | dragonfly*)
                   16964:     lt_cv_sys_dlopen_deplibs=yes
                   16965:     ;;
                   16966:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16967:     # GNU and its variants, using gnu ld.so (Glibc)
                   16968:     lt_cv_sys_dlopen_deplibs=yes
                   16969:     ;;
                   16970:   hpux10*|hpux11*)
                   16971:     lt_cv_sys_dlopen_deplibs=yes
                   16972:     ;;
                   16973:   interix*)
                   16974:     lt_cv_sys_dlopen_deplibs=yes
                   16975:     ;;
                   16976:   irix[12345]*|irix6.[01]*)
                   16977:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16978:     # know how it worked for any of those versions.
                   16979:     lt_cv_sys_dlopen_deplibs=unknown
                   16980:     ;;
                   16981:   irix*)
                   16982:     # The case above catches anything before 6.2, and it's known that
                   16983:     # at 6.2 and later dlopen does load deplibs.
                   16984:     lt_cv_sys_dlopen_deplibs=yes
                   16985:     ;;
                   16986:   netbsd*)
                   16987:     lt_cv_sys_dlopen_deplibs=yes
                   16988:     ;;
                   16989:   openbsd*)
                   16990:     lt_cv_sys_dlopen_deplibs=yes
                   16991:     ;;
                   16992:   osf[1234]*)
                   16993:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16994:     # it did *not* use an RPATH in a shared library to find objects the
                   16995:     # library depends on, so we explicitly say `no'.
                   16996:     lt_cv_sys_dlopen_deplibs=no
                   16997:     ;;
                   16998:   osf5.0|osf5.0a|osf5.1)
                   16999:     # dlopen *does* load deplibs and with the right loader patch applied
                   17000:     # it even uses RPATH in a shared library to search for shared objects
                   17001:     # that the library depends on, but there's no easy way to know if that
                   17002:     # patch is installed.  Since this is the case, all we can really
                   17003:     # say is unknown -- it depends on the patch being installed.  If
                   17004:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   17005:     lt_cv_sys_dlopen_deplibs=unknown
                   17006:     ;;
                   17007:   osf*)
                   17008:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   17009:     # the comments above for what we know about them.
                   17010:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   17011:     # is used to find them so we can finally say `yes'.
                   17012:     lt_cv_sys_dlopen_deplibs=yes
                   17013:     ;;
                   17014:   qnx*)
                   17015:     lt_cv_sys_dlopen_deplibs=yes
                   17016:     ;;
                   17017:   solaris*)
                   17018:     lt_cv_sys_dlopen_deplibs=yes
                   17019:     ;;
                   17020:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   17021:     libltdl_cv_sys_dlopen_deplibs=yes
                   17022:     ;;
                   17023:   esac
                   17024: 
                   17025: fi
                   17026: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17027: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
                   17028: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17029: 
                   17030: cat >>confdefs.h <<\_ACEOF
                   17031: #define LTDL_DLOPEN_DEPLIBS 1
                   17032: _ACEOF
                   17033: 
                   17034: fi
                   17035: 
                   17036: :
                   17037: 
1.29      paf      17038: 
1.128     moko     17039: for ac_header in argz.h
                   17040: do
                   17041: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17042: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17043: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17044: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.66      paf      17045:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17046: else
1.128     moko     17047:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17048: /* confdefs.h.  */
                   17049: _ACEOF
                   17050: cat confdefs.h >>conftest.$ac_ext
                   17051: cat >>conftest.$ac_ext <<_ACEOF
                   17052: /* end confdefs.h.  */
1.128     moko     17053: $ac_includes_default
1.29      paf      17054: 
1.128     moko     17055: #include <$ac_header>
1.66      paf      17056: _ACEOF
1.128     moko     17057: rm -f conftest.$ac_objext
                   17058: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17059:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17060:   ac_status=$?
1.86      paf      17061:   grep -v '^ *+' conftest.er1 >conftest.err
                   17062:   rm -f conftest.er1
                   17063:   cat conftest.err >&5
1.66      paf      17064:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17065:   (exit $ac_status); } &&
1.86      paf      17066:         { ac_try='test -z "$ac_c_werror_flag"
                   17067:                         || test ! -s conftest.err'
                   17068:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17069:   (eval $ac_try) 2>&5
                   17070:   ac_status=$?
                   17071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17072:   (exit $ac_status); }; } &&
1.128     moko     17073:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17074:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17075:   (eval $ac_try) 2>&5
                   17076:   ac_status=$?
                   17077:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17078:   (exit $ac_status); }; }; then
1.128     moko     17079:   eval "$as_ac_Header=yes"
1.66      paf      17080: else
                   17081:   echo "$as_me: failed program was:" >&5
                   17082: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17083: 
1.128     moko     17084: eval "$as_ac_Header=no"
                   17085: fi
                   17086: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17087: fi
1.128     moko     17088: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17089: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17090: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17091:   cat >>confdefs.h <<_ACEOF
                   17092: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17093: _ACEOF
                   17094: 
1.66      paf      17095: fi
1.62      paf      17096: 
1.128     moko     17097: done
                   17098: 
1.29      paf      17099: 
1.128     moko     17100: echo "$as_me:$LINENO: checking for error_t" >&5
                   17101: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   17102: if test "${ac_cv_type_error_t+set}" = set; then
1.66      paf      17103:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17104: else
1.128     moko     17105:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17106: /* confdefs.h.  */
                   17107: _ACEOF
                   17108: cat confdefs.h >>conftest.$ac_ext
                   17109: cat >>conftest.$ac_ext <<_ACEOF
                   17110: /* end confdefs.h.  */
1.128     moko     17111: #if defined(HAVE_ARGZ_H)
                   17112: #  include <argz.h>
                   17113: #endif
1.29      paf      17114: 
1.66      paf      17115: int
                   17116: main ()
                   17117: {
1.128     moko     17118: if ((error_t *) 0)
                   17119:   return 0;
                   17120: if (sizeof (error_t))
                   17121:   return 0;
1.66      paf      17122:   ;
                   17123:   return 0;
                   17124: }
                   17125: _ACEOF
1.128     moko     17126: rm -f conftest.$ac_objext
                   17127: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17128:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17129:   ac_status=$?
1.86      paf      17130:   grep -v '^ *+' conftest.er1 >conftest.err
                   17131:   rm -f conftest.er1
                   17132:   cat conftest.err >&5
1.66      paf      17133:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17134:   (exit $ac_status); } &&
1.86      paf      17135:         { ac_try='test -z "$ac_c_werror_flag"
                   17136:                         || test ! -s conftest.err'
                   17137:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17138:   (eval $ac_try) 2>&5
                   17139:   ac_status=$?
                   17140:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17141:   (exit $ac_status); }; } &&
1.128     moko     17142:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17143:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17144:   (eval $ac_try) 2>&5
                   17145:   ac_status=$?
                   17146:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17147:   (exit $ac_status); }; }; then
1.128     moko     17148:   ac_cv_type_error_t=yes
1.66      paf      17149: else
                   17150:   echo "$as_me: failed program was:" >&5
                   17151: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17152: 
1.128     moko     17153: ac_cv_type_error_t=no
1.66      paf      17154: fi
1.128     moko     17155: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17156: fi
1.128     moko     17157: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   17158: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   17159: if test $ac_cv_type_error_t = yes; then
1.29      paf      17160: 
1.128     moko     17161: cat >>confdefs.h <<_ACEOF
                   17162: #define HAVE_ERROR_T 1
1.62      paf      17163: _ACEOF
1.16      paf      17164: 
                   17165: 
1.128     moko     17166: else
1.16      paf      17167: 
1.128     moko     17168: cat >>confdefs.h <<\_ACEOF
                   17169: #define error_t int
                   17170: _ACEOF
1.16      paf      17171: 
1.12      paf      17172: 
1.128     moko     17173: cat >>confdefs.h <<\_ACEOF
                   17174: #define __error_t_defined 1
                   17175: _ACEOF
1.12      paf      17176: 
1.66      paf      17177: fi
1.12      paf      17178: 
1.128     moko     17179: 
                   17180: ARGZ_H=
1.12      paf      17181: 
                   17182: 
1.62      paf      17183: 
1.1       paf      17184: 
                   17185: 
                   17186: 
                   17187: 
1.128     moko     17188: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17189:        argz_next argz_stringify
1.66      paf      17190: do
                   17191: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17192: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17193: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17194: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17195:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      17196: else
1.64      paf      17197:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17198: /* confdefs.h.  */
                   17199: _ACEOF
                   17200: cat confdefs.h >>conftest.$ac_ext
                   17201: cat >>conftest.$ac_ext <<_ACEOF
                   17202: /* end confdefs.h.  */
1.86      paf      17203: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17204:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17205: #define $ac_func innocuous_$ac_func
                   17206: 
1.64      paf      17207: /* System header to define __stub macros and hopefully few prototypes,
1.66      paf      17208:     which can conflict with char $ac_func (); below.
1.64      paf      17209:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17210:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      17211: 
1.64      paf      17212: #ifdef __STDC__
                   17213: # include <limits.h>
                   17214: #else
                   17215: # include <assert.h>
                   17216: #endif
1.86      paf      17217: 
                   17218: #undef $ac_func
                   17219: 
1.8       paf      17220: /* Override any gcc2 internal prototype to avoid an error.  */
                   17221: #ifdef __cplusplus
                   17222: extern "C"
1.64      paf      17223: {
1.8       paf      17224: #endif
                   17225: /* We use char because int might match the return type of a gcc2
1.62      paf      17226:    builtin and then its argument prototype would still apply.  */
1.66      paf      17227: char $ac_func ();
1.64      paf      17228: /* The GNU C library defines this for functions which it implements
                   17229:     to always fail with ENOSYS.  Some functions are actually named
                   17230:     something starting with __ and the normal name is an alias.  */
1.66      paf      17231: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64      paf      17232: choke me
                   17233: #else
1.66      paf      17234: char (*f) () = $ac_func;
1.64      paf      17235: #endif
                   17236: #ifdef __cplusplus
                   17237: }
                   17238: #endif
                   17239: 
1.62      paf      17240: int
                   17241: main ()
                   17242: {
1.66      paf      17243: return f != $ac_func;
1.62      paf      17244:   ;
                   17245:   return 0;
                   17246: }
                   17247: _ACEOF
                   17248: rm -f conftest.$ac_objext conftest$ac_exeext
                   17249: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      17250:   (eval $ac_link) 2>conftest.er1
1.62      paf      17251:   ac_status=$?
1.86      paf      17252:   grep -v '^ *+' conftest.er1 >conftest.err
                   17253:   rm -f conftest.er1
                   17254:   cat conftest.err >&5
1.62      paf      17255:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17256:   (exit $ac_status); } &&
1.86      paf      17257:         { ac_try='test -z "$ac_c_werror_flag"
                   17258:                         || test ! -s conftest.err'
                   17259:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17260:   (eval $ac_try) 2>&5
                   17261:   ac_status=$?
                   17262:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17263:   (exit $ac_status); }; } &&
                   17264:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17265:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.128     moko     17266:   (eval $ac_try) 2>&5
                   17267:   ac_status=$?
                   17268:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17269:   (exit $ac_status); }; }; then
                   17270:   eval "$as_ac_var=yes"
                   17271: else
                   17272:   echo "$as_me: failed program was:" >&5
                   17273: sed 's/^/| /' conftest.$ac_ext >&5
                   17274: 
                   17275: eval "$as_ac_var=no"
                   17276: fi
                   17277: rm -f conftest.err conftest.$ac_objext \
                   17278:       conftest$ac_exeext conftest.$ac_ext
                   17279: fi
                   17280: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17281: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17282: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17283:   cat >>confdefs.h <<_ACEOF
                   17284: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17285: _ACEOF
                   17286: 
                   17287: else
                   17288:   ARGZ_H=argz.h;
                   17289: 
                   17290:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17291: 
                   17292: fi
                   17293: done
                   17294: 
                   17295: 
                   17296: if test -z "$ARGZ_H"; then
                   17297:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   17298: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   17299: if test "${lt_cv_sys_argz_works+set}" = set; then
                   17300:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17301: else
                   17302:   case $host_os in #(
                   17303:         *cygwin*)
                   17304:           lt_cv_sys_argz_works=no
                   17305:           if test "$cross_compiling" != no; then
                   17306:             lt_cv_sys_argz_works="guessing no"
                   17307:           else
                   17308:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17309:             save_IFS=$IFS
                   17310:             IFS=-.
                   17311:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17312:             IFS=$save_IFS
                   17313:             lt_os_major=${2-0}
                   17314:             lt_os_minor=${3-0}
                   17315:             lt_os_micro=${4-0}
                   17316:             if test "$lt_os_major" -gt 1 \
                   17317:                || { test "$lt_os_major" -eq 1 \
                   17318:                  && { test "$lt_os_minor" -gt 5 \
                   17319:                    || { test "$lt_os_minor" -eq 5 \
                   17320:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17321:               lt_cv_sys_argz_works=yes
                   17322:             fi
                   17323:           fi
                   17324:           ;; #(
                   17325:         *) lt_cv_sys_argz_works=yes ;;
                   17326:         esac
                   17327: fi
                   17328: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   17329: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   17330:      if test "$lt_cv_sys_argz_works" = yes; then
                   17331: 
                   17332: cat >>confdefs.h <<\_ACEOF
                   17333: #define HAVE_WORKING_ARGZ 1
                   17334: _ACEOF
                   17335: 
1.62      paf      17336: else
1.128     moko     17337:   ARGZ_H=argz.h
                   17338: 
                   17339: 
                   17340:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17341: 
                   17342: fi
1.62      paf      17343: 
                   17344: fi
1.128     moko     17345: 
                   17346: 
                   17347: 
                   17348: 
                   17349: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17350: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   17351: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   17352:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17353: else
                   17354:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17355:     libltdl_cv_preloaded_symbols=yes
                   17356:   else
                   17357:     libltdl_cv_preloaded_symbols=no
                   17358:   fi
                   17359: 
1.62      paf      17360: fi
1.128     moko     17361: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   17362: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   17363: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17364: 
                   17365: cat >>confdefs.h <<\_ACEOF
                   17366: #define HAVE_PRELOADED_SYMBOLS 1
1.66      paf      17367: _ACEOF
                   17368: 
                   17369: fi
                   17370: 
1.128     moko     17371: # Set options
                   17372: 
                   17373: 
                   17374: 
                   17375: 
                   17376: 
                   17377: 
                   17378: 
                   17379: 
                   17380: 
                   17381: 
1.66      paf      17382: 
                   17383: 
1.128     moko     17384: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   17385: if test "${with_included_ltdl+set}" = set; then
                   17386:   withval="$with_included_ltdl"
1.64      paf      17387: 
1.128     moko     17388: fi;
1.64      paf      17389: 
1.128     moko     17390: if test "x$with_included_ltdl" != xyes; then
                   17391:   # We are not being forced to use the included libltdl sources, so
                   17392:   # decide whether there is a useful installed version we can use.
                   17393:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   17394: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   17395: if test "${ac_cv_header_ltdl_h+set}" = set; then
1.79      paf      17396:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17397: else
1.128     moko     17398:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17399: /* confdefs.h.  */
                   17400: _ACEOF
                   17401: cat confdefs.h >>conftest.$ac_ext
                   17402: cat >>conftest.$ac_ext <<_ACEOF
                   17403: /* end confdefs.h.  */
1.128     moko     17404: $ac_includes_default
1.79      paf      17405: 
                   17406: 
1.128     moko     17407: #include <ltdl.h>
1.79      paf      17408: _ACEOF
                   17409: rm -f conftest.$ac_objext
                   17410: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17411:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17412:   ac_status=$?
1.86      paf      17413:   grep -v '^ *+' conftest.er1 >conftest.err
                   17414:   rm -f conftest.er1
                   17415:   cat conftest.err >&5
1.79      paf      17416:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17417:   (exit $ac_status); } &&
1.86      paf      17418:         { ac_try='test -z "$ac_c_werror_flag"
                   17419:                         || test ! -s conftest.err'
                   17420:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17421:   (eval $ac_try) 2>&5
                   17422:   ac_status=$?
                   17423:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17424:   (exit $ac_status); }; } &&
                   17425:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17426:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17427:   (eval $ac_try) 2>&5
                   17428:   ac_status=$?
                   17429:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17430:   (exit $ac_status); }; }; then
1.128     moko     17431:   ac_cv_header_ltdl_h=yes
                   17432: else
                   17433:   echo "$as_me: failed program was:" >&5
                   17434: sed 's/^/| /' conftest.$ac_ext >&5
                   17435: 
                   17436: ac_cv_header_ltdl_h=no
                   17437: fi
                   17438: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17439: fi
                   17440: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   17441: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   17442: if test $ac_cv_header_ltdl_h = yes; then
                   17443:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   17444: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   17445: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   17446:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17447: else
                   17448:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17449: /* confdefs.h.  */
                   17450: _ACEOF
                   17451: cat confdefs.h >>conftest.$ac_ext
                   17452: cat >>conftest.$ac_ext <<_ACEOF
                   17453: /* end confdefs.h.  */
1.128     moko     17454: $ac_includes_default
                   17455:            #include <ltdl.h>
1.79      paf      17456: 
                   17457: int
                   17458: main ()
                   17459: {
1.128     moko     17460: #ifndef lt_dlinterface_register
                   17461:   char *p = (char *) lt_dlinterface_register;
1.79      paf      17462: #endif
                   17463: 
                   17464:   ;
                   17465:   return 0;
                   17466: }
                   17467: _ACEOF
                   17468: rm -f conftest.$ac_objext
                   17469: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17470:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17471:   ac_status=$?
1.86      paf      17472:   grep -v '^ *+' conftest.er1 >conftest.err
                   17473:   rm -f conftest.er1
                   17474:   cat conftest.err >&5
1.79      paf      17475:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17476:   (exit $ac_status); } &&
1.86      paf      17477:         { ac_try='test -z "$ac_c_werror_flag"
                   17478:                         || test ! -s conftest.err'
                   17479:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17480:   (eval $ac_try) 2>&5
                   17481:   ac_status=$?
                   17482:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17483:   (exit $ac_status); }; } &&
                   17484:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17485:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17486:   (eval $ac_try) 2>&5
                   17487:   ac_status=$?
                   17488:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17489:   (exit $ac_status); }; }; then
1.128     moko     17490:   ac_cv_have_decl_lt_dlinterface_register=yes
1.79      paf      17491: else
                   17492:   echo "$as_me: failed program was:" >&5
                   17493: sed 's/^/| /' conftest.$ac_ext >&5
                   17494: 
1.128     moko     17495: ac_cv_have_decl_lt_dlinterface_register=no
1.79      paf      17496: fi
1.86      paf      17497: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17498: fi
                   17499: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   17500: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   17501: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   17502:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   17503: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   17504: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   17505:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.79      paf      17506: else
1.128     moko     17507:   ac_check_lib_save_LIBS=$LIBS
                   17508: LIBS="-lltdl  $LIBS"
                   17509: cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17510: /* confdefs.h.  */
                   17511: _ACEOF
                   17512: cat confdefs.h >>conftest.$ac_ext
                   17513: cat >>conftest.$ac_ext <<_ACEOF
                   17514: /* end confdefs.h.  */
1.128     moko     17515: 
                   17516: /* Override any gcc2 internal prototype to avoid an error.  */
                   17517: #ifdef __cplusplus
                   17518: extern "C"
                   17519: #endif
                   17520: /* We use char because int might match the return type of a gcc2
                   17521:    builtin and then its argument prototype would still apply.  */
                   17522: char lt_dladvise_preload ();
1.79      paf      17523: int
                   17524: main ()
                   17525: {
1.128     moko     17526: lt_dladvise_preload ();
1.79      paf      17527:   ;
                   17528:   return 0;
                   17529: }
                   17530: _ACEOF
1.128     moko     17531: rm -f conftest.$ac_objext conftest$ac_exeext
                   17532: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17533:   (eval $ac_link) 2>conftest.er1
1.79      paf      17534:   ac_status=$?
1.86      paf      17535:   grep -v '^ *+' conftest.er1 >conftest.err
                   17536:   rm -f conftest.er1
                   17537:   cat conftest.err >&5
1.79      paf      17538:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17539:   (exit $ac_status); } &&
1.86      paf      17540:         { ac_try='test -z "$ac_c_werror_flag"
                   17541:                         || test ! -s conftest.err'
                   17542:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17543:   (eval $ac_try) 2>&5
                   17544:   ac_status=$?
                   17545:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17546:   (exit $ac_status); }; } &&
1.128     moko     17547:         { ac_try='test -s conftest$ac_exeext'
1.79      paf      17548:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17549:   (eval $ac_try) 2>&5
                   17550:   ac_status=$?
                   17551:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17552:   (exit $ac_status); }; }; then
1.128     moko     17553:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17554: else
                   17555:   echo "$as_me: failed program was:" >&5
                   17556: sed 's/^/| /' conftest.$ac_ext >&5
                   17557: 
1.128     moko     17558: ac_cv_lib_ltdl_lt_dladvise_preload=no
                   17559: fi
                   17560: rm -f conftest.err conftest.$ac_objext \
                   17561:       conftest$ac_exeext conftest.$ac_ext
                   17562: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17563: fi
1.128     moko     17564: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17565: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   17566: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
                   17567:   with_included_ltdl=no
1.79      paf      17568: else
1.128     moko     17569:   with_included_ltdl=yes
                   17570: fi
                   17571: 
1.79      paf      17572: else
1.128     moko     17573:   with_included_ltdl=yes
                   17574: fi
1.79      paf      17575: 
1.128     moko     17576: else
                   17577:   with_included_ltdl=yes
1.79      paf      17578: fi
1.128     moko     17579: 
                   17580: 
1.79      paf      17581: fi
1.128     moko     17582: 
                   17583: 
                   17584: 
                   17585: 
                   17586: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   17587: if test "${with_ltdl_include+set}" = set; then
                   17588:   withval="$with_ltdl_include"
                   17589: 
                   17590: fi;
                   17591: 
                   17592: if test -n "$with_ltdl_include"; then
                   17593:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17594:   else
                   17595:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   17596: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   17597:    { (exit 1); exit 1; }; }
                   17598:   fi
                   17599: else
                   17600:   with_ltdl_include=no
1.79      paf      17601: fi
1.128     moko     17602: 
                   17603: 
                   17604: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   17605: if test "${with_ltdl_lib+set}" = set; then
                   17606:   withval="$with_ltdl_lib"
                   17607: 
                   17608: fi;
                   17609: 
                   17610: if test -n "$with_ltdl_lib"; then
                   17611:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17612:   else
                   17613:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   17614: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   17615:    { (exit 1); exit 1; }; }
                   17616:   fi
                   17617: else
                   17618:   with_ltdl_lib=no
1.79      paf      17619: fi
                   17620: 
1.128     moko     17621: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17622:   ,yes,no,no,)
                   17623:        case $enable_ltdl_convenience in
                   17624:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   17625: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   17626:    { (exit 1); exit 1; }; } ;;
                   17627:   "") enable_ltdl_convenience=yes
                   17628:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17629: esac
                   17630: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   17631: LTDLDEPS=$LIBLTDL
                   17632: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17633: 
                   17634: 
                   17635: 
                   17636: 
                   17637: 
                   17638: # For backwards non-gettext consistent compatibility...
                   17639: INCLTDL="$LTDLINCL"
                   17640: 
1.79      paf      17641: 
1.128     moko     17642:        ;;
                   17643:   ,no,no,no,)
                   17644:        # If the included ltdl is not to be used, then use the
                   17645:        # preinstalled libltdl we found.
1.79      paf      17646: 
                   17647: cat >>confdefs.h <<\_ACEOF
1.128     moko     17648: #define HAVE_LTDL 1
1.79      paf      17649: _ACEOF
                   17650: 
1.128     moko     17651:        LIBLTDL=-lltdl
                   17652:        LTDLDEPS=
                   17653:        LTDLINCL=
                   17654:        ;;
                   17655:   ,no*,no,*)
                   17656:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   17657: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
1.79      paf      17658:    { (exit 1); exit 1; }; }
1.128     moko     17659:        ;;
                   17660:   *)   with_included_ltdl=no
                   17661:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17662:        LTDLDEPS=
                   17663:        LTDLINCL="-I$with_ltdl_include"
                   17664:        ;;
                   17665: esac
                   17666: INCLTDL="$LTDLINCL"
                   17667: 
                   17668: # Report our decision...
                   17669: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   17670: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   17671: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   17672: echo "${ECHO_T}$LTDLINCL" >&6
                   17673: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   17674: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   17675: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   17676: echo "${ECHO_T}$LIBLTDL" >&6
                   17677: 
                   17678: 
                   17679: 
                   17680: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   17681: if test "${enable_ltdl_install+set}" = set; then
                   17682:   enableval="$enable_ltdl_install"
                   17683: 
                   17684: fi;
                   17685: 
                   17686: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17687:   *yes*) ;;
                   17688:   *) enable_ltdl_convenience=yes ;;
                   17689: esac
                   17690: 
                   17691: 
                   17692: 
                   17693: if test x"${enable_ltdl_install-no}" != xno; then
                   17694:   INSTALL_LTDL_TRUE=
                   17695:   INSTALL_LTDL_FALSE='#'
                   17696: else
                   17697:   INSTALL_LTDL_TRUE='#'
                   17698:   INSTALL_LTDL_FALSE=
                   17699: fi
                   17700: 
                   17701: 
                   17702: 
                   17703: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17704:   CONVENIENCE_LTDL_TRUE=
                   17705:   CONVENIENCE_LTDL_FALSE='#'
                   17706: else
                   17707:   CONVENIENCE_LTDL_TRUE='#'
                   17708:   CONVENIENCE_LTDL_FALSE=
                   17709: fi
                   17710: 
                   17711: 
                   17712: 
                   17713: 
                   17714: 
                   17715: subdirs="$subdirs src/lib/ltdl"
                   17716: 
                   17717: 
                   17718: 
                   17719: 
                   17720: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17721: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17722: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17723: # definitions required by ltdl.c.
                   17724: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17725: 
                   17726: 
                   17727: 
                   17728: 
                   17729: 
                   17730: 
                   17731: 
1.79      paf      17732: 
                   17733: 
1.128     moko     17734: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17735: do
                   17736: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17737: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17738: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17739: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62      paf      17740:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17741: else
1.66      paf      17742:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17743: /* confdefs.h.  */
                   17744: _ACEOF
                   17745: cat confdefs.h >>conftest.$ac_ext
                   17746: cat >>conftest.$ac_ext <<_ACEOF
                   17747: /* end confdefs.h.  */
1.128     moko     17748: $ac_includes_default
                   17749: 
                   17750: #include <$ac_header>
1.62      paf      17751: _ACEOF
1.128     moko     17752: rm -f conftest.$ac_objext
                   17753: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17754:   (eval $ac_compile) 2>conftest.er1
1.62      paf      17755:   ac_status=$?
1.66      paf      17756:   grep -v '^ *+' conftest.er1 >conftest.err
                   17757:   rm -f conftest.er1
                   17758:   cat conftest.err >&5
1.62      paf      17759:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17760:   (exit $ac_status); } &&
                   17761:         { ac_try='test -z "$ac_c_werror_flag"
                   17762:                         || test ! -s conftest.err'
                   17763:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17764:   (eval $ac_try) 2>&5
                   17765:   ac_status=$?
                   17766:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17767:   (exit $ac_status); }; } &&
                   17768:         { ac_try='test -s conftest.$ac_objext'
                   17769:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17770:   (eval $ac_try) 2>&5
                   17771:   ac_status=$?
                   17772:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17773:   (exit $ac_status); }; }; then
                   17774:   eval "$as_ac_Header=yes"
1.62      paf      17775: else
                   17776:   echo "$as_me: failed program was:" >&5
                   17777: sed 's/^/| /' conftest.$ac_ext >&5
                   17778: 
1.128     moko     17779: eval "$as_ac_Header=no"
                   17780: fi
                   17781: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      17782: fi
1.128     moko     17783: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17784: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17785: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17786:   cat >>confdefs.h <<_ACEOF
                   17787: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17788: _ACEOF
                   17789: 
                   17790: fi
1.66      paf      17791: 
                   17792: done
1.64      paf      17793: 
                   17794: 
1.128     moko     17795: 
                   17796: 
                   17797: 
                   17798: for ac_func in closedir opendir readdir
                   17799: do
                   17800: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17801: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17802: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17803: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17804:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.64      paf      17805: else
                   17806:   cat >conftest.$ac_ext <<_ACEOF
                   17807: /* confdefs.h.  */
                   17808: _ACEOF
                   17809: cat confdefs.h >>conftest.$ac_ext
                   17810: cat >>conftest.$ac_ext <<_ACEOF
                   17811: /* end confdefs.h.  */
1.128     moko     17812: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17813:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17814: #define $ac_func innocuous_$ac_func
                   17815: 
                   17816: /* System header to define __stub macros and hopefully few prototypes,
                   17817:     which can conflict with char $ac_func (); below.
                   17818:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17819:     <limits.h> exists even on freestanding compilers.  */
                   17820: 
1.66      paf      17821: #ifdef __STDC__
                   17822: # include <limits.h>
                   17823: #else
                   17824: # include <assert.h>
1.64      paf      17825: #endif
1.128     moko     17826: 
                   17827: #undef $ac_func
                   17828: 
                   17829: /* Override any gcc2 internal prototype to avoid an error.  */
                   17830: #ifdef __cplusplus
                   17831: extern "C"
                   17832: {
                   17833: #endif
                   17834: /* We use char because int might match the return type of a gcc2
                   17835:    builtin and then its argument prototype would still apply.  */
                   17836: char $ac_func ();
                   17837: /* The GNU C library defines this for functions which it implements
                   17838:     to always fail with ENOSYS.  Some functions are actually named
                   17839:     something starting with __ and the normal name is an alias.  */
                   17840: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17841: choke me
                   17842: #else
                   17843: char (*f) () = $ac_func;
                   17844: #endif
                   17845: #ifdef __cplusplus
                   17846: }
                   17847: #endif
                   17848: 
                   17849: int
                   17850: main ()
                   17851: {
                   17852: return f != $ac_func;
                   17853:   ;
                   17854:   return 0;
                   17855: }
1.64      paf      17856: _ACEOF
1.128     moko     17857: rm -f conftest.$ac_objext conftest$ac_exeext
                   17858: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17859:   (eval $ac_link) 2>conftest.er1
1.64      paf      17860:   ac_status=$?
1.66      paf      17861:   grep -v '^ *+' conftest.er1 >conftest.err
                   17862:   rm -f conftest.er1
                   17863:   cat conftest.err >&5
1.64      paf      17864:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17865:   (exit $ac_status); } &&
                   17866:         { ac_try='test -z "$ac_c_werror_flag"
                   17867:                         || test ! -s conftest.err'
                   17868:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17869:   (eval $ac_try) 2>&5
                   17870:   ac_status=$?
                   17871:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17872:   (exit $ac_status); }; } &&
                   17873:         { ac_try='test -s conftest$ac_exeext'
                   17874:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17875:   (eval $ac_try) 2>&5
1.62      paf      17876:   ac_status=$?
                   17877:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17878:   (exit $ac_status); }; }; then
                   17879:   eval "$as_ac_var=yes"
1.62      paf      17880: else
                   17881:   echo "$as_me: failed program was:" >&5
                   17882: sed 's/^/| /' conftest.$ac_ext >&5
                   17883: 
1.128     moko     17884: eval "$as_ac_var=no"
                   17885: fi
                   17886: rm -f conftest.err conftest.$ac_objext \
                   17887:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      17888: fi
1.128     moko     17889: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17890: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17891: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17892:   cat >>confdefs.h <<_ACEOF
                   17893: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17894: _ACEOF
1.66      paf      17895: 
                   17896: else
1.64      paf      17897: 
1.66      paf      17898: 
1.128     moko     17899:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17900: 
1.66      paf      17901: fi
1.128     moko     17902: done
                   17903: 
1.66      paf      17904: 
                   17905: 
1.128     moko     17906: for ac_func in strlcat strlcpy
                   17907: do
                   17908: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17909: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17910: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17911: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17912:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      17913: else
1.66      paf      17914:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17915: /* confdefs.h.  */
                   17916: _ACEOF
                   17917: cat confdefs.h >>conftest.$ac_ext
                   17918: cat >>conftest.$ac_ext <<_ACEOF
                   17919: /* end confdefs.h.  */
1.128     moko     17920: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17921:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17922: #define $ac_func innocuous_$ac_func
                   17923: 
                   17924: /* System header to define __stub macros and hopefully few prototypes,
                   17925:     which can conflict with char $ac_func (); below.
                   17926:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17927:     <limits.h> exists even on freestanding compilers.  */
                   17928: 
                   17929: #ifdef __STDC__
                   17930: # include <limits.h>
                   17931: #else
                   17932: # include <assert.h>
                   17933: #endif
                   17934: 
                   17935: #undef $ac_func
                   17936: 
                   17937: /* Override any gcc2 internal prototype to avoid an error.  */
                   17938: #ifdef __cplusplus
                   17939: extern "C"
                   17940: {
                   17941: #endif
                   17942: /* We use char because int might match the return type of a gcc2
                   17943:    builtin and then its argument prototype would still apply.  */
                   17944: char $ac_func ();
                   17945: /* The GNU C library defines this for functions which it implements
                   17946:     to always fail with ENOSYS.  Some functions are actually named
                   17947:     something starting with __ and the normal name is an alias.  */
                   17948: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17949: choke me
                   17950: #else
                   17951: char (*f) () = $ac_func;
                   17952: #endif
                   17953: #ifdef __cplusplus
                   17954: }
                   17955: #endif
1.62      paf      17956: 
                   17957: int
                   17958: main ()
                   17959: {
1.128     moko     17960: return f != $ac_func;
1.62      paf      17961:   ;
                   17962:   return 0;
                   17963: }
                   17964: _ACEOF
1.128     moko     17965: rm -f conftest.$ac_objext conftest$ac_exeext
                   17966: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17967:   (eval $ac_link) 2>conftest.er1
1.62      paf      17968:   ac_status=$?
1.86      paf      17969:   grep -v '^ *+' conftest.er1 >conftest.err
                   17970:   rm -f conftest.er1
                   17971:   cat conftest.err >&5
1.62      paf      17972:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17973:   (exit $ac_status); } &&
1.86      paf      17974:         { ac_try='test -z "$ac_c_werror_flag"
                   17975:                         || test ! -s conftest.err'
                   17976:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17977:   (eval $ac_try) 2>&5
                   17978:   ac_status=$?
                   17979:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17980:   (exit $ac_status); }; } &&
1.128     moko     17981:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17982:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17983:   (eval $ac_try) 2>&5
                   17984:   ac_status=$?
                   17985:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17986:   (exit $ac_status); }; }; then
1.128     moko     17987:   eval "$as_ac_var=yes"
1.62      paf      17988: else
                   17989:   echo "$as_me: failed program was:" >&5
                   17990: sed 's/^/| /' conftest.$ac_ext >&5
                   17991: 
1.128     moko     17992: eval "$as_ac_var=no"
                   17993: fi
                   17994: rm -f conftest.err conftest.$ac_objext \
                   17995:       conftest$ac_exeext conftest.$ac_ext
                   17996: fi
                   17997: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17998: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17999: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   18000:   cat >>confdefs.h <<_ACEOF
                   18001: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   18002: _ACEOF
                   18003: 
                   18004: else
                   18005: 
                   18006: 
                   18007:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   18008: 
1.62      paf      18009: fi
1.128     moko     18010: done
                   18011: 
                   18012: 
1.64      paf      18013: 
1.128     moko     18014: cat >>confdefs.h <<_ACEOF
                   18015: #define LT_LIBEXT "$libext"
1.62      paf      18016: _ACEOF
1.64      paf      18017: 
1.128     moko     18018: 
                   18019: name=
                   18020: eval "lt_libprefix=\"$libname_spec\""
                   18021: 
                   18022: cat >>confdefs.h <<_ACEOF
                   18023: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      18024: _ACEOF
1.128     moko     18025: 
                   18026: 
                   18027: name=ltdl
                   18028: eval "LTDLOPEN=\"$libname_spec\""
                   18029: 
                   18030: 
                   18031: 
                   18032: 
                   18033: 
                   18034: 
                   18035: 
                   18036: 
                   18037: # Only expand once:
                   18038: 
                   18039: 
                   18040: 
                   18041: 
                   18042: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
                   18043: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
                   18044: if test "${ac_cv_c_bigendian+set}" = set; then
                   18045:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18046: else
                   18047:   # See if sys/param.h defines the BYTE_ORDER macro.
                   18048: cat >conftest.$ac_ext <<_ACEOF
1.66      paf      18049: /* confdefs.h.  */
                   18050: _ACEOF
                   18051: cat confdefs.h >>conftest.$ac_ext
                   18052: cat >>conftest.$ac_ext <<_ACEOF
                   18053: /* end confdefs.h.  */
1.128     moko     18054: #include <sys/types.h>
                   18055: #include <sys/param.h>
                   18056: 
                   18057: int
                   18058: main ()
                   18059: {
                   18060: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
                   18061:  bogus endian macros
                   18062: #endif
1.64      paf      18063: 
1.128     moko     18064:   ;
                   18065:   return 0;
                   18066: }
1.66      paf      18067: _ACEOF
1.128     moko     18068: rm -f conftest.$ac_objext
                   18069: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18070:   (eval $ac_compile) 2>conftest.er1
                   18071:   ac_status=$?
                   18072:   grep -v '^ *+' conftest.er1 >conftest.err
                   18073:   rm -f conftest.er1
                   18074:   cat conftest.err >&5
                   18075:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18076:   (exit $ac_status); } &&
                   18077:         { ac_try='test -z "$ac_c_werror_flag"
                   18078:                         || test ! -s conftest.err'
                   18079:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18080:   (eval $ac_try) 2>&5
                   18081:   ac_status=$?
                   18082:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18083:   (exit $ac_status); }; } &&
                   18084:         { ac_try='test -s conftest.$ac_objext'
                   18085:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18086:   (eval $ac_try) 2>&5
                   18087:   ac_status=$?
                   18088:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18089:   (exit $ac_status); }; }; then
                   18090:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   18091: cat >conftest.$ac_ext <<_ACEOF
1.64      paf      18092: /* confdefs.h.  */
                   18093: _ACEOF
                   18094: cat confdefs.h >>conftest.$ac_ext
                   18095: cat >>conftest.$ac_ext <<_ACEOF
                   18096: /* end confdefs.h.  */
1.128     moko     18097: #include <sys/types.h>
                   18098: #include <sys/param.h>
1.64      paf      18099: 
                   18100: int
                   18101: main ()
1.128     moko     18102: {
                   18103: #if BYTE_ORDER != BIG_ENDIAN
                   18104:  not big endian
                   18105: #endif
                   18106: 
                   18107:   ;
                   18108:   return 0;
1.64      paf      18109: }
                   18110: _ACEOF
1.128     moko     18111: rm -f conftest.$ac_objext
                   18112: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18113:   (eval $ac_compile) 2>conftest.er1
                   18114:   ac_status=$?
                   18115:   grep -v '^ *+' conftest.er1 >conftest.err
                   18116:   rm -f conftest.er1
                   18117:   cat conftest.err >&5
                   18118:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18119:   (exit $ac_status); } &&
                   18120:         { ac_try='test -z "$ac_c_werror_flag"
                   18121:                         || test ! -s conftest.err'
                   18122:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18123:   (eval $ac_try) 2>&5
1.64      paf      18124:   ac_status=$?
                   18125:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     18126:   (exit $ac_status); }; } &&
                   18127:         { ac_try='test -s conftest.$ac_objext'
1.64      paf      18128:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18129:   (eval $ac_try) 2>&5
                   18130:   ac_status=$?
                   18131:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18132:   (exit $ac_status); }; }; then
1.128     moko     18133:   ac_cv_c_bigendian=yes
1.64      paf      18134: else
1.128     moko     18135:   echo "$as_me: failed program was:" >&5
1.64      paf      18136: sed 's/^/| /' conftest.$ac_ext >&5
                   18137: 
1.128     moko     18138: ac_cv_c_bigendian=no
1.66      paf      18139: fi
1.128     moko     18140: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18141: else
                   18142:   echo "$as_me: failed program was:" >&5
                   18143: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      18144: 
1.128     moko     18145: # It does not; compile a test program.
                   18146: if test "$cross_compiling" = yes; then
                   18147:   # try to guess the endianness by grepping values into an object file
                   18148:   ac_cv_c_bigendian=unknown
1.62      paf      18149:   cat >conftest.$ac_ext <<_ACEOF
                   18150: /* confdefs.h.  */
                   18151: _ACEOF
                   18152: cat confdefs.h >>conftest.$ac_ext
                   18153: cat >>conftest.$ac_ext <<_ACEOF
                   18154: /* end confdefs.h.  */
1.128     moko     18155: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   18156: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   18157: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
                   18158: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   18159: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   18160: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
                   18161: int
                   18162: main ()
                   18163: {
                   18164:  _ascii (); _ebcdic ();
                   18165:   ;
                   18166:   return 0;
                   18167: }
1.62      paf      18168: _ACEOF
1.66      paf      18169: rm -f conftest.$ac_objext
                   18170: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18171:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18172:   ac_status=$?
1.86      paf      18173:   grep -v '^ *+' conftest.er1 >conftest.err
                   18174:   rm -f conftest.er1
                   18175:   cat conftest.err >&5
1.66      paf      18176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18177:   (exit $ac_status); } &&
1.86      paf      18178:         { ac_try='test -z "$ac_c_werror_flag"
                   18179:                         || test ! -s conftest.err'
                   18180:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18181:   (eval $ac_try) 2>&5
                   18182:   ac_status=$?
                   18183:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18184:   (exit $ac_status); }; } &&
                   18185:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18186:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18187:   (eval $ac_try) 2>&5
1.62      paf      18188:   ac_status=$?
                   18189:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18190:   (exit $ac_status); }; }; then
1.128     moko     18191:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
                   18192:   ac_cv_c_bigendian=yes
                   18193: fi
                   18194: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   18195:   if test "$ac_cv_c_bigendian" = unknown; then
                   18196:     ac_cv_c_bigendian=no
                   18197:   else
                   18198:     # finding both strings is unlikely to happen, but who knows?
                   18199:     ac_cv_c_bigendian=unknown
                   18200:   fi
                   18201: fi
1.62      paf      18202: else
                   18203:   echo "$as_me: failed program was:" >&5
                   18204: sed 's/^/| /' conftest.$ac_ext >&5
                   18205: 
1.128     moko     18206: fi
                   18207: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18208: else
                   18209:   cat >conftest.$ac_ext <<_ACEOF
                   18210: /* confdefs.h.  */
                   18211: _ACEOF
                   18212: cat confdefs.h >>conftest.$ac_ext
                   18213: cat >>conftest.$ac_ext <<_ACEOF
                   18214: /* end confdefs.h.  */
                   18215: int
                   18216: main ()
                   18217: {
                   18218:   /* Are we little or big endian?  From Harbison&Steele.  */
                   18219:   union
                   18220:   {
                   18221:     long l;
                   18222:     char c[sizeof (long)];
                   18223:   } u;
                   18224:   u.l = 1;
                   18225:   exit (u.c[sizeof (long) - 1] == 1);
                   18226: }
                   18227: _ACEOF
                   18228: rm -f conftest$ac_exeext
                   18229: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   18230:   (eval $ac_link) 2>&5
                   18231:   ac_status=$?
                   18232:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18233:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   18234:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18235:   (eval $ac_try) 2>&5
                   18236:   ac_status=$?
                   18237:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18238:   (exit $ac_status); }; }; then
                   18239:   ac_cv_c_bigendian=no
                   18240: else
                   18241:   echo "$as_me: program exited with status $ac_status" >&5
                   18242: echo "$as_me: failed program was:" >&5
                   18243: sed 's/^/| /' conftest.$ac_ext >&5
                   18244: 
                   18245: ( exit $ac_status )
                   18246: ac_cv_c_bigendian=yes
                   18247: fi
                   18248: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   18249: fi
1.66      paf      18250: fi
1.86      paf      18251: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18252: fi
1.128     moko     18253: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
                   18254: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
                   18255: case $ac_cv_c_bigendian in
                   18256:   yes)
                   18257: 
                   18258: cat >>confdefs.h <<\_ACEOF
                   18259: #define PA_BIG_ENDIAN
1.66      paf      18260: _ACEOF
                   18261: 
1.128     moko     18262:  ;;
                   18263:   no)
                   18264: 
                   18265: cat >>confdefs.h <<\_ACEOF
                   18266: #define PA_LITTLE_ENDIAN
                   18267: _ACEOF
1.1       paf      18268: 
1.128     moko     18269:  ;;
                   18270:   *)
                   18271:     { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5
                   18272: echo "$as_me: error: word endianness not determined for some obscure reason" >&2;}
                   18273:    { (exit 1); exit 1; }; }
                   18274:  ;;
                   18275: esac
1.66      paf      18276: 
                   18277: 
                   18278: echo "$as_me:$LINENO: checking for size_t" >&5
                   18279: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   18280: if test "${ac_cv_type_size_t+set}" = set; then
                   18281:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18282: else
1.62      paf      18283:   cat >conftest.$ac_ext <<_ACEOF
                   18284: /* confdefs.h.  */
                   18285: _ACEOF
                   18286: cat confdefs.h >>conftest.$ac_ext
                   18287: cat >>conftest.$ac_ext <<_ACEOF
                   18288: /* end confdefs.h.  */
1.66      paf      18289: $ac_includes_default
                   18290: int
                   18291: main ()
                   18292: {
                   18293: if ((size_t *) 0)
                   18294:   return 0;
                   18295: if (sizeof (size_t))
                   18296:   return 0;
                   18297:   ;
                   18298:   return 0;
                   18299: }
1.62      paf      18300: _ACEOF
1.66      paf      18301: rm -f conftest.$ac_objext
                   18302: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18303:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18304:   ac_status=$?
1.86      paf      18305:   grep -v '^ *+' conftest.er1 >conftest.err
                   18306:   rm -f conftest.er1
                   18307:   cat conftest.err >&5
1.66      paf      18308:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18309:   (exit $ac_status); } &&
1.86      paf      18310:         { ac_try='test -z "$ac_c_werror_flag"
                   18311:                         || test ! -s conftest.err'
                   18312:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18313:   (eval $ac_try) 2>&5
                   18314:   ac_status=$?
                   18315:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18316:   (exit $ac_status); }; } &&
                   18317:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18318:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18319:   (eval $ac_try) 2>&5
1.62      paf      18320:   ac_status=$?
                   18321:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18322:   (exit $ac_status); }; }; then
                   18323:   ac_cv_type_size_t=yes
1.1       paf      18324: else
1.62      paf      18325:   echo "$as_me: failed program was:" >&5
                   18326: sed 's/^/| /' conftest.$ac_ext >&5
                   18327: 
1.66      paf      18328: ac_cv_type_size_t=no
1.1       paf      18329: fi
1.86      paf      18330: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18331: fi
1.66      paf      18332: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   18333: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   18334: if test $ac_cv_type_size_t = yes; then
                   18335:   :
                   18336: else
1.1       paf      18337: 
1.66      paf      18338: cat >>confdefs.h <<_ACEOF
                   18339: #define size_t unsigned
                   18340: _ACEOF
1.62      paf      18341: 
                   18342: fi
1.66      paf      18343: 
1.128     moko     18344: 
                   18345: 
1.66      paf      18346: echo "$as_me:$LINENO: checking for off_t" >&5
                   18347: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   18348: if test "${ac_cv_type_off_t+set}" = set; then
                   18349:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.62      paf      18350: else
                   18351:   cat >conftest.$ac_ext <<_ACEOF
                   18352: /* confdefs.h.  */
                   18353: _ACEOF
                   18354: cat confdefs.h >>conftest.$ac_ext
                   18355: cat >>conftest.$ac_ext <<_ACEOF
                   18356: /* end confdefs.h.  */
1.66      paf      18357: $ac_includes_default
                   18358: int
                   18359: main ()
                   18360: {
                   18361: if ((off_t *) 0)
                   18362:   return 0;
                   18363: if (sizeof (off_t))
                   18364:   return 0;
                   18365:   ;
                   18366:   return 0;
                   18367: }
1.62      paf      18368: _ACEOF
1.66      paf      18369: rm -f conftest.$ac_objext
                   18370: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18371:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18372:   ac_status=$?
1.86      paf      18373:   grep -v '^ *+' conftest.er1 >conftest.err
                   18374:   rm -f conftest.er1
                   18375:   cat conftest.err >&5
1.66      paf      18376:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18377:   (exit $ac_status); } &&
1.86      paf      18378:         { ac_try='test -z "$ac_c_werror_flag"
                   18379:                         || test ! -s conftest.err'
                   18380:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18381:   (eval $ac_try) 2>&5
                   18382:   ac_status=$?
                   18383:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18384:   (exit $ac_status); }; } &&
                   18385:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18386:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18387:   (eval $ac_try) 2>&5
1.62      paf      18388:   ac_status=$?
                   18389:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18390:   (exit $ac_status); }; }; then
                   18391:   ac_cv_type_off_t=yes
1.62      paf      18392: else
1.66      paf      18393:   echo "$as_me: failed program was:" >&5
                   18394: sed 's/^/| /' conftest.$ac_ext >&5
                   18395: 
                   18396: ac_cv_type_off_t=no
                   18397: fi
1.86      paf      18398: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18399: fi
1.66      paf      18400: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   18401: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   18402: if test $ac_cv_type_off_t = yes; then
1.62      paf      18403:   :
                   18404: else
1.1       paf      18405: 
1.66      paf      18406: cat >>confdefs.h <<_ACEOF
                   18407: #define off_t long
                   18408: _ACEOF
                   18409: 
1.62      paf      18410: fi
1.1       paf      18411: 
1.66      paf      18412: echo "$as_me:$LINENO: checking for ssize_t" >&5
                   18413: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
                   18414: if test "${ac_cv_type_ssize_t+set}" = set; then
                   18415:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18416: else
1.62      paf      18417:   cat >conftest.$ac_ext <<_ACEOF
                   18418: /* confdefs.h.  */
                   18419: _ACEOF
                   18420: cat confdefs.h >>conftest.$ac_ext
                   18421: cat >>conftest.$ac_ext <<_ACEOF
                   18422: /* end confdefs.h.  */
1.66      paf      18423: $ac_includes_default
                   18424: int
                   18425: main ()
                   18426: {
                   18427: if ((ssize_t *) 0)
                   18428:   return 0;
                   18429: if (sizeof (ssize_t))
                   18430:   return 0;
                   18431:   ;
                   18432:   return 0;
                   18433: }
1.62      paf      18434: _ACEOF
1.66      paf      18435: rm -f conftest.$ac_objext
                   18436: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18437:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18438:   ac_status=$?
1.86      paf      18439:   grep -v '^ *+' conftest.er1 >conftest.err
                   18440:   rm -f conftest.er1
                   18441:   cat conftest.err >&5
1.66      paf      18442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18443:   (exit $ac_status); } &&
1.86      paf      18444:         { ac_try='test -z "$ac_c_werror_flag"
                   18445:                         || test ! -s conftest.err'
                   18446:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18447:   (eval $ac_try) 2>&5
                   18448:   ac_status=$?
                   18449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18450:   (exit $ac_status); }; } &&
                   18451:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18452:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18453:   (eval $ac_try) 2>&5
1.62      paf      18454:   ac_status=$?
                   18455:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18456:   (exit $ac_status); }; }; then
                   18457:   ac_cv_type_ssize_t=yes
1.1       paf      18458: else
1.62      paf      18459:   echo "$as_me: failed program was:" >&5
                   18460: sed 's/^/| /' conftest.$ac_ext >&5
                   18461: 
1.66      paf      18462: ac_cv_type_ssize_t=no
                   18463: fi
1.86      paf      18464: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18465: fi
1.66      paf      18466: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
                   18467: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
                   18468: if test $ac_cv_type_ssize_t = yes; then
1.1       paf      18469:   :
                   18470: else
1.66      paf      18471: 
                   18472: cat >>confdefs.h <<_ACEOF
                   18473: #define ssize_t int
                   18474: _ACEOF
                   18475: 
1.1       paf      18476: fi
1.62      paf      18477: 
                   18478: 
                   18479: 
1.66      paf      18480: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   18481: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   18482: if test "${ac_cv_header_time+set}" = set; then
1.62      paf      18483:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18484: else
                   18485:   cat >conftest.$ac_ext <<_ACEOF
                   18486: /* confdefs.h.  */
                   18487: _ACEOF
                   18488: cat confdefs.h >>conftest.$ac_ext
                   18489: cat >>conftest.$ac_ext <<_ACEOF
                   18490: /* end confdefs.h.  */
1.66      paf      18491: #include <sys/types.h>
                   18492: #include <sys/time.h>
                   18493: #include <time.h>
1.62      paf      18494: 
                   18495: int
                   18496: main ()
                   18497: {
1.66      paf      18498: if ((struct tm *) 0)
                   18499: return 0;
1.62      paf      18500:   ;
                   18501:   return 0;
                   18502: }
                   18503: _ACEOF
                   18504: rm -f conftest.$ac_objext
                   18505: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18506:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18507:   ac_status=$?
1.86      paf      18508:   grep -v '^ *+' conftest.er1 >conftest.err
                   18509:   rm -f conftest.er1
                   18510:   cat conftest.err >&5
1.62      paf      18511:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18512:   (exit $ac_status); } &&
1.86      paf      18513:         { ac_try='test -z "$ac_c_werror_flag"
                   18514:                         || test ! -s conftest.err'
                   18515:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18516:   (eval $ac_try) 2>&5
                   18517:   ac_status=$?
                   18518:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18519:   (exit $ac_status); }; } &&
                   18520:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18521:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18522:   (eval $ac_try) 2>&5
                   18523:   ac_status=$?
                   18524:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18525:   (exit $ac_status); }; }; then
1.66      paf      18526:   ac_cv_header_time=yes
1.1       paf      18527: else
1.62      paf      18528:   echo "$as_me: failed program was:" >&5
                   18529: sed 's/^/| /' conftest.$ac_ext >&5
                   18530: 
1.66      paf      18531: ac_cv_header_time=no
1.1       paf      18532: fi
1.86      paf      18533: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18534: fi
                   18535: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   18536: echo "${ECHO_T}$ac_cv_header_time" >&6
                   18537: if test $ac_cv_header_time = yes; then
1.1       paf      18538: 
1.66      paf      18539: cat >>confdefs.h <<\_ACEOF
                   18540: #define TIME_WITH_SYS_TIME 1
1.62      paf      18541: _ACEOF
                   18542: 
1.1       paf      18543: fi
                   18544: 
                   18545: 
1.62      paf      18546: 
1.1       paf      18547: 
1.66      paf      18548: 
                   18549: 
                   18550: 
                   18551: 
                   18552: 
                   18553: 
                   18554: 
                   18555: 
                   18556: 
                   18557: 
                   18558: 
                   18559: 
                   18560: 
                   18561: 
                   18562: 
                   18563: 
                   18564: 
                   18565: 
                   18566: 
                   18567: 
                   18568: 
                   18569: 
                   18570: 
                   18571: 
                   18572: 
                   18573: 
                   18574: 
                   18575: 
1.128     moko     18576: 
1.67      paf      18577: for ac_header in assert.h \
                   18578: signal.h \
1.66      paf      18579: unistd.h \
                   18580: process.h \
                   18581: stddef.h \
                   18582: stdarg.h \
                   18583: fcntl.h \
                   18584: sys/stat.h \
                   18585: io.h \
                   18586: stdio.h \
                   18587: errno.h \
                   18588: ctype.h \
                   18589: math.h \
                   18590: crypt.h \
                   18591: time.h sys/time.h \
                   18592: string.h \
                   18593: direct.h \
                   18594: setjmp.h \
                   18595: memory.h \
1.128     moko     18596: limits.h \
1.66      paf      18597: sys/file.h \
                   18598: sys/locking.h \
                   18599: sys/types.h \
                   18600: sys/select.h \
                   18601: sys/resource.h \
                   18602: winsock.h \
                   18603: sys/socket.h \
                   18604: netinet/in.h \
                   18605: arpa/inet.h \
                   18606: netdb.h
                   18607: 
                   18608: do
                   18609: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18610: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18611:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18612: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18613: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18614:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      18615: fi
1.66      paf      18616: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18617: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18618: else
1.66      paf      18619:   # Is the header compilable?
                   18620: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   18621: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   18622: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18623: /* confdefs.h.  */
                   18624: _ACEOF
                   18625: cat confdefs.h >>conftest.$ac_ext
                   18626: cat >>conftest.$ac_ext <<_ACEOF
                   18627: /* end confdefs.h.  */
1.66      paf      18628: $ac_includes_default
                   18629: #include <$ac_header>
1.62      paf      18630: _ACEOF
1.66      paf      18631: rm -f conftest.$ac_objext
                   18632: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18633:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18634:   ac_status=$?
1.86      paf      18635:   grep -v '^ *+' conftest.er1 >conftest.err
                   18636:   rm -f conftest.er1
                   18637:   cat conftest.err >&5
1.62      paf      18638:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18639:   (exit $ac_status); } &&
1.86      paf      18640:         { ac_try='test -z "$ac_c_werror_flag"
                   18641:                         || test ! -s conftest.err'
                   18642:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18643:   (eval $ac_try) 2>&5
                   18644:   ac_status=$?
                   18645:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18646:   (exit $ac_status); }; } &&
                   18647:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18648:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18649:   (eval $ac_try) 2>&5
                   18650:   ac_status=$?
                   18651:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18652:   (exit $ac_status); }; }; then
1.66      paf      18653:   ac_header_compiler=yes
1.1       paf      18654: else
1.66      paf      18655:   echo "$as_me: failed program was:" >&5
1.62      paf      18656: sed 's/^/| /' conftest.$ac_ext >&5
                   18657: 
1.66      paf      18658: ac_header_compiler=no
1.1       paf      18659: fi
1.86      paf      18660: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18661: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   18662: echo "${ECHO_T}$ac_header_compiler" >&6
                   18663: 
                   18664: # Is the header present?
                   18665: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   18666: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   18667: cat >conftest.$ac_ext <<_ACEOF
                   18668: /* confdefs.h.  */
                   18669: _ACEOF
                   18670: cat confdefs.h >>conftest.$ac_ext
                   18671: cat >>conftest.$ac_ext <<_ACEOF
                   18672: /* end confdefs.h.  */
                   18673: #include <$ac_header>
                   18674: _ACEOF
                   18675: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   18676:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   18677:   ac_status=$?
                   18678:   grep -v '^ *+' conftest.er1 >conftest.err
                   18679:   rm -f conftest.er1
                   18680:   cat conftest.err >&5
                   18681:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18682:   (exit $ac_status); } >/dev/null; then
                   18683:   if test -s conftest.err; then
                   18684:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      18685:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      18686:   else
                   18687:     ac_cpp_err=
                   18688:   fi
                   18689: else
                   18690:   ac_cpp_err=yes
1.1       paf      18691: fi
1.66      paf      18692: if test -z "$ac_cpp_err"; then
                   18693:   ac_header_preproc=yes
                   18694: else
                   18695:   echo "$as_me: failed program was:" >&5
                   18696: sed 's/^/| /' conftest.$ac_ext >&5
                   18697: 
                   18698:   ac_header_preproc=no
1.1       paf      18699: fi
1.66      paf      18700: rm -f conftest.err conftest.$ac_ext
                   18701: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   18702: echo "${ECHO_T}$ac_header_preproc" >&6
                   18703: 
                   18704: # So?  What about this header?
1.86      paf      18705: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   18706:   yes:no: )
1.66      paf      18707:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   18708: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.86      paf      18709:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   18710: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   18711:     ac_header_preproc=yes
1.66      paf      18712:     ;;
1.86      paf      18713:   no:yes:* )
1.66      paf      18714:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   18715: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.86      paf      18716:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   18717: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   18718:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   18719: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   18720:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   18721: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.66      paf      18722:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   18723: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.86      paf      18724:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   18725: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.66      paf      18726:     (
                   18727:       cat <<\_ASBOX
1.128     moko     18728: ## --------------------------------- ##
                   18729: ## Report this to the parser lists.  ##
                   18730: ## --------------------------------- ##
1.66      paf      18731: _ASBOX
                   18732:     ) |
                   18733:       sed "s/^/$as_me: WARNING:     /" >&2
                   18734:     ;;
                   18735: esac
                   18736: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18737: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18738: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18739:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18740: else
1.86      paf      18741:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       paf      18742: fi
1.66      paf      18743: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18744: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18745: 
1.66      paf      18746: fi
                   18747: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   18748:   cat >>confdefs.h <<_ACEOF
                   18749: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18750: _ACEOF
                   18751: 
                   18752: fi
                   18753: 
1.66      paf      18754: done
1.62      paf      18755: 
                   18756: 
                   18757: 
1.128     moko     18758: 
                   18759: 
1.66      paf      18760: case "$host" in
1.107     misha    18761:   *-freebsd4*)
                   18762: 
                   18763: cat >>confdefs.h <<\_ACEOF
                   18764: #define FREEBSD4
                   18765: _ACEOF
                   18766: 
                   18767:   ;;
1.66      paf      18768:   *-sunos5.6* | *-solaris2.6*)
1.62      paf      18769: 
1.66      paf      18770: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
                   18771: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
                   18772: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62      paf      18773:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18774: else
1.66      paf      18775:   ac_check_lib_save_LIBS=$LIBS
                   18776: LIBS="-lxnet  $LIBS"
                   18777: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18778: /* confdefs.h.  */
                   18779: _ACEOF
                   18780: cat confdefs.h >>conftest.$ac_ext
                   18781: cat >>conftest.$ac_ext <<_ACEOF
                   18782: /* end confdefs.h.  */
                   18783: 
1.66      paf      18784: 
                   18785: int
                   18786: main ()
                   18787: {
                   18788: main ();
                   18789:   ;
                   18790:   return 0;
                   18791: }
1.62      paf      18792: _ACEOF
1.66      paf      18793: rm -f conftest.$ac_objext conftest$ac_exeext
                   18794: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18795:   (eval $ac_link) 2>conftest.er1
1.62      paf      18796:   ac_status=$?
1.86      paf      18797:   grep -v '^ *+' conftest.er1 >conftest.err
                   18798:   rm -f conftest.er1
                   18799:   cat conftest.err >&5
1.62      paf      18800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18801:   (exit $ac_status); } &&
1.86      paf      18802:         { ac_try='test -z "$ac_c_werror_flag"
                   18803:                         || test ! -s conftest.err'
                   18804:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18805:   (eval $ac_try) 2>&5
                   18806:   ac_status=$?
                   18807:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18808:   (exit $ac_status); }; } &&
                   18809:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18810:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18811:   (eval $ac_try) 2>&5
                   18812:   ac_status=$?
                   18813:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18814:   (exit $ac_status); }; }; then
1.66      paf      18815:   ac_cv_lib_xnet_main=yes
1.62      paf      18816: else
                   18817:   echo "$as_me: failed program was:" >&5
                   18818: sed 's/^/| /' conftest.$ac_ext >&5
                   18819: 
1.66      paf      18820: ac_cv_lib_xnet_main=no
1.62      paf      18821: fi
1.86      paf      18822: rm -f conftest.err conftest.$ac_objext \
                   18823:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18824: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18825: fi
1.66      paf      18826: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
                   18827: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
                   18828: if test $ac_cv_lib_xnet_main = yes; then
1.62      paf      18829:   cat >>confdefs.h <<_ACEOF
1.66      paf      18830: #define HAVE_LIBXNET 1
1.62      paf      18831: _ACEOF
1.1       paf      18832: 
1.66      paf      18833:   LIBS="-lxnet $LIBS"
                   18834: 
1.1       paf      18835: fi
                   18836: 
1.66      paf      18837:   ;;
                   18838:   *-sunos5* | *-solaris2*)
1.62      paf      18839: 
1.66      paf      18840: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
                   18841: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
                   18842: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62      paf      18843:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18844: else
1.66      paf      18845:   ac_check_lib_save_LIBS=$LIBS
                   18846: LIBS="-lsocket  $LIBS"
                   18847: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18848: /* confdefs.h.  */
                   18849: _ACEOF
                   18850: cat confdefs.h >>conftest.$ac_ext
                   18851: cat >>conftest.$ac_ext <<_ACEOF
                   18852: /* end confdefs.h.  */
1.66      paf      18853: 
                   18854: 
1.62      paf      18855: int
                   18856: main ()
                   18857: {
1.66      paf      18858: main ();
1.62      paf      18859:   ;
                   18860:   return 0;
                   18861: }
                   18862: _ACEOF
1.66      paf      18863: rm -f conftest.$ac_objext conftest$ac_exeext
                   18864: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18865:   (eval $ac_link) 2>conftest.er1
1.62      paf      18866:   ac_status=$?
1.86      paf      18867:   grep -v '^ *+' conftest.er1 >conftest.err
                   18868:   rm -f conftest.er1
                   18869:   cat conftest.err >&5
1.62      paf      18870:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18871:   (exit $ac_status); } &&
1.86      paf      18872:         { ac_try='test -z "$ac_c_werror_flag"
                   18873:                         || test ! -s conftest.err'
                   18874:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18875:   (eval $ac_try) 2>&5
                   18876:   ac_status=$?
                   18877:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18878:   (exit $ac_status); }; } &&
                   18879:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18880:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18881:   (eval $ac_try) 2>&5
                   18882:   ac_status=$?
                   18883:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18884:   (exit $ac_status); }; }; then
1.66      paf      18885:   ac_cv_lib_socket_main=yes
1.1       paf      18886: else
1.62      paf      18887:   echo "$as_me: failed program was:" >&5
                   18888: sed 's/^/| /' conftest.$ac_ext >&5
                   18889: 
1.66      paf      18890: ac_cv_lib_socket_main=no
1.1       paf      18891: fi
1.86      paf      18892: rm -f conftest.err conftest.$ac_objext \
                   18893:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18894: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18895: fi
1.66      paf      18896: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
                   18897: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
                   18898: if test $ac_cv_lib_socket_main = yes; then
                   18899:   cat >>confdefs.h <<_ACEOF
                   18900: #define HAVE_LIBSOCKET 1
                   18901: _ACEOF
1.1       paf      18902: 
1.66      paf      18903:   LIBS="-lsocket $LIBS"
1.1       paf      18904: 
                   18905: fi
                   18906: 
1.66      paf      18907: 
                   18908: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   18909: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   18910: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62      paf      18911:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18912: else
1.66      paf      18913:   ac_check_lib_save_LIBS=$LIBS
                   18914: LIBS="-lnsl  $LIBS"
                   18915: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18916: /* confdefs.h.  */
                   18917: _ACEOF
                   18918: cat confdefs.h >>conftest.$ac_ext
                   18919: cat >>conftest.$ac_ext <<_ACEOF
                   18920: /* end confdefs.h.  */
1.66      paf      18921: 
                   18922: 
1.62      paf      18923: int
                   18924: main ()
                   18925: {
1.66      paf      18926: main ();
1.62      paf      18927:   ;
                   18928:   return 0;
                   18929: }
                   18930: _ACEOF
1.66      paf      18931: rm -f conftest.$ac_objext conftest$ac_exeext
                   18932: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18933:   (eval $ac_link) 2>conftest.er1
1.62      paf      18934:   ac_status=$?
1.86      paf      18935:   grep -v '^ *+' conftest.er1 >conftest.err
                   18936:   rm -f conftest.er1
                   18937:   cat conftest.err >&5
1.62      paf      18938:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18939:   (exit $ac_status); } &&
1.86      paf      18940:         { ac_try='test -z "$ac_c_werror_flag"
                   18941:                         || test ! -s conftest.err'
                   18942:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18943:   (eval $ac_try) 2>&5
                   18944:   ac_status=$?
                   18945:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18946:   (exit $ac_status); }; } &&
                   18947:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18948:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18949:   (eval $ac_try) 2>&5
                   18950:   ac_status=$?
                   18951:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18952:   (exit $ac_status); }; }; then
1.66      paf      18953:   ac_cv_lib_nsl_main=yes
1.30      paf      18954: else
1.62      paf      18955:   echo "$as_me: failed program was:" >&5
                   18956: sed 's/^/| /' conftest.$ac_ext >&5
                   18957: 
1.66      paf      18958: ac_cv_lib_nsl_main=no
1.30      paf      18959: fi
1.86      paf      18960: rm -f conftest.err conftest.$ac_objext \
                   18961:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18962: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18963: fi
1.66      paf      18964: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   18965: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   18966: if test $ac_cv_lib_nsl_main = yes; then
                   18967:   cat >>confdefs.h <<_ACEOF
                   18968: #define HAVE_LIBNSL 1
                   18969: _ACEOF
1.30      paf      18970: 
1.66      paf      18971:   LIBS="-lnsl $LIBS"
1.30      paf      18972: 
                   18973: fi
                   18974: 
1.66      paf      18975:   ;;
                   18976:   *-nec-sysv4*)
                   18977: 
                   18978: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   18979: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   18980: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62      paf      18981:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18982: else
1.66      paf      18983:   ac_check_lib_save_LIBS=$LIBS
                   18984: LIBS="-lnsl  $LIBS"
                   18985: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18986: /* confdefs.h.  */
                   18987: _ACEOF
                   18988: cat confdefs.h >>conftest.$ac_ext
                   18989: cat >>conftest.$ac_ext <<_ACEOF
                   18990: /* end confdefs.h.  */
1.66      paf      18991: 
                   18992: /* Override any gcc2 internal prototype to avoid an error.  */
                   18993: #ifdef __cplusplus
                   18994: extern "C"
                   18995: #endif
                   18996: /* We use char because int might match the return type of a gcc2
                   18997:    builtin and then its argument prototype would still apply.  */
                   18998: char gethostbyname ();
1.62      paf      18999: int
                   19000: main ()
                   19001: {
1.66      paf      19002: gethostbyname ();
1.62      paf      19003:   ;
                   19004:   return 0;
                   19005: }
                   19006: _ACEOF
1.66      paf      19007: rm -f conftest.$ac_objext conftest$ac_exeext
                   19008: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19009:   (eval $ac_link) 2>conftest.er1
1.62      paf      19010:   ac_status=$?
1.86      paf      19011:   grep -v '^ *+' conftest.er1 >conftest.err
                   19012:   rm -f conftest.er1
                   19013:   cat conftest.err >&5
1.62      paf      19014:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19015:   (exit $ac_status); } &&
1.86      paf      19016:         { ac_try='test -z "$ac_c_werror_flag"
                   19017:                         || test ! -s conftest.err'
                   19018:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19019:   (eval $ac_try) 2>&5
                   19020:   ac_status=$?
                   19021:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19022:   (exit $ac_status); }; } &&
                   19023:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19024:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19025:   (eval $ac_try) 2>&5
                   19026:   ac_status=$?
                   19027:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19028:   (exit $ac_status); }; }; then
1.66      paf      19029:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      19030: else
1.62      paf      19031:   echo "$as_me: failed program was:" >&5
                   19032: sed 's/^/| /' conftest.$ac_ext >&5
                   19033: 
1.66      paf      19034: ac_cv_lib_nsl_gethostbyname=no
1.30      paf      19035: fi
1.86      paf      19036: rm -f conftest.err conftest.$ac_objext \
                   19037:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19038: LIBS=$ac_check_lib_save_LIBS
1.62      paf      19039: fi
1.66      paf      19040: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   19041: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   19042: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   19043:   cat >>confdefs.h <<_ACEOF
                   19044: #define HAVE_LIBNSL 1
                   19045: _ACEOF
1.30      paf      19046: 
1.66      paf      19047:   LIBS="-lnsl $LIBS"
1.30      paf      19048: 
                   19049: fi
                   19050: 
                   19051: 
1.66      paf      19052: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   19053: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   19054: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62      paf      19055:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      19056: else
1.66      paf      19057:   ac_check_lib_save_LIBS=$LIBS
                   19058: LIBS="-lsocket  $LIBS"
                   19059: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19060: /* confdefs.h.  */
                   19061: _ACEOF
                   19062: cat confdefs.h >>conftest.$ac_ext
                   19063: cat >>conftest.$ac_ext <<_ACEOF
                   19064: /* end confdefs.h.  */
                   19065: 
1.66      paf      19066: /* Override any gcc2 internal prototype to avoid an error.  */
                   19067: #ifdef __cplusplus
                   19068: extern "C"
                   19069: #endif
                   19070: /* We use char because int might match the return type of a gcc2
                   19071:    builtin and then its argument prototype would still apply.  */
                   19072: char socket ();
1.62      paf      19073: int
                   19074: main ()
                   19075: {
1.66      paf      19076: socket ();
1.62      paf      19077:   ;
                   19078:   return 0;
                   19079: }
                   19080: _ACEOF
1.66      paf      19081: rm -f conftest.$ac_objext conftest$ac_exeext
                   19082: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19083:   (eval $ac_link) 2>conftest.er1
1.62      paf      19084:   ac_status=$?
1.86      paf      19085:   grep -v '^ *+' conftest.er1 >conftest.err
                   19086:   rm -f conftest.er1
                   19087:   cat conftest.err >&5
1.62      paf      19088:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19089:   (exit $ac_status); } &&
1.86      paf      19090:         { ac_try='test -z "$ac_c_werror_flag"
                   19091:                         || test ! -s conftest.err'
                   19092:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19093:   (eval $ac_try) 2>&5
                   19094:   ac_status=$?
                   19095:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19096:   (exit $ac_status); }; } &&
                   19097:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19098:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19099:   (eval $ac_try) 2>&5
                   19100:   ac_status=$?
                   19101:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19102:   (exit $ac_status); }; }; then
1.66      paf      19103:   ac_cv_lib_socket_socket=yes
1.8       paf      19104: else
1.62      paf      19105:   echo "$as_me: failed program was:" >&5
                   19106: sed 's/^/| /' conftest.$ac_ext >&5
                   19107: 
1.66      paf      19108: ac_cv_lib_socket_socket=no
1.8       paf      19109: fi
1.86      paf      19110: rm -f conftest.err conftest.$ac_objext \
                   19111:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19112: LIBS=$ac_check_lib_save_LIBS
1.8       paf      19113: fi
1.66      paf      19114: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   19115: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   19116: if test $ac_cv_lib_socket_socket = yes; then
                   19117:   cat >>confdefs.h <<_ACEOF
1.128     moko     19118: #define HAVE_LIBSOCKET 1
1.66      paf      19119: _ACEOF
                   19120: 
1.128     moko     19121:   LIBS="-lsocket $LIBS"
1.66      paf      19122: 
1.62      paf      19123: fi
                   19124: 
1.66      paf      19125:   ;;
1.128     moko     19126:   *-cygwin*)
                   19127: 
                   19128: cat >>confdefs.h <<\_ACEOF
                   19129: #define WIN32
                   19130: _ACEOF
1.66      paf      19131: 
1.128     moko     19132: 
                   19133: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
                   19134: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
                   19135: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.66      paf      19136:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19137: else
                   19138:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     19139: LIBS="-lwsock32  $LIBS"
1.62      paf      19140: cat >conftest.$ac_ext <<_ACEOF
                   19141: /* confdefs.h.  */
                   19142: _ACEOF
                   19143: cat confdefs.h >>conftest.$ac_ext
                   19144: cat >>conftest.$ac_ext <<_ACEOF
                   19145: /* end confdefs.h.  */
1.66      paf      19146: 
1.128     moko     19147: /* Override any gcc2 internal prototype to avoid an error.  */
                   19148: #ifdef __cplusplus
                   19149: extern "C"
                   19150: #endif
                   19151: /* We use char because int might match the return type of a gcc2
                   19152:    builtin and then its argument prototype would still apply.  */
                   19153: char socket ();
1.66      paf      19154: int
                   19155: main ()
                   19156: {
1.128     moko     19157: socket ();
1.66      paf      19158:   ;
                   19159:   return 0;
                   19160: }
1.62      paf      19161: _ACEOF
1.66      paf      19162: rm -f conftest.$ac_objext conftest$ac_exeext
                   19163: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19164:   (eval $ac_link) 2>conftest.er1
1.66      paf      19165:   ac_status=$?
1.86      paf      19166:   grep -v '^ *+' conftest.er1 >conftest.err
                   19167:   rm -f conftest.er1
                   19168:   cat conftest.err >&5
1.66      paf      19169:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19170:   (exit $ac_status); } &&
1.86      paf      19171:         { ac_try='test -z "$ac_c_werror_flag"
                   19172:                         || test ! -s conftest.err'
                   19173:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19174:   (eval $ac_try) 2>&5
                   19175:   ac_status=$?
                   19176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19177:   (exit $ac_status); }; } &&
                   19178:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      19179:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19180:   (eval $ac_try) 2>&5
1.62      paf      19181:   ac_status=$?
                   19182:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      19183:   (exit $ac_status); }; }; then
1.128     moko     19184:   ac_cv_lib_wsock32_socket=yes
1.62      paf      19185: else
                   19186:   echo "$as_me: failed program was:" >&5
                   19187: sed 's/^/| /' conftest.$ac_ext >&5
                   19188: 
1.128     moko     19189: ac_cv_lib_wsock32_socket=no
1.62      paf      19190: fi
1.86      paf      19191: rm -f conftest.err conftest.$ac_objext \
                   19192:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19193: LIBS=$ac_check_lib_save_LIBS
1.1       paf      19194: fi
1.128     moko     19195: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
                   19196: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
                   19197: if test $ac_cv_lib_wsock32_socket = yes; then
1.62      paf      19198:   cat >>confdefs.h <<_ACEOF
1.128     moko     19199: #define HAVE_LIBWSOCK32 1
1.62      paf      19200: _ACEOF
                   19201: 
1.128     moko     19202:   LIBS="-lwsock32 $LIBS"
1.66      paf      19203: 
1.1       paf      19204: fi
1.62      paf      19205: 
1.66      paf      19206:   ;;
                   19207: esac
1.1       paf      19208: 
                   19209: 
1.66      paf      19210: echo "$as_me:$LINENO: checking for sin in -lm" >&5
                   19211: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
                   19212: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62      paf      19213:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19214: else
1.62      paf      19215:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19216: LIBS="-lm  $LIBS"
1.62      paf      19217: cat >conftest.$ac_ext <<_ACEOF
                   19218: /* confdefs.h.  */
                   19219: _ACEOF
                   19220: cat confdefs.h >>conftest.$ac_ext
                   19221: cat >>conftest.$ac_ext <<_ACEOF
                   19222: /* end confdefs.h.  */
                   19223: 
1.66      paf      19224: /* Override any gcc2 internal prototype to avoid an error.  */
                   19225: #ifdef __cplusplus
                   19226: extern "C"
                   19227: #endif
                   19228: /* We use char because int might match the return type of a gcc2
                   19229:    builtin and then its argument prototype would still apply.  */
                   19230: char sin ();
1.62      paf      19231: int
                   19232: main ()
                   19233: {
1.66      paf      19234: sin ();
1.62      paf      19235:   ;
                   19236:   return 0;
                   19237: }
                   19238: _ACEOF
                   19239: rm -f conftest.$ac_objext conftest$ac_exeext
                   19240: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19241:   (eval $ac_link) 2>conftest.er1
1.62      paf      19242:   ac_status=$?
1.86      paf      19243:   grep -v '^ *+' conftest.er1 >conftest.err
                   19244:   rm -f conftest.er1
                   19245:   cat conftest.err >&5
1.62      paf      19246:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19247:   (exit $ac_status); } &&
1.86      paf      19248:         { ac_try='test -z "$ac_c_werror_flag"
                   19249:                         || test ! -s conftest.err'
                   19250:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19251:   (eval $ac_try) 2>&5
                   19252:   ac_status=$?
                   19253:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19254:   (exit $ac_status); }; } &&
                   19255:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19256:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19257:   (eval $ac_try) 2>&5
                   19258:   ac_status=$?
                   19259:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19260:   (exit $ac_status); }; }; then
1.66      paf      19261:   ac_cv_lib_m_sin=yes
1.62      paf      19262: else
                   19263:   echo "$as_me: failed program was:" >&5
                   19264: sed 's/^/| /' conftest.$ac_ext >&5
                   19265: 
1.66      paf      19266: ac_cv_lib_m_sin=no
1.62      paf      19267: fi
1.86      paf      19268: rm -f conftest.err conftest.$ac_objext \
                   19269:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19270: LIBS=$ac_check_lib_save_LIBS
                   19271: fi
1.66      paf      19272: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
                   19273: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
                   19274: if test $ac_cv_lib_m_sin = yes; then
1.62      paf      19275:   cat >>confdefs.h <<_ACEOF
1.66      paf      19276: #define HAVE_LIBM 1
1.62      paf      19277: _ACEOF
1.1       paf      19278: 
1.66      paf      19279:   LIBS="-lm $LIBS"
1.1       paf      19280: 
                   19281: fi
                   19282: 
1.62      paf      19283: 
1.66      paf      19284: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
                   19285: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
                   19286: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62      paf      19287:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19288: else
1.62      paf      19289:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19290: LIBS="-lcrypt  $LIBS"
1.62      paf      19291: cat >conftest.$ac_ext <<_ACEOF
                   19292: /* confdefs.h.  */
                   19293: _ACEOF
                   19294: cat confdefs.h >>conftest.$ac_ext
                   19295: cat >>conftest.$ac_ext <<_ACEOF
                   19296: /* end confdefs.h.  */
                   19297: 
1.66      paf      19298: /* Override any gcc2 internal prototype to avoid an error.  */
                   19299: #ifdef __cplusplus
                   19300: extern "C"
                   19301: #endif
                   19302: /* We use char because int might match the return type of a gcc2
                   19303:    builtin and then its argument prototype would still apply.  */
                   19304: char crypt ();
1.62      paf      19305: int
                   19306: main ()
                   19307: {
1.66      paf      19308: crypt ();
1.62      paf      19309:   ;
                   19310:   return 0;
                   19311: }
                   19312: _ACEOF
                   19313: rm -f conftest.$ac_objext conftest$ac_exeext
                   19314: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19315:   (eval $ac_link) 2>conftest.er1
1.62      paf      19316:   ac_status=$?
1.86      paf      19317:   grep -v '^ *+' conftest.er1 >conftest.err
                   19318:   rm -f conftest.er1
                   19319:   cat conftest.err >&5
1.62      paf      19320:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19321:   (exit $ac_status); } &&
1.86      paf      19322:         { ac_try='test -z "$ac_c_werror_flag"
                   19323:                         || test ! -s conftest.err'
                   19324:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19325:   (eval $ac_try) 2>&5
                   19326:   ac_status=$?
                   19327:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19328:   (exit $ac_status); }; } &&
                   19329:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19330:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19331:   (eval $ac_try) 2>&5
                   19332:   ac_status=$?
                   19333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19334:   (exit $ac_status); }; }; then
1.66      paf      19335:   ac_cv_lib_crypt_crypt=yes
1.62      paf      19336: else
                   19337:   echo "$as_me: failed program was:" >&5
                   19338: sed 's/^/| /' conftest.$ac_ext >&5
                   19339: 
1.66      paf      19340: ac_cv_lib_crypt_crypt=no
1.62      paf      19341: fi
1.86      paf      19342: rm -f conftest.err conftest.$ac_objext \
                   19343:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19344: LIBS=$ac_check_lib_save_LIBS
                   19345: fi
1.66      paf      19346: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
                   19347: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
                   19348: if test $ac_cv_lib_crypt_crypt = yes; then
1.62      paf      19349:   cat >>confdefs.h <<_ACEOF
1.66      paf      19350: #define HAVE_LIBCRYPT 1
1.62      paf      19351: _ACEOF
1.1       paf      19352: 
1.66      paf      19353:   LIBS="-lcrypt $LIBS"
                   19354: 
                   19355: fi
                   19356: 
                   19357: 
                   19358: 
                   19359: 
                   19360: 
                   19361: 
                   19362: 
                   19363: 
                   19364: 
                   19365: 
                   19366: 
                   19367: 
1.80      paf      19368: 
1.92      misha    19369: 
1.112     misha    19370: 
1.67      paf      19371: for ac_func in flock \
1.66      paf      19372: _locking \
                   19373: fcntl \
                   19374: lockf \
                   19375: ftruncate \
1.112     misha    19376: fchmod \
1.66      paf      19377: getrusage \
                   19378: gettimeofday \
                   19379: crypt \
1.80      paf      19380: sigsetjmp \
1.92      misha    19381: siglongjmp \
                   19382: unsetenv
1.66      paf      19383: 
                   19384: do
                   19385: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19386: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19387: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19388: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   19389:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19390: else
                   19391:   cat >conftest.$ac_ext <<_ACEOF
                   19392: /* confdefs.h.  */
                   19393: _ACEOF
                   19394: cat confdefs.h >>conftest.$ac_ext
                   19395: cat >>conftest.$ac_ext <<_ACEOF
                   19396: /* end confdefs.h.  */
1.86      paf      19397: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19398:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19399: #define $ac_func innocuous_$ac_func
                   19400: 
1.66      paf      19401: /* System header to define __stub macros and hopefully few prototypes,
                   19402:     which can conflict with char $ac_func (); below.
                   19403:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19404:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19405: 
1.66      paf      19406: #ifdef __STDC__
                   19407: # include <limits.h>
                   19408: #else
                   19409: # include <assert.h>
                   19410: #endif
1.86      paf      19411: 
                   19412: #undef $ac_func
                   19413: 
1.66      paf      19414: /* Override any gcc2 internal prototype to avoid an error.  */
                   19415: #ifdef __cplusplus
                   19416: extern "C"
                   19417: {
                   19418: #endif
                   19419: /* We use char because int might match the return type of a gcc2
                   19420:    builtin and then its argument prototype would still apply.  */
                   19421: char $ac_func ();
                   19422: /* The GNU C library defines this for functions which it implements
                   19423:     to always fail with ENOSYS.  Some functions are actually named
                   19424:     something starting with __ and the normal name is an alias.  */
                   19425: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19426: choke me
                   19427: #else
                   19428: char (*f) () = $ac_func;
                   19429: #endif
                   19430: #ifdef __cplusplus
                   19431: }
                   19432: #endif
1.62      paf      19433: 
                   19434: int
                   19435: main ()
                   19436: {
1.66      paf      19437: return f != $ac_func;
1.62      paf      19438:   ;
                   19439:   return 0;
                   19440: }
                   19441: _ACEOF
                   19442: rm -f conftest.$ac_objext conftest$ac_exeext
                   19443: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19444:   (eval $ac_link) 2>conftest.er1
1.62      paf      19445:   ac_status=$?
1.86      paf      19446:   grep -v '^ *+' conftest.er1 >conftest.err
                   19447:   rm -f conftest.er1
                   19448:   cat conftest.err >&5
1.62      paf      19449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19450:   (exit $ac_status); } &&
1.86      paf      19451:         { ac_try='test -z "$ac_c_werror_flag"
                   19452:                         || test ! -s conftest.err'
                   19453:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19454:   (eval $ac_try) 2>&5
                   19455:   ac_status=$?
                   19456:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19457:   (exit $ac_status); }; } &&
                   19458:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19459:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19460:   (eval $ac_try) 2>&5
                   19461:   ac_status=$?
                   19462:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19463:   (exit $ac_status); }; }; then
1.66      paf      19464:   eval "$as_ac_var=yes"
1.62      paf      19465: else
                   19466:   echo "$as_me: failed program was:" >&5
                   19467: sed 's/^/| /' conftest.$ac_ext >&5
                   19468: 
1.66      paf      19469: eval "$as_ac_var=no"
1.62      paf      19470: fi
1.86      paf      19471: rm -f conftest.err conftest.$ac_objext \
                   19472:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19473: fi
1.66      paf      19474: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19475: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19476: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19477:   cat >>confdefs.h <<_ACEOF
1.66      paf      19478: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19479: _ACEOF
1.1       paf      19480: 
1.66      paf      19481: fi
                   19482: done
                   19483: 
1.1       paf      19484: 
                   19485: 
1.67      paf      19486: pa_func=sigsetjmp
                   19487: echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5
                   19488: echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6
                   19489: cat >conftest.$ac_ext <<_ACEOF
                   19490: /* confdefs.h.  */
                   19491: _ACEOF
                   19492: cat confdefs.h >>conftest.$ac_ext
                   19493: cat >>conftest.$ac_ext <<_ACEOF
                   19494: /* end confdefs.h.  */
                   19495: 
                   19496: #ifdef HAVE_SETJMP_H
                   19497: #      include <setjmp.h>
                   19498: #endif
                   19499: 
                   19500: int
                   19501: main ()
                   19502: {
                   19503: 
                   19504:         $pa_func(0,0);
                   19505: 
                   19506:   ;
                   19507:   return 0;
                   19508: }
                   19509: _ACEOF
                   19510: rm -f conftest.$ac_objext
                   19511: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19512:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19513:   ac_status=$?
1.86      paf      19514:   grep -v '^ *+' conftest.er1 >conftest.err
                   19515:   rm -f conftest.er1
                   19516:   cat conftest.err >&5
1.67      paf      19517:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19518:   (exit $ac_status); } &&
1.86      paf      19519:         { ac_try='test -z "$ac_c_werror_flag"
                   19520:                         || test ! -s conftest.err'
                   19521:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19522:   (eval $ac_try) 2>&5
                   19523:   ac_status=$?
                   19524:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19525:   (exit $ac_status); }; } &&
                   19526:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19527:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19528:   (eval $ac_try) 2>&5
                   19529:   ac_status=$?
                   19530:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19531:   (exit $ac_status); }; }; then
                   19532:   echo "$as_me:$LINENO: result: yes" >&5
                   19533: echo "${ECHO_T}yes" >&6
                   19534: cat >>confdefs.h <<_ACEOF
                   19535: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
                   19536: _ACEOF
                   19537: 
                   19538: 
                   19539: else
                   19540:   echo "$as_me: failed program was:" >&5
                   19541: sed 's/^/| /' conftest.$ac_ext >&5
                   19542: 
                   19543: echo "$as_me:$LINENO: result: no" >&5
                   19544: echo "${ECHO_T}no" >&6
                   19545: 
                   19546: fi
1.86      paf      19547: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19548: 
                   19549: 
                   19550: 
                   19551: ac_ext=cc
                   19552: ac_cpp='$CXXCPP $CPPFLAGS'
                   19553: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19554: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19555: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   19556: 
                   19557: 
                   19558: 
                   19559: 
                   19560: 
                   19561: 
                   19562: for pa_func in trunc \
                   19563: round \
                   19564: sign
                   19565: 
                   19566: do
                   19567: 
                   19568: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
                   19569: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
                   19570: cat >conftest.$ac_ext <<_ACEOF
                   19571: /* confdefs.h.  */
                   19572: _ACEOF
                   19573: cat confdefs.h >>conftest.$ac_ext
                   19574: cat >>conftest.$ac_ext <<_ACEOF
                   19575: /* end confdefs.h.  */
                   19576: 
                   19577: #ifdef HAVE_MATH_H
                   19578: #       include <math.h>
                   19579: #endif
                   19580: 
                   19581: int
                   19582: main ()
                   19583: {
                   19584: 
                   19585:         double result=$pa_func(1.6);
                   19586: 
                   19587:   ;
                   19588:   return 0;
                   19589: }
                   19590: _ACEOF
                   19591: rm -f conftest.$ac_objext
                   19592: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19593:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19594:   ac_status=$?
1.86      paf      19595:   grep -v '^ *+' conftest.er1 >conftest.err
                   19596:   rm -f conftest.er1
                   19597:   cat conftest.err >&5
1.67      paf      19598:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19599:   (exit $ac_status); } &&
1.86      paf      19600:         { ac_try='test -z "$ac_cxx_werror_flag"
                   19601:                         || test ! -s conftest.err'
                   19602:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19603:   (eval $ac_try) 2>&5
                   19604:   ac_status=$?
                   19605:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19606:   (exit $ac_status); }; } &&
                   19607:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19608:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19609:   (eval $ac_try) 2>&5
                   19610:   ac_status=$?
                   19611:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19612:   (exit $ac_status); }; }; then
                   19613:   echo "$as_me:$LINENO: result: yes" >&5
                   19614: echo "${ECHO_T}yes" >&6
                   19615: cat >>confdefs.h <<_ACEOF
                   19616: #define `echo "HAVE_$pa_func" | $as_tr_cpp`  1
                   19617: _ACEOF
                   19618: 
                   19619: else
                   19620:   echo "$as_me: failed program was:" >&5
                   19621: sed 's/^/| /' conftest.$ac_ext >&5
                   19622: 
                   19623: echo "$as_me:$LINENO: result: no" >&5
                   19624: echo "${ECHO_T}no" >&6
                   19625: 
                   19626: fi
1.86      paf      19627: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19628: 
                   19629: done
                   19630: 
                   19631: ac_ext=c
                   19632: ac_cpp='$CPP $CPPFLAGS'
                   19633: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19634: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19635: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   19636: 
                   19637: 
                   19638: 
1.62      paf      19639: 
1.66      paf      19640: for ac_func in qsort
                   19641: do
                   19642: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19643: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19644: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19645: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      19646:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19647: else
1.66      paf      19648:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19649: /* confdefs.h.  */
                   19650: _ACEOF
                   19651: cat confdefs.h >>conftest.$ac_ext
                   19652: cat >>conftest.$ac_ext <<_ACEOF
                   19653: /* end confdefs.h.  */
1.86      paf      19654: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19655:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19656: #define $ac_func innocuous_$ac_func
                   19657: 
1.66      paf      19658: /* System header to define __stub macros and hopefully few prototypes,
                   19659:     which can conflict with char $ac_func (); below.
                   19660:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19661:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19662: 
1.66      paf      19663: #ifdef __STDC__
                   19664: # include <limits.h>
                   19665: #else
                   19666: # include <assert.h>
                   19667: #endif
1.86      paf      19668: 
                   19669: #undef $ac_func
                   19670: 
1.1       paf      19671: /* Override any gcc2 internal prototype to avoid an error.  */
                   19672: #ifdef __cplusplus
                   19673: extern "C"
1.66      paf      19674: {
1.1       paf      19675: #endif
                   19676: /* We use char because int might match the return type of a gcc2
1.62      paf      19677:    builtin and then its argument prototype would still apply.  */
1.66      paf      19678: char $ac_func ();
                   19679: /* The GNU C library defines this for functions which it implements
                   19680:     to always fail with ENOSYS.  Some functions are actually named
                   19681:     something starting with __ and the normal name is an alias.  */
                   19682: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19683: choke me
                   19684: #else
                   19685: char (*f) () = $ac_func;
                   19686: #endif
                   19687: #ifdef __cplusplus
                   19688: }
                   19689: #endif
                   19690: 
1.62      paf      19691: int
                   19692: main ()
                   19693: {
1.66      paf      19694: return f != $ac_func;
1.62      paf      19695:   ;
                   19696:   return 0;
                   19697: }
                   19698: _ACEOF
                   19699: rm -f conftest.$ac_objext conftest$ac_exeext
                   19700: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19701:   (eval $ac_link) 2>conftest.er1
1.62      paf      19702:   ac_status=$?
1.86      paf      19703:   grep -v '^ *+' conftest.er1 >conftest.err
                   19704:   rm -f conftest.er1
                   19705:   cat conftest.err >&5
1.62      paf      19706:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19707:   (exit $ac_status); } &&
1.86      paf      19708:         { ac_try='test -z "$ac_c_werror_flag"
                   19709:                         || test ! -s conftest.err'
                   19710:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19711:   (eval $ac_try) 2>&5
                   19712:   ac_status=$?
                   19713:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19714:   (exit $ac_status); }; } &&
                   19715:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19716:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19717:   (eval $ac_try) 2>&5
                   19718:   ac_status=$?
                   19719:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19720:   (exit $ac_status); }; }; then
1.66      paf      19721:   eval "$as_ac_var=yes"
1.62      paf      19722: else
                   19723:   echo "$as_me: failed program was:" >&5
                   19724: sed 's/^/| /' conftest.$ac_ext >&5
                   19725: 
1.66      paf      19726: eval "$as_ac_var=no"
1.62      paf      19727: fi
1.86      paf      19728: rm -f conftest.err conftest.$ac_objext \
                   19729:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19730: fi
1.66      paf      19731: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19732: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19733: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19734:   cat >>confdefs.h <<_ACEOF
1.66      paf      19735: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19736: _ACEOF
1.1       paf      19737: 
1.66      paf      19738: else
                   19739:   { { echo "$as_me:$LINENO: error: No qsort library function." >&5
                   19740: echo "$as_me: error: No qsort library function." >&2;}
                   19741:    { (exit 1); exit 1; }; }
1.1       paf      19742: fi
1.66      paf      19743: done
1.1       paf      19744: 
                   19745: 
1.62      paf      19746: 
1.66      paf      19747: echo "$as_me:$LINENO: checking for timezone variable" >&5
                   19748: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62      paf      19749: cat >conftest.$ac_ext <<_ACEOF
                   19750: /* confdefs.h.  */
                   19751: _ACEOF
                   19752: cat confdefs.h >>conftest.$ac_ext
                   19753: cat >>conftest.$ac_ext <<_ACEOF
                   19754: /* end confdefs.h.  */
1.66      paf      19755: #include <time.h>
1.62      paf      19756: int
                   19757: main ()
                   19758: {
1.66      paf      19759: 
                   19760: time_t test=timezone;
                   19761: 
1.62      paf      19762:   ;
                   19763:   return 0;
                   19764: }
                   19765: _ACEOF
1.66      paf      19766: rm -f conftest.$ac_objext
                   19767: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19768:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19769:   ac_status=$?
1.86      paf      19770:   grep -v '^ *+' conftest.er1 >conftest.err
                   19771:   rm -f conftest.er1
                   19772:   cat conftest.err >&5
1.62      paf      19773:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19774:   (exit $ac_status); } &&
1.86      paf      19775:         { ac_try='test -z "$ac_c_werror_flag"
                   19776:                         || test ! -s conftest.err'
                   19777:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19778:   (eval $ac_try) 2>&5
                   19779:   ac_status=$?
                   19780:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19781:   (exit $ac_status); }; } &&
                   19782:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19783:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19784:   (eval $ac_try) 2>&5
                   19785:   ac_status=$?
                   19786:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19787:   (exit $ac_status); }; }; then
1.66      paf      19788:   cat >>confdefs.h <<\_ACEOF
                   19789: #define HAVE_TIMEZONE 1
                   19790: _ACEOF
                   19791: 
                   19792: echo "$as_me:$LINENO: result: yes" >&5
                   19793: echo "${ECHO_T}yes" >&6
1.62      paf      19794: else
                   19795:   echo "$as_me: failed program was:" >&5
                   19796: sed 's/^/| /' conftest.$ac_ext >&5
                   19797: 
1.66      paf      19798: echo "$as_me:$LINENO: result: no" >&5
                   19799: echo "${ECHO_T}no" >&6
1.62      paf      19800: fi
1.86      paf      19801: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19802: 
1.66      paf      19803: echo "$as_me:$LINENO: checking for daylight variable" >&5
                   19804: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62      paf      19805: cat >conftest.$ac_ext <<_ACEOF
                   19806: /* confdefs.h.  */
                   19807: _ACEOF
                   19808: cat confdefs.h >>conftest.$ac_ext
                   19809: cat >>conftest.$ac_ext <<_ACEOF
                   19810: /* end confdefs.h.  */
1.66      paf      19811: #include <time.h>
1.62      paf      19812: int
                   19813: main ()
                   19814: {
1.66      paf      19815: 
                   19816: int test=daylight;
                   19817: 
1.62      paf      19818:   ;
                   19819:   return 0;
                   19820: }
                   19821: _ACEOF
1.66      paf      19822: rm -f conftest.$ac_objext
                   19823: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19824:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19825:   ac_status=$?
1.86      paf      19826:   grep -v '^ *+' conftest.er1 >conftest.err
                   19827:   rm -f conftest.er1
                   19828:   cat conftest.err >&5
1.62      paf      19829:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19830:   (exit $ac_status); } &&
1.86      paf      19831:         { ac_try='test -z "$ac_c_werror_flag"
                   19832:                         || test ! -s conftest.err'
                   19833:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19834:   (eval $ac_try) 2>&5
                   19835:   ac_status=$?
                   19836:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19837:   (exit $ac_status); }; } &&
                   19838:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19839:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19840:   (eval $ac_try) 2>&5
                   19841:   ac_status=$?
                   19842:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19843:   (exit $ac_status); }; }; then
1.66      paf      19844:   cat >>confdefs.h <<\_ACEOF
                   19845: #define HAVE_DAYLIGHT 1
                   19846: _ACEOF
                   19847: 
                   19848: echo "$as_me:$LINENO: result: yes" >&5
                   19849: echo "${ECHO_T}yes" >&6
1.62      paf      19850: else
                   19851:   echo "$as_me: failed program was:" >&5
                   19852: sed 's/^/| /' conftest.$ac_ext >&5
                   19853: 
1.66      paf      19854: echo "$as_me:$LINENO: result: no" >&5
                   19855: echo "${ECHO_T}no" >&6
1.62      paf      19856: fi
1.86      paf      19857: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      19858: 
1.66      paf      19859: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
                   19860: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62      paf      19861: cat >conftest.$ac_ext <<_ACEOF
                   19862: /* confdefs.h.  */
                   19863: _ACEOF
                   19864: cat confdefs.h >>conftest.$ac_ext
                   19865: cat >>conftest.$ac_ext <<_ACEOF
                   19866: /* end confdefs.h.  */
1.66      paf      19867: #include <time.h>
1.62      paf      19868: int
                   19869: main ()
                   19870: {
1.66      paf      19871: struct tm tm;
                   19872: tm.tm_gmtoff=0;
                   19873: 
1.62      paf      19874:   ;
                   19875:   return 0;
                   19876: }
                   19877: _ACEOF
1.66      paf      19878: rm -f conftest.$ac_objext
                   19879: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19880:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19881:   ac_status=$?
1.86      paf      19882:   grep -v '^ *+' conftest.er1 >conftest.err
                   19883:   rm -f conftest.er1
                   19884:   cat conftest.err >&5
1.62      paf      19885:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19886:   (exit $ac_status); } &&
1.86      paf      19887:         { ac_try='test -z "$ac_c_werror_flag"
                   19888:                         || test ! -s conftest.err'
                   19889:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19890:   (eval $ac_try) 2>&5
                   19891:   ac_status=$?
                   19892:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19893:   (exit $ac_status); }; } &&
                   19894:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19895:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19896:   (eval $ac_try) 2>&5
                   19897:   ac_status=$?
                   19898:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19899:   (exit $ac_status); }; }; then
1.66      paf      19900:   cat >>confdefs.h <<\_ACEOF
                   19901: #define HAVE_TM_GMTOFF 1
                   19902: _ACEOF
                   19903: 
                   19904: echo "$as_me:$LINENO: result: yes" >&5
                   19905: echo "${ECHO_T}yes" >&6
1.62      paf      19906: else
                   19907:   echo "$as_me: failed program was:" >&5
                   19908: sed 's/^/| /' conftest.$ac_ext >&5
                   19909: 
1.66      paf      19910: echo "$as_me:$LINENO: result: no" >&5
                   19911: echo "${ECHO_T}no" >&6
1.62      paf      19912: fi
1.86      paf      19913: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19914: 
1.66      paf      19915: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
                   19916: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62      paf      19917: cat >conftest.$ac_ext <<_ACEOF
                   19918: /* confdefs.h.  */
                   19919: _ACEOF
                   19920: cat confdefs.h >>conftest.$ac_ext
                   19921: cat >>conftest.$ac_ext <<_ACEOF
                   19922: /* end confdefs.h.  */
1.66      paf      19923: #include <time.h>
1.62      paf      19924: int
                   19925: main ()
                   19926: {
1.66      paf      19927: struct tm tm;
                   19928: tm.tm_tzadj=0;
                   19929: 
1.62      paf      19930:   ;
                   19931:   return 0;
                   19932: }
                   19933: _ACEOF
1.66      paf      19934: rm -f conftest.$ac_objext
                   19935: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19936:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19937:   ac_status=$?
1.86      paf      19938:   grep -v '^ *+' conftest.er1 >conftest.err
                   19939:   rm -f conftest.er1
                   19940:   cat conftest.err >&5
1.62      paf      19941:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19942:   (exit $ac_status); } &&
1.86      paf      19943:         { ac_try='test -z "$ac_c_werror_flag"
                   19944:                         || test ! -s conftest.err'
                   19945:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19946:   (eval $ac_try) 2>&5
                   19947:   ac_status=$?
                   19948:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19949:   (exit $ac_status); }; } &&
                   19950:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19951:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19952:   (eval $ac_try) 2>&5
                   19953:   ac_status=$?
                   19954:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19955:   (exit $ac_status); }; }; then
1.66      paf      19956:   cat >>confdefs.h <<\_ACEOF
                   19957: #define HAVE_TM_TZADJ 1
                   19958: _ACEOF
                   19959: 
                   19960: echo "$as_me:$LINENO: result: yes" >&5
                   19961: echo "${ECHO_T}yes" >&6
1.62      paf      19962: else
                   19963:   echo "$as_me: failed program was:" >&5
                   19964: sed 's/^/| /' conftest.$ac_ext >&5
                   19965: 
1.66      paf      19966: echo "$as_me:$LINENO: result: no" >&5
                   19967: echo "${ECHO_T}no" >&6
1.62      paf      19968: fi
1.86      paf      19969: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      19970: 
                   19971: 
                   19972: 
                   19973: 
1.1       paf      19974: 
                   19975: 
                   19976: 
1.62      paf      19977: 
                   19978: 
                   19979: 
                   19980: 
                   19981: 
                   19982: 
                   19983: 
                   19984: 
                   19985: 
                   19986: 
                   19987: 
                   19988: 
                   19989: 
                   19990: 
                   19991: 
                   19992: 
                   19993: 
                   19994: 
                   19995: 
                   19996: 
                   19997: 
                   19998: 
                   19999: 
                   20000: 
1.128     moko     20001:           ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      20002: 
                   20003: 
1.130     moko     20004:                                                                                                                                                                                                                                                                                                             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      20005: cat >confcache <<\_ACEOF
1.1       paf      20006: # This file is a shell script that caches the results of configure
                   20007: # tests run on this system so they can be shared between configure
1.62      paf      20008: # scripts and configure runs, see configure's option --config-cache.
                   20009: # It is not useful on other systems.  If it contains results you don't
                   20010: # want to keep, you may remove or edit it.
1.1       paf      20011: #
1.62      paf      20012: # config.status only pays attention to the cache file if you give it
                   20013: # the --recheck option to rerun configure.
1.1       paf      20014: #
1.62      paf      20015: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   20016: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   20017: # following values.
                   20018: 
                   20019: _ACEOF
                   20020: 
1.1       paf      20021: # The following way of writing the cache mishandles newlines in values,
                   20022: # but we know of no workaround that is simple, portable, and efficient.
                   20023: # So, don't put newlines in cache variables' values.
                   20024: # Ultrix sh set writes to stderr and can't be redirected directly,
                   20025: # and sets the high bit in the cache file unless we assign to the vars.
1.62      paf      20026: {
                   20027:   (set) 2>&1 |
                   20028:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   20029:     *ac_space=\ *)
                   20030:       # `set' does not quote correctly, so add quotes (double-quote
                   20031:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   20032:       sed -n \
1.86      paf      20033:        "s/'/'\\\\''/g;
                   20034:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.62      paf      20035:       ;;
                   20036:     *)
                   20037:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   20038:       sed -n \
1.86      paf      20039:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      20040:       ;;
                   20041:     esac;
                   20042: } |
                   20043:   sed '
                   20044:      t clear
                   20045:      : clear
                   20046:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   20047:      t end
                   20048:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   20049:      : end' >>confcache
                   20050: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      20051:   if test -w $cache_file; then
1.62      paf      20052:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   20053:     cat confcache >$cache_file
1.1       paf      20054:   else
                   20055:     echo "not updating unwritable cache $cache_file"
                   20056:   fi
                   20057: fi
                   20058: rm -f confcache
                   20059: 
                   20060: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   20061: # Let make expand exec_prefix.
                   20062: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   20063: 
1.62      paf      20064: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   20065: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   20066: # trailing colons and then remove the whole line if VPATH becomes empty
                   20067: # (actually we leave an empty line to preserve line numbers).
1.1       paf      20068: if test "x$srcdir" = x.; then
1.86      paf      20069:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1.62      paf      20070: s/:*\$(srcdir):*/:/;
                   20071: s/:*\${srcdir}:*/:/;
                   20072: s/:*@srcdir@:*/:/;
1.86      paf      20073: s/^\([^=]*=[    ]*\):*/\1/;
1.62      paf      20074: s/:*$//;
1.86      paf      20075: s/^[^=]*=[      ]*$//;
1.62      paf      20076: }'
1.1       paf      20077: fi
                   20078: 
1.62      paf      20079: DEFS=-DHAVE_CONFIG_H
                   20080: 
                   20081: ac_libobjs=
                   20082: ac_ltlibobjs=
                   20083: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   20084:   # 1. Remove the extension, and $U if already installed.
                   20085:   ac_i=`echo "$ac_i" |
1.86      paf      20086:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.62      paf      20087:   # 2. Add them.
                   20088:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   20089:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   20090: done
                   20091: LIBOBJS=$ac_libobjs
                   20092: 
                   20093: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      20094: 
                   20095: 
1.62      paf      20096: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   20097:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   20098: Usually this means the macro was only invoked conditionally." >&5
                   20099: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   20100: Usually this means the macro was only invoked conditionally." >&2;}
                   20101:    { (exit 1); exit 1; }; }
                   20102: fi
1.66      paf      20103: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   20104:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20105: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20106: echo "$as_me: error: conditional \"am__fastdepCXX\" 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.66      paf      20110: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   20111:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20112: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20113: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20114: Usually this means the macro was only invoked conditionally." >&2;}
                   20115:    { (exit 1); exit 1; }; }
                   20116: fi
1.122     moko     20117: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
                   20118:   { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20119: Usually this means the macro was only invoked conditionally." >&5
1.122     moko     20120: echo "$as_me: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20121: Usually this means the macro was only invoked conditionally." >&2;}
                   20122:    { (exit 1); exit 1; }; }
                   20123: fi
1.128     moko     20124: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   20125:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   20126: Usually this means the macro was only invoked conditionally." >&5
                   20127: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   20128: Usually this means the macro was only invoked conditionally." >&2;}
                   20129:    { (exit 1); exit 1; }; }
                   20130: fi
                   20131: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   20132:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20133: Usually this means the macro was only invoked conditionally." >&5
                   20134: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20135: Usually this means the macro was only invoked conditionally." >&2;}
                   20136:    { (exit 1); exit 1; }; }
                   20137: fi
                   20138: LT_CONFIG_H=`echo " src/include/pa_config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
                   20139: 
                   20140:     _ltdl_libobjs=
                   20141:     _ltdl_ltlibobjs=
                   20142:     if test -n "$_LT_LIBOBJS"; then
                   20143:       # Remove the extension.
                   20144:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   20145:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   20146:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   20147:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   20148:       done
                   20149:     fi
                   20150:     ltdl_LIBOBJS=$_ltdl_libobjs
                   20151: 
                   20152:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   20153: 
                   20154: 
1.62      paf      20155: 
1.1       paf      20156: : ${CONFIG_STATUS=./config.status}
1.62      paf      20157: ac_clean_files_save=$ac_clean_files
                   20158: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   20159: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   20160: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   20161: cat >$CONFIG_STATUS <<_ACEOF
                   20162: #! $SHELL
                   20163: # Generated by $as_me.
                   20164: # Run this file to recreate the current configuration.
                   20165: # Compiler output produced by configure, useful for debugging
                   20166: # configure, is in config.log if it exists.
                   20167: 
                   20168: debug=false
                   20169: ac_cs_recheck=false
                   20170: ac_cs_silent=false
                   20171: SHELL=\${CONFIG_SHELL-$SHELL}
                   20172: _ACEOF
                   20173: 
                   20174: cat >>$CONFIG_STATUS <<\_ACEOF
                   20175: ## --------------------- ##
                   20176: ## M4sh Initialization.  ##
                   20177: ## --------------------- ##
                   20178: 
                   20179: # Be Bourne compatible
                   20180: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   20181:   emulate sh
                   20182:   NULLCMD=:
                   20183:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   20184:   # is contrary to our usage.  Disable this feature.
                   20185:   alias -g '${1+"$@"}'='"$@"'
                   20186: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   20187:   set -o posix
                   20188: fi
1.86      paf      20189: DUALCASE=1; export DUALCASE # for MKS sh
1.62      paf      20190: 
                   20191: # Support unset when possible.
1.86      paf      20192: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62      paf      20193:   as_unset=unset
                   20194: else
                   20195:   as_unset=false
                   20196: fi
                   20197: 
                   20198: 
                   20199: # Work around bugs in pre-3.0 UWIN ksh.
                   20200: $as_unset ENV MAIL MAILPATH
                   20201: PS1='$ '
                   20202: PS2='> '
                   20203: PS4='+ '
                   20204: 
                   20205: # NLS nuisances.
                   20206: for as_var in \
                   20207:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   20208:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   20209:   LC_TELEPHONE LC_TIME
                   20210: do
1.86      paf      20211:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62      paf      20212:     eval $as_var=C; export $as_var
                   20213:   else
                   20214:     $as_unset $as_var
                   20215:   fi
                   20216: done
1.1       paf      20217: 
1.62      paf      20218: # Required to use basename.
                   20219: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20220:   as_expr=expr
                   20221: else
                   20222:   as_expr=false
                   20223: fi
                   20224: 
                   20225: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   20226:   as_basename=basename
                   20227: else
                   20228:   as_basename=false
                   20229: fi
                   20230: 
                   20231: 
                   20232: # Name of the executable.
                   20233: as_me=`$as_basename "$0" ||
                   20234: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   20235:         X"$0" : 'X\(//\)$' \| \
                   20236:         X"$0" : 'X\(/\)$' \| \
                   20237:         .     : '\(.\)' 2>/dev/null ||
                   20238: echo X/"$0" |
                   20239:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   20240:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   20241:          /^X\/\(\/\).*/{ s//\1/; q; }
                   20242:          s/.*/./; q'`
                   20243: 
                   20244: 
                   20245: # PATH needs CR, and LINENO needs CR and PATH.
                   20246: # Avoid depending upon Character Ranges.
                   20247: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   20248: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   20249: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   20250: as_cr_digits='0123456789'
                   20251: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   20252: 
                   20253: # The user is always right.
                   20254: if test "${PATH_SEPARATOR+set}" != set; then
                   20255:   echo "#! /bin/sh" >conf$$.sh
                   20256:   echo  "exit 0"   >>conf$$.sh
                   20257:   chmod +x conf$$.sh
                   20258:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   20259:     PATH_SEPARATOR=';'
                   20260:   else
                   20261:     PATH_SEPARATOR=:
                   20262:   fi
                   20263:   rm -f conf$$.sh
                   20264: fi
                   20265: 
                   20266: 
                   20267:   as_lineno_1=$LINENO
                   20268:   as_lineno_2=$LINENO
                   20269:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20270:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20271:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   20272:   # Find who we are.  Look in the path if we contain no path at all
                   20273:   # relative or not.
                   20274:   case $0 in
                   20275:     *[\\/]* ) as_myself=$0 ;;
                   20276:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20277: for as_dir in $PATH
                   20278: do
                   20279:   IFS=$as_save_IFS
                   20280:   test -z "$as_dir" && as_dir=.
                   20281:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   20282: done
                   20283: 
                   20284:        ;;
                   20285:   esac
                   20286:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   20287:   # in which case we are not to be found in the path.
                   20288:   if test "x$as_myself" = x; then
                   20289:     as_myself=$0
                   20290:   fi
                   20291:   if test ! -f "$as_myself"; then
                   20292:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   20293: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   20294:    { (exit 1); exit 1; }; }
                   20295:   fi
                   20296:   case $CONFIG_SHELL in
                   20297:   '')
                   20298:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20299: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   20300: do
                   20301:   IFS=$as_save_IFS
                   20302:   test -z "$as_dir" && as_dir=.
                   20303:   for as_base in sh bash ksh sh5; do
                   20304:         case $as_dir in
                   20305:         /*)
                   20306:           if ("$as_dir/$as_base" -c '
                   20307:   as_lineno_1=$LINENO
                   20308:   as_lineno_2=$LINENO
                   20309:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20310:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20311:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   20312:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   20313:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   20314:             CONFIG_SHELL=$as_dir/$as_base
                   20315:             export CONFIG_SHELL
                   20316:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   20317:           fi;;
                   20318:         esac
                   20319:        done
                   20320: done
                   20321: ;;
                   20322:   esac
                   20323: 
                   20324:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   20325:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   20326:   # line-number line before each line; the second 'sed' does the real
                   20327:   # work.  The second script uses 'N' to pair each line-number line
                   20328:   # with the numbered line, and appends trailing '-' during
                   20329:   # substitution so that $LINENO is not a special case at line end.
                   20330:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   20331:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   20332:   sed '=' <$as_myself |
                   20333:     sed '
                   20334:       N
                   20335:       s,$,-,
                   20336:       : loop
                   20337:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   20338:       t loop
                   20339:       s,-$,,
                   20340:       s,^['$as_cr_digits']*\n,,
                   20341:     ' >$as_me.lineno &&
                   20342:   chmod +x $as_me.lineno ||
                   20343:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   20344: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   20345:    { (exit 1); exit 1; }; }
                   20346: 
                   20347:   # Don't try to exec as it changes $[0], causing all sort of problems
                   20348:   # (the dirname of $[0] is not the place where we might find the
                   20349:   # original and so on.  Autoconf is especially sensible to this).
                   20350:   . ./$as_me.lineno
                   20351:   # Exit status is that of the last command.
                   20352:   exit
                   20353: }
                   20354: 
                   20355: 
                   20356: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   20357:   *c*,-n*) ECHO_N= ECHO_C='
                   20358: ' ECHO_T='     ' ;;
                   20359:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   20360:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   20361: esac
                   20362: 
                   20363: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20364:   as_expr=expr
                   20365: else
                   20366:   as_expr=false
                   20367: fi
                   20368: 
                   20369: rm -f conf$$ conf$$.exe conf$$.file
                   20370: echo >conf$$.file
                   20371: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   20372:   # We could just check for DJGPP; but this test a) works b) is more generic
                   20373:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   20374:   if test -f conf$$.exe; then
                   20375:     # Don't use ln at all; we don't have any links
                   20376:     as_ln_s='cp -p'
                   20377:   else
                   20378:     as_ln_s='ln -s'
                   20379:   fi
                   20380: elif ln conf$$.file conf$$ 2>/dev/null; then
                   20381:   as_ln_s=ln
                   20382: else
                   20383:   as_ln_s='cp -p'
                   20384: fi
                   20385: rm -f conf$$ conf$$.exe conf$$.file
                   20386: 
                   20387: if mkdir -p . 2>/dev/null; then
                   20388:   as_mkdir_p=:
                   20389: else
1.86      paf      20390:   test -d ./-p && rmdir ./-p
1.62      paf      20391:   as_mkdir_p=false
                   20392: fi
                   20393: 
                   20394: as_executable_p="test -f"
                   20395: 
                   20396: # Sed expression to map a string onto a valid CPP name.
1.86      paf      20397: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20398: 
                   20399: # Sed expression to map a string onto a valid variable name.
1.86      paf      20400: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20401: 
                   20402: 
                   20403: # IFS
                   20404: # We need space, tab and new line, in precisely that order.
                   20405: as_nl='
                   20406: '
                   20407: IFS="  $as_nl"
                   20408: 
                   20409: # CDPATH.
                   20410: $as_unset CDPATH
                   20411: 
                   20412: exec 6>&1
                   20413: 
                   20414: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   20415: # report actual input values of CONFIG_FILES etc. instead of their
                   20416: # values after options handling.  Logging --version etc. is OK.
                   20417: exec 5>>config.log
                   20418: {
                   20419:   echo
                   20420:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   20421: ## Running $as_me. ##
                   20422: _ASBOX
                   20423: } >&5
                   20424: cat >&5 <<_CSEOF
                   20425: 
1.145     moko     20426: This file was extended by parser $as_me 3.4.2 RC, which was
1.86      paf      20427: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      20428: 
                   20429:   CONFIG_FILES    = $CONFIG_FILES
                   20430:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   20431:   CONFIG_LINKS    = $CONFIG_LINKS
                   20432:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   20433:   $ $0 $@
                   20434: 
                   20435: _CSEOF
                   20436: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   20437: echo >&5
                   20438: _ACEOF
                   20439: 
                   20440: # Files that config.status was made for.
                   20441: if test -n "$ac_config_files"; then
                   20442:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   20443: fi
                   20444: 
                   20445: if test -n "$ac_config_headers"; then
                   20446:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   20447: fi
                   20448: 
                   20449: if test -n "$ac_config_links"; then
                   20450:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   20451: fi
                   20452: 
                   20453: if test -n "$ac_config_commands"; then
                   20454:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   20455: fi
                   20456: 
                   20457: cat >>$CONFIG_STATUS <<\_ACEOF
                   20458: 
                   20459: ac_cs_usage="\
                   20460: \`$as_me' instantiates files from templates according to the
                   20461: current configuration.
                   20462: 
                   20463: Usage: $0 [OPTIONS] [FILE]...
                   20464: 
                   20465:   -h, --help       print this help, then exit
                   20466:   -V, --version    print version number, then exit
                   20467:   -q, --quiet      do not print progress messages
                   20468:   -d, --debug      don't remove temporary files
                   20469:       --recheck    update $as_me by reconfiguring in the same conditions
                   20470:   --file=FILE[:TEMPLATE]
1.86      paf      20471:                   instantiate the configuration file FILE
1.62      paf      20472:   --header=FILE[:TEMPLATE]
1.86      paf      20473:                   instantiate the configuration header FILE
1.62      paf      20474: 
                   20475: Configuration files:
                   20476: $config_files
                   20477: 
                   20478: Configuration headers:
                   20479: $config_headers
                   20480: 
                   20481: Configuration commands:
                   20482: $config_commands
                   20483: 
                   20484: Report bugs to <bug-autoconf@gnu.org>."
                   20485: _ACEOF
                   20486: 
                   20487: cat >>$CONFIG_STATUS <<_ACEOF
                   20488: ac_cs_version="\\
1.145     moko     20489: parser config.status 3.4.2 RC
1.86      paf      20490: configured by $0, generated by GNU Autoconf 2.59,
1.62      paf      20491:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   20492: 
1.86      paf      20493: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      20494: This config.status script is free software; the Free Software Foundation
                   20495: gives unlimited permission to copy, distribute and modify it."
                   20496: srcdir=$srcdir
                   20497: INSTALL="$INSTALL"
                   20498: _ACEOF
                   20499: 
                   20500: cat >>$CONFIG_STATUS <<\_ACEOF
                   20501: # If no file are specified by the user, then we need to provide default
                   20502: # value.  By we need to know if files were specified by the user.
                   20503: ac_need_defaults=:
                   20504: while test $# != 0
                   20505: do
                   20506:   case $1 in
                   20507:   --*=*)
                   20508:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   20509:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   20510:     ac_shift=:
                   20511:     ;;
                   20512:   -*)
                   20513:     ac_option=$1
                   20514:     ac_optarg=$2
                   20515:     ac_shift=shift
                   20516:     ;;
                   20517:   *) # This is not an option, so the user has probably given explicit
                   20518:      # arguments.
                   20519:      ac_option=$1
                   20520:      ac_need_defaults=false;;
                   20521:   esac
                   20522: 
                   20523:   case $ac_option in
                   20524:   # Handling of the options.
                   20525: _ACEOF
                   20526: cat >>$CONFIG_STATUS <<\_ACEOF
                   20527:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   20528:     ac_cs_recheck=: ;;
                   20529:   --version | --vers* | -V )
                   20530:     echo "$ac_cs_version"; exit 0 ;;
                   20531:   --he | --h)
                   20532:     # Conflict between --help and --header
                   20533:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   20534: Try \`$0 --help' for more information." >&5
                   20535: echo "$as_me: error: ambiguous option: $1
                   20536: Try \`$0 --help' for more information." >&2;}
                   20537:    { (exit 1); exit 1; }; };;
                   20538:   --help | --hel | -h )
                   20539:     echo "$ac_cs_usage"; exit 0 ;;
                   20540:   --debug | --d* | -d )
                   20541:     debug=: ;;
                   20542:   --file | --fil | --fi | --f )
                   20543:     $ac_shift
                   20544:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   20545:     ac_need_defaults=false;;
                   20546:   --header | --heade | --head | --hea )
                   20547:     $ac_shift
                   20548:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   20549:     ac_need_defaults=false;;
                   20550:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   20551:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   20552:     ac_cs_silent=: ;;
                   20553: 
                   20554:   # This is an error.
                   20555:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   20556: Try \`$0 --help' for more information." >&5
                   20557: echo "$as_me: error: unrecognized option: $1
                   20558: Try \`$0 --help' for more information." >&2;}
                   20559:    { (exit 1); exit 1; }; } ;;
                   20560: 
                   20561:   *) ac_config_targets="$ac_config_targets $1" ;;
                   20562: 
                   20563:   esac
                   20564:   shift
                   20565: done
                   20566: 
                   20567: ac_configure_extra_args=
                   20568: 
                   20569: if $ac_cs_silent; then
                   20570:   exec 6>/dev/null
                   20571:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   20572: fi
                   20573: 
                   20574: _ACEOF
                   20575: cat >>$CONFIG_STATUS <<_ACEOF
                   20576: if \$ac_cs_recheck; then
                   20577:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   20578:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   20579: fi
                   20580: 
                   20581: _ACEOF
                   20582: 
                   20583: cat >>$CONFIG_STATUS <<_ACEOF
1.1       paf      20584: #
1.62      paf      20585: # INIT-COMMANDS section.
1.1       paf      20586: #
                   20587: 
1.62      paf      20588: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   20589: 
1.128     moko     20590: 
                   20591: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   20592: # if CDPATH is set.
                   20593: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   20594: 
                   20595: sed_quote_subst='$sed_quote_subst'
                   20596: double_quote_subst='$double_quote_subst'
                   20597: delay_variable_subst='$delay_variable_subst'
                   20598: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   20599: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   20600: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   20601: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   20602: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     20603: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     20604: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     20605: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     20606: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   20607: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   20608: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   20609: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   20610: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   20611: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   20612: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   20613: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   20614: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   20615: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   20616: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   20617: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   20618: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   20619: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   20620: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   20621: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   20622: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   20623: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   20624: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   20625: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   20626: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   20627: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   20628: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   20629: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   20630: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20631: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20632: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   20633: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   20634: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   20635: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   20636: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   20637: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   20638: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   20639: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   20640: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   20641: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   20642: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   20643: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   20644: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20645: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20646: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20647: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   20648: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   20649: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   20650: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   20651: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   20652: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   20653: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   20654: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   20655: 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"`'
                   20656: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20657: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   20658: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   20659: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   20660: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   20661: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   20662: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   20663: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   20664: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   20665: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   20666: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   20667: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   20668: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   20669: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   20670: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   20671: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   20672: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   20673: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   20674: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20675: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   20676: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   20677: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20678: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20679: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   20680: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   20681: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20682: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20683: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20684: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   20685: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20686: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   20687: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20688: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20689: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20690: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   20691: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   20692: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   20693: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   20694: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20695: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   20696: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   20697: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   20698: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   20699: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   20700: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   20701: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   20702: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   20703: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   20704: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20705: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   20706: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   20707: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   20708: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   20709: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   20710: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20711: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   20712: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   20713: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   20714: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   20715: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   20716: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20717: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20718: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   20719: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   20720: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   20721: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   20722: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   20723: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   20724: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   20725: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   20726: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   20727: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   20728: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   20729: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   20730: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   20731: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   20732: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   20733: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   20734: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   20735: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   20736: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20737: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20738: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20739: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   20740: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   20741: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20742: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   20743: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   20744: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   20745: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   20746: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   20747: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   20748: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20749: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20750: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   20751: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20752: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20753: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20754: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20755: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20756: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20757: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   20758: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20759: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20760: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20761: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   20762: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   20763: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   20764: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   20765: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   20766: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   20767: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   20768: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   20769: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   20770: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20771: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20772: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20773: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20774: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20775: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20776: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   20777: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   20778: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20779: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20780: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20781: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20782: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   20783: 
                   20784: LTCC='$LTCC'
                   20785: LTCFLAGS='$LTCFLAGS'
                   20786: compiler='$compiler_DEFAULT'
                   20787: 
                   20788: # A function that is used when there is no print builtin or printf.
                   20789: func_fallback_echo ()
                   20790: {
                   20791:   eval 'cat <<_LTECHO_EOF
                   20792: \$1
                   20793: _LTECHO_EOF'
                   20794: }
                   20795: 
                   20796: # Quote evaled strings.
                   20797: for var in AS \
                   20798: DLLTOOL \
                   20799: OBJDUMP \
                   20800: SHELL \
                   20801: ECHO \
                   20802: PATH_SEPARATOR \
                   20803: SED \
                   20804: GREP \
                   20805: EGREP \
                   20806: FGREP \
                   20807: LD \
                   20808: NM \
                   20809: LN_S \
                   20810: lt_SP2NL \
                   20811: lt_NL2SP \
                   20812: reload_flag \
                   20813: deplibs_check_method \
                   20814: file_magic_cmd \
                   20815: file_magic_glob \
                   20816: want_nocaseglob \
                   20817: sharedlib_from_linklib_cmd \
                   20818: AR \
                   20819: AR_FLAGS \
                   20820: archiver_list_spec \
                   20821: STRIP \
                   20822: RANLIB \
                   20823: CC \
                   20824: CFLAGS \
                   20825: compiler \
                   20826: lt_cv_sys_global_symbol_pipe \
                   20827: lt_cv_sys_global_symbol_to_cdecl \
                   20828: lt_cv_sys_global_symbol_to_c_name_address \
                   20829: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   20830: nm_file_list_spec \
                   20831: lt_prog_compiler_no_builtin_flag \
                   20832: lt_prog_compiler_pic \
                   20833: lt_prog_compiler_wl \
                   20834: lt_prog_compiler_static \
                   20835: lt_cv_prog_compiler_c_o \
                   20836: need_locks \
                   20837: MANIFEST_TOOL \
                   20838: DSYMUTIL \
                   20839: NMEDIT \
                   20840: LIPO \
                   20841: OTOOL \
                   20842: OTOOL64 \
                   20843: shrext_cmds \
                   20844: export_dynamic_flag_spec \
                   20845: whole_archive_flag_spec \
                   20846: compiler_needs_object \
                   20847: with_gnu_ld \
                   20848: allow_undefined_flag \
                   20849: no_undefined_flag \
                   20850: hardcode_libdir_flag_spec \
                   20851: hardcode_libdir_separator \
                   20852: exclude_expsyms \
                   20853: include_expsyms \
                   20854: file_list_spec \
                   20855: variables_saved_for_relink \
                   20856: libname_spec \
                   20857: library_names_spec \
                   20858: soname_spec \
                   20859: install_override_mode \
                   20860: finish_eval \
                   20861: old_striplib \
                   20862: striplib \
                   20863: compiler_lib_search_dirs \
                   20864: predep_objects \
                   20865: postdep_objects \
                   20866: predeps \
                   20867: postdeps \
                   20868: compiler_lib_search_path \
                   20869: LD_CXX \
                   20870: reload_flag_CXX \
                   20871: compiler_CXX \
                   20872: lt_prog_compiler_no_builtin_flag_CXX \
                   20873: lt_prog_compiler_pic_CXX \
                   20874: lt_prog_compiler_wl_CXX \
                   20875: lt_prog_compiler_static_CXX \
                   20876: lt_cv_prog_compiler_c_o_CXX \
                   20877: export_dynamic_flag_spec_CXX \
                   20878: whole_archive_flag_spec_CXX \
                   20879: compiler_needs_object_CXX \
                   20880: with_gnu_ld_CXX \
                   20881: allow_undefined_flag_CXX \
                   20882: no_undefined_flag_CXX \
                   20883: hardcode_libdir_flag_spec_CXX \
                   20884: hardcode_libdir_separator_CXX \
                   20885: exclude_expsyms_CXX \
                   20886: include_expsyms_CXX \
                   20887: file_list_spec_CXX \
                   20888: compiler_lib_search_dirs_CXX \
                   20889: predep_objects_CXX \
                   20890: postdep_objects_CXX \
                   20891: predeps_CXX \
                   20892: postdeps_CXX \
                   20893: compiler_lib_search_path_CXX; do
                   20894:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20895:     *[\\\\\\\`\\"\\\$]*)
                   20896:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20897:       ;;
                   20898:     *)
                   20899:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20900:       ;;
                   20901:     esac
                   20902: done
                   20903: 
                   20904: # Double-quote double-evaled strings.
                   20905: for var in reload_cmds \
                   20906: old_postinstall_cmds \
                   20907: old_postuninstall_cmds \
                   20908: old_archive_cmds \
                   20909: extract_expsyms_cmds \
                   20910: old_archive_from_new_cmds \
                   20911: old_archive_from_expsyms_cmds \
                   20912: archive_cmds \
                   20913: archive_expsym_cmds \
                   20914: module_cmds \
                   20915: module_expsym_cmds \
                   20916: export_symbols_cmds \
                   20917: prelink_cmds \
                   20918: postlink_cmds \
                   20919: postinstall_cmds \
                   20920: postuninstall_cmds \
                   20921: finish_cmds \
                   20922: sys_lib_search_path_spec \
                   20923: sys_lib_dlsearch_path_spec \
                   20924: reload_cmds_CXX \
                   20925: old_archive_cmds_CXX \
                   20926: old_archive_from_new_cmds_CXX \
                   20927: old_archive_from_expsyms_cmds_CXX \
                   20928: archive_cmds_CXX \
                   20929: archive_expsym_cmds_CXX \
                   20930: module_cmds_CXX \
                   20931: module_expsym_cmds_CXX \
                   20932: export_symbols_cmds_CXX \
                   20933: prelink_cmds_CXX \
                   20934: postlink_cmds_CXX; do
                   20935:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20936:     *[\\\\\\\`\\"\\\$]*)
                   20937:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20938:       ;;
                   20939:     *)
                   20940:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20941:       ;;
                   20942:     esac
                   20943: done
                   20944: 
                   20945: ac_aux_dir='$ac_aux_dir'
                   20946: xsi_shell='$xsi_shell'
                   20947: lt_shell_append='$lt_shell_append'
                   20948: 
                   20949: # See if we are running on zsh, and set the options which allow our
                   20950: # commands through without removal of \ escapes INIT.
                   20951: if test -n "\${ZSH_VERSION+set}" ; then
                   20952:    setopt NO_GLOB_SUBST
                   20953: fi
                   20954: 
                   20955: 
                   20956:     PACKAGE='$PACKAGE'
                   20957:     VERSION='$VERSION'
                   20958:     TIMESTAMP='$TIMESTAMP'
                   20959:     RM='$RM'
                   20960:     ofile='$ofile'
                   20961: 
                   20962: 
                   20963: 
                   20964: 
                   20965: 
                   20966: 
1.62      paf      20967: _ACEOF
                   20968: 
                   20969: 
                   20970: 
                   20971: cat >>$CONFIG_STATUS <<\_ACEOF
                   20972: for ac_config_target in $ac_config_targets
1.1       paf      20973: do
1.62      paf      20974:   case "$ac_config_target" in
                   20975:   # Handling of arguments.
                   20976:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20977:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20978:   "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20979:   "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20980:   "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20981:   "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20982:   "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20983:   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.73      paf      20984:   "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20985:   "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
1.67      paf      20986:   "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20987:   "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
1.103     misha    20988:   "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
1.67      paf      20989:   "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20990:   "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20991:   "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62      paf      20992:   "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
1.70      paf      20993:   "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
1.124     moko     20994:   "src/lib/sdbm/pa-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
1.120     misha    20995:   "src/lib/json/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.126     moko     20996:   "src/lib/memcached/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
1.127     moko     20997:   "src/lib/curl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
1.62      paf      20998:   "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20999:   "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
1.122     moko     21000:   "src/targets/apache/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
1.62      paf      21001:   "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   21002:   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   21003:   "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   21004:   "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   21005:   "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   21006:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.128     moko     21007:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.62      paf      21008:   "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   21009:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   21010: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   21011:    { (exit 1); exit 1; }; };;
1.1       paf      21012:   esac
                   21013: done
                   21014: 
1.62      paf      21015: # If the user did not use the arguments to specify the items to instantiate,
                   21016: # then the envvar interface is used.  Set only those that are not.
                   21017: # We use the long form for the default assignment because of an extremely
                   21018: # bizarre bug on SunOS 4.1.3.
                   21019: if $ac_need_defaults; then
                   21020:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   21021:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   21022:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   21023: fi
                   21024: 
                   21025: # Have a temporary directory for convenience.  Make it in the build tree
                   21026: # simply because there is no reason to put it here, and in addition,
                   21027: # creating and moving files from /tmp can sometimes cause problems.
                   21028: # Create a temporary directory, and hook for its removal unless debugging.
                   21029: $debug ||
                   21030: {
                   21031:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   21032:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   21033: }
                   21034: 
                   21035: # Create a (secure) tmp directory for tmp files.
                   21036: 
                   21037: {
                   21038:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   21039:   test -n "$tmp" && test -d "$tmp"
                   21040: }  ||
                   21041: {
                   21042:   tmp=./confstat$$-$RANDOM
                   21043:   (umask 077 && mkdir $tmp)
                   21044: } ||
                   21045: {
                   21046:    echo "$me: cannot create a temporary directory in ." >&2
                   21047:    { (exit 1); exit 1; }
                   21048: }
                   21049: 
                   21050: _ACEOF
1.1       paf      21051: 
1.62      paf      21052: cat >>$CONFIG_STATUS <<_ACEOF
                   21053: 
                   21054: #
                   21055: # CONFIG_FILES section.
                   21056: #
1.1       paf      21057: 
1.62      paf      21058: # No need to generate the scripts if there are no CONFIG_FILES.
                   21059: # This happens for instance when ./config.status config.h
                   21060: if test -n "\$CONFIG_FILES"; then
                   21061:   # Protect against being on the right side of a sed subst in config.status.
                   21062:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   21063:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   21064: s,@SHELL@,$SHELL,;t t
                   21065: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   21066: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   21067: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   21068: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   21069: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   21070: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   21071: s,@exec_prefix@,$exec_prefix,;t t
                   21072: s,@prefix@,$prefix,;t t
                   21073: s,@program_transform_name@,$program_transform_name,;t t
                   21074: s,@bindir@,$bindir,;t t
                   21075: s,@sbindir@,$sbindir,;t t
                   21076: s,@libexecdir@,$libexecdir,;t t
                   21077: s,@datadir@,$datadir,;t t
                   21078: s,@sysconfdir@,$sysconfdir,;t t
                   21079: s,@sharedstatedir@,$sharedstatedir,;t t
                   21080: s,@localstatedir@,$localstatedir,;t t
                   21081: s,@libdir@,$libdir,;t t
                   21082: s,@includedir@,$includedir,;t t
                   21083: s,@oldincludedir@,$oldincludedir,;t t
                   21084: s,@infodir@,$infodir,;t t
                   21085: s,@mandir@,$mandir,;t t
                   21086: s,@build_alias@,$build_alias,;t t
                   21087: s,@host_alias@,$host_alias,;t t
                   21088: s,@target_alias@,$target_alias,;t t
                   21089: s,@DEFS@,$DEFS,;t t
                   21090: s,@ECHO_C@,$ECHO_C,;t t
                   21091: s,@ECHO_N@,$ECHO_N,;t t
                   21092: s,@ECHO_T@,$ECHO_T,;t t
                   21093: s,@LIBS@,$LIBS,;t t
                   21094: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   21095: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   21096: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   21097: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   21098: s,@PACKAGE@,$PACKAGE,;t t
                   21099: s,@VERSION@,$VERSION,;t t
                   21100: s,@ACLOCAL@,$ACLOCAL,;t t
                   21101: s,@AUTOCONF@,$AUTOCONF,;t t
                   21102: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   21103: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   21104: s,@MAKEINFO@,$MAKEINFO,;t t
                   21105: s,@install_sh@,$install_sh,;t t
                   21106: s,@STRIP@,$STRIP,;t t
                   21107: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   21108: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.86      paf      21109: s,@mkdir_p@,$mkdir_p,;t t
1.62      paf      21110: s,@AWK@,$AWK,;t t
                   21111: s,@SET_MAKE@,$SET_MAKE,;t t
1.86      paf      21112: s,@am__leading_dot@,$am__leading_dot,;t t
                   21113: s,@AMTAR@,$AMTAR,;t t
                   21114: s,@am__tar@,$am__tar,;t t
                   21115: s,@am__untar@,$am__untar,;t t
1.62      paf      21116: s,@P3S@,$P3S,;t t
                   21117: s,@build@,$build,;t t
                   21118: s,@build_cpu@,$build_cpu,;t t
                   21119: s,@build_vendor@,$build_vendor,;t t
                   21120: s,@build_os@,$build_os,;t t
                   21121: s,@host@,$host,;t t
                   21122: s,@host_cpu@,$host_cpu,;t t
                   21123: s,@host_vendor@,$host_vendor,;t t
                   21124: s,@host_os@,$host_os,;t t
                   21125: s,@YACC@,$YACC,;t t
1.66      paf      21126: s,@CXX@,$CXX,;t t
                   21127: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62      paf      21128: s,@LDFLAGS@,$LDFLAGS,;t t
                   21129: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66      paf      21130: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62      paf      21131: s,@EXEEXT@,$EXEEXT,;t t
                   21132: s,@OBJEXT@,$OBJEXT,;t t
                   21133: s,@DEPDIR@,$DEPDIR,;t t
                   21134: s,@am__include@,$am__include,;t t
                   21135: s,@am__quote@,$am__quote,;t t
                   21136: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   21137: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   21138: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66      paf      21139: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   21140: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   21141: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   21142: s,@CC@,$CC,;t t
                   21143: s,@CFLAGS@,$CFLAGS,;t t
                   21144: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62      paf      21145: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   21146: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   21147: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   21148: s,@dll_extension@,$dll_extension,;t t
1.67      paf      21149: s,@GC_LIBS@,$GC_LIBS,;t t
1.100     misha    21150: s,@PCRE_INCLUDES@,$PCRE_INCLUDES,;t t
                   21151: s,@PCRE_LIBS@,$PCRE_LIBS,;t t
1.62      paf      21152: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
                   21153: s,@XML_LIBS@,$XML_LIBS,;t t
                   21154: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
                   21155: s,@MIME_LIBS@,$MIME_LIBS,;t t
1.122     moko     21156: s,@APACHE@,$APACHE,;t t
                   21157: s,@APACHE_INC@,$APACHE_INC,;t t
                   21158: s,@APACHE_CFLAGS@,$APACHE_CFLAGS,;t t
                   21159: s,@COMPILE_APACHE_MODULE_TRUE@,$COMPILE_APACHE_MODULE_TRUE,;t t
                   21160: s,@COMPILE_APACHE_MODULE_FALSE@,$COMPILE_APACHE_MODULE_FALSE,;t t
1.128     moko     21161: s,@AS@,$AS,;t t
                   21162: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   21163: s,@DLLTOOL@,$DLLTOOL,;t t
                   21164: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   21165: s,@OBJDUMP@,$OBJDUMP,;t t
                   21166: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   21167: s,@LIBTOOL@,$LIBTOOL,;t t
                   21168: s,@SED@,$SED,;t t
                   21169: s,@EGREP@,$EGREP,;t t
                   21170: s,@FGREP@,$FGREP,;t t
                   21171: s,@GREP@,$GREP,;t t
                   21172: s,@LD@,$LD,;t t
                   21173: s,@DUMPBIN@,$DUMPBIN,;t t
                   21174: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   21175: s,@NM@,$NM,;t t
                   21176: s,@LN_S@,$LN_S,;t t
                   21177: s,@AR@,$AR,;t t
                   21178: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   21179: s,@RANLIB@,$RANLIB,;t t
                   21180: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   21181: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   21182: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   21183: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   21184: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   21185: s,@NMEDIT@,$NMEDIT,;t t
                   21186: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   21187: s,@LIPO@,$LIPO,;t t
                   21188: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   21189: s,@OTOOL@,$OTOOL,;t t
                   21190: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   21191: s,@OTOOL64@,$OTOOL64,;t t
                   21192: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   21193: s,@CPP@,$CPP,;t t
                   21194: s,@CXXCPP@,$CXXCPP,;t t
                   21195: s,@LIBLTDL@,$LIBLTDL,;t t
                   21196: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   21197: s,@LTDLINCL@,$LTDLINCL,;t t
1.62      paf      21198: s,@INCLTDL@,$INCLTDL,;t t
1.128     moko     21199: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   21200: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   21201: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   21202: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   21203: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   21204: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   21205: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   21206: s,@ARGZ_H@,$ARGZ_H,;t t
                   21207: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   21208: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   21209: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   21210: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
1.62      paf      21211: s,@subdirs@,$subdirs,;t t
1.128     moko     21212: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   21213: s,@LTDLOPEN@,$LTDLOPEN,;t t
1.62      paf      21214: s,@LIBOBJS@,$LIBOBJS,;t t
                   21215: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.128     moko     21216: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   21217: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
1.1       paf      21218: CEOF
                   21219: 
1.62      paf      21220: _ACEOF
1.1       paf      21221: 
1.62      paf      21222:   cat >>$CONFIG_STATUS <<\_ACEOF
                   21223:   # Split the substitutions into bite-sized pieces for seds with
                   21224:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   21225:   ac_max_sed_lines=48
                   21226:   ac_sed_frag=1 # Number of current file.
                   21227:   ac_beg=1 # First line for current file.
                   21228:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   21229:   ac_more_lines=:
                   21230:   ac_sed_cmds=
                   21231:   while $ac_more_lines; do
                   21232:     if test $ac_beg -gt 1; then
                   21233:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21234:     else
                   21235:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21236:     fi
                   21237:     if test ! -s $tmp/subs.frag; then
                   21238:       ac_more_lines=false
1.1       paf      21239:     else
1.62      paf      21240:       # The purpose of the label and of the branching condition is to
                   21241:       # speed up the sed processing (if there are no `@' at all, there
                   21242:       # is no need to browse any of the substitutions).
                   21243:       # These are the two extra sed commands mentioned above.
                   21244:       (echo ':t
                   21245:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   21246:       if test -z "$ac_sed_cmds"; then
1.86      paf      21247:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21248:       else
1.86      paf      21249:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21250:       fi
                   21251:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   21252:       ac_beg=$ac_end
                   21253:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       paf      21254:     fi
1.62      paf      21255:   done
                   21256:   if test -z "$ac_sed_cmds"; then
                   21257:     ac_sed_cmds=cat
1.1       paf      21258:   fi
1.62      paf      21259: fi # test -n "$CONFIG_FILES"
1.1       paf      21260: 
1.62      paf      21261: _ACEOF
                   21262: cat >>$CONFIG_STATUS <<\_ACEOF
                   21263: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       paf      21264:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21265:   case $ac_file in
                   21266:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21267:        cat >$tmp/stdin
                   21268:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21269:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21270:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21271:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21272:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21273:   esac
                   21274: 
1.62      paf      21275:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   21276:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21277: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21278:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21279:         X"$ac_file" : 'X\(//\)$' \| \
                   21280:         X"$ac_file" : 'X\(/\)' \| \
                   21281:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21282: echo X"$ac_file" |
                   21283:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21284:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21285:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21286:          /^X\(\/\).*/{ s//\1/; q; }
                   21287:          s/.*/./; q'`
                   21288:   { if $as_mkdir_p; then
                   21289:     mkdir -p "$ac_dir"
                   21290:   else
                   21291:     as_dir="$ac_dir"
                   21292:     as_dirs=
                   21293:     while test ! -d "$as_dir"; do
                   21294:       as_dirs="$as_dir $as_dirs"
                   21295:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21296: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21297:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21298:         X"$as_dir" : 'X\(//\)$' \| \
                   21299:         X"$as_dir" : 'X\(/\)' \| \
                   21300:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21301: echo X"$as_dir" |
                   21302:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21303:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21304:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21305:          /^X\(\/\).*/{ s//\1/; q; }
                   21306:          s/.*/./; q'`
                   21307:     done
                   21308:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21309:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21310: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21311:    { (exit 1); exit 1; }; }; }
                   21312: 
                   21313:   ac_builddir=.
                   21314: 
                   21315: if test "$ac_dir" != .; then
                   21316:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21317:   # A "../" for each directory in $ac_dir_suffix.
                   21318:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21319: else
                   21320:   ac_dir_suffix= ac_top_builddir=
                   21321: fi
                   21322: 
                   21323: case $srcdir in
                   21324:   .)  # No --srcdir option.  We are building in place.
                   21325:     ac_srcdir=.
                   21326:     if test -z "$ac_top_builddir"; then
                   21327:        ac_top_srcdir=.
                   21328:     else
                   21329:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21330:     fi ;;
                   21331:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21332:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21333:     ac_top_srcdir=$srcdir ;;
                   21334:   *) # Relative path.
                   21335:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21336:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21337: esac
1.86      paf      21338: 
                   21339: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21340: # the directories may not exist.
                   21341: case `pwd` in
                   21342: .) ac_abs_builddir="$ac_dir";;
                   21343: *)
                   21344:   case "$ac_dir" in
                   21345:   .) ac_abs_builddir=`pwd`;;
                   21346:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21347:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21348:   esac;;
                   21349: esac
                   21350: case $ac_abs_builddir in
                   21351: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21352: *)
                   21353:   case ${ac_top_builddir}. in
                   21354:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21355:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21356:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21357:   esac;;
                   21358: esac
                   21359: case $ac_abs_builddir in
                   21360: .) ac_abs_srcdir=$ac_srcdir;;
                   21361: *)
                   21362:   case $ac_srcdir in
                   21363:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21364:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21365:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21366:   esac;;
                   21367: esac
                   21368: case $ac_abs_builddir in
                   21369: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21370: *)
                   21371:   case $ac_top_srcdir in
                   21372:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21373:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21374:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21375:   esac;;
                   21376: esac
1.62      paf      21377: 
1.1       paf      21378: 
1.62      paf      21379:   case $INSTALL in
                   21380:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   21381:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       paf      21382:   esac
                   21383: 
1.62      paf      21384:   if test x"$ac_file" != x-; then
                   21385:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21386: echo "$as_me: creating $ac_file" >&6;}
                   21387:     rm -f "$ac_file"
                   21388:   fi
                   21389:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21390:   # use $as_me), people would be surprised to read:
                   21391:   #    /* config.h.  Generated by config.status.  */
                   21392:   if test x"$ac_file" = x-; then
                   21393:     configure_input=
                   21394:   else
                   21395:     configure_input="$ac_file.  "
                   21396:   fi
                   21397:   configure_input=$configure_input"Generated from `echo $ac_file_in |
1.86      paf      21398:                                     sed 's,.*/,,'` by configure."
1.62      paf      21399: 
                   21400:   # First look for the input files in the build tree, otherwise in the
                   21401:   # src tree.
                   21402:   ac_file_inputs=`IFS=:
                   21403:     for f in $ac_file_in; do
                   21404:       case $f in
                   21405:       -) echo $tmp/stdin ;;
                   21406:       [\\/$]*)
1.86      paf      21407:         # Absolute (can't be DOS-style, as IFS=:)
                   21408:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21409: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21410:    { (exit 1); exit 1; }; }
1.86      paf      21411:         echo "$f";;
1.62      paf      21412:       *) # Relative
1.86      paf      21413:         if test -f "$f"; then
                   21414:           # Build tree
                   21415:           echo "$f"
                   21416:         elif test -f "$srcdir/$f"; then
                   21417:           # Source tree
                   21418:           echo "$srcdir/$f"
                   21419:         else
                   21420:           # /dev/null tree
                   21421:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21422: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21423:    { (exit 1); exit 1; }; }
1.86      paf      21424:         fi;;
1.62      paf      21425:       esac
                   21426:     done` || { (exit 1); exit 1; }
                   21427: _ACEOF
                   21428: cat >>$CONFIG_STATUS <<_ACEOF
                   21429:   sed "$ac_vpsub
                   21430: $extrasub
                   21431: _ACEOF
                   21432: cat >>$CONFIG_STATUS <<\_ACEOF
                   21433: :t
                   21434: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   21435: s,@configure_input@,$configure_input,;t t
                   21436: s,@srcdir@,$ac_srcdir,;t t
                   21437: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   21438: s,@top_srcdir@,$ac_top_srcdir,;t t
                   21439: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   21440: s,@builddir@,$ac_builddir,;t t
                   21441: s,@abs_builddir@,$ac_abs_builddir,;t t
                   21442: s,@top_builddir@,$ac_top_builddir,;t t
                   21443: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   21444: s,@INSTALL@,$ac_INSTALL,;t t
                   21445: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   21446:   rm -f $tmp/stdin
                   21447:   if test x"$ac_file" != x-; then
                   21448:     mv $tmp/out $ac_file
                   21449:   else
                   21450:     cat $tmp/out
                   21451:     rm -f $tmp/out
                   21452:   fi
1.1       paf      21453: 
1.62      paf      21454: done
                   21455: _ACEOF
                   21456: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      21457: 
1.62      paf      21458: #
                   21459: # CONFIG_HEADER section.
                   21460: #
1.1       paf      21461: 
                   21462: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   21463: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   21464: #
                   21465: # ac_d sets the value in "#define NAME VALUE" lines.
1.86      paf      21466: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   21467: ac_dB='[        ].*$,\1#\2'
1.62      paf      21468: ac_dC=' '
                   21469: ac_dD=',;t'
                   21470: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.86      paf      21471: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1.62      paf      21472: ac_uB='$,\1#\2define\3'
1.1       paf      21473: ac_uC=' '
1.62      paf      21474: ac_uD=',;t'
                   21475: 
                   21476: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      21477:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21478:   case $ac_file in
                   21479:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21480:        cat >$tmp/stdin
                   21481:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21482:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21483:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21484:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21485:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21486:   esac
                   21487: 
1.62      paf      21488:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21489: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      21490: 
1.62      paf      21491:   # First look for the input files in the build tree, otherwise in the
                   21492:   # src tree.
                   21493:   ac_file_inputs=`IFS=:
                   21494:     for f in $ac_file_in; do
                   21495:       case $f in
                   21496:       -) echo $tmp/stdin ;;
                   21497:       [\\/$]*)
1.86      paf      21498:         # Absolute (can't be DOS-style, as IFS=:)
                   21499:         test -f "$f" || { { 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:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   21503:         echo "$f";;
1.62      paf      21504:       *) # Relative
1.86      paf      21505:         if test -f "$f"; then
                   21506:           # Build tree
                   21507:           echo "$f"
                   21508:         elif test -f "$srcdir/$f"; then
                   21509:           # Source tree
                   21510:           echo "$srcdir/$f"
                   21511:         else
                   21512:           # /dev/null tree
                   21513:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21514: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21515:    { (exit 1); exit 1; }; }
1.86      paf      21516:         fi;;
1.62      paf      21517:       esac
                   21518:     done` || { (exit 1); exit 1; }
                   21519:   # Remove the trailing spaces.
1.86      paf      21520:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
1.62      paf      21521: 
                   21522: _ACEOF
                   21523: 
                   21524: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   21525: # `conftest.undefs', that substitutes the proper values into
                   21526: # config.h.in to produce config.h.  The first handles `#define'
                   21527: # templates, and the second `#undef' templates.
                   21528: # And first: Protect against being on the right side of a sed subst in
                   21529: # config.status.  Protect against being in an unquoted here document
                   21530: # in config.status.
                   21531: rm -f conftest.defines conftest.undefs
                   21532: # Using a here document instead of a string reduces the quoting nightmare.
                   21533: # Putting comments in sed scripts is not portable.
                   21534: #
                   21535: # `end' is used to avoid that the second main sed command (meant for
                   21536: # 0-ary CPP macros) applies to n-ary macro definitions.
                   21537: # See the Autoconf documentation for `clear'.
                   21538: cat >confdef2sed.sed <<\_ACEOF
                   21539: s/[\\&,]/\\&/g
                   21540: s,[\\$`],\\&,g
                   21541: t clear
                   21542: : clear
1.86      paf      21543: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.62      paf      21544: t end
1.86      paf      21545: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.62      paf      21546: : end
                   21547: _ACEOF
                   21548: # If some macros were called several times there might be several times
                   21549: # the same #defines, which is useless.  Nevertheless, we may not want to
                   21550: # sort them, since we want the *last* AC-DEFINE to be honored.
                   21551: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   21552: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   21553: rm -f confdef2sed.sed
1.1       paf      21554: 
                   21555: # This sed command replaces #undef with comments.  This is necessary, for
                   21556: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   21557: # on some systems where configure will not decide to define it.
1.62      paf      21558: cat >>conftest.undefs <<\_ACEOF
1.86      paf      21559: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.62      paf      21560: _ACEOF
                   21561: 
                   21562: # Break up conftest.defines because some shells have a limit on the size
                   21563: # of here documents, and old seds have small limits too (100 cmds).
                   21564: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.86      paf      21565: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.62      paf      21566: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   21567: echo '  :' >>$CONFIG_STATUS
                   21568: rm -f conftest.tail
                   21569: while grep . conftest.defines >/dev/null
                   21570: do
                   21571:   # Write a limited-size here document to $tmp/defines.sed.
                   21572:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   21573:   # Speed up: don't consider the non `#define' lines.
1.86      paf      21574:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
1.62      paf      21575:   # Work around the forget-to-reset-the-flag bug.
                   21576:   echo 't clr' >>$CONFIG_STATUS
                   21577:   echo ': clr' >>$CONFIG_STATUS
                   21578:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   21579:   echo 'CEOF
                   21580:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   21581:   rm -f $tmp/in
                   21582:   mv $tmp/out $tmp/in
                   21583: ' >>$CONFIG_STATUS
                   21584:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   21585:   rm -f conftest.defines
                   21586:   mv conftest.tail conftest.defines
                   21587: done
                   21588: rm -f conftest.defines
                   21589: echo '  fi # grep' >>$CONFIG_STATUS
                   21590: echo >>$CONFIG_STATUS
                   21591: 
                   21592: # Break up conftest.undefs because some shells have a limit on the size
                   21593: # of here documents, and old seds have small limits too (100 cmds).
                   21594: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      21595: rm -f conftest.tail
1.62      paf      21596: while grep . conftest.undefs >/dev/null
1.1       paf      21597: do
1.62      paf      21598:   # Write a limited-size here document to $tmp/undefs.sed.
                   21599:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   21600:   # Speed up: don't consider the non `#undef'
1.86      paf      21601:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
1.62      paf      21602:   # Work around the forget-to-reset-the-flag bug.
                   21603:   echo 't clr' >>$CONFIG_STATUS
                   21604:   echo ': clr' >>$CONFIG_STATUS
                   21605:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      21606:   echo 'CEOF
1.62      paf      21607:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   21608:   rm -f $tmp/in
                   21609:   mv $tmp/out $tmp/in
                   21610: ' >>$CONFIG_STATUS
                   21611:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   21612:   rm -f conftest.undefs
                   21613:   mv conftest.tail conftest.undefs
                   21614: done
                   21615: rm -f conftest.undefs
                   21616: 
                   21617: cat >>$CONFIG_STATUS <<\_ACEOF
                   21618:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21619:   # use $as_me), people would be surprised to read:
                   21620:   #    /* config.h.  Generated by config.status.  */
                   21621:   if test x"$ac_file" = x-; then
                   21622:     echo "/* Generated by configure.  */" >$tmp/config.h
                   21623:   else
                   21624:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   21625:   fi
                   21626:   cat $tmp/in >>$tmp/config.h
                   21627:   rm -f $tmp/in
                   21628:   if test x"$ac_file" != x-; then
                   21629:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   21630:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   21631: echo "$as_me: $ac_file is unchanged" >&6;}
                   21632:     else
                   21633:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21634: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21635:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21636:         X"$ac_file" : 'X\(//\)$' \| \
                   21637:         X"$ac_file" : 'X\(/\)' \| \
                   21638:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21639: echo X"$ac_file" |
                   21640:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21641:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21642:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21643:          /^X\(\/\).*/{ s//\1/; q; }
                   21644:          s/.*/./; q'`
                   21645:       { if $as_mkdir_p; then
                   21646:     mkdir -p "$ac_dir"
                   21647:   else
                   21648:     as_dir="$ac_dir"
                   21649:     as_dirs=
                   21650:     while test ! -d "$as_dir"; do
                   21651:       as_dirs="$as_dir $as_dirs"
                   21652:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21653: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21654:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21655:         X"$as_dir" : 'X\(//\)$' \| \
                   21656:         X"$as_dir" : 'X\(/\)' \| \
                   21657:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21658: echo X"$as_dir" |
                   21659:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21660:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21661:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21662:          /^X\(\/\).*/{ s//\1/; q; }
                   21663:          s/.*/./; q'`
                   21664:     done
                   21665:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21666:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21667: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21668:    { (exit 1); exit 1; }; }; }
                   21669: 
                   21670:       rm -f $ac_file
                   21671:       mv $tmp/config.h $ac_file
                   21672:     fi
                   21673:   else
                   21674:     cat $tmp/config.h
                   21675:     rm -f $tmp/config.h
                   21676:   fi
1.86      paf      21677: # Compute $ac_file's index in $config_headers.
                   21678: _am_stamp_count=1
                   21679: for _am_header in $config_headers :; do
                   21680:   case $_am_header in
                   21681:     $ac_file | $ac_file:* )
                   21682:       break ;;
                   21683:     * )
                   21684:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   21685:   esac
                   21686: done
1.62      paf      21687: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   21688: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21689:         X$ac_file : 'X\(//\)[^/]' \| \
                   21690:         X$ac_file : 'X\(//\)$' \| \
                   21691:         X$ac_file : 'X\(/\)' \| \
                   21692:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21693: echo X$ac_file |
                   21694:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21695:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21696:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21697:          /^X\(\/\).*/{ s//\1/; q; }
                   21698:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   21699: done
                   21700: _ACEOF
                   21701: cat >>$CONFIG_STATUS <<\_ACEOF
                   21702: 
                   21703: #
                   21704: # CONFIG_COMMANDS section.
                   21705: #
                   21706: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   21707:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   21708:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21709:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   21710: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21711:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   21712:         X"$ac_dest" : 'X\(//\)$' \| \
                   21713:         X"$ac_dest" : 'X\(/\)' \| \
                   21714:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21715: echo X"$ac_dest" |
                   21716:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21717:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21718:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21719:          /^X\(\/\).*/{ s//\1/; q; }
                   21720:          s/.*/./; q'`
1.86      paf      21721:   { if $as_mkdir_p; then
                   21722:     mkdir -p "$ac_dir"
                   21723:   else
                   21724:     as_dir="$ac_dir"
                   21725:     as_dirs=
                   21726:     while test ! -d "$as_dir"; do
                   21727:       as_dirs="$as_dir $as_dirs"
                   21728:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21729: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21730:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21731:         X"$as_dir" : 'X\(//\)$' \| \
                   21732:         X"$as_dir" : 'X\(/\)' \| \
                   21733:         .     : '\(.\)' 2>/dev/null ||
                   21734: echo X"$as_dir" |
                   21735:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21736:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21737:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21738:          /^X\(\/\).*/{ s//\1/; q; }
                   21739:          s/.*/./; q'`
                   21740:     done
                   21741:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21742:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21743: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21744:    { (exit 1); exit 1; }; }; }
                   21745: 
1.62      paf      21746:   ac_builddir=.
                   21747: 
                   21748: if test "$ac_dir" != .; then
                   21749:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21750:   # A "../" for each directory in $ac_dir_suffix.
                   21751:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21752: else
                   21753:   ac_dir_suffix= ac_top_builddir=
                   21754: fi
                   21755: 
                   21756: case $srcdir in
                   21757:   .)  # No --srcdir option.  We are building in place.
                   21758:     ac_srcdir=.
                   21759:     if test -z "$ac_top_builddir"; then
                   21760:        ac_top_srcdir=.
                   21761:     else
                   21762:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21763:     fi ;;
                   21764:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21765:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21766:     ac_top_srcdir=$srcdir ;;
                   21767:   *) # Relative path.
                   21768:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21769:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21770: esac
1.86      paf      21771: 
                   21772: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21773: # the directories may not exist.
                   21774: case `pwd` in
                   21775: .) ac_abs_builddir="$ac_dir";;
                   21776: *)
                   21777:   case "$ac_dir" in
                   21778:   .) ac_abs_builddir=`pwd`;;
                   21779:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21780:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21781:   esac;;
                   21782: esac
                   21783: case $ac_abs_builddir in
                   21784: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21785: *)
                   21786:   case ${ac_top_builddir}. in
                   21787:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21788:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21789:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21790:   esac;;
                   21791: esac
                   21792: case $ac_abs_builddir in
                   21793: .) ac_abs_srcdir=$ac_srcdir;;
                   21794: *)
                   21795:   case $ac_srcdir in
                   21796:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21797:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21798:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21799:   esac;;
                   21800: esac
                   21801: case $ac_abs_builddir in
                   21802: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21803: *)
                   21804:   case $ac_top_srcdir in
                   21805:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21806:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21807:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21808:   esac;;
                   21809: esac
1.62      paf      21810: 
                   21811: 
                   21812:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   21813: echo "$as_me: executing $ac_dest commands" >&6;}
                   21814:   case $ac_dest in
                   21815:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   21816:   # Strip MF so we end up with the name of the file.
                   21817:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   21818:   # Check whether this is an Automake generated Makefile or not.
                   21819:   # We used to match only the files named `Makefile.in', but
                   21820:   # some people rename them; so instead we look at the file content.
                   21821:   # Grep'ing the first line is not enough: some people post-process
                   21822:   # each Makefile.in and add a new line on top of each file to say so.
                   21823:   # So let's grep whole file.
                   21824:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   21825:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   21826: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21827:         X"$mf" : 'X\(//\)[^/]' \| \
                   21828:         X"$mf" : 'X\(//\)$' \| \
                   21829:         X"$mf" : 'X\(/\)' \| \
                   21830:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21831: echo X"$mf" |
                   21832:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21833:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21834:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21835:          /^X\(\/\).*/{ s//\1/; q; }
                   21836:          s/.*/./; q'`
                   21837:   else
                   21838:     continue
                   21839:   fi
1.86      paf      21840:   # Extract the definition of DEPDIR, am__include, and am__quote
                   21841:   # from the Makefile without running `make'.
                   21842:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.62      paf      21843:   test -z "$DEPDIR" && continue
1.86      paf      21844:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   21845:   test -z "am__include" && continue
                   21846:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.62      paf      21847:   # When using ansi2knr, U may be empty or an underscore; expand it
1.86      paf      21848:   U=`sed -n 's/^U = //p' < "$mf"`
                   21849:   # Find all dependency output files, they are included files with
                   21850:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   21851:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   21852:   # expansion.
                   21853:   for file in `sed -n "
                   21854:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.62      paf      21855:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   21856:     # Make sure the directory exists.
                   21857:     test -f "$dirpart/$file" && continue
                   21858:     fdir=`(dirname "$file") 2>/dev/null ||
                   21859: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21860:         X"$file" : 'X\(//\)[^/]' \| \
                   21861:         X"$file" : 'X\(//\)$' \| \
                   21862:         X"$file" : 'X\(/\)' \| \
                   21863:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21864: echo X"$file" |
                   21865:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21866:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21867:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21868:          /^X\(\/\).*/{ s//\1/; q; }
                   21869:          s/.*/./; q'`
                   21870:     { if $as_mkdir_p; then
                   21871:     mkdir -p $dirpart/$fdir
                   21872:   else
                   21873:     as_dir=$dirpart/$fdir
                   21874:     as_dirs=
                   21875:     while test ! -d "$as_dir"; do
                   21876:       as_dirs="$as_dir $as_dirs"
                   21877:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21878: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21879:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21880:         X"$as_dir" : 'X\(//\)$' \| \
                   21881:         X"$as_dir" : 'X\(/\)' \| \
                   21882:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21883: echo X"$as_dir" |
                   21884:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21885:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21886:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21887:          /^X\(\/\).*/{ s//\1/; q; }
                   21888:          s/.*/./; q'`
                   21889:     done
                   21890:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21891:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   21892: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   21893:    { (exit 1); exit 1; }; }; }
1.1       paf      21894: 
1.62      paf      21895:     # echo "creating $dirpart/$file"
                   21896:     echo '# dummy' > "$dirpart/$file"
                   21897:   done
                   21898: done
                   21899:  ;;
1.128     moko     21900:     libtool )
                   21901: 
                   21902:     # See if we are running on zsh, and set the options which allow our
                   21903:     # commands through without removal of \ escapes.
                   21904:     if test -n "${ZSH_VERSION+set}" ; then
                   21905:       setopt NO_GLOB_SUBST
                   21906:     fi
                   21907: 
                   21908:     cfgfile="${ofile}T"
                   21909:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   21910:     $RM "$cfgfile"
                   21911: 
                   21912:     cat <<_LT_EOF >> "$cfgfile"
                   21913: #! $SHELL
                   21914: 
                   21915: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   21916: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   21917: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   21918: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   21919: #
                   21920: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   21921: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   21922: #                 Foundation, Inc.
                   21923: #   Written by Gordon Matzigkeit, 1996
                   21924: #
                   21925: #   This file is part of GNU Libtool.
                   21926: #
                   21927: # GNU Libtool is free software; you can redistribute it and/or
                   21928: # modify it under the terms of the GNU General Public License as
                   21929: # published by the Free Software Foundation; either version 2 of
                   21930: # the License, or (at your option) any later version.
                   21931: #
                   21932: # As a special exception to the GNU General Public License,
                   21933: # if you distribute this file as part of a program or library that
                   21934: # is built using GNU Libtool, you may include this file under the
                   21935: # same distribution terms that you use for the rest of that program.
                   21936: #
                   21937: # GNU Libtool is distributed in the hope that it will be useful,
                   21938: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   21939: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   21940: # GNU General Public License for more details.
                   21941: #
                   21942: # You should have received a copy of the GNU General Public License
                   21943: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   21944: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   21945: # obtained by writing to the Free Software Foundation, Inc.,
                   21946: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   21947: 
                   21948: 
                   21949: # The names of the tagged configurations supported by this script.
                   21950: available_tags="CXX "
                   21951: 
                   21952: # ### BEGIN LIBTOOL CONFIG
                   21953: 
                   21954: # Which release of libtool.m4 was used?
                   21955: macro_version=$macro_version
                   21956: macro_revision=$macro_revision
                   21957: 
                   21958: # Assembler program.
                   21959: AS=$lt_AS
                   21960: 
                   21961: # DLL creation program.
                   21962: DLLTOOL=$lt_DLLTOOL
                   21963: 
                   21964: # Object dumper program.
                   21965: OBJDUMP=$lt_OBJDUMP
                   21966: 
1.145     moko     21967: # What type of objects to build.
                   21968: pic_mode=$pic_mode
                   21969: 
1.128     moko     21970: # Whether or not to build shared libraries.
                   21971: build_libtool_libs=$enable_shared
                   21972: 
1.138     moko     21973: # Whether or not to build static libraries.
                   21974: build_old_libs=$enable_static
                   21975: 
1.128     moko     21976: # Whether or not to optimize for fast installation.
                   21977: fast_install=$enable_fast_install
                   21978: 
                   21979: # Shell to use when invoking shell scripts.
                   21980: SHELL=$lt_SHELL
                   21981: 
                   21982: # An echo program that protects backslashes.
                   21983: ECHO=$lt_ECHO
                   21984: 
                   21985: # The PATH separator for the build system.
                   21986: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   21987: 
                   21988: # The host system.
                   21989: host_alias=$host_alias
                   21990: host=$host
                   21991: host_os=$host_os
                   21992: 
                   21993: # The build system.
                   21994: build_alias=$build_alias
                   21995: build=$build
                   21996: build_os=$build_os
                   21997: 
                   21998: # A sed program that does not truncate output.
                   21999: SED=$lt_SED
                   22000: 
                   22001: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   22002: Xsed="\$SED -e 1s/^X//"
                   22003: 
                   22004: # A grep program that handles long lines.
                   22005: GREP=$lt_GREP
                   22006: 
                   22007: # An ERE matcher.
                   22008: EGREP=$lt_EGREP
                   22009: 
                   22010: # A literal string matcher.
                   22011: FGREP=$lt_FGREP
                   22012: 
                   22013: # A BSD- or MS-compatible name lister.
                   22014: NM=$lt_NM
                   22015: 
                   22016: # Whether we need soft or hard links.
                   22017: LN_S=$lt_LN_S
                   22018: 
                   22019: # What is the maximum length of a command?
                   22020: max_cmd_len=$max_cmd_len
                   22021: 
                   22022: # Object file suffix (normally "o").
                   22023: objext=$ac_objext
                   22024: 
                   22025: # Executable file suffix (normally "").
                   22026: exeext=$exeext
                   22027: 
                   22028: # whether the shell understands "unset".
                   22029: lt_unset=$lt_unset
                   22030: 
                   22031: # turn spaces into newlines.
                   22032: SP2NL=$lt_lt_SP2NL
                   22033: 
                   22034: # turn newlines into spaces.
                   22035: NL2SP=$lt_lt_NL2SP
                   22036: 
                   22037: # convert \$build file names to \$host format.
                   22038: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   22039: 
                   22040: # convert \$build files to toolchain format.
                   22041: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   22042: 
                   22043: # Method to check whether dependent libraries are shared objects.
                   22044: deplibs_check_method=$lt_deplibs_check_method
                   22045: 
                   22046: # Command to use when deplibs_check_method = "file_magic".
                   22047: file_magic_cmd=$lt_file_magic_cmd
                   22048: 
                   22049: # How to find potential files when deplibs_check_method = "file_magic".
                   22050: file_magic_glob=$lt_file_magic_glob
                   22051: 
                   22052: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   22053: want_nocaseglob=$lt_want_nocaseglob
                   22054: 
                   22055: # Command to associate shared and link libraries.
                   22056: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   22057: 
                   22058: # The archiver.
                   22059: AR=$lt_AR
                   22060: 
                   22061: # Flags to create an archive.
                   22062: AR_FLAGS=$lt_AR_FLAGS
                   22063: 
                   22064: # How to feed a file listing to the archiver.
                   22065: archiver_list_spec=$lt_archiver_list_spec
                   22066: 
                   22067: # A symbol stripping program.
                   22068: STRIP=$lt_STRIP
                   22069: 
                   22070: # Commands used to install an old-style archive.
                   22071: RANLIB=$lt_RANLIB
                   22072: old_postinstall_cmds=$lt_old_postinstall_cmds
                   22073: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   22074: 
                   22075: # Whether to use a lock for old archive extraction.
                   22076: lock_old_archive_extraction=$lock_old_archive_extraction
                   22077: 
                   22078: # A C compiler.
                   22079: LTCC=$lt_CC
                   22080: 
                   22081: # LTCC compiler flags.
                   22082: LTCFLAGS=$lt_CFLAGS
                   22083: 
                   22084: # Take the output of nm and produce a listing of raw symbols and C names.
                   22085: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   22086: 
                   22087: # Transform the output of nm in a proper C declaration.
                   22088: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   22089: 
                   22090: # Transform the output of nm in a C name address pair.
                   22091: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   22092: 
                   22093: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   22094: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   22095: 
                   22096: # Specify filename containing input files for \$NM.
                   22097: nm_file_list_spec=$lt_nm_file_list_spec
                   22098: 
                   22099: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   22100: lt_sysroot=$lt_sysroot
                   22101: 
                   22102: # The name of the directory that contains temporary libtool files.
                   22103: objdir=$objdir
                   22104: 
                   22105: # Used to examine libraries when file_magic_cmd begins with "file".
                   22106: MAGIC_CMD=$MAGIC_CMD
                   22107: 
                   22108: # Must we lock files when doing compilation?
                   22109: need_locks=$lt_need_locks
                   22110: 
                   22111: # Manifest tool.
                   22112: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   22113: 
                   22114: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   22115: DSYMUTIL=$lt_DSYMUTIL
                   22116: 
                   22117: # Tool to change global to local symbols on Mac OS X.
                   22118: NMEDIT=$lt_NMEDIT
                   22119: 
                   22120: # Tool to manipulate fat objects and archives on Mac OS X.
                   22121: LIPO=$lt_LIPO
                   22122: 
                   22123: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   22124: OTOOL=$lt_OTOOL
                   22125: 
                   22126: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   22127: OTOOL64=$lt_OTOOL64
                   22128: 
                   22129: # Old archive suffix (normally "a").
                   22130: libext=$libext
                   22131: 
                   22132: # Shared library suffix (normally ".so").
                   22133: shrext_cmds=$lt_shrext_cmds
                   22134: 
                   22135: # The commands to extract the exported symbol list from a shared archive.
                   22136: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   22137: 
                   22138: # Variables whose values should be saved in libtool wrapper scripts and
                   22139: # restored at link time.
                   22140: variables_saved_for_relink=$lt_variables_saved_for_relink
                   22141: 
                   22142: # Do we need the "lib" prefix for modules?
                   22143: need_lib_prefix=$need_lib_prefix
                   22144: 
                   22145: # Do we need a version for libraries?
                   22146: need_version=$need_version
                   22147: 
                   22148: # Library versioning type.
                   22149: version_type=$version_type
                   22150: 
                   22151: # Shared library runtime path variable.
                   22152: runpath_var=$runpath_var
                   22153: 
                   22154: # Shared library path variable.
                   22155: shlibpath_var=$shlibpath_var
                   22156: 
                   22157: # Is shlibpath searched before the hard-coded library search path?
                   22158: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   22159: 
                   22160: # Format of library name prefix.
                   22161: libname_spec=$lt_libname_spec
                   22162: 
                   22163: # List of archive names.  First name is the real one, the rest are links.
                   22164: # The last name is the one that the linker finds with -lNAME
                   22165: library_names_spec=$lt_library_names_spec
                   22166: 
                   22167: # The coded name of the library, if different from the real name.
                   22168: soname_spec=$lt_soname_spec
                   22169: 
                   22170: # Permission mode override for installation of shared libraries.
                   22171: install_override_mode=$lt_install_override_mode
                   22172: 
                   22173: # Command to use after installation of a shared archive.
                   22174: postinstall_cmds=$lt_postinstall_cmds
                   22175: 
                   22176: # Command to use after uninstallation of a shared archive.
                   22177: postuninstall_cmds=$lt_postuninstall_cmds
                   22178: 
                   22179: # Commands used to finish a libtool library installation in a directory.
                   22180: finish_cmds=$lt_finish_cmds
                   22181: 
                   22182: # As "finish_cmds", except a single script fragment to be evaled but
                   22183: # not shown.
                   22184: finish_eval=$lt_finish_eval
                   22185: 
                   22186: # Whether we should hardcode library paths into libraries.
                   22187: hardcode_into_libs=$hardcode_into_libs
                   22188: 
                   22189: # Compile-time system search path for libraries.
                   22190: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   22191: 
                   22192: # Run-time system search path for libraries.
                   22193: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   22194: 
                   22195: # Whether dlopen is supported.
                   22196: dlopen_support=$enable_dlopen
                   22197: 
                   22198: # Whether dlopen of programs is supported.
                   22199: dlopen_self=$enable_dlopen_self
                   22200: 
                   22201: # Whether dlopen of statically linked programs is supported.
                   22202: dlopen_self_static=$enable_dlopen_self_static
                   22203: 
                   22204: # Commands to strip libraries.
                   22205: old_striplib=$lt_old_striplib
                   22206: striplib=$lt_striplib
                   22207: 
                   22208: 
                   22209: # The linker used to build libraries.
                   22210: LD=$lt_LD
                   22211: 
                   22212: # How to create reloadable object files.
                   22213: reload_flag=$lt_reload_flag
                   22214: reload_cmds=$lt_reload_cmds
                   22215: 
                   22216: # Commands used to build an old-style archive.
                   22217: old_archive_cmds=$lt_old_archive_cmds
                   22218: 
                   22219: # A language specific compiler.
                   22220: CC=$lt_compiler
                   22221: 
                   22222: # Is the compiler the GNU compiler?
                   22223: with_gcc=$GCC
                   22224: 
                   22225: # Compiler flag to turn off builtin functions.
                   22226: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   22227: 
                   22228: # Additional compiler flags for building library objects.
                   22229: pic_flag=$lt_lt_prog_compiler_pic
                   22230: 
                   22231: # How to pass a linker flag through the compiler.
                   22232: wl=$lt_lt_prog_compiler_wl
                   22233: 
                   22234: # Compiler flag to prevent dynamic linking.
                   22235: link_static_flag=$lt_lt_prog_compiler_static
                   22236: 
                   22237: # Does compiler simultaneously support -c and -o options?
                   22238: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   22239: 
                   22240: # Whether or not to add -lc for building shared libraries.
                   22241: build_libtool_need_lc=$archive_cmds_need_lc
                   22242: 
                   22243: # Whether or not to disallow shared libs when runtime libs are static.
                   22244: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   22245: 
                   22246: # Compiler flag to allow reflexive dlopens.
                   22247: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   22248: 
                   22249: # Compiler flag to generate shared objects directly from archives.
                   22250: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   22251: 
                   22252: # Whether the compiler copes with passing no objects directly.
                   22253: compiler_needs_object=$lt_compiler_needs_object
                   22254: 
                   22255: # Create an old-style archive from a shared archive.
                   22256: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   22257: 
                   22258: # Create a temporary old-style archive to link instead of a shared archive.
                   22259: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   22260: 
                   22261: # Commands used to build a shared archive.
                   22262: archive_cmds=$lt_archive_cmds
                   22263: archive_expsym_cmds=$lt_archive_expsym_cmds
                   22264: 
                   22265: # Commands used to build a loadable module if different from building
                   22266: # a shared archive.
                   22267: module_cmds=$lt_module_cmds
                   22268: module_expsym_cmds=$lt_module_expsym_cmds
                   22269: 
                   22270: # Whether we are building with GNU ld or not.
                   22271: with_gnu_ld=$lt_with_gnu_ld
                   22272: 
                   22273: # Flag that allows shared libraries with undefined symbols to be built.
                   22274: allow_undefined_flag=$lt_allow_undefined_flag
                   22275: 
                   22276: # Flag that enforces no undefined symbols.
                   22277: no_undefined_flag=$lt_no_undefined_flag
                   22278: 
                   22279: # Flag to hardcode \$libdir into a binary during linking.
                   22280: # This must work even if \$libdir does not exist
                   22281: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   22282: 
                   22283: # Whether we need a single "-rpath" flag with a separated argument.
                   22284: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   22285: 
                   22286: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22287: # DIR into the resulting binary.
                   22288: hardcode_direct=$hardcode_direct
                   22289: 
                   22290: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22291: # DIR into the resulting binary and the resulting library dependency is
                   22292: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22293: # library is relocated.
                   22294: hardcode_direct_absolute=$hardcode_direct_absolute
                   22295: 
                   22296: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22297: # into the resulting binary.
                   22298: hardcode_minus_L=$hardcode_minus_L
                   22299: 
                   22300: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22301: # into the resulting binary.
                   22302: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   22303: 
                   22304: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22305: # into the library and all subsequent libraries and executables linked
                   22306: # against it.
                   22307: hardcode_automatic=$hardcode_automatic
                   22308: 
                   22309: # Set to yes if linker adds runtime paths of dependent libraries
                   22310: # to runtime path list.
                   22311: inherit_rpath=$inherit_rpath
                   22312: 
                   22313: # Whether libtool must link a program against all its dependency libraries.
                   22314: link_all_deplibs=$link_all_deplibs
                   22315: 
                   22316: # Set to "yes" if exported symbols are required.
                   22317: always_export_symbols=$always_export_symbols
                   22318: 
                   22319: # The commands to list exported symbols.
                   22320: export_symbols_cmds=$lt_export_symbols_cmds
                   22321: 
                   22322: # Symbols that should not be listed in the preloaded symbols.
                   22323: exclude_expsyms=$lt_exclude_expsyms
                   22324: 
                   22325: # Symbols that must always be exported.
                   22326: include_expsyms=$lt_include_expsyms
                   22327: 
                   22328: # Commands necessary for linking programs (against libraries) with templates.
                   22329: prelink_cmds=$lt_prelink_cmds
                   22330: 
                   22331: # Commands necessary for finishing linking programs.
                   22332: postlink_cmds=$lt_postlink_cmds
                   22333: 
                   22334: # Specify filename containing input files.
                   22335: file_list_spec=$lt_file_list_spec
                   22336: 
                   22337: # How to hardcode a shared library path into an executable.
                   22338: hardcode_action=$hardcode_action
                   22339: 
                   22340: # The directories searched by this compiler when creating a shared library.
                   22341: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   22342: 
                   22343: # Dependencies to place before and after the objects being linked to
                   22344: # create a shared library.
                   22345: predep_objects=$lt_predep_objects
                   22346: postdep_objects=$lt_postdep_objects
                   22347: predeps=$lt_predeps
                   22348: postdeps=$lt_postdeps
                   22349: 
                   22350: # The library search path used internally by the compiler when linking
                   22351: # a shared library.
                   22352: compiler_lib_search_path=$lt_compiler_lib_search_path
                   22353: 
                   22354: # ### END LIBTOOL CONFIG
                   22355: 
                   22356: _LT_EOF
                   22357: 
                   22358:   case $host_os in
                   22359:   aix3*)
                   22360:     cat <<\_LT_EOF >> "$cfgfile"
                   22361: # AIX sometimes has problems with the GCC collect2 program.  For some
                   22362: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   22363: # vanish in a puff of smoke.
                   22364: if test "X${COLLECT_NAMES+set}" != Xset; then
                   22365:   COLLECT_NAMES=
                   22366:   export COLLECT_NAMES
                   22367: fi
                   22368: _LT_EOF
                   22369:     ;;
                   22370:   esac
                   22371: 
                   22372: 
                   22373: ltmain="$ac_aux_dir/ltmain.sh"
                   22374: 
                   22375: 
                   22376:   # We use sed instead of cat because bash on DJGPP gets confused if
                   22377:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   22378:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   22379:   # is reportedly fixed, but why not run on old versions too?
                   22380:   sed '$q' "$ltmain" >> "$cfgfile" \
                   22381:      || (rm -f "$cfgfile"; exit 1)
                   22382: 
                   22383:   if test x"$xsi_shell" = xyes; then
                   22384:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   22385: func_dirname ()\
                   22386: {\
                   22387: \    case ${1} in\
                   22388: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22389: \      *  ) func_dirname_result="${3}" ;;\
                   22390: \    esac\
                   22391: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   22392:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22393:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22394: test 0 -eq $? || _lt_function_replace_fail=:
                   22395: 
                   22396: 
                   22397:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   22398: func_basename ()\
                   22399: {\
                   22400: \    func_basename_result="${1##*/}"\
                   22401: } # Extended-shell func_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_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   22408: func_dirname_and_basename ()\
                   22409: {\
                   22410: \    case ${1} in\
                   22411: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22412: \      *  ) func_dirname_result="${3}" ;;\
                   22413: \    esac\
                   22414: \    func_basename_result="${1##*/}"\
                   22415: } # Extended-shell func_dirname_and_basename 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_stripname ()$/,/^} # func_stripname /c\
                   22422: func_stripname ()\
                   22423: {\
                   22424: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   22425: \    # positional parameters, so assign one to ordinary parameter first.\
                   22426: \    func_stripname_result=${3}\
                   22427: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   22428: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   22429: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   22430:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22431:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22432: test 0 -eq $? || _lt_function_replace_fail=:
                   22433: 
                   22434: 
                   22435:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   22436: func_split_long_opt ()\
                   22437: {\
                   22438: \    func_split_long_opt_name=${1%%=*}\
                   22439: \    func_split_long_opt_arg=${1#*=}\
                   22440: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22441:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22442:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22443: test 0 -eq $? || _lt_function_replace_fail=:
                   22444: 
                   22445: 
                   22446:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   22447: func_split_short_opt ()\
                   22448: {\
                   22449: \    func_split_short_opt_arg=${1#??}\
                   22450: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   22451: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22452:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22453:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22454: test 0 -eq $? || _lt_function_replace_fail=:
                   22455: 
                   22456: 
                   22457:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   22458: func_lo2o ()\
                   22459: {\
                   22460: \    case ${1} in\
                   22461: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   22462: \      *)    func_lo2o_result=${1} ;;\
                   22463: \    esac\
                   22464: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   22465:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22466:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22467: test 0 -eq $? || _lt_function_replace_fail=:
                   22468: 
                   22469: 
                   22470:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   22471: func_xform ()\
                   22472: {\
                   22473:     func_xform_result=${1%.*}.lo\
                   22474: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   22475:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22476:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22477: test 0 -eq $? || _lt_function_replace_fail=:
                   22478: 
                   22479: 
                   22480:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   22481: func_arith ()\
                   22482: {\
                   22483:     func_arith_result=$(( $* ))\
                   22484: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   22485:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22486:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22487: test 0 -eq $? || _lt_function_replace_fail=:
                   22488: 
                   22489: 
                   22490:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   22491: func_len ()\
                   22492: {\
                   22493:     func_len_result=${#1}\
                   22494: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   22495:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22496:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22497: test 0 -eq $? || _lt_function_replace_fail=:
                   22498: 
                   22499: fi
                   22500: 
                   22501: if test x"$lt_shell_append" = xyes; then
                   22502:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   22503: func_append ()\
                   22504: {\
                   22505:     eval "${1}+=\\${2}"\
                   22506: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   22507:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22508:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22509: test 0 -eq $? || _lt_function_replace_fail=:
                   22510: 
                   22511: 
                   22512:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   22513: func_append_quoted ()\
                   22514: {\
                   22515: \    func_quote_for_eval "${2}"\
                   22516: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   22517: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   22518:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22519:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22520: test 0 -eq $? || _lt_function_replace_fail=:
                   22521: 
                   22522: 
                   22523:   # Save a `func_append' function call where possible by direct use of '+='
                   22524:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   22525:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22526:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22527:   test 0 -eq $? || _lt_function_replace_fail=:
                   22528: else
                   22529:   # Save a `func_append' function call even when '+=' is not available
                   22530:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   22531:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22532:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22533:   test 0 -eq $? || _lt_function_replace_fail=:
                   22534: fi
                   22535: 
                   22536: if test x"$_lt_function_replace_fail" = x":"; then
                   22537:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   22538: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   22539: fi
                   22540: 
                   22541: 
                   22542:    mv -f "$cfgfile" "$ofile" ||
                   22543:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   22544:   chmod +x "$ofile"
                   22545: 
                   22546: 
                   22547:     cat <<_LT_EOF >> "$ofile"
                   22548: 
                   22549: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   22550: 
                   22551: # The linker used to build libraries.
                   22552: LD=$lt_LD_CXX
                   22553: 
                   22554: # How to create reloadable object files.
                   22555: reload_flag=$lt_reload_flag_CXX
                   22556: reload_cmds=$lt_reload_cmds_CXX
                   22557: 
                   22558: # Commands used to build an old-style archive.
                   22559: old_archive_cmds=$lt_old_archive_cmds_CXX
                   22560: 
                   22561: # A language specific compiler.
                   22562: CC=$lt_compiler_CXX
                   22563: 
                   22564: # Is the compiler the GNU compiler?
                   22565: with_gcc=$GCC_CXX
                   22566: 
                   22567: # Compiler flag to turn off builtin functions.
                   22568: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   22569: 
                   22570: # Additional compiler flags for building library objects.
                   22571: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   22572: 
                   22573: # How to pass a linker flag through the compiler.
                   22574: wl=$lt_lt_prog_compiler_wl_CXX
                   22575: 
                   22576: # Compiler flag to prevent dynamic linking.
                   22577: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   22578: 
                   22579: # Does compiler simultaneously support -c and -o options?
                   22580: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   22581: 
                   22582: # Whether or not to add -lc for building shared libraries.
                   22583: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   22584: 
                   22585: # Whether or not to disallow shared libs when runtime libs are static.
                   22586: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   22587: 
                   22588: # Compiler flag to allow reflexive dlopens.
                   22589: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   22590: 
                   22591: # Compiler flag to generate shared objects directly from archives.
                   22592: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   22593: 
                   22594: # Whether the compiler copes with passing no objects directly.
                   22595: compiler_needs_object=$lt_compiler_needs_object_CXX
                   22596: 
                   22597: # Create an old-style archive from a shared archive.
                   22598: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   22599: 
                   22600: # Create a temporary old-style archive to link instead of a shared archive.
                   22601: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   22602: 
                   22603: # Commands used to build a shared archive.
                   22604: archive_cmds=$lt_archive_cmds_CXX
                   22605: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   22606: 
                   22607: # Commands used to build a loadable module if different from building
                   22608: # a shared archive.
                   22609: module_cmds=$lt_module_cmds_CXX
                   22610: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   22611: 
                   22612: # Whether we are building with GNU ld or not.
                   22613: with_gnu_ld=$lt_with_gnu_ld_CXX
                   22614: 
                   22615: # Flag that allows shared libraries with undefined symbols to be built.
                   22616: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   22617: 
                   22618: # Flag that enforces no undefined symbols.
                   22619: no_undefined_flag=$lt_no_undefined_flag_CXX
                   22620: 
                   22621: # Flag to hardcode \$libdir into a binary during linking.
                   22622: # This must work even if \$libdir does not exist
                   22623: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   22624: 
                   22625: # Whether we need a single "-rpath" flag with a separated argument.
                   22626: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   22627: 
                   22628: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22629: # DIR into the resulting binary.
                   22630: hardcode_direct=$hardcode_direct_CXX
                   22631: 
                   22632: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22633: # DIR into the resulting binary and the resulting library dependency is
                   22634: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22635: # library is relocated.
                   22636: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   22637: 
                   22638: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22639: # into the resulting binary.
                   22640: hardcode_minus_L=$hardcode_minus_L_CXX
                   22641: 
                   22642: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22643: # into the resulting binary.
                   22644: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   22645: 
                   22646: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22647: # into the library and all subsequent libraries and executables linked
                   22648: # against it.
                   22649: hardcode_automatic=$hardcode_automatic_CXX
                   22650: 
                   22651: # Set to yes if linker adds runtime paths of dependent libraries
                   22652: # to runtime path list.
                   22653: inherit_rpath=$inherit_rpath_CXX
                   22654: 
                   22655: # Whether libtool must link a program against all its dependency libraries.
                   22656: link_all_deplibs=$link_all_deplibs_CXX
                   22657: 
                   22658: # Set to "yes" if exported symbols are required.
                   22659: always_export_symbols=$always_export_symbols_CXX
                   22660: 
                   22661: # The commands to list exported symbols.
                   22662: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   22663: 
                   22664: # Symbols that should not be listed in the preloaded symbols.
                   22665: exclude_expsyms=$lt_exclude_expsyms_CXX
                   22666: 
                   22667: # Symbols that must always be exported.
                   22668: include_expsyms=$lt_include_expsyms_CXX
                   22669: 
                   22670: # Commands necessary for linking programs (against libraries) with templates.
                   22671: prelink_cmds=$lt_prelink_cmds_CXX
                   22672: 
                   22673: # Commands necessary for finishing linking programs.
                   22674: postlink_cmds=$lt_postlink_cmds_CXX
                   22675: 
                   22676: # Specify filename containing input files.
                   22677: file_list_spec=$lt_file_list_spec_CXX
                   22678: 
                   22679: # How to hardcode a shared library path into an executable.
                   22680: hardcode_action=$hardcode_action_CXX
                   22681: 
                   22682: # The directories searched by this compiler when creating a shared library.
                   22683: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   22684: 
                   22685: # Dependencies to place before and after the objects being linked to
                   22686: # create a shared library.
                   22687: predep_objects=$lt_predep_objects_CXX
                   22688: postdep_objects=$lt_postdep_objects_CXX
                   22689: predeps=$lt_predeps_CXX
                   22690: postdeps=$lt_postdeps_CXX
                   22691: 
                   22692: # The library search path used internally by the compiler when linking
                   22693: # a shared library.
                   22694: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   22695: 
                   22696: # ### END LIBTOOL TAG CONFIG: CXX
                   22697: _LT_EOF
                   22698: 
                   22699:  ;;
1.62      paf      22700:   esac
                   22701: done
                   22702: _ACEOF
                   22703: 
                   22704: cat >>$CONFIG_STATUS <<\_ACEOF
                   22705: 
                   22706: { (exit 0); exit 0; }
                   22707: _ACEOF
1.1       paf      22708: chmod +x $CONFIG_STATUS
1.62      paf      22709: ac_clean_files=$ac_clean_files_save
                   22710: 
1.1       paf      22711: 
1.62      paf      22712: # configure is writing to config.log, and then calls config.status.
                   22713: # config.status does its own redirection, appending to config.log.
                   22714: # Unfortunately, on DOS this fails, as config.log is still kept open
                   22715: # by configure, so config.status won't be able to write to it; its
                   22716: # output is simply discarded.  So we exec the FD to /dev/null,
                   22717: # effectively closing config.log, so it can be properly (re)opened and
                   22718: # appended to by config.status.  When coming back to configure, we
                   22719: # need to make the FD available again.
                   22720: if test "$no_create" != yes; then
                   22721:   ac_cs_success=:
                   22722:   ac_config_status_args=
                   22723:   test "$silent" = yes &&
                   22724:     ac_config_status_args="$ac_config_status_args --quiet"
                   22725:   exec 5>/dev/null
                   22726:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   22727:   exec 5>>config.log
                   22728:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   22729:   # would make configure fail if this is the last instruction.
                   22730:   $ac_cs_success || { (exit 1); exit 1; }
                   22731: fi
                   22732: 
                   22733: #
                   22734: # CONFIG_SUBDIRS section.
                   22735: #
1.1       paf      22736: if test "$no_recursion" != yes; then
                   22737: 
                   22738:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   22739:   ac_sub_configure_args=
                   22740:   ac_prev=
                   22741:   for ac_arg in $ac_configure_args; do
                   22742:     if test -n "$ac_prev"; then
                   22743:       ac_prev=
                   22744:       continue
                   22745:     fi
1.62      paf      22746:     case $ac_arg in
1.1       paf      22747:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   22748:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   22749:       ac_prev=cache_file ;;
                   22750:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      22751:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   22752:     | --c=*)
                   22753:       ;;
                   22754:     --config-cache | -C)
1.1       paf      22755:       ;;
                   22756:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   22757:       ac_prev=srcdir ;;
                   22758:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   22759:       ;;
1.62      paf      22760:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   22761:       ac_prev=prefix ;;
                   22762:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   22763:       ;;
1.1       paf      22764:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   22765:     esac
                   22766:   done
                   22767: 
1.62      paf      22768:   # Always prepend --prefix to ensure using the same prefix
                   22769:   # in subdir configurations.
                   22770:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   22771: 
                   22772:   ac_popdir=`pwd`
                   22773:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      22774: 
                   22775:     # Do not complain, so a configure script can configure whichever
                   22776:     # parts of a large source tree are present.
1.62      paf      22777:     test -d $srcdir/$ac_dir || continue
1.1       paf      22778: 
1.62      paf      22779:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   22780: echo "$as_me: configuring in $ac_dir" >&6;}
                   22781:     { if $as_mkdir_p; then
                   22782:     mkdir -p "$ac_dir"
                   22783:   else
                   22784:     as_dir="$ac_dir"
                   22785:     as_dirs=
                   22786:     while test ! -d "$as_dir"; do
                   22787:       as_dirs="$as_dir $as_dirs"
                   22788:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   22789: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      22790:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   22791:         X"$as_dir" : 'X\(//\)$' \| \
                   22792:         X"$as_dir" : 'X\(/\)' \| \
                   22793:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      22794: echo X"$as_dir" |
                   22795:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   22796:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   22797:          /^X\(\/\/\)$/{ s//\1/; q; }
                   22798:          /^X\(\/\).*/{ s//\1/; q; }
                   22799:          s/.*/./; q'`
                   22800:     done
                   22801:     test ! -n "$as_dirs" || mkdir $as_dirs
                   22802:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   22803: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   22804:    { (exit 1); exit 1; }; }; }
                   22805: 
                   22806:     ac_builddir=.
                   22807: 
                   22808: if test "$ac_dir" != .; then
                   22809:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   22810:   # A "../" for each directory in $ac_dir_suffix.
                   22811:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   22812: else
                   22813:   ac_dir_suffix= ac_top_builddir=
                   22814: fi
                   22815: 
                   22816: case $srcdir in
                   22817:   .)  # No --srcdir option.  We are building in place.
                   22818:     ac_srcdir=.
                   22819:     if test -z "$ac_top_builddir"; then
                   22820:        ac_top_srcdir=.
                   22821:     else
                   22822:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   22823:     fi ;;
                   22824:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   22825:     ac_srcdir=$srcdir$ac_dir_suffix;
                   22826:     ac_top_srcdir=$srcdir ;;
                   22827:   *) # Relative path.
                   22828:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   22829:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   22830: esac
1.86      paf      22831: 
                   22832: # Do not use `cd foo && pwd` to compute absolute paths, because
                   22833: # the directories may not exist.
                   22834: case `pwd` in
                   22835: .) ac_abs_builddir="$ac_dir";;
                   22836: *)
                   22837:   case "$ac_dir" in
                   22838:   .) ac_abs_builddir=`pwd`;;
                   22839:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   22840:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   22841:   esac;;
                   22842: esac
                   22843: case $ac_abs_builddir in
                   22844: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22845: *)
                   22846:   case ${ac_top_builddir}. in
                   22847:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   22848:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22849:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   22850:   esac;;
                   22851: esac
                   22852: case $ac_abs_builddir in
                   22853: .) ac_abs_srcdir=$ac_srcdir;;
                   22854: *)
                   22855:   case $ac_srcdir in
                   22856:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   22857:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   22858:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   22859:   esac;;
                   22860: esac
                   22861: case $ac_abs_builddir in
                   22862: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22863: *)
                   22864:   case $ac_top_srcdir in
                   22865:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   22866:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22867:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   22868:   esac;;
                   22869: esac
1.1       paf      22870: 
                   22871: 
1.62      paf      22872:     cd $ac_dir
1.1       paf      22873: 
                   22874:     # Check for guested configure; otherwise get Cygnus style configure.
1.62      paf      22875:     if test -f $ac_srcdir/configure.gnu; then
                   22876:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   22877:     elif test -f $ac_srcdir/configure; then
                   22878:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   22879:     elif test -f $ac_srcdir/configure.in; then
1.1       paf      22880:       ac_sub_configure=$ac_configure
                   22881:     else
1.62      paf      22882:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   22883: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      22884:       ac_sub_configure=
                   22885:     fi
                   22886: 
                   22887:     # The recursion is here.
                   22888:     if test -n "$ac_sub_configure"; then
                   22889:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      22890:       case $cache_file in
                   22891:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       paf      22892:       *) # Relative path.
1.86      paf      22893:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       paf      22894:       esac
                   22895: 
1.62      paf      22896:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   22897: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      22898:       # The eval makes quoting arguments work.
1.62      paf      22899:       eval $ac_sub_configure $ac_sub_configure_args \
1.86      paf      22900:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   22901:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.62      paf      22902: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   22903:    { (exit 1); exit 1; }; }
1.1       paf      22904:     fi
                   22905: 
                   22906:     cd $ac_popdir
                   22907:   done
                   22908: fi
                   22909: 

E-mail: