Annotation of sql/sqlite/configure, revision 1.12

1.1       misha       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.11      moko        3: # Generated by GNU Autoconf 2.59.
1.1       misha       4: #
1.11      moko        5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1       misha       6: # This configure script is free software; the Free Software Foundation
                      7: # gives unlimited permission to copy, distribute and modify it.
1.11      moko        8: ## --------------------- ##
                      9: ## M4sh Initialization.  ##
                     10: ## --------------------- ##
1.1       misha      11: 
1.11      moko       12: # Be Bourne compatible
                     13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.1       misha      14:   emulate sh
                     15:   NULLCMD=:
1.11      moko       16:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.1       misha      17:   # is contrary to our usage.  Disable this feature.
                     18:   alias -g '${1+"$@"}'='"$@"'
1.11      moko       19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     20:   set -o posix
1.10      moko       21: fi
1.11      moko       22: DUALCASE=1; export DUALCASE # for MKS sh
1.10      moko       23: 
1.11      moko       24: # Support unset when possible.
                     25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                     26:   as_unset=unset
                     27: else
                     28:   as_unset=false
1.1       misha      29: fi
                     30: 
1.10      moko       31: 
1.11      moko       32: # Work around bugs in pre-3.0 UWIN ksh.
                     33: $as_unset ENV MAIL MAILPATH
1.1       misha      34: PS1='$ '
                     35: PS2='> '
                     36: PS4='+ '
                     37: 
                     38: # NLS nuisances.
1.11      moko       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
1.1       misha      43: do
1.11      moko       44:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                     45:     eval $as_var=C; export $as_var
1.1       misha      46:   else
1.11      moko       47:     $as_unset $as_var
1.1       misha      48:   fi
1.11      moko       49: done
1.10      moko       50: 
1.11      moko       51: # Required to use basename.
                     52: if expr a : '\(a\)' >/dev/null 2>&1; then
1.1       misha      53:   as_expr=expr
                     54: else
                     55:   as_expr=false
                     56: fi
                     57: 
1.11      moko       58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1.1       misha      59:   as_basename=basename
                     60: else
                     61:   as_basename=false
                     62: fi
                     63: 
                     64: 
1.11      moko       65: # Name of the executable.
                     66: as_me=`$as_basename "$0" ||
1.1       misha      67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                     68:         X"$0" : 'X\(//\)$' \| \
1.11      moko       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: 
1.1       misha      77: 
1.11      moko       78: # PATH needs CR, and LINENO needs CR and PATH.
1.1       misha      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: 
1.11      moko       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
1.1       misha     155: 
1.11      moko      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 |
1.1       misha     165:     sed '
                    166:       N
1.11      moko      167:       s,$,-,
                    168:       : loop
                    169:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1.1       misha     170:       t loop
1.11      moko      171:       s,-$,,
                    172:       s,^['$as_cr_digits']*\n,,
1.1       misha     173:     ' >$as_me.lineno &&
1.11      moko      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; }; }
1.1       misha     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
1.11      moko      180:   # original and so on.  Autoconf is especially sensible to this).
                    181:   . ./$as_me.lineno
1.1       misha     182:   # Exit status is that of the last command.
                    183:   exit
                    184: }
                    185: 
1.11      moko      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= ;;
1.1       misha     192: esac
                    193: 
1.11      moko      194: if expr a : '\(a\)' >/dev/null 2>&1; then
                    195:   as_expr=expr
1.1       misha     196: else
1.11      moko      197:   as_expr=false
1.1       misha     198: fi
1.11      moko      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
1.10      moko      209:     as_ln_s='ln -s'
1.1       misha     210:   fi
1.11      moko      211: elif ln conf$$.file conf$$ 2>/dev/null; then
                    212:   as_ln_s=ln
1.1       misha     213: else
                    214:   as_ln_s='cp -p'
                    215: fi
1.11      moko      216: rm -f conf$$ conf$$.exe conf$$.file
1.1       misha     217: 
                    218: if mkdir -p . 2>/dev/null; then
1.11      moko      219:   as_mkdir_p=:
1.1       misha     220: else
                    221:   test -d ./-p && rmdir ./-p
                    222:   as_mkdir_p=false
                    223: fi
                    224: 
1.11      moko      225: as_executable_p="test -f"
1.1       misha     226: 
                    227: # Sed expression to map a string onto a valid CPP name.
                    228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    229: 
                    230: # Sed expression to map a string onto a valid variable name.
                    231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    232: 
1.11      moko      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.1       misha     243: SHELL=${CONFIG_SHELL-/bin/sh}
                    244: 
1.8       moko      245: lt_ltdl_dir='libltdl'
1.1       misha     246: 
1.8       moko      247: lt_dlopen_dir="$lt_ltdl_dir"
1.1       misha     248: 
                    249: 
                    250: # Name of the host.
1.11      moko      251: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1.1       misha     252: # so uname gets run too.
                    253: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    254: 
1.11      moko      255: exec 6>&1
                    256: 
1.1       misha     257: #
                    258: # Initializations.
                    259: #
                    260: ac_default_prefix=/usr/local
                    261: ac_config_libobj_dir=.
                    262: cross_compiling=no
                    263: subdirs=
                    264: MFLAGS=
                    265: MAKEFLAGS=
1.11      moko      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}
1.1       misha     272: 
                    273: # Identity of this package.
                    274: PACKAGE_NAME=
                    275: PACKAGE_TARNAME=
                    276: PACKAGE_VERSION=
                    277: PACKAGE_STRING=
                    278: PACKAGE_BUGREPORT=
                    279: 
                    280: ac_unique_file="parser3sqlite.C"
                    281: # Factoring default headers for most tests.
                    282: ac_includes_default="\
                    283: #include <stdio.h>
1.11      moko      284: #if HAVE_SYS_TYPES_H
1.1       misha     285: # include <sys/types.h>
                    286: #endif
1.11      moko      287: #if HAVE_SYS_STAT_H
1.1       misha     288: # include <sys/stat.h>
                    289: #endif
1.11      moko      290: #if STDC_HEADERS
1.1       misha     291: # include <stdlib.h>
                    292: # include <stddef.h>
                    293: #else
1.11      moko      294: # if HAVE_STDLIB_H
1.1       misha     295: #  include <stdlib.h>
                    296: # endif
                    297: #endif
1.11      moko      298: #if HAVE_STRING_H
                    299: # if !STDC_HEADERS && HAVE_MEMORY_H
1.1       misha     300: #  include <memory.h>
                    301: # endif
                    302: # include <string.h>
                    303: #endif
1.11      moko      304: #if HAVE_STRINGS_H
1.1       misha     305: # include <strings.h>
                    306: #endif
1.11      moko      307: #if HAVE_INTTYPES_H
1.1       misha     308: # include <inttypes.h>
1.11      moko      309: #else
                    310: # if HAVE_STDINT_H
                    311: #  include <stdint.h>
                    312: # endif
1.1       misha     313: #endif
1.11      moko      314: #if HAVE_UNISTD_H
1.1       misha     315: # include <unistd.h>
                    316: #endif"
                    317: 
1.11      moko      318: ac_subdirs_all="$ac_subdirs_all libltdl"
                    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 SQLITE_INC LDFLAGS CXX CXXFLAGS 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 LIBTOOL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP DLLTOOL ac_ct_DLLTOOL 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 LIBADD_DL AS ac_ct_AS LT_DLLOADERS LIBADD_DLOPEN LIBADD_SHL_LOAD LIBADD_DLD_LINK LT_DLPREOPEN 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.1       misha     320: ac_subst_files=''
                    321: 
                    322: # Initialize some variables set by options.
                    323: ac_init_help=
                    324: ac_init_version=false
                    325: # The variables have the same names as the options, with
                    326: # dashes changed to underlines.
                    327: cache_file=/dev/null
                    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
                    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.
                    347: bindir='${exec_prefix}/bin'
                    348: sbindir='${exec_prefix}/sbin'
                    349: libexecdir='${exec_prefix}/libexec'
1.11      moko      350: datadir='${prefix}/share'
1.1       misha     351: sysconfdir='${prefix}/etc'
                    352: sharedstatedir='${prefix}/com'
                    353: localstatedir='${prefix}/var'
1.11      moko      354: libdir='${exec_prefix}/lib'
1.1       misha     355: includedir='${prefix}/include'
                    356: oldincludedir='/usr/include'
1.11      moko      357: infodir='${prefix}/info'
                    358: mandir='${prefix}/man'
1.1       misha     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
1.11      moko      365:     eval "$ac_prev=\$ac_option"
1.1       misha     366:     ac_prev=
                    367:     continue
                    368:   fi
                    369: 
1.11      moko      370:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       misha     371: 
                    372:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    373: 
1.11      moko      374:   case $ac_option in
1.1       misha     375: 
                    376:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    377:     ac_prev=bindir ;;
                    378:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    379:     bindir=$ac_optarg ;;
                    380: 
                    381:   -build | --build | --buil | --bui | --bu)
                    382:     ac_prev=build_alias ;;
                    383:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    384:     build_alias=$ac_optarg ;;
                    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=*)
                    391:     cache_file=$ac_optarg ;;
                    392: 
                    393:   --config-cache | -C)
                    394:     cache_file=config.cache ;;
                    395: 
1.11      moko      396:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1.1       misha     397:     ac_prev=datadir ;;
1.11      moko      398:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    399:   | --da=*)
1.1       misha     400:     datadir=$ac_optarg ;;
                    401: 
                    402:   -disable-* | --disable-*)
1.11      moko      403:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       misha     404:     # Reject names that are not valid shell variable names.
1.11      moko      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       misha     410: 
                    411:   -enable-* | --enable-*)
1.11      moko      412:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       misha     413:     # Reject names that are not valid shell variable names.
1.11      moko      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"`;;
                    420:       *) ac_optarg=yes ;;
1.1       misha     421:     esac
1.11      moko      422:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       misha     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=*)
                    431:     exec_prefix=$ac_optarg ;;
                    432: 
                    433:   -gas | --gas | --ga | --g)
                    434:     # Obsolete; use --with-gas.
                    435:     with_gas=yes ;;
                    436: 
                    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 ;;
                    443: 
                    444:   -host | --host | --hos | --ho)
                    445:     ac_prev=host_alias ;;
                    446:   -host=* | --host=* | --hos=* | --ho=*)
                    447:     host_alias=$ac_optarg ;;
                    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=*)
                    454:     includedir=$ac_optarg ;;
                    455: 
                    456:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    457:     ac_prev=infodir ;;
                    458:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    459:     infodir=$ac_optarg ;;
                    460: 
                    461:   -libdir | --libdir | --libdi | --libd)
                    462:     ac_prev=libdir ;;
                    463:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    464:     libdir=$ac_optarg ;;
                    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=*)
                    471:     libexecdir=$ac_optarg ;;
                    472: 
                    473:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.11      moko      474:   | --localstate | --localstat | --localsta | --localst \
                    475:   | --locals | --local | --loca | --loc | --lo)
1.1       misha     476:     ac_prev=localstatedir ;;
                    477:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.11      moko      478:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    479:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.1       misha     480:     localstatedir=$ac_optarg ;;
                    481: 
                    482:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    483:     ac_prev=mandir ;;
                    484:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    485:     mandir=$ac_optarg ;;
                    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 \
                    492:   | --no-cr | --no-c | -n)
                    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=*)
                    506:     oldincludedir=$ac_optarg ;;
                    507: 
                    508:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    509:     ac_prev=prefix ;;
                    510:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    511:     prefix=$ac_optarg ;;
                    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=*)
                    518:     program_prefix=$ac_optarg ;;
                    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=*)
                    525:     program_suffix=$ac_optarg ;;
                    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=*)
                    542:     program_transform_name=$ac_optarg ;;
                    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=*)
                    552:     sbindir=$ac_optarg ;;
                    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=*)
                    563:     sharedstatedir=$ac_optarg ;;
                    564: 
                    565:   -site | --site | --sit)
                    566:     ac_prev=site ;;
                    567:   -site=* | --site=* | --sit=*)
                    568:     site=$ac_optarg ;;
                    569: 
                    570:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    571:     ac_prev=srcdir ;;
                    572:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                    573:     srcdir=$ac_optarg ;;
                    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=*)
                    580:     sysconfdir=$ac_optarg ;;
                    581: 
                    582:   -target | --target | --targe | --targ | --tar | --ta | --t)
                    583:     ac_prev=target_alias ;;
                    584:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                    585:     target_alias=$ac_optarg ;;
                    586: 
                    587:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    588:     verbose=yes ;;
                    589: 
                    590:   -version | --version | --versio | --versi | --vers | -V)
                    591:     ac_init_version=: ;;
                    592: 
                    593:   -with-* | --with-*)
1.11      moko      594:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       misha     595:     # Reject names that are not valid shell variable names.
1.11      moko      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; }; }
                    599:     ac_package=`echo $ac_package| sed 's/-/_/g'`
                    600:     case $ac_option in
                    601:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
                    602:       *) ac_optarg=yes ;;
1.1       misha     603:     esac
1.11      moko      604:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       misha     605: 
                    606:   -without-* | --without-*)
1.11      moko      607:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       misha     608:     # Reject names that are not valid shell variable names.
1.11      moko      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       misha     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=*)
                    624:     x_includes=$ac_optarg ;;
                    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=*)
                    631:     x_libraries=$ac_optarg ;;
                    632: 
1.11      moko      633:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    634: Try \`$0 --help' for more information." >&2
                    635:    { (exit 1); exit 1; }; }
1.1       misha     636:     ;;
                    637: 
                    638:   *=*)
                    639:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    640:     # Reject names that are not valid shell variable names.
1.11      moko      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'"
1.1       misha     646:     export $ac_envvar ;;
                    647: 
                    648:   *)
                    649:     # FIXME: should be removed in autoconf 3.0.
1.11      moko      650:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       misha     651:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.11      moko      652:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1       misha     653:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
                    654:     ;;
                    655: 
                    656:   esac
                    657: done
                    658: 
                    659: if test -n "$ac_prev"; then
                    660:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.11      moko      661:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    662:    { (exit 1); exit 1; }; }
1.10      moko      663: fi
                    664: 
1.11      moko      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; }; };;
1.10      moko      673:   esac
1.11      moko      674: done
1.1       misha     675: 
1.11      moko      676: # Be sure to have absolute paths.
                    677: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                    678:              localstatedir libdir includedir oldincludedir infodir mandir
1.1       misha     679: do
1.11      moko      680:   eval ac_val=$`echo $ac_var`
1.1       misha     681:   case $ac_val in
1.11      moko      682:     [\\/$]* | ?:[\\/]* ) ;;
                    683:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    684:    { (exit 1); exit 1; }; };;
1.1       misha     685:   esac
                    686: done
                    687: 
                    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
1.11      moko      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
1.1       misha     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-
                    708: 
                    709: test "$silent" = yes && exec 6>/dev/null
                    710: 
                    711: 
                    712: # Find the source files, if location was not specified.
                    713: if test -z "$srcdir"; then
                    714:   ac_srcdir_defaulted=yes
1.11      moko      715:   # Try the directory containing this script, then its parent.
                    716:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    717: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    718:         X"$0" : 'X\(//\)[^/]' \| \
                    719:         X"$0" : 'X\(//\)$' \| \
                    720:         X"$0" : 'X\(/\)' \| \
                    721:         .     : '\(.\)' 2>/dev/null ||
                    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       misha     728:   srcdir=$ac_confdir
1.11      moko      729:   if test ! -r $srcdir/$ac_unique_file; then
1.1       misha     730:     srcdir=..
                    731:   fi
                    732: else
                    733:   ac_srcdir_defaulted=no
                    734: fi
1.11      moko      735: if test ! -r $srcdir/$ac_unique_file; then
                    736:   if test "$ac_srcdir_defaulted" = yes; then
                    737:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    738:    { (exit 1); exit 1; }; }
                    739:   else
                    740:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    741:    { (exit 1); exit 1; }; }
                    742:   fi
                    743: fi
                    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
                    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
                    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
                    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
                    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.1       misha     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
                    800: \`configure' configures this package to adapt to many kinds of systems.
                    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
1.11      moko      814:   -q, --quiet, --silent   do not print \`checking...' messages
1.1       misha     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: 
1.11      moko      820: _ACEOF
                    821: 
                    822:   cat <<_ACEOF
1.1       misha     823: Installation directories:
                    824:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.11      moko      825:                          [$ac_default_prefix]
1.1       misha     826:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.11      moko      827:                          [PREFIX]
1.1       misha     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:
1.11      moko      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]
1.1       misha     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
                    865: 
                    866:   cat <<\_ACEOF
                    867: 
                    868: Optional Features:
                    869:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    870:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                    871:   --disable-dependency-tracking  speeds up one-time build
                    872:   --enable-dependency-tracking   do not reject slow dependency extractors
1.11      moko      873:   --enable-shared[=PKGS]
                    874:                           build shared libraries [default=yes]
                    875:   --enable-static[=PKGS]
                    876:                           build static libraries [default=yes]
1.8       moko      877:   --enable-fast-install[=PKGS]
                    878:                           optimize for fast installation [default=yes]
1.1       misha     879:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.8       moko      880:   --enable-ltdl-install   install libltdl
1.1       misha     881: 
                    882: Optional Packages:
                    883:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    884:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    885:   --with-sqlite-inc=DIR        DIR is the SQLite includes directory
1.6       misha     886:   --with-dynamic-stdcpp   link libstdc++ dynamically
                    887:                           by default, libstdc++ is linked statically
1.11      moko      888:   --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1.8       moko      889:                           both]
                    890:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                    891:   --with-sysroot=DIR Search for dependent libraries within DIR
                    892:                         (or the compiler's sysroot if not specified).
                    893:   --with-included-ltdl    use the GNU ltdl sources included here
                    894:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                    895:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.1       misha     896: 
                    897: Some influential environment variables:
                    898:   CXX         C++ compiler command
                    899:   CXXFLAGS    C++ compiler flags
                    900:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    901:               nonstandard directory <lib dir>
1.11      moko      902:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    903:               headers in a nonstandard directory <include dir>
1.1       misha     904:   CC          C compiler command
                    905:   CFLAGS      C compiler flags
                    906:   CPP         C preprocessor
1.8       moko      907:   CXXCPP      C++ preprocessor
1.1       misha     908: 
                    909: Use these variables to override the choices made by `configure' or to help
                    910: it to find libraries and programs with nonstandard names/locations.
                    911: 
                    912: _ACEOF
                    913: fi
                    914: 
                    915: if test "$ac_init_help" = "recursive"; then
                    916:   # If there are subdirs, report their specific --help.
1.11      moko      917:   ac_popdir=`pwd`
1.1       misha     918:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.11      moko      919:     test -d $ac_dir || continue
1.1       misha     920:     ac_builddir=.
                    921: 
1.11      moko      922: if test "$ac_dir" != .; then
                    923:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    924:   # A "../" for each directory in $ac_dir_suffix.
                    925:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    926: else
                    927:   ac_dir_suffix= ac_top_builddir=
                    928: fi
1.1       misha     929: 
                    930: case $srcdir in
1.11      moko      931:   .)  # No --srcdir option.  We are building in place.
1.1       misha     932:     ac_srcdir=.
1.11      moko      933:     if test -z "$ac_top_builddir"; then
                    934:        ac_top_srcdir=.
                    935:     else
                    936:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    937:     fi ;;
                    938:   [\\/]* | ?:[\\/]* )  # Absolute path.
1.1       misha     939:     ac_srcdir=$srcdir$ac_dir_suffix;
1.11      moko      940:     ac_top_srcdir=$srcdir ;;
                    941:   *) # Relative path.
                    942:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    943:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    944: esac
                    945: 
                    946: # Do not use `cd foo && pwd` to compute absolute paths, because
                    947: # the directories may not exist.
                    948: case `pwd` in
                    949: .) ac_abs_builddir="$ac_dir";;
                    950: *)
                    951:   case "$ac_dir" in
                    952:   .) ac_abs_builddir=`pwd`;;
                    953:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                    954:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                    955:   esac;;
                    956: esac
                    957: case $ac_abs_builddir in
                    958: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                    959: *)
                    960:   case ${ac_top_builddir}. in
                    961:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                    962:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                    963:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                    964:   esac;;
                    965: esac
                    966: case $ac_abs_builddir in
                    967: .) ac_abs_srcdir=$ac_srcdir;;
                    968: *)
                    969:   case $ac_srcdir in
                    970:   .) ac_abs_srcdir=$ac_abs_builddir;;
                    971:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                    972:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                    973:   esac;;
                    974: esac
                    975: case $ac_abs_builddir in
                    976: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                    977: *)
                    978:   case $ac_top_srcdir in
                    979:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                    980:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                    981:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                    982:   esac;;
1.1       misha     983: esac
                    984: 
1.11      moko      985:     cd $ac_dir
                    986:     # Check for guested configure; otherwise get Cygnus style configure.
                    987:     if test -f $ac_srcdir/configure.gnu; then
                    988:       echo
                    989:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                    990:     elif test -f $ac_srcdir/configure; then
                    991:       echo
                    992:       $SHELL $ac_srcdir/configure  --help=recursive
                    993:     elif test -f $ac_srcdir/configure.ac ||
                    994:           test -f $ac_srcdir/configure.in; then
                    995:       echo
                    996:       $ac_configure --help
1.1       misha     997:     else
1.11      moko      998:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                    999:     fi
                   1000:     cd $ac_popdir
1.1       misha    1001:   done
                   1002: fi
                   1003: 
1.11      moko     1004: test -n "$ac_init_help" && exit 0
1.1       misha    1005: if $ac_init_version; then
                   1006:   cat <<\_ACEOF
                   1007: 
1.11      moko     1008: Copyright (C) 2003 Free Software Foundation, Inc.
1.1       misha    1009: This configure script is free software; the Free Software Foundation
                   1010: gives unlimited permission to copy, distribute and modify it.
                   1011: _ACEOF
1.11      moko     1012:   exit 0
1.1       misha    1013: fi
1.11      moko     1014: exec 5>config.log
                   1015: cat >&5 <<_ACEOF
                   1016: This file contains any messages produced by compilers while
                   1017: running configure, to aid debugging if configure makes a mistake.
1.1       misha    1018: 
1.11      moko     1019: It was created by $as_me, which was
                   1020: generated by GNU Autoconf 2.59.  Invocation command line was
1.10      moko     1021: 
1.11      moko     1022:   $ $0 $@
1.1       misha    1023: 
1.11      moko     1024: _ACEOF
1.1       misha    1025: {
1.11      moko     1026: cat <<_ASUNAME
                   1027: ## --------- ##
                   1028: ## Platform. ##
                   1029: ## --------- ##
1.10      moko     1030: 
1.11      moko     1031: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1032: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1033: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1034: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1035: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.1       misha    1036: 
1.11      moko     1037: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1.1       misha    1038: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1039: 
                   1040: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1041: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1042: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.11      moko     1043: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1.1       misha    1044: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1045: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1046: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1047: 
                   1048: _ASUNAME
                   1049: 
                   1050: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1051: for as_dir in $PATH
                   1052: do
                   1053:   IFS=$as_save_IFS
                   1054:   test -z "$as_dir" && as_dir=.
1.11      moko     1055:   echo "PATH: $as_dir"
                   1056: done
1.1       misha    1057: 
                   1058: } >&5
                   1059: 
                   1060: cat >&5 <<_ACEOF
                   1061: 
                   1062: 
                   1063: ## ----------- ##
                   1064: ## Core tests. ##
                   1065: ## ----------- ##
                   1066: 
                   1067: _ACEOF
                   1068: 
                   1069: 
                   1070: # Keep a trace of the command line.
                   1071: # Strip out --no-create and --no-recursion so they do not pile up.
                   1072: # Strip out --silent because we don't want to record it for future runs.
                   1073: # Also quote any args containing shell meta-characters.
                   1074: # Make two passes to allow for proper duplicate-argument suppression.
                   1075: ac_configure_args=
                   1076: ac_configure_args0=
                   1077: ac_configure_args1=
1.11      moko     1078: ac_sep=
1.1       misha    1079: ac_must_keep_next=false
                   1080: for ac_pass in 1 2
                   1081: do
                   1082:   for ac_arg
                   1083:   do
                   1084:     case $ac_arg in
                   1085:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1086:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1087:     | -silent | --silent | --silen | --sile | --sil)
                   1088:       continue ;;
1.11      moko     1089:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1090:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misha    1091:     esac
                   1092:     case $ac_pass in
1.11      moko     1093:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1.1       misha    1094:     2)
1.11      moko     1095:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1.1       misha    1096:       if test $ac_must_keep_next = true; then
                   1097:        ac_must_keep_next=false # Got value, back to normal.
                   1098:       else
                   1099:        case $ac_arg in
                   1100:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1101:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1102:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1103:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1104:            case "$ac_configure_args0 " in
                   1105:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1106:            esac
                   1107:            ;;
                   1108:          -* ) ac_must_keep_next=true ;;
                   1109:        esac
                   1110:       fi
1.11      moko     1111:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1112:       # Get rid of the leading space.
                   1113:       ac_sep=" "
1.1       misha    1114:       ;;
                   1115:     esac
                   1116:   done
                   1117: done
1.11      moko     1118: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1119: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1       misha    1120: 
                   1121: # When interrupted or exit'd, cleanup temporary files, and complete
                   1122: # config.log.  We remove comments because anyway the quotes in there
                   1123: # would cause problems or look ugly.
1.11      moko     1124: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1125: # such as our DU 5.0 friend, will then `close' the trap.
1.1       misha    1126: trap 'exit_status=$?
                   1127:   # Save into config.log some information that might help in debugging.
                   1128:   {
                   1129:     echo
                   1130: 
1.11      moko     1131:     cat <<\_ASBOX
                   1132: ## ---------------- ##
1.1       misha    1133: ## Cache variables. ##
1.11      moko     1134: ## ---------------- ##
                   1135: _ASBOX
1.1       misha    1136:     echo
                   1137:     # The following way of writing the cache mishandles newlines in values,
1.11      moko     1138: {
1.1       misha    1139:   (set) 2>&1 |
1.11      moko     1140:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1141:     *ac_space=\ *)
1.1       misha    1142:       sed -n \
1.11      moko     1143:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1144:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                   1145:       ;;
1.1       misha    1146:     *)
1.11      moko     1147:       sed -n \
                   1148:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.1       misha    1149:       ;;
1.11      moko     1150:     esac;
                   1151: }
1.1       misha    1152:     echo
                   1153: 
1.11      moko     1154:     cat <<\_ASBOX
                   1155: ## ----------------- ##
1.1       misha    1156: ## Output variables. ##
1.11      moko     1157: ## ----------------- ##
                   1158: _ASBOX
1.1       misha    1159:     echo
                   1160:     for ac_var in $ac_subst_vars
                   1161:     do
1.11      moko     1162:       eval ac_val=$`echo $ac_var`
                   1163:       echo "$ac_var='"'"'$ac_val'"'"'"
1.1       misha    1164:     done | sort
                   1165:     echo
                   1166: 
                   1167:     if test -n "$ac_subst_files"; then
1.11      moko     1168:       cat <<\_ASBOX
                   1169: ## ------------- ##
                   1170: ## Output files. ##
                   1171: ## ------------- ##
                   1172: _ASBOX
1.1       misha    1173:       echo
                   1174:       for ac_var in $ac_subst_files
                   1175:       do
1.11      moko     1176:        eval ac_val=$`echo $ac_var`
                   1177:        echo "$ac_var='"'"'$ac_val'"'"'"
1.1       misha    1178:       done | sort
                   1179:       echo
                   1180:     fi
                   1181: 
                   1182:     if test -s confdefs.h; then
1.11      moko     1183:       cat <<\_ASBOX
                   1184: ## ----------- ##
1.1       misha    1185: ## confdefs.h. ##
1.11      moko     1186: ## ----------- ##
                   1187: _ASBOX
1.1       misha    1188:       echo
1.11      moko     1189:       sed "/^$/d" confdefs.h | sort
1.1       misha    1190:       echo
                   1191:     fi
                   1192:     test "$ac_signal" != 0 &&
1.11      moko     1193:       echo "$as_me: caught signal $ac_signal"
                   1194:     echo "$as_me: exit $exit_status"
1.1       misha    1195:   } >&5
1.11      moko     1196:   rm -f core *.core &&
                   1197:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1.1       misha    1198:     exit $exit_status
1.11      moko     1199:      ' 0
1.1       misha    1200: for ac_signal in 1 2 13 15; do
1.11      moko     1201:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1.1       misha    1202: done
                   1203: ac_signal=0
                   1204: 
                   1205: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.11      moko     1206: rm -rf conftest* confdefs.h
                   1207: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1208: echo >confdefs.h
1.1       misha    1209: 
                   1210: # Predefined preprocessor variables.
                   1211: 
                   1212: cat >>confdefs.h <<_ACEOF
                   1213: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1214: _ACEOF
                   1215: 
1.11      moko     1216: 
1.1       misha    1217: cat >>confdefs.h <<_ACEOF
                   1218: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1219: _ACEOF
                   1220: 
1.11      moko     1221: 
1.1       misha    1222: cat >>confdefs.h <<_ACEOF
                   1223: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1224: _ACEOF
                   1225: 
1.11      moko     1226: 
1.1       misha    1227: cat >>confdefs.h <<_ACEOF
                   1228: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1229: _ACEOF
                   1230: 
1.11      moko     1231: 
1.10      moko     1232: cat >>confdefs.h <<_ACEOF
                   1233: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1234: _ACEOF
1.1       misha    1235: 
                   1236: 
                   1237: # Let the site file select an alternate cache file if it wants to.
1.11      moko     1238: # Prefer explicitly selected file to automatically selected ones.
                   1239: if test -z "$CONFIG_SITE"; then
                   1240:   if test "x$prefix" != xNONE; then
                   1241:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1242:   else
                   1243:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1244:   fi
                   1245: fi
                   1246: for ac_site_file in $CONFIG_SITE; do
                   1247:   if test -r "$ac_site_file"; then
                   1248:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1249: echo "$as_me: loading site script $ac_site_file" >&6;}
1.1       misha    1250:     sed 's/^/| /' "$ac_site_file" >&5
1.11      moko     1251:     . "$ac_site_file"
1.1       misha    1252:   fi
                   1253: done
                   1254: 
                   1255: if test -r "$cache_file"; then
1.11      moko     1256:   # Some versions of bash will fail to source /dev/null (special
                   1257:   # files actually), so we avoid doing that.
                   1258:   if test -f "$cache_file"; then
                   1259:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1260: echo "$as_me: loading cache $cache_file" >&6;}
1.1       misha    1261:     case $cache_file in
1.11      moko     1262:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1263:       *)                      . ./$cache_file;;
1.1       misha    1264:     esac
                   1265:   fi
                   1266: else
1.11      moko     1267:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1268: echo "$as_me: creating cache $cache_file" >&6;}
1.1       misha    1269:   >$cache_file
                   1270: fi
                   1271: 
                   1272: # Check that the precious variables saved in the cache have kept the same
                   1273: # value.
                   1274: ac_cache_corrupted=false
1.11      moko     1275: for ac_var in `(set) 2>&1 |
                   1276:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.1       misha    1277:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1278:   eval ac_new_set=\$ac_env_${ac_var}_set
1.11      moko     1279:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1280:   eval ac_new_val="\$ac_env_${ac_var}_value"
1.1       misha    1281:   case $ac_old_set,$ac_new_set in
                   1282:     set,)
1.11      moko     1283:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1284: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1       misha    1285:       ac_cache_corrupted=: ;;
                   1286:     ,set)
1.11      moko     1287:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1288: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1       misha    1289:       ac_cache_corrupted=: ;;
                   1290:     ,);;
                   1291:     *)
                   1292:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.11      moko     1293:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
                   1294: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1295:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
                   1296: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1297:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
                   1298: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1299:        ac_cache_corrupted=:
1.1       misha    1300:       fi;;
                   1301:   esac
                   1302:   # Pass precious variables to config.status.
                   1303:   if test "$ac_new_set" = set; then
                   1304:     case $ac_new_val in
1.11      moko     1305:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1306:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misha    1307:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1308:     esac
                   1309:     case " $ac_configure_args " in
                   1310:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.11      moko     1311:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1.1       misha    1312:     esac
                   1313:   fi
                   1314: done
                   1315: if $ac_cache_corrupted; then
1.11      moko     1316:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1317: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1318:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1319: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1320:    { (exit 1); exit 1; }; }
                   1321: fi
1.1       misha    1322: 
                   1323: ac_ext=c
                   1324: ac_cpp='$CPP $CPPFLAGS'
                   1325: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1326: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1327: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1328: 
                   1329: 
                   1330: 
                   1331: 
1.11      moko     1332: 
                   1333: 
                   1334: 
                   1335: 
                   1336: 
                   1337: 
                   1338: 
                   1339: 
                   1340: 
                   1341: 
                   1342: 
                   1343: 
                   1344: 
                   1345: 
                   1346: 
                   1347: 
                   1348: 
1.1       misha    1349: am__api_version="1.9"
                   1350: ac_aux_dir=
1.11      moko     1351: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1352:   if test -f $ac_dir/install-sh; then
1.1       misha    1353:     ac_aux_dir=$ac_dir
                   1354:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1355:     break
1.11      moko     1356:   elif test -f $ac_dir/install.sh; then
1.1       misha    1357:     ac_aux_dir=$ac_dir
                   1358:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1359:     break
1.11      moko     1360:   elif test -f $ac_dir/shtool; then
1.1       misha    1361:     ac_aux_dir=$ac_dir
                   1362:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1363:     break
                   1364:   fi
                   1365: done
                   1366: if test -z "$ac_aux_dir"; then
1.11      moko     1367:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1368: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1369:    { (exit 1); exit 1; }; }
                   1370: fi
                   1371: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1372: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1373: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       misha    1374: 
                   1375: # Find a good install program.  We prefer a C program (faster),
                   1376: # so one script is as good as another.  But avoid the broken or
                   1377: # incompatible versions:
                   1378: # SysV /etc/install, /usr/sbin/install
                   1379: # SunOS /usr/etc/install
                   1380: # IRIX /sbin/install
                   1381: # AIX /bin/install
                   1382: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   1383: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1384: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1385: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1386: # OS/2's system install, which has a completely different semantic
                   1387: # ./install, which can be erroneously created by make from ./install.sh.
1.11      moko     1388: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1389: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       misha    1390: if test -z "$INSTALL"; then
1.11      moko     1391: if test "${ac_cv_path_install+set}" = set; then
                   1392:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    1393: else
                   1394:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1395: for as_dir in $PATH
                   1396: do
                   1397:   IFS=$as_save_IFS
                   1398:   test -z "$as_dir" && as_dir=.
1.11      moko     1399:   # Account for people who put trailing slashes in PATH elements.
                   1400: case $as_dir/ in
                   1401:   ./ | .// | /cC/* | \
1.1       misha    1402:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.11      moko     1403:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.1       misha    1404:   /usr/ucb/* ) ;;
                   1405:   *)
                   1406:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1407:     # Don't use installbsd from OSF since it installs stuff as root
                   1408:     # by default.
                   1409:     for ac_prog in ginstall scoinst install; do
                   1410:       for ac_exec_ext in '' $ac_executable_extensions; do
1.11      moko     1411:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misha    1412:          if test $ac_prog = install &&
                   1413:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1414:            # AIX install.  It has an incompatible calling convention.
                   1415:            :
                   1416:          elif test $ac_prog = install &&
                   1417:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1418:            # program-specific install script used by HP pwplus--don't use.
                   1419:            :
                   1420:          else
1.11      moko     1421:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1422:            break 3
1.1       misha    1423:          fi
                   1424:        fi
                   1425:       done
                   1426:     done
                   1427:     ;;
                   1428: esac
1.11      moko     1429: done
1.1       misha    1430: 
                   1431: 
                   1432: fi
                   1433:   if test "${ac_cv_path_install+set}" = set; then
                   1434:     INSTALL=$ac_cv_path_install
                   1435:   else
1.11      moko     1436:     # As a last resort, use the slow shell script.  We don't cache a
                   1437:     # path for INSTALL within a source directory, because that will
1.1       misha    1438:     # break other packages using the cache if that directory is
1.11      moko     1439:     # removed, or if the path is relative.
1.1       misha    1440:     INSTALL=$ac_install_sh
                   1441:   fi
                   1442: fi
1.11      moko     1443: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1444: echo "${ECHO_T}$INSTALL" >&6
1.1       misha    1445: 
                   1446: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1447: # It thinks the first close brace ends the variable substitution.
                   1448: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1449: 
                   1450: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   1451: 
                   1452: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1453: 
1.11      moko     1454: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1455: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       misha    1456: # Just in case
                   1457: sleep 1
                   1458: echo timestamp > conftest.file
                   1459: # Do `set' in a subshell so we don't clobber the current shell's
                   1460: # arguments.  Must try -L first in case configure is actually a
                   1461: # symlink; some systems play weird games with the mod time of symlinks
                   1462: # (eg FreeBSD returns the mod time of the symlink's containing
                   1463: # directory).
                   1464: if (
                   1465:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
                   1466:    if test "$*" = "X"; then
                   1467:       # -L didn't work.
                   1468:       set X `ls -t $srcdir/configure conftest.file`
                   1469:    fi
                   1470:    rm -f conftest.file
                   1471:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1472:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   1473: 
                   1474:       # If neither matched, then we have a broken ls.  This can happen
                   1475:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1476:       # broken ls alias from the environment.  This has actually
                   1477:       # happened.  Such a system could not be considered "sane".
1.11      moko     1478:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1479: alias in your environment" >&5
                   1480: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1481: alias in your environment" >&2;}
                   1482:    { (exit 1); exit 1; }; }
1.1       misha    1483:    fi
                   1484: 
                   1485:    test "$2" = conftest.file
                   1486:    )
                   1487: then
                   1488:    # Ok.
                   1489:    :
                   1490: else
1.11      moko     1491:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1492: Check your system clock" >&5
                   1493: echo "$as_me: error: newly created file is older than distributed files!
                   1494: Check your system clock" >&2;}
                   1495:    { (exit 1); exit 1; }; }
1.1       misha    1496: fi
1.11      moko     1497: echo "$as_me:$LINENO: result: yes" >&5
                   1498: echo "${ECHO_T}yes" >&6
1.1       misha    1499: test "$program_prefix" != NONE &&
1.11      moko     1500:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       misha    1501: # Use a double $ so make ignores it.
                   1502: test "$program_suffix" != NONE &&
1.11      moko     1503:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1504: # Double any \ or $.  echo might interpret backslashes.
1.1       misha    1505: # By default was `s,x,x', remove it if useless.
1.11      moko     1506: cat <<\_ACEOF >conftest.sed
                   1507: s/[\\$]/&&/g;s/;s,x,x,$//
                   1508: _ACEOF
                   1509: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1510: rm conftest.sed
1.1       misha    1511: 
                   1512: # expand $ac_aux_dir to an absolute path
                   1513: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1514: 
                   1515: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1516: # Use eval to expand $SHELL
                   1517: if eval "$MISSING --run true"; then
                   1518:   am_missing_run="$MISSING --run "
                   1519: else
                   1520:   am_missing_run=
1.11      moko     1521:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1522: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.1       misha    1523: fi
                   1524: 
                   1525: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
                   1526:   # We used to keeping the `.' as first argument, in order to
                   1527:   # allow $(mkdir_p) to be used without argument.  As in
                   1528:   #   $(mkdir_p) $(somedir)
                   1529:   # where $(somedir) is conditionally defined.  However this is wrong
                   1530:   # for two reasons:
                   1531:   #  1. if the package is installed by a user who cannot write `.'
                   1532:   #     make install will fail,
                   1533:   #  2. the above comment should most certainly read
                   1534:   #     $(mkdir_p) $(DESTDIR)$(somedir)
                   1535:   #     so it does not work when $(somedir) is undefined and
                   1536:   #     $(DESTDIR) is not.
                   1537:   #  To support the latter case, we have to write
                   1538:   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
                   1539:   #  so the `.' trick is pointless.
                   1540:   mkdir_p='mkdir -p --'
                   1541: else
                   1542:   # On NextStep and OpenStep, the `mkdir' command does not
                   1543:   # recognize any option.  It will interpret all options as
                   1544:   # directories to create, and then abort because `.' already
                   1545:   # exists.
                   1546:   for d in ./-p ./--version;
                   1547:   do
                   1548:     test -d $d && rmdir $d
                   1549:   done
                   1550:   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
                   1551:   if test -f "$ac_aux_dir/mkinstalldirs"; then
                   1552:     mkdir_p='$(mkinstalldirs)'
                   1553:   else
                   1554:     mkdir_p='$(install_sh) -d'
                   1555:   fi
                   1556: fi
                   1557: 
                   1558: for ac_prog in gawk mawk nawk awk
                   1559: do
                   1560:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1561: set dummy $ac_prog; ac_word=$2
1.11      moko     1562: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1563: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1564: if test "${ac_cv_prog_AWK+set}" = set; then
                   1565:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    1566: else
                   1567:   if test -n "$AWK"; then
                   1568:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1569: else
                   1570: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1571: for as_dir in $PATH
                   1572: do
                   1573:   IFS=$as_save_IFS
                   1574:   test -z "$as_dir" && as_dir=.
1.11      moko     1575:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1576:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    1577:     ac_cv_prog_AWK="$ac_prog"
1.11      moko     1578:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    1579:     break 2
                   1580:   fi
                   1581: done
1.11      moko     1582: done
1.1       misha    1583: 
                   1584: fi
                   1585: fi
                   1586: AWK=$ac_cv_prog_AWK
                   1587: if test -n "$AWK"; then
1.11      moko     1588:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1589: echo "${ECHO_T}$AWK" >&6
1.1       misha    1590: else
1.11      moko     1591:   echo "$as_me:$LINENO: result: no" >&5
                   1592: echo "${ECHO_T}no" >&6
1.1       misha    1593: fi
                   1594: 
                   1595:   test -n "$AWK" && break
                   1596: done
                   1597: 
1.11      moko     1598: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1599: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
                   1600: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
                   1601: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1602:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    1603: else
                   1604:   cat >conftest.make <<\_ACEOF
                   1605: all:
1.11      moko     1606:        @echo 'ac_maketemp="$(MAKE)"'
1.1       misha    1607: _ACEOF
1.11      moko     1608: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   1609: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
                   1610: if test -n "$ac_maketemp"; then
                   1611:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1612: else
                   1613:   eval ac_cv_prog_make_${ac_make}_set=no
                   1614: fi
1.1       misha    1615: rm -f conftest.make
                   1616: fi
1.11      moko     1617: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
                   1618:   echo "$as_me:$LINENO: result: yes" >&5
                   1619: echo "${ECHO_T}yes" >&6
1.1       misha    1620:   SET_MAKE=
                   1621: else
1.11      moko     1622:   echo "$as_me:$LINENO: result: no" >&5
                   1623: echo "${ECHO_T}no" >&6
1.1       misha    1624:   SET_MAKE="MAKE=${MAKE-make}"
                   1625: fi
                   1626: 
                   1627: rm -rf .tst 2>/dev/null
                   1628: mkdir .tst 2>/dev/null
                   1629: if test -d .tst; then
                   1630:   am__leading_dot=.
                   1631: else
                   1632:   am__leading_dot=_
                   1633: fi
                   1634: rmdir .tst 2>/dev/null
                   1635: 
                   1636: # test to see if srcdir already configured
                   1637: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1638:    test -f $srcdir/config.status; then
1.11      moko     1639:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1640: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1641:    { (exit 1); exit 1; }; }
1.1       misha    1642: fi
                   1643: 
                   1644: # test whether we have cygpath
                   1645: if test -z "$CYGPATH_W"; then
                   1646:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1647:     CYGPATH_W='cygpath -w'
                   1648:   else
                   1649:     CYGPATH_W=echo
                   1650:   fi
                   1651: fi
                   1652: 
                   1653: 
                   1654: # Define the identity of the package.
                   1655:  PACKAGE=parser3sqlite
1.8       moko     1656:  VERSION=10.2
1.1       misha    1657: 
                   1658: 
                   1659: # Some tools Automake needs.
                   1660: 
                   1661: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1662: 
                   1663: 
                   1664: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1665: 
                   1666: 
                   1667: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1668: 
                   1669: 
                   1670: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1671: 
                   1672: 
                   1673: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   1674: 
                   1675: install_sh=${install_sh-"$am_aux_dir/install-sh"}
                   1676: 
                   1677: # Installed binaries are usually stripped using `strip' when the user
                   1678: # run `make install-strip'.  However `strip' might not be the right
                   1679: # tool to use in cross-compilation environments, therefore Automake
                   1680: # will honor the `STRIP' environment variable to overrule this program.
                   1681: if test "$cross_compiling" != no; then
                   1682:   if test -n "$ac_tool_prefix"; then
                   1683:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1684: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.11      moko     1685: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1686: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1687: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1688:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    1689: else
                   1690:   if test -n "$STRIP"; then
                   1691:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1692: else
                   1693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1694: for as_dir in $PATH
                   1695: do
                   1696:   IFS=$as_save_IFS
                   1697:   test -z "$as_dir" && as_dir=.
1.11      moko     1698:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1699:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    1700:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.11      moko     1701:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    1702:     break 2
                   1703:   fi
                   1704: done
1.11      moko     1705: done
                   1706: 
1.1       misha    1707: fi
                   1708: fi
                   1709: STRIP=$ac_cv_prog_STRIP
                   1710: if test -n "$STRIP"; then
1.11      moko     1711:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1712: echo "${ECHO_T}$STRIP" >&6
1.1       misha    1713: else
1.11      moko     1714:   echo "$as_me:$LINENO: result: no" >&5
                   1715: echo "${ECHO_T}no" >&6
1.1       misha    1716: fi
                   1717: 
                   1718: fi
                   1719: if test -z "$ac_cv_prog_STRIP"; then
                   1720:   ac_ct_STRIP=$STRIP
                   1721:   # Extract the first word of "strip", so it can be a program name with args.
                   1722: set dummy strip; ac_word=$2
1.11      moko     1723: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1724: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1725: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1726:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    1727: else
                   1728:   if test -n "$ac_ct_STRIP"; then
                   1729:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   1730: else
                   1731: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1732: for as_dir in $PATH
                   1733: do
                   1734:   IFS=$as_save_IFS
                   1735:   test -z "$as_dir" && as_dir=.
1.11      moko     1736:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1737:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    1738:     ac_cv_prog_ac_ct_STRIP="strip"
1.11      moko     1739:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    1740:     break 2
                   1741:   fi
                   1742: done
1.11      moko     1743: done
1.1       misha    1744: 
1.11      moko     1745:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1       misha    1746: fi
                   1747: fi
                   1748: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1749: if test -n "$ac_ct_STRIP"; then
1.11      moko     1750:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1751: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       misha    1752: else
1.11      moko     1753:   echo "$as_me:$LINENO: result: no" >&5
                   1754: echo "${ECHO_T}no" >&6
1.1       misha    1755: fi
                   1756: 
1.11      moko     1757:   STRIP=$ac_ct_STRIP
1.1       misha    1758: else
                   1759:   STRIP="$ac_cv_prog_STRIP"
                   1760: fi
                   1761: 
                   1762: fi
                   1763: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1764: 
                   1765: # We need awk for the "check" target.  The system "awk" is bad on
                   1766: # some platforms.
                   1767: # Always define AMTAR for backward compatibility.
                   1768: 
                   1769: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1770: 
                   1771: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   1772: 
                   1773: 
                   1774: 
                   1775: 
                   1776: 
                   1777: 
1.11      moko     1778:           ac_config_headers="$ac_config_headers config_auto.h"
                   1779: 
1.1       misha    1780: 
                   1781: 
                   1782: 
                   1783: 
                   1784: 
1.11      moko     1785: # Check whether --with-sqlite-inc or --without-sqlite-inc was given.
                   1786: if test "${with_sqlite_inc+set}" = set; then
                   1787:   withval="$with_sqlite_inc"
1.1       misha    1788: 
                   1789:        if test -r "$withval/sqlite3.h"; then
                   1790:                SQLITE_INC=$withval
                   1791:        fi
                   1792: 
                   1793: 
1.4       misha    1794:        if test -z "$SQLITE_INC"; then
1.11      moko     1795:                { { echo "$as_me:$LINENO: error: $SQLITE_INC does not seem to be valid SQLite includes directory" >&5
                   1796: echo "$as_me: error: $SQLITE_INC does not seem to be valid SQLite includes directory" >&2;}
                   1797:    { (exit 1); exit 1; }; }
1.4       misha    1798:        fi
1.1       misha    1799: 
                   1800: else
1.11      moko     1801:   echo "$as_me:$LINENO: checking for SQLITE_INC directory" >&5
                   1802: echo $ECHO_N "checking for SQLITE_INC directory... $ECHO_C" >&6
1.1       misha    1803:        for d in \
1.9       moko     1804:                /usr/local/include \
                   1805:                /usr/include \
1.1       misha    1806:                /usr/local/include/sqlite \
                   1807:                /usr/include/sqlite ; do
                   1808: 
                   1809:        if test -r "$d/sqlite3.h"; then
                   1810:                SQLITE_INC=$d
                   1811:        fi
                   1812: 
                   1813:        done
                   1814: 
1.4       misha    1815:        if test -z "$SQLITE_INC"; then
1.11      moko     1816:                { { echo "$as_me:$LINENO: error: use --with-sqlite-inc=DIR to specify SQLite includes directory" >&5
                   1817: echo "$as_me: error: use --with-sqlite-inc=DIR to specify SQLite includes directory" >&2;}
                   1818:    { (exit 1); exit 1; }; }
1.4       misha    1819:        fi
1.1       misha    1820: 
1.11      moko     1821:        echo "$as_me:$LINENO: result: $SQLITE_INC" >&5
                   1822: echo "${ECHO_T}$SQLITE_INC" >&6
1.1       misha    1823: 
1.11      moko     1824: fi;
1.1       misha    1825: 
                   1826: 
                   1827: 
                   1828: 
1.11      moko     1829: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
                   1830: if test "${with_dynamic_stdcpp+set}" = set; then
                   1831:   withval="$with_dynamic_stdcpp"
1.6       misha    1832: 
                   1833:                LDFLAGS="-lstdc++"
                   1834: 
                   1835: else
                   1836: 
                   1837:                LDFLAGS="-Wl,-Bstatic -Wl,-lstdc++ -Wl,-Bdynamic"
                   1838: 
1.11      moko     1839: fi;
                   1840: 
                   1841: 
                   1842: 
                   1843: # Find a good install program.  We prefer a C program (faster),
                   1844: # so one script is as good as another.  But avoid the broken or
                   1845: # incompatible versions:
                   1846: # SysV /etc/install, /usr/sbin/install
                   1847: # SunOS /usr/etc/install
                   1848: # IRIX /sbin/install
                   1849: # AIX /bin/install
                   1850: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   1851: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1852: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1853: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1854: # OS/2's system install, which has a completely different semantic
                   1855: # ./install, which can be erroneously created by make from ./install.sh.
                   1856: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1857: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
                   1858: if test -z "$INSTALL"; then
                   1859: if test "${ac_cv_path_install+set}" = set; then
                   1860:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1861: else
                   1862:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1863: for as_dir in $PATH
                   1864: do
                   1865:   IFS=$as_save_IFS
                   1866:   test -z "$as_dir" && as_dir=.
                   1867:   # Account for people who put trailing slashes in PATH elements.
                   1868: case $as_dir/ in
                   1869:   ./ | .// | /cC/* | \
                   1870:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1871:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
                   1872:   /usr/ucb/* ) ;;
                   1873:   *)
                   1874:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1875:     # Don't use installbsd from OSF since it installs stuff as root
                   1876:     # by default.
                   1877:     for ac_prog in ginstall scoinst install; do
                   1878:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1879:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1880:          if test $ac_prog = install &&
                   1881:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1882:            # AIX install.  It has an incompatible calling convention.
                   1883:            :
                   1884:          elif test $ac_prog = install &&
                   1885:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1886:            # program-specific install script used by HP pwplus--don't use.
                   1887:            :
                   1888:          else
                   1889:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1890:            break 3
                   1891:          fi
                   1892:        fi
                   1893:       done
                   1894:     done
                   1895:     ;;
                   1896: esac
                   1897: done
                   1898: 
                   1899: 
                   1900: fi
                   1901:   if test "${ac_cv_path_install+set}" = set; then
                   1902:     INSTALL=$ac_cv_path_install
                   1903:   else
                   1904:     # As a last resort, use the slow shell script.  We don't cache a
                   1905:     # path for INSTALL within a source directory, because that will
                   1906:     # break other packages using the cache if that directory is
                   1907:     # removed, or if the path is relative.
                   1908:     INSTALL=$ac_install_sh
                   1909:   fi
1.10      moko     1910: fi
1.11      moko     1911: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1912: echo "${ECHO_T}$INSTALL" >&6
1.6       misha    1913: 
1.11      moko     1914: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1915: # It thinks the first close brace ends the variable substitution.
                   1916: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.6       misha    1917: 
1.11      moko     1918: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.6       misha    1919: 
1.11      moko     1920: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1       misha    1921: 
1.11      moko     1922: ac_ext=cc
1.1       misha    1923: ac_cpp='$CXXCPP $CPPFLAGS'
                   1924: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1925: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1926: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.11      moko     1927: if test -n "$ac_tool_prefix"; then
                   1928:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1.1       misha    1929:   do
                   1930:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   1931: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.11      moko     1932: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1933: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1934: if test "${ac_cv_prog_CXX+set}" = set; then
                   1935:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    1936: else
                   1937:   if test -n "$CXX"; then
                   1938:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   1939: else
                   1940: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1941: for as_dir in $PATH
                   1942: do
                   1943:   IFS=$as_save_IFS
                   1944:   test -z "$as_dir" && as_dir=.
1.11      moko     1945:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1946:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    1947:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.11      moko     1948:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    1949:     break 2
                   1950:   fi
                   1951: done
1.11      moko     1952: done
1.1       misha    1953: 
                   1954: fi
                   1955: fi
                   1956: CXX=$ac_cv_prog_CXX
                   1957: if test -n "$CXX"; then
1.11      moko     1958:   echo "$as_me:$LINENO: result: $CXX" >&5
                   1959: echo "${ECHO_T}$CXX" >&6
1.1       misha    1960: else
1.11      moko     1961:   echo "$as_me:$LINENO: result: no" >&5
                   1962: echo "${ECHO_T}no" >&6
1.1       misha    1963: fi
                   1964: 
                   1965:     test -n "$CXX" && break
                   1966:   done
                   1967: fi
                   1968: if test -z "$CXX"; then
                   1969:   ac_ct_CXX=$CXX
1.11      moko     1970:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1.1       misha    1971: do
                   1972:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1973: set dummy $ac_prog; ac_word=$2
1.11      moko     1974: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1975: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1976: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
                   1977:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    1978: else
                   1979:   if test -n "$ac_ct_CXX"; then
                   1980:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   1981: else
                   1982: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1983: for as_dir in $PATH
                   1984: do
                   1985:   IFS=$as_save_IFS
                   1986:   test -z "$as_dir" && as_dir=.
1.11      moko     1987:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1988:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    1989:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.11      moko     1990:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    1991:     break 2
                   1992:   fi
                   1993: done
1.11      moko     1994: done
1.1       misha    1995: 
                   1996: fi
                   1997: fi
                   1998: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   1999: if test -n "$ac_ct_CXX"; then
1.11      moko     2000:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2001: echo "${ECHO_T}$ac_ct_CXX" >&6
1.1       misha    2002: else
1.11      moko     2003:   echo "$as_me:$LINENO: result: no" >&5
                   2004: echo "${ECHO_T}no" >&6
1.1       misha    2005: fi
                   2006: 
                   2007:   test -n "$ac_ct_CXX" && break
                   2008: done
1.11      moko     2009: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1       misha    2010: 
1.11      moko     2011:   CXX=$ac_ct_CXX
1.1       misha    2012: fi
                   2013: 
1.11      moko     2014: 
1.1       misha    2015: # Provide some information about the compiler.
1.11      moko     2016: echo "$as_me:$LINENO:" \
                   2017:      "checking for C++ compiler version" >&5
                   2018: ac_compiler=`set X $ac_compile; echo $2`
                   2019: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2020:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2021:   ac_status=$?
                   2022:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2023:   (exit $ac_status); }
                   2024: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2025:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2026:   ac_status=$?
                   2027:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2028:   (exit $ac_status); }
                   2029: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2030:   (eval $ac_compiler -V </dev/null >&5) 2>&5
1.1       misha    2031:   ac_status=$?
1.11      moko     2032:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2033:   (exit $ac_status); }
1.1       misha    2034: 
1.11      moko     2035: cat >conftest.$ac_ext <<_ACEOF
                   2036: /* confdefs.h.  */
                   2037: _ACEOF
                   2038: cat confdefs.h >>conftest.$ac_ext
                   2039: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    2040: /* end confdefs.h.  */
                   2041: 
                   2042: int
                   2043: main ()
                   2044: {
                   2045: 
                   2046:   ;
                   2047:   return 0;
                   2048: }
                   2049: _ACEOF
                   2050: ac_clean_files_save=$ac_clean_files
1.11      moko     2051: ac_clean_files="$ac_clean_files a.out a.exe b.out"
1.1       misha    2052: # Try to create an executable without -o first, disregard a.out.
                   2053: # It will help us diagnose broken compilers, and finding out an intuition
                   2054: # of exeext.
1.11      moko     2055: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2056: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
                   2057: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2058: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2059:   (eval $ac_link_default) 2>&5
                   2060:   ac_status=$?
                   2061:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2062:   (exit $ac_status); }; then
                   2063:   # Find the output, starting from the most likely.  This scheme is
                   2064: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2065: # resort.
                   2066: 
                   2067: # Be careful to initialize this variable, since it used to be cached.
                   2068: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2069: ac_cv_exeext=
                   2070: # b.out is created by i960 compilers.
                   2071: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.1       misha    2072: do
                   2073:   test -f "$ac_file" || continue
                   2074:   case $ac_file in
1.11      moko     2075:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
                   2076:        ;;
                   2077:     conftest.$ac_ext )
                   2078:        # This is the source file.
1.1       misha    2079:        ;;
                   2080:     [ab].out )
                   2081:        # We found the default executable, but exeext='' is most
                   2082:        # certainly right.
                   2083:        break;;
                   2084:     *.* )
1.11      moko     2085:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2086:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2087:        # but it would be cool to find out if it's true.  Does anybody
                   2088:        # maintain Libtool? --akim.
                   2089:        export ac_cv_exeext
1.1       misha    2090:        break;;
                   2091:     * )
                   2092:        break;;
                   2093:   esac
                   2094: done
1.11      moko     2095: else
                   2096:   echo "$as_me: failed program was:" >&5
                   2097: sed 's/^/| /' conftest.$ac_ext >&5
1.10      moko     2098: 
1.11      moko     2099: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2100: See \`config.log' for more details." >&5
                   2101: echo "$as_me: error: C++ compiler cannot create executables
                   2102: See \`config.log' for more details." >&2;}
                   2103:    { (exit 77); exit 77; }; }
1.10      moko     2104: fi
1.1       misha    2105: 
                   2106: ac_exeext=$ac_cv_exeext
1.11      moko     2107: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2108: echo "${ECHO_T}$ac_file" >&6
                   2109: 
                   2110: # Check the compiler produces executables we can run.  If not, either
                   2111: # the compiler is broken, or we cross compile.
                   2112: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2113: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2114: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2115: # If not cross compiling, check that we can run a simple program.
                   2116: if test "$cross_compiling" != yes; then
                   2117:   if { ac_try='./$ac_file'
                   2118:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2119:   (eval $ac_try) 2>&5
                   2120:   ac_status=$?
                   2121:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2122:   (exit $ac_status); }; }; then
                   2123:     cross_compiling=no
                   2124:   else
                   2125:     if test "$cross_compiling" = maybe; then
                   2126:        cross_compiling=yes
                   2127:     else
                   2128:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2129: If you meant to cross compile, use \`--host'.
                   2130: See \`config.log' for more details." >&5
                   2131: echo "$as_me: error: cannot run C++ compiled programs.
                   2132: If you meant to cross compile, use \`--host'.
                   2133: See \`config.log' for more details." >&2;}
                   2134:    { (exit 1); exit 1; }; }
                   2135:     fi
                   2136:   fi
                   2137: fi
                   2138: echo "$as_me:$LINENO: result: yes" >&5
                   2139: echo "${ECHO_T}yes" >&6
1.1       misha    2140: 
1.11      moko     2141: rm -f a.out a.exe conftest$ac_cv_exeext b.out
1.1       misha    2142: ac_clean_files=$ac_clean_files_save
1.11      moko     2143: # Check the compiler produces executables we can run.  If not, either
                   2144: # the compiler is broken, or we cross compile.
                   2145: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2146: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2147: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2148: echo "${ECHO_T}$cross_compiling" >&6
                   2149: 
                   2150: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2151: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2152: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2153:   (eval $ac_link) 2>&5
1.1       misha    2154:   ac_status=$?
1.11      moko     2155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2156:   (exit $ac_status); }; then
1.1       misha    2157:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2158: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2159: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2160: # `rm'.
                   2161: for ac_file in conftest.exe conftest conftest.*; do
                   2162:   test -f "$ac_file" || continue
                   2163:   case $ac_file in
1.11      moko     2164:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1.1       misha    2165:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.11      moko     2166:          export ac_cv_exeext
1.1       misha    2167:          break;;
                   2168:     * ) break;;
                   2169:   esac
                   2170: done
                   2171: else
1.11      moko     2172:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2173: See \`config.log' for more details." >&5
                   2174: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2175: See \`config.log' for more details." >&2;}
                   2176:    { (exit 1); exit 1; }; }
                   2177: fi
                   2178: 
                   2179: rm -f conftest$ac_cv_exeext
                   2180: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2181: echo "${ECHO_T}$ac_cv_exeext" >&6
1.1       misha    2182: 
                   2183: rm -f conftest.$ac_ext
                   2184: EXEEXT=$ac_cv_exeext
                   2185: ac_exeext=$EXEEXT
1.11      moko     2186: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2187: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2188: if test "${ac_cv_objext+set}" = set; then
                   2189:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2190: else
                   2191:   cat >conftest.$ac_ext <<_ACEOF
                   2192: /* confdefs.h.  */
1.10      moko     2193: _ACEOF
1.11      moko     2194: cat confdefs.h >>conftest.$ac_ext
                   2195: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    2196: /* end confdefs.h.  */
                   2197: 
                   2198: int
                   2199: main ()
                   2200: {
                   2201: 
                   2202:   ;
                   2203:   return 0;
                   2204: }
                   2205: _ACEOF
                   2206: rm -f conftest.o conftest.obj
1.11      moko     2207: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2208:   (eval $ac_compile) 2>&5
                   2209:   ac_status=$?
                   2210:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2211:   (exit $ac_status); }; then
                   2212:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1.1       misha    2213:   case $ac_file in
1.11      moko     2214:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1.1       misha    2215:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2216:        break;;
                   2217:   esac
                   2218: done
                   2219: else
1.11      moko     2220:   echo "$as_me: failed program was:" >&5
1.1       misha    2221: sed 's/^/| /' conftest.$ac_ext >&5
                   2222: 
1.11      moko     2223: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2224: See \`config.log' for more details." >&5
                   2225: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2226: See \`config.log' for more details." >&2;}
                   2227:    { (exit 1); exit 1; }; }
1.1       misha    2228: fi
1.11      moko     2229: 
1.1       misha    2230: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2231: fi
1.11      moko     2232: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2233: echo "${ECHO_T}$ac_cv_objext" >&6
1.1       misha    2234: OBJEXT=$ac_cv_objext
                   2235: ac_objext=$OBJEXT
1.11      moko     2236: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2237: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2238: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
                   2239:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2240: else
1.11      moko     2241:   cat >conftest.$ac_ext <<_ACEOF
                   2242: /* confdefs.h.  */
                   2243: _ACEOF
                   2244: cat confdefs.h >>conftest.$ac_ext
                   2245: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    2246: /* end confdefs.h.  */
                   2247: 
                   2248: int
                   2249: main ()
                   2250: {
                   2251: #ifndef __GNUC__
                   2252:        choke me
                   2253: #endif
                   2254: 
                   2255:   ;
                   2256:   return 0;
                   2257: }
                   2258: _ACEOF
1.11      moko     2259: rm -f conftest.$ac_objext
                   2260: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2261:   (eval $ac_compile) 2>conftest.er1
                   2262:   ac_status=$?
                   2263:   grep -v '^ *+' conftest.er1 >conftest.err
                   2264:   rm -f conftest.er1
                   2265:   cat conftest.err >&5
                   2266:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2267:   (exit $ac_status); } &&
                   2268:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2269:                         || test ! -s conftest.err'
                   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); }; } &&
                   2275:         { ac_try='test -s conftest.$ac_objext'
                   2276:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2277:   (eval $ac_try) 2>&5
                   2278:   ac_status=$?
                   2279:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2280:   (exit $ac_status); }; }; then
1.1       misha    2281:   ac_compiler_gnu=yes
                   2282: else
1.11      moko     2283:   echo "$as_me: failed program was:" >&5
                   2284: sed 's/^/| /' conftest.$ac_ext >&5
                   2285: 
                   2286: ac_compiler_gnu=no
1.1       misha    2287: fi
1.11      moko     2288: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    2289: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   2290: 
                   2291: fi
1.11      moko     2292: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2293: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2294: GXX=`test $ac_compiler_gnu = yes && echo yes`
1.1       misha    2295: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2296: ac_save_CXXFLAGS=$CXXFLAGS
1.11      moko     2297: CXXFLAGS="-g"
                   2298: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2299: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2300: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2301:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2302: else
                   2303:   cat >conftest.$ac_ext <<_ACEOF
                   2304: /* confdefs.h.  */
                   2305: _ACEOF
                   2306: cat confdefs.h >>conftest.$ac_ext
                   2307: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    2308: /* end confdefs.h.  */
                   2309: 
                   2310: int
                   2311: main ()
                   2312: {
                   2313: 
                   2314:   ;
                   2315:   return 0;
                   2316: }
                   2317: _ACEOF
1.11      moko     2318: rm -f conftest.$ac_objext
                   2319: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2320:   (eval $ac_compile) 2>conftest.er1
                   2321:   ac_status=$?
                   2322:   grep -v '^ *+' conftest.er1 >conftest.err
                   2323:   rm -f conftest.er1
                   2324:   cat conftest.err >&5
                   2325:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2326:   (exit $ac_status); } &&
                   2327:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2328:                         || test ! -s conftest.err'
                   2329:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2330:   (eval $ac_try) 2>&5
                   2331:   ac_status=$?
                   2332:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2333:   (exit $ac_status); }; } &&
                   2334:         { ac_try='test -s conftest.$ac_objext'
                   2335:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2336:   (eval $ac_try) 2>&5
                   2337:   ac_status=$?
                   2338:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2339:   (exit $ac_status); }; }; then
1.1       misha    2340:   ac_cv_prog_cxx_g=yes
                   2341: else
1.11      moko     2342:   echo "$as_me: failed program was:" >&5
                   2343: sed 's/^/| /' conftest.$ac_ext >&5
                   2344: 
                   2345: ac_cv_prog_cxx_g=no
                   2346: fi
                   2347: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   2348: fi
                   2349: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2350: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
                   2351: if test "$ac_test_CXXFLAGS" = set; then
                   2352:   CXXFLAGS=$ac_save_CXXFLAGS
                   2353: elif test $ac_cv_prog_cxx_g = yes; then
                   2354:   if test "$GXX" = yes; then
                   2355:     CXXFLAGS="-g -O2"
                   2356:   else
                   2357:     CXXFLAGS="-g"
                   2358:   fi
                   2359: else
                   2360:   if test "$GXX" = yes; then
                   2361:     CXXFLAGS="-O2"
                   2362:   else
                   2363:     CXXFLAGS=
                   2364:   fi
                   2365: fi
                   2366: for ac_declaration in \
                   2367:    '' \
                   2368:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2369:    'extern "C" void std::exit (int); using std::exit;' \
                   2370:    'extern "C" void exit (int) throw ();' \
                   2371:    'extern "C" void exit (int);' \
                   2372:    'void exit (int);'
                   2373: do
                   2374:   cat >conftest.$ac_ext <<_ACEOF
                   2375: /* confdefs.h.  */
                   2376: _ACEOF
                   2377: cat confdefs.h >>conftest.$ac_ext
                   2378: cat >>conftest.$ac_ext <<_ACEOF
1.10      moko     2379: /* end confdefs.h.  */
1.11      moko     2380: $ac_declaration
                   2381: #include <stdlib.h>
1.1       misha    2382: int
                   2383: main ()
                   2384: {
1.11      moko     2385: exit (42);
1.1       misha    2386:   ;
                   2387:   return 0;
                   2388: }
                   2389: _ACEOF
1.11      moko     2390: rm -f conftest.$ac_objext
                   2391: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2392:   (eval $ac_compile) 2>conftest.er1
                   2393:   ac_status=$?
                   2394:   grep -v '^ *+' conftest.er1 >conftest.err
                   2395:   rm -f conftest.er1
                   2396:   cat conftest.err >&5
                   2397:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2398:   (exit $ac_status); } &&
                   2399:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2400:                         || test ! -s conftest.err'
                   2401:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2402:   (eval $ac_try) 2>&5
                   2403:   ac_status=$?
                   2404:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2405:   (exit $ac_status); }; } &&
                   2406:         { ac_try='test -s conftest.$ac_objext'
                   2407:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2408:   (eval $ac_try) 2>&5
                   2409:   ac_status=$?
                   2410:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2411:   (exit $ac_status); }; }; then
                   2412:   :
                   2413: else
                   2414:   echo "$as_me: failed program was:" >&5
                   2415: sed 's/^/| /' conftest.$ac_ext >&5
1.10      moko     2416: 
1.11      moko     2417: continue
                   2418: fi
                   2419: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   2420:   cat >conftest.$ac_ext <<_ACEOF
                   2421: /* confdefs.h.  */
                   2422: _ACEOF
                   2423: cat confdefs.h >>conftest.$ac_ext
                   2424: cat >>conftest.$ac_ext <<_ACEOF
1.10      moko     2425: /* end confdefs.h.  */
1.11      moko     2426: $ac_declaration
1.1       misha    2427: int
                   2428: main ()
                   2429: {
1.11      moko     2430: exit (42);
1.1       misha    2431:   ;
                   2432:   return 0;
                   2433: }
                   2434: _ACEOF
1.11      moko     2435: rm -f conftest.$ac_objext
                   2436: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2437:   (eval $ac_compile) 2>conftest.er1
                   2438:   ac_status=$?
                   2439:   grep -v '^ *+' conftest.er1 >conftest.err
                   2440:   rm -f conftest.er1
                   2441:   cat conftest.err >&5
                   2442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2443:   (exit $ac_status); } &&
                   2444:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2445:                         || test ! -s conftest.err'
                   2446:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2447:   (eval $ac_try) 2>&5
                   2448:   ac_status=$?
                   2449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2450:   (exit $ac_status); }; } &&
                   2451:         { ac_try='test -s conftest.$ac_objext'
                   2452:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2453:   (eval $ac_try) 2>&5
                   2454:   ac_status=$?
                   2455:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2456:   (exit $ac_status); }; }; then
                   2457:   break
                   2458: else
                   2459:   echo "$as_me: failed program was:" >&5
                   2460: sed 's/^/| /' conftest.$ac_ext >&5
                   2461: 
1.10      moko     2462: fi
1.11      moko     2463: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   2464: done
                   2465: rm -f conftest*
                   2466: if test -n "$ac_declaration"; then
                   2467:   echo '#ifdef __cplusplus' >>confdefs.h
                   2468:   echo $ac_declaration      >>confdefs.h
                   2469:   echo '#endif'             >>confdefs.h
1.1       misha    2470: fi
1.11      moko     2471: 
1.1       misha    2472: ac_ext=c
                   2473: ac_cpp='$CPP $CPPFLAGS'
                   2474: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2475: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2476: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2477: DEPDIR="${am__leading_dot}deps"
                   2478: 
1.11      moko     2479:           ac_config_commands="$ac_config_commands depfiles"
1.1       misha    2480: 
                   2481: 
                   2482: am_make=${MAKE-make}
                   2483: cat > confinc << 'END'
                   2484: am__doit:
                   2485:        @echo done
                   2486: .PHONY: am__doit
                   2487: END
                   2488: # If we don't find an include directive, just comment out the code.
1.11      moko     2489: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2490: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1.1       misha    2491: am__include="#"
                   2492: am__quote=
                   2493: _am_result=none
                   2494: # First try GNU make style include.
                   2495: echo "include confinc" > confmf
                   2496: # We grep out `Entering directory' and `Leaving directory'
                   2497: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2498: # In particular we don't look at `^make:' because GNU make might
                   2499: # be invoked under some other name (usually "gmake"), in which
                   2500: # case it prints its new name instead of `make'.
                   2501: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2502:    am__include=include
                   2503:    am__quote=
                   2504:    _am_result=GNU
                   2505: fi
                   2506: # Now try BSD make style include.
                   2507: if test "$am__include" = "#"; then
                   2508:    echo '.include "confinc"' > confmf
                   2509:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2510:       am__include=.include
                   2511:       am__quote="\""
                   2512:       _am_result=BSD
                   2513:    fi
                   2514: fi
                   2515: 
                   2516: 
1.11      moko     2517: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2518: echo "${ECHO_T}$_am_result" >&6
1.1       misha    2519: rm -f confinc confmf
                   2520: 
1.11      moko     2521: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2522: if test "${enable_dependency_tracking+set}" = set; then
                   2523:   enableval="$enable_dependency_tracking"
1.1       misha    2524: 
1.11      moko     2525: fi;
1.1       misha    2526: if test "x$enable_dependency_tracking" != xno; then
                   2527:   am_depcomp="$ac_aux_dir/depcomp"
                   2528:   AMDEPBACKSLASH='\'
                   2529: fi
                   2530: 
                   2531: 
                   2532: if test "x$enable_dependency_tracking" != xno; then
                   2533:   AMDEP_TRUE=
                   2534:   AMDEP_FALSE='#'
                   2535: else
                   2536:   AMDEP_TRUE='#'
                   2537:   AMDEP_FALSE=
                   2538: fi
                   2539: 
                   2540: 
                   2541: 
                   2542: 
                   2543: depcc="$CXX"  am_compiler_list=
                   2544: 
1.11      moko     2545: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2546: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2547: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
                   2548:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2549: else
                   2550:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2551:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2552:   # making bogus files that we don't know about and never remove.  For
                   2553:   # instance it was reported that on HP-UX the gcc test will end up
                   2554:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2555:   # in D'.
                   2556:   mkdir conftest.dir
                   2557:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2558:   # using a relative directory.
                   2559:   cp "$am_depcomp" conftest.dir
                   2560:   cd conftest.dir
                   2561:   # We will build objects and dependencies in a subdirectory because
                   2562:   # it helps to detect inapplicable dependency modes.  For instance
                   2563:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2564:   # side effect of compilation, but ICC will put the dependencies in
                   2565:   # the current directory while Tru64 will put them in the object
                   2566:   # directory.
                   2567:   mkdir sub
                   2568: 
                   2569:   am_cv_CXX_dependencies_compiler_type=none
                   2570:   if test "$am_compiler_list" = ""; then
                   2571:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2572:   fi
                   2573:   for depmode in $am_compiler_list; do
                   2574:     # Setup a source with many dependencies, because some compilers
                   2575:     # like to wrap large dependency lists on column 80 (with \), and
                   2576:     # we should not choose a depcomp mode which is confused by this.
                   2577:     #
                   2578:     # We need to recreate these files for each test, as the compiler may
                   2579:     # overwrite some of them when testing with obscure command lines.
                   2580:     # This happens at least with the AIX C compiler.
                   2581:     : > sub/conftest.c
                   2582:     for i in 1 2 3 4 5 6; do
                   2583:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2584:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2585:       # Solaris 8's {/usr,}/bin/sh.
                   2586:       touch sub/conftst$i.h
                   2587:     done
                   2588:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   2589: 
                   2590:     case $depmode in
                   2591:     nosideeffect)
                   2592:       # after this tag, mechanisms are not by side-effect, so they'll
                   2593:       # only be used when explicitly requested
                   2594:       if test "x$enable_dependency_tracking" = xyes; then
                   2595:        continue
                   2596:       else
                   2597:        break
                   2598:       fi
                   2599:       ;;
                   2600:     none) break ;;
                   2601:     esac
                   2602:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2603:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2604:     # handle `-M -o', and we need to detect this.
                   2605:     if depmode=$depmode \
                   2606:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2607:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2608:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2609:          >/dev/null 2>conftest.err &&
                   2610:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2611:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
                   2612:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   2613:       # icc doesn't choke on unknown options, it will just issue warnings
                   2614:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2615:       # that says an option was ignored or not supported.
                   2616:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2617:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2618:       # The diagnosis changed in icc 8.0:
                   2619:       #   icc: Command line remark: option '-MP' not supported
                   2620:       if (grep 'ignoring option' conftest.err ||
                   2621:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2622:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2623:         break
                   2624:       fi
                   2625:     fi
                   2626:   done
                   2627: 
                   2628:   cd ..
                   2629:   rm -rf conftest.dir
                   2630: else
                   2631:   am_cv_CXX_dependencies_compiler_type=none
                   2632: fi
                   2633: 
                   2634: fi
1.11      moko     2635: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2636: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
1.1       misha    2637: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2638: 
                   2639: 
                   2640: 
                   2641: if
                   2642:   test "x$enable_dependency_tracking" != xno \
                   2643:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2644:   am__fastdepCXX_TRUE=
                   2645:   am__fastdepCXX_FALSE='#'
                   2646: else
                   2647:   am__fastdepCXX_TRUE='#'
                   2648:   am__fastdepCXX_FALSE=
                   2649: fi
                   2650: 
                   2651: 
                   2652: ac_ext=c
                   2653: ac_cpp='$CPP $CPPFLAGS'
                   2654: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2655: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2656: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2657: if test -n "$ac_tool_prefix"; then
                   2658:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2659: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.11      moko     2660: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2661: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2662: if test "${ac_cv_prog_CC+set}" = set; then
                   2663:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2664: else
                   2665:   if test -n "$CC"; then
                   2666:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2667: else
                   2668: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2669: for as_dir in $PATH
                   2670: do
                   2671:   IFS=$as_save_IFS
                   2672:   test -z "$as_dir" && as_dir=.
1.11      moko     2673:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2674:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    2675:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.11      moko     2676:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2677:     break 2
                   2678:   fi
                   2679: done
1.11      moko     2680: done
1.1       misha    2681: 
                   2682: fi
                   2683: fi
                   2684: CC=$ac_cv_prog_CC
                   2685: if test -n "$CC"; then
1.11      moko     2686:   echo "$as_me:$LINENO: result: $CC" >&5
                   2687: echo "${ECHO_T}$CC" >&6
1.1       misha    2688: else
1.11      moko     2689:   echo "$as_me:$LINENO: result: no" >&5
                   2690: echo "${ECHO_T}no" >&6
1.1       misha    2691: fi
                   2692: 
                   2693: fi
                   2694: if test -z "$ac_cv_prog_CC"; then
                   2695:   ac_ct_CC=$CC
                   2696:   # Extract the first word of "gcc", so it can be a program name with args.
                   2697: set dummy gcc; ac_word=$2
1.11      moko     2698: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2699: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2700: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2701:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2702: else
                   2703:   if test -n "$ac_ct_CC"; then
                   2704:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2705: else
                   2706: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2707: for as_dir in $PATH
                   2708: do
                   2709:   IFS=$as_save_IFS
                   2710:   test -z "$as_dir" && as_dir=.
1.11      moko     2711:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2712:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    2713:     ac_cv_prog_ac_ct_CC="gcc"
1.11      moko     2714:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2715:     break 2
                   2716:   fi
                   2717: done
1.11      moko     2718: done
1.1       misha    2719: 
                   2720: fi
                   2721: fi
                   2722: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2723: if test -n "$ac_ct_CC"; then
1.11      moko     2724:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2725: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       misha    2726: else
1.11      moko     2727:   echo "$as_me:$LINENO: result: no" >&5
                   2728: echo "${ECHO_T}no" >&6
1.1       misha    2729: fi
                   2730: 
1.11      moko     2731:   CC=$ac_ct_CC
1.1       misha    2732: else
                   2733:   CC="$ac_cv_prog_CC"
                   2734: fi
                   2735: 
                   2736: if test -z "$CC"; then
1.11      moko     2737:   if test -n "$ac_tool_prefix"; then
                   2738:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1       misha    2739: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.11      moko     2740: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2741: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2742: if test "${ac_cv_prog_CC+set}" = set; then
                   2743:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2744: else
                   2745:   if test -n "$CC"; then
                   2746:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2747: else
                   2748: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2749: for as_dir in $PATH
                   2750: do
                   2751:   IFS=$as_save_IFS
                   2752:   test -z "$as_dir" && as_dir=.
1.11      moko     2753:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2754:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    2755:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.11      moko     2756:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2757:     break 2
                   2758:   fi
                   2759: done
1.11      moko     2760: done
1.1       misha    2761: 
                   2762: fi
                   2763: fi
                   2764: CC=$ac_cv_prog_CC
                   2765: if test -n "$CC"; then
1.11      moko     2766:   echo "$as_me:$LINENO: result: $CC" >&5
                   2767: echo "${ECHO_T}$CC" >&6
                   2768: else
                   2769:   echo "$as_me:$LINENO: result: no" >&5
                   2770: echo "${ECHO_T}no" >&6
                   2771: fi
                   2772: 
                   2773: fi
                   2774: if test -z "$ac_cv_prog_CC"; then
                   2775:   ac_ct_CC=$CC
                   2776:   # Extract the first word of "cc", so it can be a program name with args.
                   2777: set dummy cc; ac_word=$2
                   2778: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2779: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2780: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2781:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2782: else
                   2783:   if test -n "$ac_ct_CC"; then
                   2784:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2785: else
                   2786: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2787: for as_dir in $PATH
                   2788: do
                   2789:   IFS=$as_save_IFS
                   2790:   test -z "$as_dir" && as_dir=.
                   2791:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2792:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2793:     ac_cv_prog_ac_ct_CC="cc"
                   2794:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2795:     break 2
                   2796:   fi
                   2797: done
                   2798: done
                   2799: 
                   2800: fi
                   2801: fi
                   2802: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2803: if test -n "$ac_ct_CC"; then
                   2804:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2805: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       misha    2806: else
1.11      moko     2807:   echo "$as_me:$LINENO: result: no" >&5
                   2808: echo "${ECHO_T}no" >&6
1.1       misha    2809: fi
                   2810: 
1.11      moko     2811:   CC=$ac_ct_CC
                   2812: else
                   2813:   CC="$ac_cv_prog_CC"
                   2814: fi
1.10      moko     2815: 
1.1       misha    2816: fi
                   2817: if test -z "$CC"; then
                   2818:   # Extract the first word of "cc", so it can be a program name with args.
                   2819: set dummy cc; ac_word=$2
1.11      moko     2820: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2821: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2822: if test "${ac_cv_prog_CC+set}" = set; then
                   2823:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2824: else
                   2825:   if test -n "$CC"; then
                   2826:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2827: else
                   2828:   ac_prog_rejected=no
                   2829: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2830: for as_dir in $PATH
                   2831: do
                   2832:   IFS=$as_save_IFS
                   2833:   test -z "$as_dir" && as_dir=.
1.11      moko     2834:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2835:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    2836:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2837:        ac_prog_rejected=yes
                   2838:        continue
                   2839:      fi
                   2840:     ac_cv_prog_CC="cc"
1.11      moko     2841:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2842:     break 2
                   2843:   fi
                   2844: done
1.11      moko     2845: done
1.1       misha    2846: 
                   2847: if test $ac_prog_rejected = yes; then
                   2848:   # We found a bogon in the path, so make sure we never use it.
                   2849:   set dummy $ac_cv_prog_CC
                   2850:   shift
                   2851:   if test $# != 0; then
                   2852:     # We chose a different compiler from the bogus one.
                   2853:     # However, it has the same basename, so the bogon will be chosen
                   2854:     # first if we set CC to just the basename; use the full file name.
                   2855:     shift
                   2856:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   2857:   fi
                   2858: fi
                   2859: fi
                   2860: fi
                   2861: CC=$ac_cv_prog_CC
                   2862: if test -n "$CC"; then
1.11      moko     2863:   echo "$as_me:$LINENO: result: $CC" >&5
                   2864: echo "${ECHO_T}$CC" >&6
1.1       misha    2865: else
1.11      moko     2866:   echo "$as_me:$LINENO: result: no" >&5
                   2867: echo "${ECHO_T}no" >&6
1.1       misha    2868: fi
                   2869: 
                   2870: fi
                   2871: if test -z "$CC"; then
                   2872:   if test -n "$ac_tool_prefix"; then
1.11      moko     2873:   for ac_prog in cl
1.1       misha    2874:   do
                   2875:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2876: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.11      moko     2877: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2878: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2879: if test "${ac_cv_prog_CC+set}" = set; then
                   2880:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2881: else
                   2882:   if test -n "$CC"; then
                   2883:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2884: else
                   2885: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2886: for as_dir in $PATH
                   2887: do
                   2888:   IFS=$as_save_IFS
                   2889:   test -z "$as_dir" && as_dir=.
1.11      moko     2890:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2891:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    2892:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.11      moko     2893:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2894:     break 2
                   2895:   fi
                   2896: done
1.11      moko     2897: done
1.1       misha    2898: 
                   2899: fi
                   2900: fi
                   2901: CC=$ac_cv_prog_CC
                   2902: if test -n "$CC"; then
1.11      moko     2903:   echo "$as_me:$LINENO: result: $CC" >&5
                   2904: echo "${ECHO_T}$CC" >&6
1.1       misha    2905: else
1.11      moko     2906:   echo "$as_me:$LINENO: result: no" >&5
                   2907: echo "${ECHO_T}no" >&6
1.1       misha    2908: fi
                   2909: 
                   2910:     test -n "$CC" && break
                   2911:   done
                   2912: fi
                   2913: if test -z "$CC"; then
                   2914:   ac_ct_CC=$CC
1.11      moko     2915:   for ac_prog in cl
1.1       misha    2916: do
                   2917:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2918: set dummy $ac_prog; ac_word=$2
1.11      moko     2919: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2920: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2921: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2922:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2923: else
                   2924:   if test -n "$ac_ct_CC"; then
                   2925:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2926: else
                   2927: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2928: for as_dir in $PATH
                   2929: do
                   2930:   IFS=$as_save_IFS
                   2931:   test -z "$as_dir" && as_dir=.
1.11      moko     2932:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2933:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misha    2934:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.11      moko     2935:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2936:     break 2
                   2937:   fi
                   2938: done
1.11      moko     2939: done
1.1       misha    2940: 
                   2941: fi
                   2942: fi
                   2943: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2944: if test -n "$ac_ct_CC"; then
1.11      moko     2945:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2946: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       misha    2947: else
1.11      moko     2948:   echo "$as_me:$LINENO: result: no" >&5
                   2949: echo "${ECHO_T}no" >&6
1.1       misha    2950: fi
                   2951: 
                   2952:   test -n "$ac_ct_CC" && break
                   2953: done
                   2954: 
1.11      moko     2955:   CC=$ac_ct_CC
1.1       misha    2956: fi
                   2957: 
                   2958: fi
                   2959: 
                   2960: 
1.11      moko     2961: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   2962: See \`config.log' for more details." >&5
                   2963: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   2964: See \`config.log' for more details." >&2;}
                   2965:    { (exit 1); exit 1; }; }
1.1       misha    2966: 
                   2967: # Provide some information about the compiler.
1.11      moko     2968: echo "$as_me:$LINENO:" \
                   2969:      "checking for C compiler version" >&5
                   2970: ac_compiler=`set X $ac_compile; echo $2`
                   2971: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2972:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2973:   ac_status=$?
                   2974:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2975:   (exit $ac_status); }
                   2976: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2977:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2978:   ac_status=$?
                   2979:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2980:   (exit $ac_status); }
                   2981: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2982:   (eval $ac_compiler -V </dev/null >&5) 2>&5
1.1       misha    2983:   ac_status=$?
1.11      moko     2984:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2985:   (exit $ac_status); }
                   2986: 
                   2987: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   2988: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   2989: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   2990:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    2991: else
1.11      moko     2992:   cat >conftest.$ac_ext <<_ACEOF
                   2993: /* confdefs.h.  */
                   2994: _ACEOF
                   2995: cat confdefs.h >>conftest.$ac_ext
                   2996: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    2997: /* end confdefs.h.  */
                   2998: 
                   2999: int
                   3000: main ()
                   3001: {
                   3002: #ifndef __GNUC__
                   3003:        choke me
                   3004: #endif
                   3005: 
                   3006:   ;
                   3007:   return 0;
                   3008: }
                   3009: _ACEOF
1.11      moko     3010: rm -f conftest.$ac_objext
                   3011: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3012:   (eval $ac_compile) 2>conftest.er1
                   3013:   ac_status=$?
                   3014:   grep -v '^ *+' conftest.er1 >conftest.err
                   3015:   rm -f conftest.er1
                   3016:   cat conftest.err >&5
                   3017:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3018:   (exit $ac_status); } &&
                   3019:         { ac_try='test -z "$ac_c_werror_flag"
                   3020:                         || test ! -s conftest.err'
                   3021:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3022:   (eval $ac_try) 2>&5
                   3023:   ac_status=$?
                   3024:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3025:   (exit $ac_status); }; } &&
                   3026:         { ac_try='test -s conftest.$ac_objext'
                   3027:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3028:   (eval $ac_try) 2>&5
                   3029:   ac_status=$?
                   3030:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3031:   (exit $ac_status); }; }; then
1.1       misha    3032:   ac_compiler_gnu=yes
                   3033: else
1.11      moko     3034:   echo "$as_me: failed program was:" >&5
                   3035: sed 's/^/| /' conftest.$ac_ext >&5
                   3036: 
                   3037: ac_compiler_gnu=no
1.1       misha    3038: fi
1.11      moko     3039: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    3040: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3041: 
                   3042: fi
1.11      moko     3043: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3044: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3045: GCC=`test $ac_compiler_gnu = yes && echo yes`
1.1       misha    3046: ac_test_CFLAGS=${CFLAGS+set}
                   3047: ac_save_CFLAGS=$CFLAGS
1.11      moko     3048: CFLAGS="-g"
                   3049: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3050: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3051: if test "${ac_cv_prog_cc_g+set}" = set; then
                   3052:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3053: else
                   3054:   cat >conftest.$ac_ext <<_ACEOF
                   3055: /* confdefs.h.  */
                   3056: _ACEOF
                   3057: cat confdefs.h >>conftest.$ac_ext
                   3058: cat >>conftest.$ac_ext <<_ACEOF
1.10      moko     3059: /* end confdefs.h.  */
                   3060: 
                   3061: int
                   3062: main ()
                   3063: {
                   3064: 
                   3065:   ;
                   3066:   return 0;
                   3067: }
                   3068: _ACEOF
1.11      moko     3069: rm -f conftest.$ac_objext
                   3070: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3071:   (eval $ac_compile) 2>conftest.er1
                   3072:   ac_status=$?
                   3073:   grep -v '^ *+' conftest.er1 >conftest.err
                   3074:   rm -f conftest.er1
                   3075:   cat conftest.err >&5
                   3076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3077:   (exit $ac_status); } &&
                   3078:         { ac_try='test -z "$ac_c_werror_flag"
                   3079:                         || test ! -s conftest.err'
                   3080:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3081:   (eval $ac_try) 2>&5
                   3082:   ac_status=$?
                   3083:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3084:   (exit $ac_status); }; } &&
                   3085:         { ac_try='test -s conftest.$ac_objext'
                   3086:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3087:   (eval $ac_try) 2>&5
                   3088:   ac_status=$?
                   3089:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3090:   (exit $ac_status); }; }; then
1.10      moko     3091:   ac_cv_prog_cc_g=yes
1.1       misha    3092: else
1.11      moko     3093:   echo "$as_me: failed program was:" >&5
                   3094: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misha    3095: 
1.11      moko     3096: ac_cv_prog_cc_g=no
1.10      moko     3097: fi
1.11      moko     3098: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    3099: fi
1.11      moko     3100: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3101: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       misha    3102: if test "$ac_test_CFLAGS" = set; then
                   3103:   CFLAGS=$ac_save_CFLAGS
                   3104: elif test $ac_cv_prog_cc_g = yes; then
                   3105:   if test "$GCC" = yes; then
                   3106:     CFLAGS="-g -O2"
                   3107:   else
                   3108:     CFLAGS="-g"
                   3109:   fi
                   3110: else
                   3111:   if test "$GCC" = yes; then
                   3112:     CFLAGS="-O2"
                   3113:   else
                   3114:     CFLAGS=
                   3115:   fi
                   3116: fi
1.11      moko     3117: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3118: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3119: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3120:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    3121: else
1.11      moko     3122:   ac_cv_prog_cc_stdc=no
1.1       misha    3123: ac_save_CC=$CC
1.11      moko     3124: cat >conftest.$ac_ext <<_ACEOF
                   3125: /* confdefs.h.  */
                   3126: _ACEOF
                   3127: cat confdefs.h >>conftest.$ac_ext
                   3128: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    3129: /* end confdefs.h.  */
                   3130: #include <stdarg.h>
                   3131: #include <stdio.h>
                   3132: #include <sys/types.h>
                   3133: #include <sys/stat.h>
                   3134: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3135: struct buf { int x; };
                   3136: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3137: static char *e (p, i)
                   3138:      char **p;
                   3139:      int i;
                   3140: {
                   3141:   return p[i];
                   3142: }
                   3143: static char *f (char * (*g) (char **, int), char **p, ...)
                   3144: {
                   3145:   char *s;
                   3146:   va_list v;
                   3147:   va_start (v,p);
                   3148:   s = g (p, va_arg (v,int));
                   3149:   va_end (v);
                   3150:   return s;
                   3151: }
                   3152: 
                   3153: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3154:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3155:    These don't provoke an error unfortunately, instead are silently treated
1.11      moko     3156:    as 'x'.  The following induces an error, until -std1 is added to get
1.1       misha    3157:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3158:    array size at least.  It's necessary to write '\x00'==0 to get something
1.11      moko     3159:    that's true only with -std1.  */
1.1       misha    3160: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3161: 
                   3162: int test (int i, double x);
                   3163: struct s1 {int (*f) (int a);};
                   3164: struct s2 {int (*f) (double a);};
                   3165: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3166: int argc;
                   3167: char **argv;
                   3168: int
                   3169: main ()
                   3170: {
                   3171: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3172:   ;
                   3173:   return 0;
                   3174: }
                   3175: _ACEOF
1.11      moko     3176: # Don't try gcc -ansi; that turns off useful extensions and
                   3177: # breaks some systems' header files.
                   3178: # AIX                  -qlanglvl=ansi
                   3179: # Ultrix and OSF/1     -std1
                   3180: # HP-UX 10.20 and later        -Ae
                   3181: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3182: # SVR4                 -Xc -D__EXTENSIONS__
                   3183: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1       misha    3184: do
                   3185:   CC="$ac_save_CC $ac_arg"
1.11      moko     3186:   rm -f conftest.$ac_objext
                   3187: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3188:   (eval $ac_compile) 2>conftest.er1
                   3189:   ac_status=$?
                   3190:   grep -v '^ *+' conftest.er1 >conftest.err
                   3191:   rm -f conftest.er1
                   3192:   cat conftest.err >&5
                   3193:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3194:   (exit $ac_status); } &&
                   3195:         { ac_try='test -z "$ac_c_werror_flag"
                   3196:                         || test ! -s conftest.err'
                   3197:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3198:   (eval $ac_try) 2>&5
                   3199:   ac_status=$?
                   3200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3201:   (exit $ac_status); }; } &&
                   3202:         { ac_try='test -s conftest.$ac_objext'
                   3203:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3204:   (eval $ac_try) 2>&5
                   3205:   ac_status=$?
                   3206:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3207:   (exit $ac_status); }; }; then
                   3208:   ac_cv_prog_cc_stdc=$ac_arg
                   3209: break
                   3210: else
                   3211:   echo "$as_me: failed program was:" >&5
                   3212: sed 's/^/| /' conftest.$ac_ext >&5
                   3213: 
1.1       misha    3214: fi
1.11      moko     3215: rm -f conftest.err conftest.$ac_objext
1.1       misha    3216: done
1.11      moko     3217: rm -f conftest.$ac_ext conftest.$ac_objext
1.1       misha    3218: CC=$ac_save_CC
                   3219: 
                   3220: fi
1.11      moko     3221: 
                   3222: case "x$ac_cv_prog_cc_stdc" in
                   3223:   x|xno)
                   3224:     echo "$as_me:$LINENO: result: none needed" >&5
                   3225: echo "${ECHO_T}none needed" >&6 ;;
1.1       misha    3226:   *)
1.11      moko     3227:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3228: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3229:     CC="$CC $ac_cv_prog_cc_stdc" ;;
1.1       misha    3230: esac
                   3231: 
1.11      moko     3232: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3233: # in C++ we need to declare it.  In case someone uses the same compiler
                   3234: # for both compiling C and C++ we need to have the C++ compiler decide
                   3235: # the declaration of exit, since it's the most demanding environment.
                   3236: cat >conftest.$ac_ext <<_ACEOF
                   3237: #ifndef __cplusplus
                   3238:   choke me
                   3239: #endif
                   3240: _ACEOF
                   3241: rm -f conftest.$ac_objext
                   3242: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3243:   (eval $ac_compile) 2>conftest.er1
                   3244:   ac_status=$?
                   3245:   grep -v '^ *+' conftest.er1 >conftest.err
                   3246:   rm -f conftest.er1
                   3247:   cat conftest.err >&5
                   3248:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3249:   (exit $ac_status); } &&
                   3250:         { ac_try='test -z "$ac_c_werror_flag"
                   3251:                         || test ! -s conftest.err'
                   3252:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3253:   (eval $ac_try) 2>&5
                   3254:   ac_status=$?
                   3255:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3256:   (exit $ac_status); }; } &&
                   3257:         { ac_try='test -s conftest.$ac_objext'
                   3258:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3259:   (eval $ac_try) 2>&5
                   3260:   ac_status=$?
                   3261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3262:   (exit $ac_status); }; }; then
                   3263:   for ac_declaration in \
                   3264:    '' \
                   3265:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3266:    'extern "C" void std::exit (int); using std::exit;' \
                   3267:    'extern "C" void exit (int) throw ();' \
                   3268:    'extern "C" void exit (int);' \
                   3269:    'void exit (int);'
                   3270: do
                   3271:   cat >conftest.$ac_ext <<_ACEOF
                   3272: /* confdefs.h.  */
                   3273: _ACEOF
                   3274: cat confdefs.h >>conftest.$ac_ext
                   3275: cat >>conftest.$ac_ext <<_ACEOF
                   3276: /* end confdefs.h.  */
                   3277: $ac_declaration
                   3278: #include <stdlib.h>
                   3279: int
                   3280: main ()
                   3281: {
                   3282: exit (42);
                   3283:   ;
                   3284:   return 0;
                   3285: }
                   3286: _ACEOF
                   3287: rm -f conftest.$ac_objext
                   3288: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3289:   (eval $ac_compile) 2>conftest.er1
                   3290:   ac_status=$?
                   3291:   grep -v '^ *+' conftest.er1 >conftest.err
                   3292:   rm -f conftest.er1
                   3293:   cat conftest.err >&5
                   3294:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3295:   (exit $ac_status); } &&
                   3296:         { ac_try='test -z "$ac_c_werror_flag"
                   3297:                         || test ! -s conftest.err'
                   3298:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3299:   (eval $ac_try) 2>&5
                   3300:   ac_status=$?
                   3301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3302:   (exit $ac_status); }; } &&
                   3303:         { ac_try='test -s conftest.$ac_objext'
                   3304:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3305:   (eval $ac_try) 2>&5
                   3306:   ac_status=$?
                   3307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3308:   (exit $ac_status); }; }; then
                   3309:   :
                   3310: else
                   3311:   echo "$as_me: failed program was:" >&5
                   3312: sed 's/^/| /' conftest.$ac_ext >&5
                   3313: 
                   3314: continue
                   3315: fi
                   3316: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   3317:   cat >conftest.$ac_ext <<_ACEOF
                   3318: /* confdefs.h.  */
                   3319: _ACEOF
                   3320: cat confdefs.h >>conftest.$ac_ext
                   3321: cat >>conftest.$ac_ext <<_ACEOF
                   3322: /* end confdefs.h.  */
                   3323: $ac_declaration
                   3324: int
                   3325: main ()
                   3326: {
                   3327: exit (42);
                   3328:   ;
                   3329:   return 0;
                   3330: }
                   3331: _ACEOF
                   3332: rm -f conftest.$ac_objext
                   3333: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3334:   (eval $ac_compile) 2>conftest.er1
                   3335:   ac_status=$?
                   3336:   grep -v '^ *+' conftest.er1 >conftest.err
                   3337:   rm -f conftest.er1
                   3338:   cat conftest.err >&5
                   3339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3340:   (exit $ac_status); } &&
                   3341:         { ac_try='test -z "$ac_c_werror_flag"
                   3342:                         || test ! -s conftest.err'
                   3343:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3344:   (eval $ac_try) 2>&5
                   3345:   ac_status=$?
                   3346:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3347:   (exit $ac_status); }; } &&
                   3348:         { ac_try='test -s conftest.$ac_objext'
                   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); }; }; then
                   3354:   break
                   3355: else
                   3356:   echo "$as_me: failed program was:" >&5
                   3357: sed 's/^/| /' conftest.$ac_ext >&5
                   3358: 
                   3359: fi
                   3360: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   3361: done
                   3362: rm -f conftest*
                   3363: if test -n "$ac_declaration"; then
                   3364:   echo '#ifdef __cplusplus' >>confdefs.h
                   3365:   echo $ac_declaration      >>confdefs.h
                   3366:   echo '#endif'             >>confdefs.h
1.1       misha    3367: fi
                   3368: 
1.11      moko     3369: else
                   3370:   echo "$as_me: failed program was:" >&5
                   3371: sed 's/^/| /' conftest.$ac_ext >&5
                   3372: 
                   3373: fi
                   3374: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    3375: ac_ext=c
                   3376: ac_cpp='$CPP $CPPFLAGS'
                   3377: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3378: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3379: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3380: 
                   3381: depcc="$CC"   am_compiler_list=
                   3382: 
1.11      moko     3383: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3384: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   3385: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   3386:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    3387: else
                   3388:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3389:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3390:   # making bogus files that we don't know about and never remove.  For
                   3391:   # instance it was reported that on HP-UX the gcc test will end up
                   3392:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3393:   # in D'.
                   3394:   mkdir conftest.dir
                   3395:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3396:   # using a relative directory.
                   3397:   cp "$am_depcomp" conftest.dir
                   3398:   cd conftest.dir
                   3399:   # We will build objects and dependencies in a subdirectory because
                   3400:   # it helps to detect inapplicable dependency modes.  For instance
                   3401:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3402:   # side effect of compilation, but ICC will put the dependencies in
                   3403:   # the current directory while Tru64 will put them in the object
                   3404:   # directory.
                   3405:   mkdir sub
                   3406: 
                   3407:   am_cv_CC_dependencies_compiler_type=none
                   3408:   if test "$am_compiler_list" = ""; then
                   3409:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3410:   fi
                   3411:   for depmode in $am_compiler_list; do
                   3412:     # Setup a source with many dependencies, because some compilers
                   3413:     # like to wrap large dependency lists on column 80 (with \), and
                   3414:     # we should not choose a depcomp mode which is confused by this.
                   3415:     #
                   3416:     # We need to recreate these files for each test, as the compiler may
                   3417:     # overwrite some of them when testing with obscure command lines.
                   3418:     # This happens at least with the AIX C compiler.
                   3419:     : > sub/conftest.c
                   3420:     for i in 1 2 3 4 5 6; do
                   3421:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3422:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3423:       # Solaris 8's {/usr,}/bin/sh.
                   3424:       touch sub/conftst$i.h
                   3425:     done
                   3426:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   3427: 
                   3428:     case $depmode in
                   3429:     nosideeffect)
                   3430:       # after this tag, mechanisms are not by side-effect, so they'll
                   3431:       # only be used when explicitly requested
                   3432:       if test "x$enable_dependency_tracking" = xyes; then
                   3433:        continue
                   3434:       else
                   3435:        break
                   3436:       fi
                   3437:       ;;
                   3438:     none) break ;;
                   3439:     esac
                   3440:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3441:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3442:     # handle `-M -o', and we need to detect this.
                   3443:     if depmode=$depmode \
                   3444:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3445:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3446:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3447:          >/dev/null 2>conftest.err &&
                   3448:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3449:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
                   3450:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3451:       # icc doesn't choke on unknown options, it will just issue warnings
                   3452:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3453:       # that says an option was ignored or not supported.
                   3454:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3455:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3456:       # The diagnosis changed in icc 8.0:
                   3457:       #   icc: Command line remark: option '-MP' not supported
                   3458:       if (grep 'ignoring option' conftest.err ||
                   3459:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3460:         am_cv_CC_dependencies_compiler_type=$depmode
                   3461:         break
                   3462:       fi
                   3463:     fi
                   3464:   done
                   3465: 
                   3466:   cd ..
                   3467:   rm -rf conftest.dir
                   3468: else
                   3469:   am_cv_CC_dependencies_compiler_type=none
                   3470: fi
                   3471: 
                   3472: fi
1.11      moko     3473: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3474: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1.1       misha    3475: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3476: 
                   3477: 
                   3478: 
                   3479: if
                   3480:   test "x$enable_dependency_tracking" != xno \
                   3481:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3482:   am__fastdepCC_TRUE=
                   3483:   am__fastdepCC_FALSE='#'
                   3484: else
                   3485:   am__fastdepCC_TRUE='#'
                   3486:   am__fastdepCC_FALSE=
                   3487: fi
                   3488: 
                   3489: 
                   3490: 
1.8       moko     3491: 
                   3492: case `pwd` in
                   3493:   *\ * | *\    *)
1.11      moko     3494:     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   3495: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.8       moko     3496: esac
                   3497: 
                   3498: 
                   3499: 
                   3500: macro_version='2.4.2'
                   3501: macro_revision='1.3337'
                   3502: 
                   3503: 
                   3504: 
                   3505: 
                   3506: 
                   3507: 
                   3508: 
1.1       misha    3509: 
                   3510: 
                   3511: 
                   3512: 
                   3513: 
                   3514: 
1.8       moko     3515: ltmain="$ac_aux_dir/ltmain.sh"
1.1       misha    3516: 
                   3517: # Make sure we can run config.sub.
1.11      moko     3518: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   3519:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   3520: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   3521:    { (exit 1); exit 1; }; }
                   3522: 
                   3523: echo "$as_me:$LINENO: checking build system type" >&5
                   3524: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   3525: if test "${ac_cv_build+set}" = set; then
                   3526:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3527: else
                   3528:   ac_cv_build_alias=$build_alias
                   3529: test -z "$ac_cv_build_alias" &&
                   3530:   ac_cv_build_alias=`$ac_config_guess`
                   3531: test -z "$ac_cv_build_alias" &&
                   3532:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   3533: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   3534:    { (exit 1); exit 1; }; }
                   3535: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   3536:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   3537: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   3538:    { (exit 1); exit 1; }; }
1.1       misha    3539: 
1.11      moko     3540: fi
                   3541: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   3542: echo "${ECHO_T}$ac_cv_build" >&6
1.10      moko     3543: build=$ac_cv_build
1.11      moko     3544: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3545: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3546: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   3547: 
                   3548: 
                   3549: echo "$as_me:$LINENO: checking host system type" >&5
                   3550: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   3551: if test "${ac_cv_host+set}" = set; then
                   3552:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3553: else
                   3554:   ac_cv_host_alias=$host_alias
                   3555: test -z "$ac_cv_host_alias" &&
                   3556:   ac_cv_host_alias=$ac_cv_build_alias
                   3557: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   3558:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   3559: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   3560:    { (exit 1); exit 1; }; }
1.1       misha    3561: 
                   3562: fi
1.11      moko     3563: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   3564: echo "${ECHO_T}$ac_cv_host" >&6
1.1       misha    3565: host=$ac_cv_host
1.11      moko     3566: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3567: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3568: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.1       misha    3569: 
                   3570: 
1.8       moko     3571: # Backslashify metacharacters that are still active within
                   3572: # double-quoted strings.
                   3573: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   3574: 
                   3575: # Same as above, but do not quote variable references.
                   3576: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   3577: 
                   3578: # Sed substitution to delay expansion of an escaped shell variable in a
                   3579: # double_quote_subst'ed string.
                   3580: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   3581: 
                   3582: # Sed substitution to delay expansion of an escaped single quote.
                   3583: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.1       misha    3584: 
1.8       moko     3585: # Sed substitution to avoid accidental globbing in evaled expressions
                   3586: no_glob_subst='s/\*/\\\*/g'
1.1       misha    3587: 
1.8       moko     3588: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   3589: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   3590: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   3591: 
1.11      moko     3592: echo "$as_me:$LINENO: checking how to print strings" >&5
                   3593: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
1.8       moko     3594: # Test print first, because it will be a builtin if present.
                   3595: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   3596:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3597:   ECHO='print -r --'
                   3598: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3599:   ECHO='printf %s\n'
1.1       misha    3600: else
1.8       moko     3601:   # Use this function as a fallback that always works.
                   3602:   func_fallback_echo ()
                   3603:   {
                   3604:     eval 'cat <<_LTECHO_EOF
                   3605: $1
                   3606: _LTECHO_EOF'
                   3607:   }
                   3608:   ECHO='func_fallback_echo'
1.1       misha    3609: fi
1.8       moko     3610: 
                   3611: # func_echo_all arg...
                   3612: # Invoke $ECHO with all args, space-separated.
                   3613: func_echo_all ()
                   3614: {
                   3615:     $ECHO ""
                   3616: }
                   3617: 
                   3618: case "$ECHO" in
1.11      moko     3619:   printf*) echo "$as_me:$LINENO: result: printf" >&5
                   3620: echo "${ECHO_T}printf" >&6 ;;
                   3621:   print*) echo "$as_me:$LINENO: result: print -r" >&5
                   3622: echo "${ECHO_T}print -r" >&6 ;;
                   3623:   *) echo "$as_me:$LINENO: result: cat" >&5
                   3624: echo "${ECHO_T}cat" >&6 ;;
1.8       moko     3625: esac
                   3626: 
                   3627: 
                   3628: 
                   3629: 
                   3630: 
                   3631: 
                   3632: 
                   3633: 
                   3634: 
                   3635: 
                   3636: 
                   3637: 
                   3638: 
                   3639: 
1.11      moko     3640: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   3641: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   3642: if test "${lt_cv_path_SED+set}" = set; then
                   3643:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3644: else
                   3645:   # Loop through the user's path and test for sed and gsed.
                   3646: # Then use that list of sed's as ones to test for truncation.
                   3647: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.8       moko     3648: for as_dir in $PATH
                   3649: do
                   3650:   IFS=$as_save_IFS
                   3651:   test -z "$as_dir" && as_dir=.
1.11      moko     3652:   for lt_ac_prog in sed gsed; do
1.8       moko     3653:     for ac_exec_ext in '' $ac_executable_extensions; do
1.11      moko     3654:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
                   3655:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
                   3656:       fi
1.8       moko     3657:     done
                   3658:   done
1.11      moko     3659: done
1.8       moko     3660: IFS=$as_save_IFS
1.11      moko     3661: lt_ac_max=0
                   3662: lt_ac_count=0
                   3663: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   3664: # along with /bin/sed that truncates output.
                   3665: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
                   3666:   test ! -f $lt_ac_sed && continue
                   3667:   cat /dev/null > conftest.in
                   3668:   lt_ac_count=0
                   3669:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
                   3670:   # Check for GNU sed and select it if it is found.
                   3671:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
                   3672:     lt_cv_path_SED=$lt_ac_sed
                   3673:     break
1.8       moko     3674:   fi
1.11      moko     3675:   while true; do
                   3676:     cat conftest.in conftest.in >conftest.tmp
                   3677:     mv conftest.tmp conftest.in
                   3678:     cp conftest.in conftest.nl
                   3679:     echo >>conftest.nl
                   3680:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
                   3681:     cmp -s conftest.out conftest.nl || break
                   3682:     # 10000 chars as input seems more than enough
                   3683:     test $lt_ac_count -gt 10 && break
                   3684:     lt_ac_count=`expr $lt_ac_count + 1`
                   3685:     if test $lt_ac_count -gt $lt_ac_max; then
                   3686:       lt_ac_max=$lt_ac_count
                   3687:       lt_cv_path_SED=$lt_ac_sed
                   3688:     fi
                   3689:   done
                   3690: done
                   3691: 
1.10      moko     3692: fi
1.8       moko     3693: 
1.11      moko     3694: SED=$lt_cv_path_SED
                   3695: 
                   3696: echo "$as_me:$LINENO: result: $SED" >&5
                   3697: echo "${ECHO_T}$SED" >&6
1.8       moko     3698: 
                   3699: test -z "$SED" && SED=sed
                   3700: Xsed="$SED -e 1s/^X//"
                   3701: 
                   3702: 
                   3703: 
                   3704: 
                   3705: 
                   3706: 
                   3707: 
                   3708: 
                   3709: 
                   3710: 
                   3711: 
1.11      moko     3712: echo "$as_me:$LINENO: checking for egrep" >&5
                   3713: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   3714: if test "${ac_cv_prog_egrep+set}" = set; then
                   3715:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3716: else
                   3717:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   3718:     then ac_cv_prog_egrep='grep -E'
                   3719:     else ac_cv_prog_egrep='egrep'
1.8       moko     3720:     fi
                   3721: fi
1.11      moko     3722: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   3723: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   3724:  EGREP=$ac_cv_prog_egrep
1.8       moko     3725: 
                   3726: 
1.11      moko     3727: echo "$as_me:$LINENO: checking for fgrep" >&5
                   3728: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
                   3729: if test "${ac_cv_prog_fgrep+set}" = set; then
                   3730:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3731: else
                   3732:   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
                   3733:     then ac_cv_prog_fgrep='grep -F'
                   3734:     else ac_cv_prog_fgrep='fgrep'
1.8       moko     3735:     fi
                   3736: fi
1.11      moko     3737: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
                   3738: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
                   3739:  FGREP=$ac_cv_prog_fgrep
1.8       moko     3740: 
                   3741: 
                   3742: test -z "$GREP" && GREP=grep
                   3743: 
                   3744: 
                   3745: 
                   3746: 
                   3747: 
                   3748: 
                   3749: 
                   3750: 
                   3751: 
                   3752: 
                   3753: 
                   3754: 
                   3755: 
                   3756: 
                   3757: 
                   3758: 
                   3759: 
                   3760: 
                   3761: 
1.11      moko     3762: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   3763: if test "${with_gnu_ld+set}" = set; then
                   3764:   withval="$with_gnu_ld"
                   3765:   test "$withval" = no || with_gnu_ld=yes
1.8       moko     3766: else
                   3767:   with_gnu_ld=no
1.11      moko     3768: fi;
1.8       moko     3769: ac_prog=ld
                   3770: if test "$GCC" = yes; then
                   3771:   # Check if gcc -print-prog-name=ld gives a path.
1.11      moko     3772:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   3773: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
1.8       moko     3774:   case $host in
                   3775:   *-*-mingw*)
                   3776:     # gcc leaves a trailing carriage return which upsets mingw
                   3777:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3778:   *)
                   3779:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3780:   esac
                   3781:   case $ac_prog in
                   3782:     # Accept absolute paths.
                   3783:     [\\/]* | ?:[\\/]*)
                   3784:       re_direlt='/[^/][^/]*/\.\./'
                   3785:       # Canonicalize the pathname of ld
                   3786:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   3787:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   3788:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   3789:       done
                   3790:       test -z "$LD" && LD="$ac_prog"
                   3791:       ;;
                   3792:   "")
                   3793:     # If it fails, then pretend we aren't using GCC.
                   3794:     ac_prog=ld
                   3795:     ;;
                   3796:   *)
                   3797:     # If it is relative, then search for the first ld in PATH.
                   3798:     with_gnu_ld=unknown
                   3799:     ;;
                   3800:   esac
                   3801: elif test "$with_gnu_ld" = yes; then
1.11      moko     3802:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   3803: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.8       moko     3804: else
1.11      moko     3805:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   3806: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.8       moko     3807: fi
1.11      moko     3808: if test "${lt_cv_path_LD+set}" = set; then
                   3809:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    3810: else
                   3811:   if test -z "$LD"; then
1.8       moko     3812:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       misha    3813:   for ac_dir in $PATH; do
1.8       moko     3814:     IFS="$lt_save_ifs"
1.1       misha    3815:     test -z "$ac_dir" && ac_dir=.
                   3816:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   3817:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   3818:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.8       moko     3819:       # but apparently some variants of GNU ld only accept -v.
1.1       misha    3820:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.8       moko     3821:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   3822:       *GNU* | *'with BFD'*)
1.1       misha    3823:        test "$with_gnu_ld" != no && break
1.8       moko     3824:        ;;
                   3825:       *)
1.1       misha    3826:        test "$with_gnu_ld" != yes && break
1.8       moko     3827:        ;;
                   3828:       esac
1.1       misha    3829:     fi
                   3830:   done
1.8       moko     3831:   IFS="$lt_save_ifs"
1.1       misha    3832: else
                   3833:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   3834: fi
                   3835: fi
                   3836: 
                   3837: LD="$lt_cv_path_LD"
                   3838: if test -n "$LD"; then
1.11      moko     3839:   echo "$as_me:$LINENO: result: $LD" >&5
                   3840: echo "${ECHO_T}$LD" >&6
1.1       misha    3841: else
1.11      moko     3842:   echo "$as_me:$LINENO: result: no" >&5
                   3843: echo "${ECHO_T}no" >&6
1.1       misha    3844: fi
1.11      moko     3845: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   3846: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   3847:    { (exit 1); exit 1; }; }
                   3848: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   3849: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   3850: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   3851:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    3852: else
1.8       moko     3853:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   3854: case `$LD -v 2>&1 </dev/null` in
                   3855: *GNU* | *'with BFD'*)
1.1       misha    3856:   lt_cv_prog_gnu_ld=yes
1.8       moko     3857:   ;;
                   3858: *)
1.1       misha    3859:   lt_cv_prog_gnu_ld=no
1.8       moko     3860:   ;;
                   3861: esac
1.1       misha    3862: fi
1.11      moko     3863: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   3864: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
1.1       misha    3865: with_gnu_ld=$lt_cv_prog_gnu_ld
                   3866: 
                   3867: 
                   3868: 
1.8       moko     3869: 
                   3870: 
                   3871: 
                   3872: 
                   3873: 
                   3874: 
1.11      moko     3875: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
                   3876: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
                   3877: if test "${lt_cv_path_NM+set}" = set; then
                   3878:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    3879: else
                   3880:   if test -n "$NM"; then
                   3881:   # Let the user override the test.
                   3882:   lt_cv_path_NM="$NM"
                   3883: else
1.8       moko     3884:   lt_nm_to_check="${ac_tool_prefix}nm"
                   3885:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   3886:     lt_nm_to_check="$lt_nm_to_check nm"
                   3887:   fi
                   3888:   for lt_tmp_nm in $lt_nm_to_check; do
                   3889:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   3890:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   3891:       IFS="$lt_save_ifs"
                   3892:       test -z "$ac_dir" && ac_dir=.
                   3893:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   3894:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   3895:        # Check to see if the nm accepts a BSD-compat flag.
                   3896:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   3897:        #   nm: unknown option "B" ignored
                   3898:        # Tru64's nm complains that /dev/null is an invalid object file
                   3899:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   3900:        */dev/null* | *'Invalid file or object type'*)
                   3901:          lt_cv_path_NM="$tmp_nm -B"
                   3902:          break
                   3903:          ;;
                   3904:        *)
                   3905:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   3906:          */dev/null*)
                   3907:            lt_cv_path_NM="$tmp_nm -p"
                   3908:            break
                   3909:            ;;
                   3910:          *)
                   3911:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   3912:            continue # so that we can try to find one that supports BSD flags
                   3913:            ;;
                   3914:          esac
                   3915:          ;;
                   3916:        esac
1.1       misha    3917:       fi
1.8       moko     3918:     done
                   3919:     IFS="$lt_save_ifs"
1.1       misha    3920:   done
1.8       moko     3921:   : ${lt_cv_path_NM=no}
1.1       misha    3922: fi
                   3923: fi
1.11      moko     3924: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
                   3925: echo "${ECHO_T}$lt_cv_path_NM" >&6
1.8       moko     3926: if test "$lt_cv_path_NM" != "no"; then
                   3927:   NM="$lt_cv_path_NM"
                   3928: else
                   3929:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   3930:   if test -n "$DUMPBIN"; then :
                   3931:     # Let the user override the test.
                   3932:   else
                   3933:     if test -n "$ac_tool_prefix"; then
                   3934:   for ac_prog in dumpbin "link -dump"
                   3935:   do
                   3936:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3937: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.11      moko     3938: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3939: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3940: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
                   3941:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    3942: else
1.8       moko     3943:   if test -n "$DUMPBIN"; then
                   3944:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   3945: else
1.1       misha    3946: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3947: for as_dir in $PATH
                   3948: do
                   3949:   IFS=$as_save_IFS
                   3950:   test -z "$as_dir" && as_dir=.
1.11      moko     3951:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3952:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     3953:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.11      moko     3954:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     3955:     break 2
                   3956:   fi
                   3957: done
1.11      moko     3958: done
                   3959: 
1.8       moko     3960: fi
                   3961: fi
                   3962: DUMPBIN=$ac_cv_prog_DUMPBIN
                   3963: if test -n "$DUMPBIN"; then
1.11      moko     3964:   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
                   3965: echo "${ECHO_T}$DUMPBIN" >&6
1.8       moko     3966: else
1.11      moko     3967:   echo "$as_me:$LINENO: result: no" >&5
                   3968: echo "${ECHO_T}no" >&6
1.8       moko     3969: fi
1.1       misha    3970: 
1.8       moko     3971:     test -n "$DUMPBIN" && break
1.1       misha    3972:   done
1.8       moko     3973: fi
                   3974: if test -z "$DUMPBIN"; then
                   3975:   ac_ct_DUMPBIN=$DUMPBIN
                   3976:   for ac_prog in dumpbin "link -dump"
                   3977: do
                   3978:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3979: set dummy $ac_prog; ac_word=$2
1.11      moko     3980: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3981: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3982: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
                   3983:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     3984: else
                   3985:   if test -n "$ac_ct_DUMPBIN"; then
                   3986:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   3987: else
                   3988: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3989: for as_dir in $PATH
                   3990: do
                   3991:   IFS=$as_save_IFS
                   3992:   test -z "$as_dir" && as_dir=.
1.11      moko     3993:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3994:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     3995:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.11      moko     3996:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     3997:     break 2
                   3998:   fi
                   3999: done
1.11      moko     4000: done
1.1       misha    4001: 
                   4002: fi
1.8       moko     4003: fi
                   4004: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4005: if test -n "$ac_ct_DUMPBIN"; then
1.11      moko     4006:   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
                   4007: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
1.1       misha    4008: else
1.11      moko     4009:   echo "$as_me:$LINENO: result: no" >&5
                   4010: echo "${ECHO_T}no" >&6
1.1       misha    4011: fi
                   4012: 
1.8       moko     4013:   test -n "$ac_ct_DUMPBIN" && break
                   4014: done
1.11      moko     4015: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
1.8       moko     4016: 
1.11      moko     4017:   DUMPBIN=$ac_ct_DUMPBIN
1.1       misha    4018: fi
                   4019: 
1.8       moko     4020:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4021:     *COFF*)
                   4022:       DUMPBIN="$DUMPBIN -symbols"
                   4023:       ;;
                   4024:     *)
                   4025:       DUMPBIN=:
                   4026:       ;;
                   4027:     esac
                   4028:   fi
                   4029: 
                   4030:   if test "$DUMPBIN" != ":"; then
                   4031:     NM="$DUMPBIN"
                   4032:   fi
                   4033: fi
                   4034: test -z "$NM" && NM=nm
                   4035: 
                   4036: 
                   4037: 
                   4038: 
                   4039: 
                   4040: 
1.11      moko     4041: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
                   4042: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
                   4043: if test "${lt_cv_nm_interface+set}" = set; then
                   4044:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4045: else
                   4046:   lt_cv_nm_interface="BSD nm"
                   4047:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4048:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4049:   (eval "$ac_compile" 2>conftest.err)
                   4050:   cat conftest.err >&5
                   4051:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4052:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4053:   cat conftest.err >&5
                   4054:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4055:   cat conftest.out >&5
                   4056:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4057:     lt_cv_nm_interface="MS dumpbin"
                   4058:   fi
                   4059:   rm -f conftest*
                   4060: fi
1.11      moko     4061: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
                   4062: echo "${ECHO_T}$lt_cv_nm_interface" >&6
1.8       moko     4063: 
1.11      moko     4064: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4065: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1.8       moko     4066: LN_S=$as_ln_s
                   4067: if test "$LN_S" = "ln -s"; then
1.11      moko     4068:   echo "$as_me:$LINENO: result: yes" >&5
                   4069: echo "${ECHO_T}yes" >&6
1.8       moko     4070: else
1.11      moko     4071:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4072: echo "${ECHO_T}no, using $LN_S" >&6
1.8       moko     4073: fi
                   4074: 
                   4075: # find the maximum length of command line arguments
1.11      moko     4076: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
                   4077: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
                   4078: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
                   4079:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4080: else
                   4081:     i=0
                   4082:   teststring="ABCD"
                   4083: 
                   4084:   case $build_os in
                   4085:   msdosdjgpp*)
                   4086:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4087:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4088:     # during glob expansion).  Even if it were fixed, the result of this
                   4089:     # check would be larger than it should be.
                   4090:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4091:     ;;
                   4092: 
                   4093:   gnu*)
                   4094:     # Under GNU Hurd, this test is not required because there is
                   4095:     # no limit to the length of command line arguments.
                   4096:     # Libtool will interpret -1 as no limit whatsoever
                   4097:     lt_cv_sys_max_cmd_len=-1;
                   4098:     ;;
                   4099: 
                   4100:   cygwin* | mingw* | cegcc*)
                   4101:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4102:     # about 5 minutes as the teststring grows exponentially.
                   4103:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4104:     # you end up with a "frozen" computer, even though with patience
                   4105:     # the test eventually succeeds (with a max line length of 256k).
                   4106:     # Instead, let's just punt: use the minimum linelength reported by
                   4107:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4108:     lt_cv_sys_max_cmd_len=8192;
                   4109:     ;;
                   4110: 
                   4111:   mint*)
                   4112:     # On MiNT this can take a long time and run out of memory.
                   4113:     lt_cv_sys_max_cmd_len=8192;
                   4114:     ;;
                   4115: 
                   4116:   amigaos*)
                   4117:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4118:     # So we just punt and use a minimum line length of 8192.
                   4119:     lt_cv_sys_max_cmd_len=8192;
                   4120:     ;;
                   4121: 
                   4122:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4123:     # This has been around since 386BSD, at least.  Likely further.
                   4124:     if test -x /sbin/sysctl; then
                   4125:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4126:     elif test -x /usr/sbin/sysctl; then
                   4127:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4128:     else
                   4129:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4130:     fi
                   4131:     # And add a safety zone
                   4132:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4133:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4134:     ;;
                   4135: 
                   4136:   interix*)
                   4137:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4138:     lt_cv_sys_max_cmd_len=196608
                   4139:     ;;
                   4140: 
                   4141:   os2*)
                   4142:     # The test takes a long time on OS/2.
                   4143:     lt_cv_sys_max_cmd_len=8192
                   4144:     ;;
                   4145: 
                   4146:   osf*)
                   4147:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4148:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4149:     # nice to cause kernel panics so lets avoid the loop below.
                   4150:     # First set a reasonable default.
                   4151:     lt_cv_sys_max_cmd_len=16384
                   4152:     #
                   4153:     if test -x /sbin/sysconfig; then
                   4154:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4155:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4156:       esac
                   4157:     fi
                   4158:     ;;
                   4159:   sco3.2v5*)
                   4160:     lt_cv_sys_max_cmd_len=102400
                   4161:     ;;
                   4162:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4163:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4164:     if test -n "$kargmax"; then
                   4165:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4166:     else
                   4167:       lt_cv_sys_max_cmd_len=32768
                   4168:     fi
                   4169:     ;;
                   4170:   *)
                   4171:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4172:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4173:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4174:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4175:     else
                   4176:       # Make teststring a little bigger before we do anything with it.
                   4177:       # a 1K string should be a reasonable start.
                   4178:       for i in 1 2 3 4 5 6 7 8 ; do
                   4179:         teststring=$teststring$teststring
                   4180:       done
                   4181:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4182:       # If test is not a shell built-in, we'll probably end up computing a
                   4183:       # maximum length that is only half of the actual maximum length, but
                   4184:       # we can't tell.
                   4185:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4186:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4187:              test $i != 17 # 1/2 MB should be enough
                   4188:       do
                   4189:         i=`expr $i + 1`
                   4190:         teststring=$teststring$teststring
                   4191:       done
                   4192:       # Only check the string length outside the loop.
                   4193:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4194:       teststring=
                   4195:       # Add a significant safety factor because C++ compilers can tack on
                   4196:       # massive amounts of additional arguments before passing them to the
                   4197:       # linker.  It appears as though 1/2 is a usable value.
                   4198:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4199:     fi
                   4200:     ;;
                   4201:   esac
                   4202: 
                   4203: fi
                   4204: 
                   4205: if test -n $lt_cv_sys_max_cmd_len ; then
1.11      moko     4206:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
                   4207: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
1.8       moko     4208: else
1.11      moko     4209:   echo "$as_me:$LINENO: result: none" >&5
                   4210: echo "${ECHO_T}none" >&6
1.8       moko     4211: fi
                   4212: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4213: 
                   4214: 
                   4215: 
                   4216: 
                   4217: 
                   4218: 
                   4219: : ${CP="cp -f"}
                   4220: : ${MV="mv -f"}
                   4221: : ${RM="rm -f"}
                   4222: 
1.11      moko     4223: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
                   4224: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
1.8       moko     4225: # Try some XSI features
                   4226: xsi_shell=no
                   4227: ( _lt_dummy="a/b/c"
                   4228:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4229:       = c,a/b,b/c, \
                   4230:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4231:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4232:   && xsi_shell=yes
1.11      moko     4233: echo "$as_me:$LINENO: result: $xsi_shell" >&5
                   4234: echo "${ECHO_T}$xsi_shell" >&6
1.8       moko     4235: 
                   4236: 
1.11      moko     4237: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
                   4238: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
1.8       moko     4239: lt_shell_append=no
                   4240: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4241:     >/dev/null 2>&1 \
                   4242:   && lt_shell_append=yes
1.11      moko     4243: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
                   4244: echo "${ECHO_T}$lt_shell_append" >&6
1.8       moko     4245: 
                   4246: 
                   4247: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4248:   lt_unset=unset
                   4249: else
                   4250:   lt_unset=false
                   4251: fi
                   4252: 
                   4253: 
                   4254: 
                   4255: 
                   4256: 
                   4257: # test EBCDIC or ASCII
                   4258: case `echo X|tr X '\101'` in
                   4259:  A) # ASCII based system
                   4260:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4261:   lt_SP2NL='tr \040 \012'
                   4262:   lt_NL2SP='tr \015\012 \040\040'
                   4263:   ;;
                   4264:  *) # EBCDIC based system
                   4265:   lt_SP2NL='tr \100 \n'
                   4266:   lt_NL2SP='tr \r\n \100\100'
                   4267:   ;;
                   4268: esac
                   4269: 
                   4270: 
                   4271: 
                   4272: 
                   4273: 
                   4274: 
                   4275: 
                   4276: 
                   4277: 
1.11      moko     4278: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
                   4279: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
                   4280: if test "${lt_cv_to_host_file_cmd+set}" = set; then
                   4281:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4282: else
                   4283:   case $host in
                   4284:   *-*-mingw* )
                   4285:     case $build in
                   4286:       *-*-mingw* ) # actually msys
                   4287:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4288:         ;;
                   4289:       *-*-cygwin* )
                   4290:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4291:         ;;
                   4292:       * ) # otherwise, assume *nix
                   4293:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4294:         ;;
                   4295:     esac
                   4296:     ;;
                   4297:   *-*-cygwin* )
                   4298:     case $build in
                   4299:       *-*-mingw* ) # actually msys
                   4300:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4301:         ;;
                   4302:       *-*-cygwin* )
                   4303:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4304:         ;;
                   4305:       * ) # otherwise, assume *nix
                   4306:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4307:         ;;
                   4308:     esac
                   4309:     ;;
                   4310:   * ) # unhandled hosts (and "normal" native builds)
                   4311:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4312:     ;;
                   4313: esac
                   4314: 
                   4315: fi
                   4316: 
                   4317: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.11      moko     4318: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
                   4319: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
1.8       moko     4320: 
                   4321: 
                   4322: 
                   4323: 
                   4324: 
1.11      moko     4325: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
                   4326: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
                   4327: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
                   4328:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4329: else
                   4330:   #assume ordinary cross tools, or native build.
                   4331: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   4332: case $host in
                   4333:   *-*-mingw* )
                   4334:     case $build in
                   4335:       *-*-mingw* ) # actually msys
                   4336:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   4337:         ;;
                   4338:     esac
                   4339:     ;;
                   4340: esac
                   4341: 
                   4342: fi
                   4343: 
                   4344: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.11      moko     4345: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
                   4346: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
1.8       moko     4347: 
                   4348: 
                   4349: 
                   4350: 
                   4351: 
1.11      moko     4352: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   4353: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   4354: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   4355:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4356: else
                   4357:   lt_cv_ld_reload_flag='-r'
                   4358: fi
1.11      moko     4359: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   4360: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
1.8       moko     4361: reload_flag=$lt_cv_ld_reload_flag
                   4362: case $reload_flag in
                   4363: "" | " "*) ;;
                   4364: *) reload_flag=" $reload_flag" ;;
                   4365: esac
                   4366: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4367: case $host_os in
                   4368:   cygwin* | mingw* | pw32* | cegcc*)
                   4369:     if test "$GCC" != yes; then
                   4370:       reload_cmds=false
                   4371:     fi
                   4372:     ;;
                   4373:   darwin*)
                   4374:     if test "$GCC" = yes; then
                   4375:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   4376:     else
                   4377:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4378:     fi
                   4379:     ;;
                   4380: esac
                   4381: 
                   4382: 
                   4383: 
                   4384: 
                   4385: 
                   4386: 
                   4387: 
                   4388: 
                   4389: 
                   4390: if test -n "$ac_tool_prefix"; then
                   4391:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   4392: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.11      moko     4393: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4394: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4395: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   4396:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4397: else
                   4398:   if test -n "$OBJDUMP"; then
                   4399:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   4400: else
                   4401: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4402: for as_dir in $PATH
                   4403: do
                   4404:   IFS=$as_save_IFS
                   4405:   test -z "$as_dir" && as_dir=.
1.11      moko     4406:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4407:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     4408:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.11      moko     4409:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     4410:     break 2
                   4411:   fi
                   4412: done
1.11      moko     4413: done
1.8       moko     4414: 
                   4415: fi
                   4416: fi
                   4417: OBJDUMP=$ac_cv_prog_OBJDUMP
                   4418: if test -n "$OBJDUMP"; then
1.11      moko     4419:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   4420: echo "${ECHO_T}$OBJDUMP" >&6
1.8       moko     4421: else
1.11      moko     4422:   echo "$as_me:$LINENO: result: no" >&5
                   4423: echo "${ECHO_T}no" >&6
1.8       moko     4424: fi
                   4425: 
                   4426: fi
                   4427: if test -z "$ac_cv_prog_OBJDUMP"; then
                   4428:   ac_ct_OBJDUMP=$OBJDUMP
                   4429:   # Extract the first word of "objdump", so it can be a program name with args.
                   4430: set dummy objdump; ac_word=$2
1.11      moko     4431: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4432: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4433: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   4434:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4435: else
                   4436:   if test -n "$ac_ct_OBJDUMP"; then
                   4437:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   4438: else
                   4439: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4440: for as_dir in $PATH
                   4441: do
                   4442:   IFS=$as_save_IFS
                   4443:   test -z "$as_dir" && as_dir=.
1.11      moko     4444:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4445:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     4446:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.11      moko     4447:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     4448:     break 2
                   4449:   fi
                   4450: done
1.11      moko     4451: done
1.8       moko     4452: 
1.11      moko     4453:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
1.8       moko     4454: fi
                   4455: fi
                   4456: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   4457: if test -n "$ac_ct_OBJDUMP"; then
1.11      moko     4458:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   4459: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
1.8       moko     4460: else
1.11      moko     4461:   echo "$as_me:$LINENO: result: no" >&5
                   4462: echo "${ECHO_T}no" >&6
1.8       moko     4463: fi
                   4464: 
1.11      moko     4465:   OBJDUMP=$ac_ct_OBJDUMP
1.8       moko     4466: else
                   4467:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   4468: fi
                   4469: 
                   4470: test -z "$OBJDUMP" && OBJDUMP=objdump
                   4471: 
                   4472: 
                   4473: 
                   4474: 
                   4475: 
                   4476: 
                   4477: 
                   4478: 
                   4479: 
1.11      moko     4480: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
                   4481: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
                   4482: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   4483:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    4484: else
                   4485:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   4486: lt_cv_file_magic_test_file=
                   4487: lt_cv_deplibs_check_method='unknown'
                   4488: # Need to set the preceding variable on all platforms that support
                   4489: # interlibrary dependencies.
                   4490: # 'none' -- dependencies not supported.
                   4491: # `unknown' -- same as none, but documents that we really don't know.
                   4492: # 'pass_all' -- all dependencies passed with no checks.
                   4493: # 'test_compile' -- check by making test program.
                   4494: # 'file_magic [[regex]]' -- check by looking for files in library path
1.8       moko     4495: # which responds to the $file_magic_cmd with a given extended regex.
1.1       misha    4496: # If you have `file' or equivalent on your system and you're not sure
                   4497: # whether `pass_all' will *always* work, you probably want this one.
                   4498: 
                   4499: case $host_os in
1.8       moko     4500: aix[4-9]*)
1.1       misha    4501:   lt_cv_deplibs_check_method=pass_all
                   4502:   ;;
                   4503: 
                   4504: beos*)
                   4505:   lt_cv_deplibs_check_method=pass_all
                   4506:   ;;
                   4507: 
1.8       moko     4508: bsdi[45]*)
1.1       misha    4509:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   4510:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   4511:   lt_cv_file_magic_test_file=/shlib/libc.so
                   4512:   ;;
                   4513: 
1.8       moko     4514: cygwin*)
                   4515:   # func_win32_libid is a shell function defined in ltmain.sh
                   4516:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4517:   lt_cv_file_magic_cmd='func_win32_libid'
                   4518:   ;;
                   4519: 
                   4520: mingw* | pw32*)
                   4521:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   4522:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   4523:   # unless we find 'file', for example because we are cross-compiling.
                   4524:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   4525:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   4526:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4527:     lt_cv_file_magic_cmd='func_win32_libid'
                   4528:   else
                   4529:     # Keep this pattern in sync with the one in func_win32_libid.
                   4530:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   4531:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4532:   fi
                   4533:   ;;
                   4534: 
                   4535: cegcc*)
                   4536:   # use the weaker test based on 'objdump'. See mingw*.
                   4537:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
1.1       misha    4538:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4539:   ;;
                   4540: 
                   4541: darwin* | rhapsody*)
1.8       moko     4542:   lt_cv_deplibs_check_method=pass_all
1.1       misha    4543:   ;;
                   4544: 
1.8       moko     4545: freebsd* | dragonfly*)
                   4546:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.1       misha    4547:     case $host_cpu in
                   4548:     i*86 )
                   4549:       # Not sure whether the presence of OpenBSD here was a mistake.
                   4550:       # Let's accept both of them until this is cleared up.
1.8       moko     4551:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.1       misha    4552:       lt_cv_file_magic_cmd=/usr/bin/file
                   4553:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   4554:       ;;
                   4555:     esac
                   4556:   else
                   4557:     lt_cv_deplibs_check_method=pass_all
                   4558:   fi
                   4559:   ;;
                   4560: 
                   4561: gnu*)
                   4562:   lt_cv_deplibs_check_method=pass_all
                   4563:   ;;
                   4564: 
1.8       moko     4565: haiku*)
                   4566:   lt_cv_deplibs_check_method=pass_all
1.1       misha    4567:   ;;
                   4568: 
1.8       moko     4569: hpux10.20* | hpux11*)
                   4570:   lt_cv_file_magic_cmd=/usr/bin/file
                   4571:   case $host_cpu in
                   4572:   ia64*)
                   4573:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   4574:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   4575:     ;;
                   4576:   hppa*64*)
                   4577:     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]'
                   4578:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.1       misha    4579:     ;;
                   4580:   *)
1.8       moko     4581:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   4582:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.1       misha    4583:     ;;
                   4584:   esac
1.8       moko     4585:   ;;
                   4586: 
                   4587: interix[3-9]*)
                   4588:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   4589:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   4590:   ;;
                   4591: 
                   4592: irix5* | irix6* | nonstopux*)
                   4593:   case $LD in
                   4594:   *-32|*"-32 ") libmagic=32-bit;;
                   4595:   *-n32|*"-n32 ") libmagic=N32;;
                   4596:   *-64|*"-64 ") libmagic=64-bit;;
                   4597:   *) libmagic=never-match;;
                   4598:   esac
1.1       misha    4599:   lt_cv_deplibs_check_method=pass_all
                   4600:   ;;
                   4601: 
1.8       moko     4602: # This must be glibc/ELF.
                   4603: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   4604:   lt_cv_deplibs_check_method=pass_all
1.1       misha    4605:   ;;
                   4606: 
                   4607: netbsd*)
1.8       moko     4608:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   4609:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       misha    4610:   else
1.8       moko     4611:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.1       misha    4612:   fi
                   4613:   ;;
                   4614: 
                   4615: newos6*)
                   4616:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   4617:   lt_cv_file_magic_cmd=/usr/bin/file
                   4618:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   4619:   ;;
                   4620: 
1.8       moko     4621: *nto* | *qnx*)
                   4622:   lt_cv_deplibs_check_method=pass_all
                   4623:   ;;
                   4624: 
1.1       misha    4625: openbsd*)
1.8       moko     4626:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   4627:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.1       misha    4628:   else
1.8       moko     4629:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       misha    4630:   fi
                   4631:   ;;
                   4632: 
                   4633: osf3* | osf4* | osf5*)
                   4634:   lt_cv_deplibs_check_method=pass_all
                   4635:   ;;
                   4636: 
1.8       moko     4637: rdos*)
1.1       misha    4638:   lt_cv_deplibs_check_method=pass_all
                   4639:   ;;
                   4640: 
                   4641: solaris*)
                   4642:   lt_cv_deplibs_check_method=pass_all
                   4643:   ;;
                   4644: 
1.8       moko     4645: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.1       misha    4646:   lt_cv_deplibs_check_method=pass_all
                   4647:   ;;
                   4648: 
1.8       moko     4649: sysv4 | sysv4.3*)
1.1       misha    4650:   case $host_vendor in
                   4651:   motorola)
                   4652:     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]'
                   4653:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   4654:     ;;
                   4655:   ncr)
                   4656:     lt_cv_deplibs_check_method=pass_all
                   4657:     ;;
                   4658:   sequent)
                   4659:     lt_cv_file_magic_cmd='/bin/file'
                   4660:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   4661:     ;;
                   4662:   sni)
                   4663:     lt_cv_file_magic_cmd='/bin/file'
                   4664:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   4665:     lt_cv_file_magic_test_file=/lib/libc.so
                   4666:     ;;
                   4667:   siemens)
                   4668:     lt_cv_deplibs_check_method=pass_all
                   4669:     ;;
1.8       moko     4670:   pc)
                   4671:     lt_cv_deplibs_check_method=pass_all
                   4672:     ;;
1.1       misha    4673:   esac
                   4674:   ;;
1.8       moko     4675: 
                   4676: tpf*)
                   4677:   lt_cv_deplibs_check_method=pass_all
                   4678:   ;;
1.1       misha    4679: esac
                   4680: 
                   4681: fi
1.11      moko     4682: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   4683: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
1.8       moko     4684: 
                   4685: file_magic_glob=
                   4686: want_nocaseglob=no
                   4687: if test "$build" = "$host"; then
                   4688:   case $host_os in
                   4689:   mingw* | pw32*)
                   4690:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   4691:       want_nocaseglob=yes
                   4692:     else
                   4693:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   4694:     fi
                   4695:     ;;
                   4696:   esac
                   4697: fi
                   4698: 
1.1       misha    4699: file_magic_cmd=$lt_cv_file_magic_cmd
                   4700: deplibs_check_method=$lt_cv_deplibs_check_method
1.8       moko     4701: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   4702: 
                   4703: 
1.1       misha    4704: 
                   4705: 
                   4706: 
                   4707: 
                   4708: 
                   4709: 
                   4710: 
                   4711: 
1.8       moko     4712: 
                   4713: 
                   4714: 
                   4715: 
                   4716: 
                   4717: 
                   4718: 
                   4719: 
                   4720: 
                   4721: 
                   4722: 
                   4723: 
                   4724: if test -n "$ac_tool_prefix"; then
                   4725:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   4726: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.11      moko     4727: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4728: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4729: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   4730:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4731: else
                   4732:   if test -n "$DLLTOOL"; then
                   4733:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   4734: else
                   4735: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4736: for as_dir in $PATH
                   4737: do
                   4738:   IFS=$as_save_IFS
                   4739:   test -z "$as_dir" && as_dir=.
1.11      moko     4740:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4741:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     4742:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.11      moko     4743:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     4744:     break 2
                   4745:   fi
                   4746: done
1.11      moko     4747: done
1.8       moko     4748: 
                   4749: fi
                   4750: fi
                   4751: DLLTOOL=$ac_cv_prog_DLLTOOL
                   4752: if test -n "$DLLTOOL"; then
1.11      moko     4753:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   4754: echo "${ECHO_T}$DLLTOOL" >&6
1.8       moko     4755: else
1.11      moko     4756:   echo "$as_me:$LINENO: result: no" >&5
                   4757: echo "${ECHO_T}no" >&6
1.8       moko     4758: fi
                   4759: 
                   4760: fi
                   4761: if test -z "$ac_cv_prog_DLLTOOL"; then
                   4762:   ac_ct_DLLTOOL=$DLLTOOL
                   4763:   # Extract the first word of "dlltool", so it can be a program name with args.
                   4764: set dummy dlltool; ac_word=$2
1.11      moko     4765: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4766: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4767: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   4768:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    4769: else
1.8       moko     4770:   if test -n "$ac_ct_DLLTOOL"; then
                   4771:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   4772: else
                   4773: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4774: for as_dir in $PATH
                   4775: do
                   4776:   IFS=$as_save_IFS
                   4777:   test -z "$as_dir" && as_dir=.
1.11      moko     4778:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4779:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     4780:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.11      moko     4781:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     4782:     break 2
                   4783:   fi
                   4784: done
1.11      moko     4785: done
1.8       moko     4786: 
1.11      moko     4787:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
1.8       moko     4788: fi
                   4789: fi
                   4790: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   4791: if test -n "$ac_ct_DLLTOOL"; then
1.11      moko     4792:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   4793: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
1.8       moko     4794: else
1.11      moko     4795:   echo "$as_me:$LINENO: result: no" >&5
                   4796: echo "${ECHO_T}no" >&6
1.8       moko     4797: fi
                   4798: 
1.11      moko     4799:   DLLTOOL=$ac_ct_DLLTOOL
1.8       moko     4800: else
                   4801:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   4802: fi
                   4803: 
                   4804: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   4805: 
                   4806: 
                   4807: 
                   4808: 
1.1       misha    4809: 
                   4810: 
                   4811: 
                   4812: 
                   4813: 
                   4814: 
1.11      moko     4815: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
                   4816: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
                   4817: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
                   4818:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4819: else
                   4820:   lt_cv_sharedlib_from_linklib_cmd='unknown'
1.1       misha    4821: 
                   4822: case $host_os in
1.8       moko     4823: cygwin* | mingw* | pw32* | cegcc*)
                   4824:   # two different shell functions defined in ltmain.sh
                   4825:   # decide which to use based on capabilities of $DLLTOOL
                   4826:   case `$DLLTOOL --help 2>&1` in
                   4827:   *--identify-strict*)
                   4828:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   4829:     ;;
                   4830:   *)
                   4831:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   4832:     ;;
                   4833:   esac
1.1       misha    4834:   ;;
1.8       moko     4835: *)
                   4836:   # fallback: assume linklib IS sharedlib
                   4837:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.1       misha    4838:   ;;
                   4839: esac
                   4840: 
                   4841: fi
1.11      moko     4842: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   4843: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
1.8       moko     4844: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   4845: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.1       misha    4846: 
                   4847: 
                   4848: 
                   4849: 
                   4850: 
                   4851: 
                   4852: 
                   4853: 
1.8       moko     4854: if test -n "$ac_tool_prefix"; then
                   4855:   for ac_prog in ar
                   4856:   do
                   4857:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4858: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.11      moko     4859: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4860: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4861: if test "${ac_cv_prog_AR+set}" = set; then
                   4862:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     4863: else
                   4864:   if test -n "$AR"; then
                   4865:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   4866: else
                   4867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4868: for as_dir in $PATH
                   4869: do
                   4870:   IFS=$as_save_IFS
                   4871:   test -z "$as_dir" && as_dir=.
1.11      moko     4872:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4873:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     4874:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.11      moko     4875:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     4876:     break 2
1.1       misha    4877:   fi
1.8       moko     4878: done
1.11      moko     4879: done
1.1       misha    4880: 
                   4881: fi
                   4882: fi
1.8       moko     4883: AR=$ac_cv_prog_AR
                   4884: if test -n "$AR"; then
1.11      moko     4885:   echo "$as_me:$LINENO: result: $AR" >&5
                   4886: echo "${ECHO_T}$AR" >&6
1.1       misha    4887: else
1.11      moko     4888:   echo "$as_me:$LINENO: result: no" >&5
                   4889: echo "${ECHO_T}no" >&6
1.1       misha    4890: fi
                   4891: 
1.8       moko     4892:     test -n "$AR" && break
                   4893:   done
1.1       misha    4894: fi
1.8       moko     4895: if test -z "$AR"; then
                   4896:   ac_ct_AR=$AR
                   4897:   for ac_prog in ar
                   4898: do
                   4899:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4900: set dummy $ac_prog; ac_word=$2
1.11      moko     4901: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4902: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4903: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
                   4904:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    4905: else
1.8       moko     4906:   if test -n "$ac_ct_AR"; then
                   4907:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   4908: else
                   4909: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4910: for as_dir in $PATH
1.1       misha    4911: do
1.8       moko     4912:   IFS=$as_save_IFS
                   4913:   test -z "$as_dir" && as_dir=.
1.11      moko     4914:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4915:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     4916:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.11      moko     4917:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     4918:     break 2
1.1       misha    4919:   fi
1.8       moko     4920: done
1.11      moko     4921: done
1.1       misha    4922: 
                   4923: fi
                   4924: fi
1.8       moko     4925: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   4926: if test -n "$ac_ct_AR"; then
1.11      moko     4927:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
                   4928: echo "${ECHO_T}$ac_ct_AR" >&6
1.1       misha    4929: else
1.11      moko     4930:   echo "$as_me:$LINENO: result: no" >&5
                   4931: echo "${ECHO_T}no" >&6
1.1       misha    4932: fi
                   4933: 
1.8       moko     4934:   test -n "$ac_ct_AR" && break
1.1       misha    4935: done
1.11      moko     4936: test -n "$ac_ct_AR" || ac_ct_AR="false"
1.8       moko     4937: 
1.11      moko     4938:   AR=$ac_ct_AR
1.1       misha    4939: fi
                   4940: 
1.8       moko     4941: : ${AR=ar}
                   4942: : ${AR_FLAGS=cru}
                   4943: 
1.1       misha    4944: 
                   4945: 
                   4946: 
                   4947: 
                   4948: 
                   4949: 
                   4950: 
                   4951: 
                   4952: 
                   4953: 
1.11      moko     4954: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
                   4955: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
                   4956: if test "${lt_cv_ar_at_file+set}" = set; then
                   4957:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    4958: else
1.8       moko     4959:   lt_cv_ar_at_file=no
1.11      moko     4960:    cat >conftest.$ac_ext <<_ACEOF
                   4961: /* confdefs.h.  */
                   4962: _ACEOF
                   4963: cat confdefs.h >>conftest.$ac_ext
                   4964: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    4965: /* end confdefs.h.  */
                   4966: 
                   4967: int
                   4968: main ()
                   4969: {
                   4970: 
                   4971:   ;
                   4972:   return 0;
                   4973: }
                   4974: _ACEOF
1.11      moko     4975: rm -f conftest.$ac_objext
                   4976: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4977:   (eval $ac_compile) 2>conftest.er1
                   4978:   ac_status=$?
                   4979:   grep -v '^ *+' conftest.er1 >conftest.err
                   4980:   rm -f conftest.er1
                   4981:   cat conftest.err >&5
                   4982:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4983:   (exit $ac_status); } &&
                   4984:         { ac_try='test -z "$ac_c_werror_flag"
                   4985:                         || test ! -s conftest.err'
                   4986:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4987:   (eval $ac_try) 2>&5
                   4988:   ac_status=$?
                   4989:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4990:   (exit $ac_status); }; } &&
                   4991:         { ac_try='test -s conftest.$ac_objext'
                   4992:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4993:   (eval $ac_try) 2>&5
                   4994:   ac_status=$?
                   4995:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4996:   (exit $ac_status); }; }; then
1.8       moko     4997:   echo conftest.$ac_objext > conftest.lst
                   4998:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.11      moko     4999:       { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
1.8       moko     5000:   (eval $lt_ar_try) 2>&5
                   5001:   ac_status=$?
1.11      moko     5002:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5003:   (exit $ac_status); }
1.8       moko     5004:       if test "$ac_status" -eq 0; then
                   5005:        # Ensure the archiver fails upon bogus file names.
                   5006:        rm -f conftest.$ac_objext libconftest.a
1.11      moko     5007:        { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
1.8       moko     5008:   (eval $lt_ar_try) 2>&5
                   5009:   ac_status=$?
1.11      moko     5010:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5011:   (exit $ac_status); }
1.8       moko     5012:        if test "$ac_status" -ne 0; then
                   5013:           lt_cv_ar_at_file=@
                   5014:         fi
                   5015:       fi
                   5016:       rm -f conftest.* libconftest.a
                   5017: 
1.11      moko     5018: else
                   5019:   echo "$as_me: failed program was:" >&5
                   5020: sed 's/^/| /' conftest.$ac_ext >&5
                   5021: 
1.1       misha    5022: fi
1.11      moko     5023: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    5024: 
1.8       moko     5025: fi
1.11      moko     5026: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
                   5027: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
1.8       moko     5028: 
                   5029: if test "x$lt_cv_ar_at_file" = xno; then
                   5030:   archiver_list_spec=
1.1       misha    5031: else
1.8       moko     5032:   archiver_list_spec=$lt_cv_ar_at_file
1.1       misha    5033: fi
                   5034: 
                   5035: 
                   5036: 
1.8       moko     5037: 
                   5038: 
                   5039: 
                   5040: 
                   5041: if test -n "$ac_tool_prefix"; then
                   5042:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5043: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.11      moko     5044: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5045: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5046: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5047:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     5048: else
                   5049:   if test -n "$STRIP"; then
                   5050:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5051: else
                   5052: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5053: for as_dir in $PATH
                   5054: do
                   5055:   IFS=$as_save_IFS
                   5056:   test -z "$as_dir" && as_dir=.
1.11      moko     5057:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5058:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5059:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.11      moko     5060:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5061:     break 2
                   5062:   fi
                   5063: done
1.11      moko     5064: done
1.8       moko     5065: 
                   5066: fi
                   5067: fi
                   5068: STRIP=$ac_cv_prog_STRIP
                   5069: if test -n "$STRIP"; then
1.11      moko     5070:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5071: echo "${ECHO_T}$STRIP" >&6
1.1       misha    5072: else
1.11      moko     5073:   echo "$as_me:$LINENO: result: no" >&5
                   5074: echo "${ECHO_T}no" >&6
1.1       misha    5075: fi
                   5076: 
                   5077: fi
1.8       moko     5078: if test -z "$ac_cv_prog_STRIP"; then
                   5079:   ac_ct_STRIP=$STRIP
                   5080:   # Extract the first word of "strip", so it can be a program name with args.
                   5081: set dummy strip; ac_word=$2
1.11      moko     5082: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5083: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5084: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5085:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    5086: else
1.8       moko     5087:   if test -n "$ac_ct_STRIP"; then
                   5088:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       misha    5089: else
1.8       moko     5090: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5091: for as_dir in $PATH
                   5092: do
                   5093:   IFS=$as_save_IFS
                   5094:   test -z "$as_dir" && as_dir=.
1.11      moko     5095:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5096:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5097:     ac_cv_prog_ac_ct_STRIP="strip"
1.11      moko     5098:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5099:     break 2
                   5100:   fi
                   5101: done
1.11      moko     5102: done
1.1       misha    5103: 
1.11      moko     5104:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1       misha    5105: fi
                   5106: fi
1.8       moko     5107: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5108: if test -n "$ac_ct_STRIP"; then
1.11      moko     5109:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5110: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.8       moko     5111: else
1.11      moko     5112:   echo "$as_me:$LINENO: result: no" >&5
                   5113: echo "${ECHO_T}no" >&6
1.1       misha    5114: fi
                   5115: 
1.11      moko     5116:   STRIP=$ac_ct_STRIP
1.8       moko     5117: else
                   5118:   STRIP="$ac_cv_prog_STRIP"
1.1       misha    5119: fi
                   5120: 
1.8       moko     5121: test -z "$STRIP" && STRIP=:
1.1       misha    5122: 
                   5123: 
                   5124: 
                   5125: 
                   5126: 
                   5127: 
1.8       moko     5128: if test -n "$ac_tool_prefix"; then
                   5129:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5130: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.11      moko     5131: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5132: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5133: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   5134:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    5135: else
1.8       moko     5136:   if test -n "$RANLIB"; then
                   5137:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.1       misha    5138: else
1.8       moko     5139: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5140: for as_dir in $PATH
                   5141: do
                   5142:   IFS=$as_save_IFS
                   5143:   test -z "$as_dir" && as_dir=.
1.11      moko     5144:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5145:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5146:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.11      moko     5147:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5148:     break 2
                   5149:   fi
                   5150: done
1.11      moko     5151: done
1.1       misha    5152: 
                   5153: fi
                   5154: fi
1.8       moko     5155: RANLIB=$ac_cv_prog_RANLIB
                   5156: if test -n "$RANLIB"; then
1.11      moko     5157:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5158: echo "${ECHO_T}$RANLIB" >&6
1.8       moko     5159: else
1.11      moko     5160:   echo "$as_me:$LINENO: result: no" >&5
                   5161: echo "${ECHO_T}no" >&6
1.8       moko     5162: fi
1.1       misha    5163: 
                   5164: fi
1.8       moko     5165: if test -z "$ac_cv_prog_RANLIB"; then
                   5166:   ac_ct_RANLIB=$RANLIB
                   5167:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5168: set dummy ranlib; ac_word=$2
1.11      moko     5169: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5170: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5171: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5172:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     5173: else
                   5174:   if test -n "$ac_ct_RANLIB"; then
                   5175:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5176: else
                   5177: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5178: for as_dir in $PATH
                   5179: do
                   5180:   IFS=$as_save_IFS
                   5181:   test -z "$as_dir" && as_dir=.
1.11      moko     5182:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5183:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5184:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.11      moko     5185:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5186:     break 2
                   5187:   fi
                   5188: done
1.11      moko     5189: done
1.1       misha    5190: 
1.11      moko     5191:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1.8       moko     5192: fi
1.1       misha    5193: fi
1.8       moko     5194: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5195: if test -n "$ac_ct_RANLIB"; then
1.11      moko     5196:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5197: echo "${ECHO_T}$ac_ct_RANLIB" >&6
1.1       misha    5198: else
1.11      moko     5199:   echo "$as_me:$LINENO: result: no" >&5
                   5200: echo "${ECHO_T}no" >&6
1.1       misha    5201: fi
                   5202: 
1.11      moko     5203:   RANLIB=$ac_ct_RANLIB
1.1       misha    5204: else
1.8       moko     5205:   RANLIB="$ac_cv_prog_RANLIB"
1.1       misha    5206: fi
                   5207: 
1.8       moko     5208: test -z "$RANLIB" && RANLIB=:
                   5209: 
                   5210: 
                   5211: 
                   5212: 
                   5213: 
                   5214: 
                   5215: # Determine commands to create old-style static archives.
                   5216: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5217: old_postinstall_cmds='chmod 644 $oldlib'
                   5218: old_postuninstall_cmds=
1.1       misha    5219: 
1.8       moko     5220: if test -n "$RANLIB"; then
                   5221:   case $host_os in
                   5222:   openbsd*)
                   5223:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.1       misha    5224:     ;;
1.8       moko     5225:   *)
                   5226:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.1       misha    5227:     ;;
1.8       moko     5228:   esac
                   5229:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   5230: fi
                   5231: 
                   5232: case $host_os in
                   5233:   darwin*)
                   5234:     lock_old_archive_extraction=yes ;;
                   5235:   *)
                   5236:     lock_old_archive_extraction=no ;;
1.1       misha    5237: esac
                   5238: 
                   5239: 
                   5240: 
                   5241: 
                   5242: 
                   5243: 
                   5244: 
                   5245: 
                   5246: 
                   5247: 
                   5248: 
                   5249: 
                   5250: 
                   5251: 
                   5252: 
                   5253: 
                   5254: 
                   5255: 
                   5256: 
                   5257: 
                   5258: 
                   5259: 
                   5260: 
                   5261: 
                   5262: 
                   5263: 
                   5264: 
                   5265: 
                   5266: 
                   5267: 
                   5268: 
                   5269: 
                   5270: 
                   5271: 
1.8       moko     5272: 
                   5273: 
                   5274: 
                   5275: 
                   5276: 
                   5277: # If no C compiler was specified, use CC.
                   5278: LTCC=${LTCC-"$CC"}
                   5279: 
                   5280: # If no C compiler flags were specified, use CFLAGS.
                   5281: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   5282: 
                   5283: # Allow CC to be a program name with arguments.
                   5284: compiler=$CC
                   5285: 
                   5286: 
                   5287: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.11      moko     5288: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
                   5289: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
                   5290: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   5291:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    5292: else
                   5293: 
1.8       moko     5294: # These are sane defaults that work on at least a few old systems.
                   5295: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.1       misha    5296: 
1.8       moko     5297: # Character class describing NM global symbol codes.
                   5298: symcode='[BCDEGRST]'
1.1       misha    5299: 
1.8       moko     5300: # Regexp to match symbols that can be accessed directly from C.
                   5301: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.1       misha    5302: 
1.8       moko     5303: # Define system-specific variables.
                   5304: case $host_os in
                   5305: aix*)
                   5306:   symcode='[BCDT]'
                   5307:   ;;
                   5308: cygwin* | mingw* | pw32* | cegcc*)
                   5309:   symcode='[ABCDGISTW]'
                   5310:   ;;
                   5311: hpux*)
                   5312:   if test "$host_cpu" = ia64; then
                   5313:     symcode='[ABCDEGRST]'
                   5314:   fi
                   5315:   ;;
                   5316: irix* | nonstopux*)
                   5317:   symcode='[BCDEGRST]'
                   5318:   ;;
                   5319: osf*)
                   5320:   symcode='[BCDEGQRST]'
                   5321:   ;;
                   5322: solaris*)
                   5323:   symcode='[BDRT]'
                   5324:   ;;
                   5325: sco3.2v5*)
                   5326:   symcode='[DT]'
                   5327:   ;;
                   5328: sysv4.2uw2*)
                   5329:   symcode='[DT]'
                   5330:   ;;
                   5331: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   5332:   symcode='[ABDT]'
                   5333:   ;;
                   5334: sysv4)
                   5335:   symcode='[DFNSTU]'
                   5336:   ;;
                   5337: esac
                   5338: 
                   5339: # If we're using GNU nm, then use its standard symbol codes.
                   5340: case `$NM -V 2>&1` in
                   5341: *GNU* | *'with BFD'*)
                   5342:   symcode='[ABCDGIRSTW]' ;;
                   5343: esac
                   5344: 
                   5345: # Transform an extracted symbol line into a proper C declaration.
                   5346: # Some systems (esp. on ia64) link data and code symbols differently,
                   5347: # so use this general approach.
                   5348: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   5349: 
                   5350: # Transform an extracted symbol line into symbol name and symbol address
                   5351: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   5352: 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'"
                   5353: 
                   5354: # Handle CRLF in mingw tool chain
                   5355: opt_cr=
                   5356: case $build_os in
                   5357: mingw*)
                   5358:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   5359:   ;;
                   5360: esac
                   5361: 
                   5362: # Try without a prefix underscore, then with it.
                   5363: for ac_symprfx in "" "_"; do
                   5364: 
                   5365:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   5366:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   5367: 
                   5368:   # Write the raw and C identifiers.
                   5369:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5370:     # Fake it for dumpbin and say T for any non-static function
                   5371:     # and D for any global variable.
                   5372:     # Also find C++ and __fastcall symbols from MSVC++,
                   5373:     # which start with @ or ?.
                   5374:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   5375: "     {last_section=section; section=\$ 3};"\
                   5376: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   5377: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   5378: "     \$ 0!~/External *\|/{next};"\
                   5379: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   5380: "     {if(hide[section]) next};"\
                   5381: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   5382: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   5383: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   5384: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   5385: "     ' prfx=^$ac_symprfx"
                   5386:   else
                   5387:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   5388:   fi
                   5389:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   5390: 
                   5391:   # Check to see that the pipe works correctly.
                   5392:   pipe_works=no
1.1       misha    5393: 
1.8       moko     5394:   rm -f conftest*
                   5395:   cat > conftest.$ac_ext <<_LT_EOF
                   5396: #ifdef __cplusplus
                   5397: extern "C" {
                   5398: #endif
                   5399: char nm_test_var;
                   5400: void nm_test_func(void);
                   5401: void nm_test_func(void){}
                   5402: #ifdef __cplusplus
1.1       misha    5403: }
1.8       moko     5404: #endif
                   5405: int main(){nm_test_var='a';nm_test_func();return(0);}
                   5406: _LT_EOF
                   5407: 
1.11      moko     5408:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     5409:   (eval $ac_compile) 2>&5
1.1       misha    5410:   ac_status=$?
1.11      moko     5411:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5412:   (exit $ac_status); }; then
1.8       moko     5413:     # Now try to grab the symbols.
                   5414:     nlist=conftest.nm
1.11      moko     5415:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
1.8       moko     5416:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.1       misha    5417:   ac_status=$?
1.11      moko     5418:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5419:   (exit $ac_status); } && test -s "$nlist"; then
1.8       moko     5420:       # Try sorting and uniquifying the output.
                   5421:       if sort "$nlist" | uniq > "$nlist"T; then
                   5422:        mv -f "$nlist"T "$nlist"
                   5423:       else
                   5424:        rm -f "$nlist"T
                   5425:       fi
                   5426: 
                   5427:       # Make sure that we snagged all the symbols we need.
                   5428:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   5429:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   5430:          cat <<_LT_EOF > conftest.$ac_ext
                   5431: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   5432: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   5433: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   5434:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   5435: # define LT_DLSYM_CONST
                   5436: #elif defined(__osf__)
                   5437: /* This system does not cope well with relocations in const data.  */
                   5438: # define LT_DLSYM_CONST
                   5439: #else
                   5440: # define LT_DLSYM_CONST const
                   5441: #endif
                   5442: 
                   5443: #ifdef __cplusplus
                   5444: extern "C" {
                   5445: #endif
                   5446: 
                   5447: _LT_EOF
                   5448:          # Now generate the symbol file.
                   5449:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   5450: 
                   5451:          cat <<_LT_EOF >> conftest.$ac_ext
                   5452: 
                   5453: /* The mapping between symbol names and symbols.  */
                   5454: LT_DLSYM_CONST struct {
                   5455:   const char *name;
                   5456:   void       *address;
                   5457: }
                   5458: lt__PROGRAM__LTX_preloaded_symbols[] =
                   5459: {
                   5460:   { "@PROGRAM@", (void *) 0 },
                   5461: _LT_EOF
                   5462:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   5463:          cat <<\_LT_EOF >> conftest.$ac_ext
                   5464:   {0, (void *) 0}
                   5465: };
                   5466: 
                   5467: /* This works around a problem in FreeBSD linker */
                   5468: #ifdef FREEBSD_WORKAROUND
                   5469: static const void *lt_preloaded_setup() {
                   5470:   return lt__PROGRAM__LTX_preloaded_symbols;
                   5471: }
                   5472: #endif
                   5473: 
                   5474: #ifdef __cplusplus
                   5475: }
                   5476: #endif
                   5477: _LT_EOF
                   5478:          # Now try linking the two files.
                   5479:          mv conftest.$ac_objext conftstm.$ac_objext
                   5480:          lt_globsym_save_LIBS=$LIBS
                   5481:          lt_globsym_save_CFLAGS=$CFLAGS
                   5482:          LIBS="conftstm.$ac_objext"
                   5483:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.11      moko     5484:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8       moko     5485:   (eval $ac_link) 2>&5
1.1       misha    5486:   ac_status=$?
1.11      moko     5487:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5488:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
1.8       moko     5489:            pipe_works=yes
                   5490:          fi
                   5491:          LIBS=$lt_globsym_save_LIBS
                   5492:          CFLAGS=$lt_globsym_save_CFLAGS
                   5493:        else
                   5494:          echo "cannot find nm_test_func in $nlist" >&5
                   5495:        fi
                   5496:       else
                   5497:        echo "cannot find nm_test_var in $nlist" >&5
                   5498:       fi
                   5499:     else
                   5500:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   5501:     fi
                   5502:   else
                   5503:     echo "$progname: failed program was:" >&5
                   5504:     cat conftest.$ac_ext >&5
                   5505:   fi
                   5506:   rm -rf conftest* conftst*
                   5507: 
                   5508:   # Do not use the global_symbol_pipe unless it works.
                   5509:   if test "$pipe_works" = yes; then
                   5510:     break
                   5511:   else
                   5512:     lt_cv_sys_global_symbol_pipe=
                   5513:   fi
                   5514: done
                   5515: 
                   5516: fi
                   5517: 
                   5518: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   5519:   lt_cv_sys_global_symbol_to_cdecl=
                   5520: fi
                   5521: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.11      moko     5522:   echo "$as_me:$LINENO: result: failed" >&5
                   5523: echo "${ECHO_T}failed" >&6
1.1       misha    5524: else
1.11      moko     5525:   echo "$as_me:$LINENO: result: ok" >&5
                   5526: echo "${ECHO_T}ok" >&6
1.8       moko     5527: fi
1.1       misha    5528: 
1.8       moko     5529: # Response file support.
                   5530: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5531:   nm_file_list_spec='@'
                   5532: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   5533:   nm_file_list_spec='@'
1.1       misha    5534: fi
                   5535: 
                   5536: 
                   5537: 
                   5538: 
                   5539: 
                   5540: 
                   5541: 
                   5542: 
                   5543: 
                   5544: 
                   5545: 
                   5546: 
                   5547: 
                   5548: 
                   5549: 
                   5550: 
                   5551: 
                   5552: 
                   5553: 
                   5554: 
                   5555: 
1.8       moko     5556: 
                   5557: 
                   5558: 
                   5559: 
                   5560: 
                   5561: 
1.11      moko     5562: echo "$as_me:$LINENO: checking for sysroot" >&5
                   5563: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
                   5564: 
                   5565: # Check whether --with-sysroot or --without-sysroot was given.
                   5566: if test "${with_sysroot+set}" = set; then
                   5567:   withval="$with_sysroot"
1.8       moko     5568: 
1.1       misha    5569: else
1.8       moko     5570:   with_sysroot=no
1.11      moko     5571: fi;
1.1       misha    5572: 
1.8       moko     5573: lt_sysroot=
                   5574: case ${with_sysroot} in #(
                   5575:  yes)
                   5576:    if test "$GCC" = yes; then
                   5577:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   5578:    fi
                   5579:    ;; #(
                   5580:  /*)
                   5581:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   5582:    ;; #(
                   5583:  no|'')
                   5584:    ;; #(
                   5585:  *)
1.11      moko     5586:    echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
                   5587: echo "${ECHO_T}${with_sysroot}" >&6
                   5588:    { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
                   5589: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
                   5590:    { (exit 1); exit 1; }; }
1.8       moko     5591:    ;;
                   5592: esac
                   5593: 
1.11      moko     5594:  echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
                   5595: echo "${ECHO_T}${lt_sysroot:-no}" >&6
1.8       moko     5596: 
                   5597: 
                   5598: 
                   5599: 
                   5600: 
1.11      moko     5601: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   5602: if test "${enable_libtool_lock+set}" = set; then
                   5603:   enableval="$enable_libtool_lock"
1.1       misha    5604: 
1.11      moko     5605: fi;
1.8       moko     5606: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.1       misha    5607: 
1.8       moko     5608: # Some flags need to be propagated to the compiler or linker for good
                   5609: # libtool support.
                   5610: case $host in
                   5611: ia64-*-hpux*)
                   5612:   # Find out which ABI we are using.
                   5613:   echo 'int i;' > conftest.$ac_ext
1.11      moko     5614:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     5615:   (eval $ac_compile) 2>&5
                   5616:   ac_status=$?
1.11      moko     5617:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5618:   (exit $ac_status); }; then
1.8       moko     5619:     case `/usr/bin/file conftest.$ac_objext` in
                   5620:       *ELF-32*)
                   5621:        HPUX_IA64_MODE="32"
                   5622:        ;;
                   5623:       *ELF-64*)
                   5624:        HPUX_IA64_MODE="64"
                   5625:        ;;
1.1       misha    5626:     esac
                   5627:   fi
1.8       moko     5628:   rm -rf conftest*
                   5629:   ;;
                   5630: *-*-irix6*)
                   5631:   # Find out which ABI we are using.
                   5632:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.11      moko     5633:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     5634:   (eval $ac_compile) 2>&5
1.1       misha    5635:   ac_status=$?
1.11      moko     5636:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5637:   (exit $ac_status); }; then
1.8       moko     5638:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   5639:       case `/usr/bin/file conftest.$ac_objext` in
                   5640:        *32-bit*)
                   5641:          LD="${LD-ld} -melf32bsmip"
                   5642:          ;;
                   5643:        *N32*)
                   5644:          LD="${LD-ld} -melf32bmipn32"
                   5645:          ;;
                   5646:        *64-bit*)
                   5647:          LD="${LD-ld} -melf64bmip"
                   5648:        ;;
                   5649:       esac
                   5650:     else
                   5651:       case `/usr/bin/file conftest.$ac_objext` in
                   5652:        *32-bit*)
                   5653:          LD="${LD-ld} -32"
                   5654:          ;;
                   5655:        *N32*)
                   5656:          LD="${LD-ld} -n32"
                   5657:          ;;
                   5658:        *64-bit*)
                   5659:          LD="${LD-ld} -64"
                   5660:          ;;
                   5661:       esac
                   5662:     fi
                   5663:   fi
                   5664:   rm -rf conftest*
                   5665:   ;;
                   5666: 
                   5667: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   5668: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   5669:   # Find out which ABI we are using.
                   5670:   echo 'int i;' > conftest.$ac_ext
1.11      moko     5671:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     5672:   (eval $ac_compile) 2>&5
1.1       misha    5673:   ac_status=$?
1.11      moko     5674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5675:   (exit $ac_status); }; then
1.8       moko     5676:     case `/usr/bin/file conftest.o` in
                   5677:       *32-bit*)
                   5678:        case $host in
                   5679:          x86_64-*kfreebsd*-gnu)
                   5680:            LD="${LD-ld} -m elf_i386_fbsd"
                   5681:            ;;
                   5682:          x86_64-*linux*)
                   5683:            LD="${LD-ld} -m elf_i386"
                   5684:            ;;
                   5685:          ppc64-*linux*|powerpc64-*linux*)
                   5686:            LD="${LD-ld} -m elf32ppclinux"
                   5687:            ;;
                   5688:          s390x-*linux*)
                   5689:            LD="${LD-ld} -m elf_s390"
                   5690:            ;;
                   5691:          sparc64-*linux*)
                   5692:            LD="${LD-ld} -m elf32_sparc"
                   5693:            ;;
                   5694:        esac
1.1       misha    5695:        ;;
1.8       moko     5696:       *64-bit*)
                   5697:        case $host in
                   5698:          x86_64-*kfreebsd*-gnu)
                   5699:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   5700:            ;;
                   5701:          x86_64-*linux*)
                   5702:            LD="${LD-ld} -m elf_x86_64"
                   5703:            ;;
                   5704:          ppc*-*linux*|powerpc*-*linux*)
                   5705:            LD="${LD-ld} -m elf64ppc"
                   5706:            ;;
                   5707:          s390*-*linux*|s390*-*tpf*)
                   5708:            LD="${LD-ld} -m elf64_s390"
                   5709:            ;;
                   5710:          sparc*-*linux*)
                   5711:            LD="${LD-ld} -m elf64_sparc"
                   5712:            ;;
                   5713:        esac
1.1       misha    5714:        ;;
1.8       moko     5715:     esac
1.1       misha    5716:   fi
1.8       moko     5717:   rm -rf conftest*
                   5718:   ;;
1.1       misha    5719: 
1.8       moko     5720: *-*-sco3.2v5*)
                   5721:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   5722:   SAVE_CFLAGS="$CFLAGS"
                   5723:   CFLAGS="$CFLAGS -belf"
1.11      moko     5724:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   5725: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   5726: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   5727:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    5728: else
1.8       moko     5729:   ac_ext=c
                   5730: ac_cpp='$CPP $CPPFLAGS'
                   5731: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5732: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5733: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5734: 
1.11      moko     5735:      cat >conftest.$ac_ext <<_ACEOF
                   5736: /* confdefs.h.  */
                   5737: _ACEOF
                   5738: cat confdefs.h >>conftest.$ac_ext
                   5739: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    5740: /* end confdefs.h.  */
                   5741: 
                   5742: int
                   5743: main ()
                   5744: {
                   5745: 
                   5746:   ;
                   5747:   return 0;
                   5748: }
                   5749: _ACEOF
1.11      moko     5750: rm -f conftest.$ac_objext conftest$ac_exeext
                   5751: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5752:   (eval $ac_link) 2>conftest.er1
                   5753:   ac_status=$?
                   5754:   grep -v '^ *+' conftest.er1 >conftest.err
                   5755:   rm -f conftest.er1
                   5756:   cat conftest.err >&5
                   5757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5758:   (exit $ac_status); } &&
                   5759:         { ac_try='test -z "$ac_c_werror_flag"
                   5760:                         || test ! -s conftest.err'
                   5761:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5762:   (eval $ac_try) 2>&5
                   5763:   ac_status=$?
                   5764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5765:   (exit $ac_status); }; } &&
                   5766:         { ac_try='test -s conftest$ac_exeext'
                   5767:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5768:   (eval $ac_try) 2>&5
                   5769:   ac_status=$?
                   5770:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5771:   (exit $ac_status); }; }; then
1.8       moko     5772:   lt_cv_cc_needs_belf=yes
1.1       misha    5773: else
1.11      moko     5774:   echo "$as_me: failed program was:" >&5
                   5775: sed 's/^/| /' conftest.$ac_ext >&5
                   5776: 
                   5777: lt_cv_cc_needs_belf=no
1.1       misha    5778: fi
1.11      moko     5779: rm -f conftest.err conftest.$ac_objext \
                   5780:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     5781:      ac_ext=c
                   5782: ac_cpp='$CPP $CPPFLAGS'
                   5783: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5784: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5785: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misha    5786: 
                   5787: fi
1.11      moko     5788: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   5789: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
1.8       moko     5790:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   5791:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   5792:     CFLAGS="$SAVE_CFLAGS"
                   5793:   fi
                   5794:   ;;
                   5795: *-*solaris*)
                   5796:   # Find out which ABI we are using.
                   5797:   echo 'int i;' > conftest.$ac_ext
1.11      moko     5798:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     5799:   (eval $ac_compile) 2>&5
                   5800:   ac_status=$?
1.11      moko     5801:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5802:   (exit $ac_status); }; then
1.8       moko     5803:     case `/usr/bin/file conftest.o` in
                   5804:     *64-bit*)
                   5805:       case $lt_cv_prog_gnu_ld in
                   5806:       yes*)
                   5807:         case $host in
                   5808:         i?86-*-solaris*)
                   5809:           LD="${LD-ld} -m elf_x86_64"
                   5810:           ;;
                   5811:         sparc*-*-solaris*)
                   5812:           LD="${LD-ld} -m elf64_sparc"
                   5813:           ;;
                   5814:         esac
                   5815:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   5816:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   5817:           LD="${LD-ld}_sol2"
                   5818:         fi
                   5819:         ;;
                   5820:       *)
                   5821:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   5822:          LD="${LD-ld} -64"
                   5823:        fi
                   5824:        ;;
                   5825:       esac
                   5826:       ;;
                   5827:     esac
                   5828:   fi
                   5829:   rm -rf conftest*
                   5830:   ;;
                   5831: esac
1.1       misha    5832: 
1.8       moko     5833: need_locks="$enable_libtool_lock"
1.1       misha    5834: 
1.8       moko     5835: if test -n "$ac_tool_prefix"; then
                   5836:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   5837: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.11      moko     5838: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5839: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5840: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
                   5841:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    5842: else
1.8       moko     5843:   if test -n "$MANIFEST_TOOL"; then
                   5844:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   5845: else
                   5846: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5847: for as_dir in $PATH
                   5848: do
                   5849:   IFS=$as_save_IFS
                   5850:   test -z "$as_dir" && as_dir=.
1.11      moko     5851:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5852:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5853:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.11      moko     5854:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5855:     break 2
                   5856:   fi
                   5857: done
1.11      moko     5858: done
1.1       misha    5859: 
1.8       moko     5860: fi
                   5861: fi
                   5862: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   5863: if test -n "$MANIFEST_TOOL"; then
1.11      moko     5864:   echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
                   5865: echo "${ECHO_T}$MANIFEST_TOOL" >&6
1.1       misha    5866: else
1.11      moko     5867:   echo "$as_me:$LINENO: result: no" >&5
                   5868: echo "${ECHO_T}no" >&6
1.1       misha    5869: fi
                   5870: 
                   5871: fi
1.8       moko     5872: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   5873:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   5874:   # Extract the first word of "mt", so it can be a program name with args.
                   5875: set dummy mt; ac_word=$2
1.11      moko     5876: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5877: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5878: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
                   5879:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     5880: else
                   5881:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   5882:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   5883: else
                   5884: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5885: for as_dir in $PATH
                   5886: do
                   5887:   IFS=$as_save_IFS
                   5888:   test -z "$as_dir" && as_dir=.
1.11      moko     5889:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5890:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5891:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.11      moko     5892:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5893:     break 2
                   5894:   fi
                   5895: done
1.11      moko     5896: done
1.1       misha    5897: 
1.11      moko     5898:   test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
1.8       moko     5899: fi
                   5900: fi
                   5901: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   5902: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.11      moko     5903:   echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
                   5904: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
1.8       moko     5905: else
1.11      moko     5906:   echo "$as_me:$LINENO: result: no" >&5
                   5907: echo "${ECHO_T}no" >&6
1.8       moko     5908: fi
                   5909: 
1.11      moko     5910:   MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
1.8       moko     5911: else
                   5912:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   5913: fi
1.1       misha    5914: 
1.8       moko     5915: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.11      moko     5916: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   5917: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
                   5918: if test "${lt_cv_path_mainfest_tool+set}" = set; then
                   5919:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    5920: else
1.8       moko     5921:   lt_cv_path_mainfest_tool=no
                   5922:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   5923:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   5924:   cat conftest.err >&5
                   5925:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   5926:     lt_cv_path_mainfest_tool=yes
                   5927:   fi
                   5928:   rm -f conftest*
                   5929: fi
1.11      moko     5930: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
                   5931: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
1.8       moko     5932: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   5933:   MANIFEST_TOOL=:
                   5934: fi
                   5935: 
                   5936: 
                   5937: 
1.1       misha    5938: 
                   5939: 
                   5940: 
1.8       moko     5941:   case $host_os in
                   5942:     rhapsody* | darwin*)
                   5943:     if test -n "$ac_tool_prefix"; then
                   5944:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   5945: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.11      moko     5946: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5947: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5948: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
                   5949:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    5950: else
1.8       moko     5951:   if test -n "$DSYMUTIL"; then
                   5952:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   5953: else
                   5954: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5955: for as_dir in $PATH
                   5956: do
                   5957:   IFS=$as_save_IFS
                   5958:   test -z "$as_dir" && as_dir=.
1.11      moko     5959:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5960:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5961:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.11      moko     5962:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     5963:     break 2
                   5964:   fi
                   5965: done
1.11      moko     5966: done
1.1       misha    5967: 
                   5968: fi
1.8       moko     5969: fi
                   5970: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   5971: if test -n "$DSYMUTIL"; then
1.11      moko     5972:   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
                   5973: echo "${ECHO_T}$DSYMUTIL" >&6
1.8       moko     5974: else
1.11      moko     5975:   echo "$as_me:$LINENO: result: no" >&5
                   5976: echo "${ECHO_T}no" >&6
1.8       moko     5977: fi
1.1       misha    5978: 
                   5979: fi
1.8       moko     5980: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   5981:   ac_ct_DSYMUTIL=$DSYMUTIL
                   5982:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   5983: set dummy dsymutil; ac_word=$2
1.11      moko     5984: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5985: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5986: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
                   5987:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     5988: else
                   5989:   if test -n "$ac_ct_DSYMUTIL"; then
                   5990:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   5991: else
                   5992: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5993: for as_dir in $PATH
                   5994: do
                   5995:   IFS=$as_save_IFS
                   5996:   test -z "$as_dir" && as_dir=.
1.11      moko     5997:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5998:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     5999:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.11      moko     6000:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6001:     break 2
                   6002:   fi
                   6003: done
1.11      moko     6004: done
1.1       misha    6005: 
1.11      moko     6006:   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
1.8       moko     6007: fi
                   6008: fi
                   6009: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6010: if test -n "$ac_ct_DSYMUTIL"; then
1.11      moko     6011:   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
                   6012: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
1.1       misha    6013: else
1.11      moko     6014:   echo "$as_me:$LINENO: result: no" >&5
                   6015: echo "${ECHO_T}no" >&6
1.1       misha    6016: fi
                   6017: 
1.11      moko     6018:   DSYMUTIL=$ac_ct_DSYMUTIL
1.1       misha    6019: else
1.8       moko     6020:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.1       misha    6021: fi
                   6022: 
1.8       moko     6023:     if test -n "$ac_tool_prefix"; then
                   6024:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6025: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.11      moko     6026: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6027: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6028: if test "${ac_cv_prog_NMEDIT+set}" = set; then
                   6029:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6030: else
                   6031:   if test -n "$NMEDIT"; then
                   6032:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6033: else
                   6034: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6035: for as_dir in $PATH
                   6036: do
                   6037:   IFS=$as_save_IFS
                   6038:   test -z "$as_dir" && as_dir=.
1.11      moko     6039:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6040:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6041:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.11      moko     6042:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6043:     break 2
                   6044:   fi
                   6045: done
1.11      moko     6046: done
1.1       misha    6047: 
1.8       moko     6048: fi
                   6049: fi
                   6050: NMEDIT=$ac_cv_prog_NMEDIT
                   6051: if test -n "$NMEDIT"; then
1.11      moko     6052:   echo "$as_me:$LINENO: result: $NMEDIT" >&5
                   6053: echo "${ECHO_T}$NMEDIT" >&6
1.8       moko     6054: else
1.11      moko     6055:   echo "$as_me:$LINENO: result: no" >&5
                   6056: echo "${ECHO_T}no" >&6
1.8       moko     6057: fi
1.1       misha    6058: 
1.8       moko     6059: fi
                   6060: if test -z "$ac_cv_prog_NMEDIT"; then
                   6061:   ac_ct_NMEDIT=$NMEDIT
                   6062:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6063: set dummy nmedit; ac_word=$2
1.11      moko     6064: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6065: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6066: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
                   6067:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6068: else
                   6069:   if test -n "$ac_ct_NMEDIT"; then
                   6070:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
1.1       misha    6071: else
1.8       moko     6072: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6073: for as_dir in $PATH
                   6074: do
                   6075:   IFS=$as_save_IFS
                   6076:   test -z "$as_dir" && as_dir=.
1.11      moko     6077:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6078:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6079:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.11      moko     6080:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6081:     break 2
                   6082:   fi
                   6083: done
1.11      moko     6084: done
1.1       misha    6085: 
1.11      moko     6086:   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
1.8       moko     6087: fi
                   6088: fi
                   6089: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6090: if test -n "$ac_ct_NMEDIT"; then
1.11      moko     6091:   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
                   6092: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
1.8       moko     6093: else
1.11      moko     6094:   echo "$as_me:$LINENO: result: no" >&5
                   6095: echo "${ECHO_T}no" >&6
1.1       misha    6096: fi
                   6097: 
1.11      moko     6098:   NMEDIT=$ac_ct_NMEDIT
1.8       moko     6099: else
                   6100:   NMEDIT="$ac_cv_prog_NMEDIT"
1.1       misha    6101: fi
                   6102: 
1.8       moko     6103:     if test -n "$ac_tool_prefix"; then
                   6104:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6105: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.11      moko     6106: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6107: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6108: if test "${ac_cv_prog_LIPO+set}" = set; then
                   6109:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6110: else
                   6111:   if test -n "$LIPO"; then
                   6112:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6113: else
                   6114: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6115: for as_dir in $PATH
                   6116: do
                   6117:   IFS=$as_save_IFS
                   6118:   test -z "$as_dir" && as_dir=.
1.11      moko     6119:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6120:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6121:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.11      moko     6122:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6123:     break 2
                   6124:   fi
                   6125: done
1.11      moko     6126: done
1.1       misha    6127: 
1.8       moko     6128: fi
                   6129: fi
                   6130: LIPO=$ac_cv_prog_LIPO
                   6131: if test -n "$LIPO"; then
1.11      moko     6132:   echo "$as_me:$LINENO: result: $LIPO" >&5
                   6133: echo "${ECHO_T}$LIPO" >&6
1.8       moko     6134: else
1.11      moko     6135:   echo "$as_me:$LINENO: result: no" >&5
                   6136: echo "${ECHO_T}no" >&6
1.8       moko     6137: fi
1.1       misha    6138: 
1.8       moko     6139: fi
                   6140: if test -z "$ac_cv_prog_LIPO"; then
                   6141:   ac_ct_LIPO=$LIPO
                   6142:   # Extract the first word of "lipo", so it can be a program name with args.
                   6143: set dummy lipo; ac_word=$2
1.11      moko     6144: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6145: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6146: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
                   6147:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6148: else
                   6149:   if test -n "$ac_ct_LIPO"; then
                   6150:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6151: else
                   6152: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6153: for as_dir in $PATH
                   6154: do
                   6155:   IFS=$as_save_IFS
                   6156:   test -z "$as_dir" && as_dir=.
1.11      moko     6157:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6158:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6159:     ac_cv_prog_ac_ct_LIPO="lipo"
1.11      moko     6160:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6161:     break 2
1.1       misha    6162:   fi
1.8       moko     6163: done
1.11      moko     6164: done
1.8       moko     6165: 
1.11      moko     6166:   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
1.8       moko     6167: fi
                   6168: fi
                   6169: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6170: if test -n "$ac_ct_LIPO"; then
1.11      moko     6171:   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
                   6172: echo "${ECHO_T}$ac_ct_LIPO" >&6
1.8       moko     6173: else
1.11      moko     6174:   echo "$as_me:$LINENO: result: no" >&5
                   6175: echo "${ECHO_T}no" >&6
1.8       moko     6176: fi
                   6177: 
1.11      moko     6178:   LIPO=$ac_ct_LIPO
1.8       moko     6179: else
                   6180:   LIPO="$ac_cv_prog_LIPO"
                   6181: fi
1.1       misha    6182: 
1.8       moko     6183:     if test -n "$ac_tool_prefix"; then
                   6184:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6185: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.11      moko     6186: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6187: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6188: if test "${ac_cv_prog_OTOOL+set}" = set; then
                   6189:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6190: else
                   6191:   if test -n "$OTOOL"; then
                   6192:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6193: else
                   6194: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6195: for as_dir in $PATH
                   6196: do
                   6197:   IFS=$as_save_IFS
                   6198:   test -z "$as_dir" && as_dir=.
1.11      moko     6199:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6200:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6201:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.11      moko     6202:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6203:     break 2
                   6204:   fi
                   6205: done
1.11      moko     6206: done
1.1       misha    6207: 
1.8       moko     6208: fi
                   6209: fi
                   6210: OTOOL=$ac_cv_prog_OTOOL
                   6211: if test -n "$OTOOL"; then
1.11      moko     6212:   echo "$as_me:$LINENO: result: $OTOOL" >&5
                   6213: echo "${ECHO_T}$OTOOL" >&6
1.8       moko     6214: else
1.11      moko     6215:   echo "$as_me:$LINENO: result: no" >&5
                   6216: echo "${ECHO_T}no" >&6
1.8       moko     6217: fi
1.1       misha    6218: 
1.8       moko     6219: fi
                   6220: if test -z "$ac_cv_prog_OTOOL"; then
                   6221:   ac_ct_OTOOL=$OTOOL
                   6222:   # Extract the first word of "otool", so it can be a program name with args.
                   6223: set dummy otool; ac_word=$2
1.11      moko     6224: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6225: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6226: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
                   6227:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6228: else
                   6229:   if test -n "$ac_ct_OTOOL"; then
                   6230:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6231: else
                   6232: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6233: for as_dir in $PATH
                   6234: do
                   6235:   IFS=$as_save_IFS
                   6236:   test -z "$as_dir" && as_dir=.
1.11      moko     6237:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6238:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6239:     ac_cv_prog_ac_ct_OTOOL="otool"
1.11      moko     6240:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6241:     break 2
                   6242:   fi
                   6243: done
1.11      moko     6244: done
1.1       misha    6245: 
1.11      moko     6246:   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
1.8       moko     6247: fi
                   6248: fi
                   6249: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6250: if test -n "$ac_ct_OTOOL"; then
1.11      moko     6251:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
                   6252: echo "${ECHO_T}$ac_ct_OTOOL" >&6
1.8       moko     6253: else
1.11      moko     6254:   echo "$as_me:$LINENO: result: no" >&5
                   6255: echo "${ECHO_T}no" >&6
1.8       moko     6256: fi
1.1       misha    6257: 
1.11      moko     6258:   OTOOL=$ac_ct_OTOOL
1.8       moko     6259: else
                   6260:   OTOOL="$ac_cv_prog_OTOOL"
                   6261: fi
1.1       misha    6262: 
1.8       moko     6263:     if test -n "$ac_tool_prefix"; then
                   6264:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6265: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.11      moko     6266: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6267: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6268: if test "${ac_cv_prog_OTOOL64+set}" = set; then
                   6269:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6270: else
                   6271:   if test -n "$OTOOL64"; then
                   6272:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6273: else
                   6274: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6275: for as_dir in $PATH
                   6276: do
                   6277:   IFS=$as_save_IFS
                   6278:   test -z "$as_dir" && as_dir=.
1.11      moko     6279:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6280:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6281:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.11      moko     6282:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6283:     break 2
                   6284:   fi
                   6285: done
1.11      moko     6286: done
1.1       misha    6287: 
1.8       moko     6288: fi
                   6289: fi
                   6290: OTOOL64=$ac_cv_prog_OTOOL64
                   6291: if test -n "$OTOOL64"; then
1.11      moko     6292:   echo "$as_me:$LINENO: result: $OTOOL64" >&5
                   6293: echo "${ECHO_T}$OTOOL64" >&6
1.8       moko     6294: else
1.11      moko     6295:   echo "$as_me:$LINENO: result: no" >&5
                   6296: echo "${ECHO_T}no" >&6
1.8       moko     6297: fi
1.1       misha    6298: 
1.8       moko     6299: fi
                   6300: if test -z "$ac_cv_prog_OTOOL64"; then
                   6301:   ac_ct_OTOOL64=$OTOOL64
                   6302:   # Extract the first word of "otool64", so it can be a program name with args.
                   6303: set dummy otool64; ac_word=$2
1.11      moko     6304: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6305: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6306: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
                   6307:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6308: else
                   6309:   if test -n "$ac_ct_OTOOL64"; then
                   6310:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6311: else
                   6312: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6313: for as_dir in $PATH
                   6314: do
                   6315:   IFS=$as_save_IFS
                   6316:   test -z "$as_dir" && as_dir=.
1.11      moko     6317:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6318:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     6319:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.11      moko     6320:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     6321:     break 2
                   6322:   fi
                   6323: done
1.11      moko     6324: done
1.1       misha    6325: 
1.11      moko     6326:   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
1.8       moko     6327: fi
                   6328: fi
                   6329: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6330: if test -n "$ac_ct_OTOOL64"; then
1.11      moko     6331:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
                   6332: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
1.8       moko     6333: else
1.11      moko     6334:   echo "$as_me:$LINENO: result: no" >&5
                   6335: echo "${ECHO_T}no" >&6
1.8       moko     6336: fi
1.1       misha    6337: 
1.11      moko     6338:   OTOOL64=$ac_ct_OTOOL64
1.8       moko     6339: else
                   6340:   OTOOL64="$ac_cv_prog_OTOOL64"
                   6341: fi
1.1       misha    6342: 
                   6343: 
                   6344: 
                   6345: 
                   6346: 
                   6347: 
                   6348: 
                   6349: 
                   6350: 
                   6351: 
                   6352: 
                   6353: 
                   6354: 
                   6355: 
                   6356: 
                   6357: 
                   6358: 
                   6359: 
                   6360: 
                   6361: 
                   6362: 
                   6363: 
                   6364: 
                   6365: 
                   6366: 
                   6367: 
                   6368: 
1.11      moko     6369:     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
                   6370: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
                   6371: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
                   6372:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6373: else
                   6374:   lt_cv_apple_cc_single_mod=no
                   6375:       if test -z "${LT_MULTI_MODULE}"; then
                   6376:        # By default we will add the -single_module flag. You can override
                   6377:        # by either setting the environment variable LT_MULTI_MODULE
                   6378:        # non-empty at configure time, or by adding -multi_module to the
                   6379:        # link flags.
                   6380:        rm -rf libconftest.dylib*
                   6381:        echo "int foo(void){return 1;}" > conftest.c
                   6382:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6383: -dynamiclib -Wl,-single_module conftest.c" >&5
                   6384:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6385:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   6386:         _lt_result=$?
                   6387:        # If there is a non-empty error log, and "single_module"
                   6388:        # appears in it, assume the flag caused a linker warning
                   6389:         if test -s conftest.err && $GREP single_module conftest.err; then
                   6390:          cat conftest.err >&5
                   6391:        # Otherwise, if the output was created with a 0 exit code from
                   6392:        # the compiler, it worked.
                   6393:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   6394:          lt_cv_apple_cc_single_mod=yes
                   6395:        else
                   6396:          cat conftest.err >&5
                   6397:        fi
                   6398:        rm -rf libconftest.dylib*
                   6399:        rm -f conftest.*
                   6400:       fi
                   6401: fi
1.11      moko     6402: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
                   6403: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
1.1       misha    6404: 
1.11      moko     6405:     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
                   6406: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
                   6407: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
                   6408:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6409: else
                   6410:   lt_cv_ld_exported_symbols_list=no
                   6411:       save_LDFLAGS=$LDFLAGS
                   6412:       echo "_main" > conftest.sym
                   6413:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.11      moko     6414:       cat >conftest.$ac_ext <<_ACEOF
                   6415: /* confdefs.h.  */
                   6416: _ACEOF
                   6417: cat confdefs.h >>conftest.$ac_ext
                   6418: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6419: /* end confdefs.h.  */
1.1       misha    6420: 
1.8       moko     6421: int
                   6422: main ()
                   6423: {
1.1       misha    6424: 
1.8       moko     6425:   ;
                   6426:   return 0;
                   6427: }
                   6428: _ACEOF
1.11      moko     6429: rm -f conftest.$ac_objext conftest$ac_exeext
                   6430: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6431:   (eval $ac_link) 2>conftest.er1
                   6432:   ac_status=$?
                   6433:   grep -v '^ *+' conftest.er1 >conftest.err
                   6434:   rm -f conftest.er1
                   6435:   cat conftest.err >&5
                   6436:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6437:   (exit $ac_status); } &&
                   6438:         { ac_try='test -z "$ac_c_werror_flag"
                   6439:                         || test ! -s conftest.err'
                   6440:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6441:   (eval $ac_try) 2>&5
                   6442:   ac_status=$?
                   6443:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6444:   (exit $ac_status); }; } &&
                   6445:         { ac_try='test -s conftest$ac_exeext'
                   6446:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6447:   (eval $ac_try) 2>&5
                   6448:   ac_status=$?
                   6449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6450:   (exit $ac_status); }; }; then
1.8       moko     6451:   lt_cv_ld_exported_symbols_list=yes
                   6452: else
1.11      moko     6453:   echo "$as_me: failed program was:" >&5
                   6454: sed 's/^/| /' conftest.$ac_ext >&5
                   6455: 
                   6456: lt_cv_ld_exported_symbols_list=no
1.8       moko     6457: fi
1.11      moko     6458: rm -f conftest.err conftest.$ac_objext \
                   6459:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     6460:        LDFLAGS="$save_LDFLAGS"
1.1       misha    6461: 
1.8       moko     6462: fi
1.11      moko     6463: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
                   6464: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
1.1       misha    6465: 
1.11      moko     6466:     echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
                   6467: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
                   6468: if test "${lt_cv_ld_force_load+set}" = set; then
                   6469:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6470: else
                   6471:   lt_cv_ld_force_load=no
                   6472:       cat > conftest.c << _LT_EOF
                   6473: int forced_loaded() { return 2;}
                   6474: _LT_EOF
                   6475:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   6476:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   6477:       echo "$AR cru libconftest.a conftest.o" >&5
                   6478:       $AR cru libconftest.a conftest.o 2>&5
                   6479:       echo "$RANLIB libconftest.a" >&5
                   6480:       $RANLIB libconftest.a 2>&5
                   6481:       cat > conftest.c << _LT_EOF
                   6482: int main() { return 0;}
                   6483: _LT_EOF
                   6484:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   6485:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   6486:       _lt_result=$?
                   6487:       if test -s conftest.err && $GREP force_load conftest.err; then
                   6488:        cat conftest.err >&5
                   6489:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   6490:        lt_cv_ld_force_load=yes
                   6491:       else
                   6492:        cat conftest.err >&5
                   6493:       fi
                   6494:         rm -f conftest.err libconftest.a conftest conftest.c
                   6495:         rm -rf conftest.dSYM
1.1       misha    6496: 
1.8       moko     6497: fi
1.11      moko     6498: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
                   6499: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
1.8       moko     6500:     case $host_os in
                   6501:     rhapsody* | darwin1.[012])
                   6502:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   6503:     darwin1.*)
                   6504:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6505:     darwin*) # darwin 5.x on
                   6506:       # if running on 10.5 or later, the deployment target defaults
                   6507:       # to the OS version, if on x86, and 10.4, the deployment
                   6508:       # target defaults to 10.4. Don't you love it?
                   6509:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   6510:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   6511:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6512:        10.[012]*)
                   6513:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6514:        10.*)
                   6515:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6516:       esac
1.1       misha    6517:     ;;
1.8       moko     6518:   esac
                   6519:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   6520:       _lt_dar_single_mod='$single_module'
                   6521:     fi
                   6522:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   6523:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   6524:     else
                   6525:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.1       misha    6526:     fi
1.8       moko     6527:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   6528:       _lt_dsymutil='~$DSYMUTIL $lib || :'
1.1       misha    6529:     else
1.8       moko     6530:       _lt_dsymutil=
1.1       misha    6531:     fi
                   6532:     ;;
1.8       moko     6533:   esac
1.1       misha    6534: 
1.8       moko     6535: ac_ext=c
                   6536: ac_cpp='$CPP $CPPFLAGS'
                   6537: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6538: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6539: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11      moko     6540: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   6541: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.8       moko     6542: # On Suns, sometimes $CPP names a directory.
                   6543: if test -n "$CPP" && test -d "$CPP"; then
                   6544:   CPP=
                   6545: fi
                   6546: if test -z "$CPP"; then
1.11      moko     6547:   if test "${ac_cv_prog_CPP+set}" = set; then
                   6548:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6549: else
                   6550:       # Double quotes because CPP needs to be expanded
                   6551:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   6552:     do
                   6553:       ac_preproc_ok=false
                   6554: for ac_c_preproc_warn_flag in '' yes
                   6555: do
                   6556:   # Use a header file that comes with gcc, so configuring glibc
                   6557:   # with a fresh cross-compiler works.
                   6558:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6559:   # <limits.h> exists even on freestanding compilers.
                   6560:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   6561:   # not just through cpp. "Syntax error" is here to catch this case.
1.11      moko     6562:   cat >conftest.$ac_ext <<_ACEOF
                   6563: /* confdefs.h.  */
                   6564: _ACEOF
                   6565: cat confdefs.h >>conftest.$ac_ext
                   6566: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6567: /* end confdefs.h.  */
                   6568: #ifdef __STDC__
                   6569: # include <limits.h>
                   6570: #else
                   6571: # include <assert.h>
                   6572: #endif
                   6573:                     Syntax error
                   6574: _ACEOF
1.11      moko     6575: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6576:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6577:   ac_status=$?
                   6578:   grep -v '^ *+' conftest.er1 >conftest.err
                   6579:   rm -f conftest.er1
                   6580:   cat conftest.err >&5
                   6581:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6582:   (exit $ac_status); } >/dev/null; then
                   6583:   if test -s conftest.err; then
                   6584:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6585:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6586:   else
                   6587:     ac_cpp_err=
                   6588:   fi
                   6589: else
                   6590:   ac_cpp_err=yes
                   6591: fi
                   6592: if test -z "$ac_cpp_err"; then
                   6593:   :
                   6594: else
                   6595:   echo "$as_me: failed program was:" >&5
                   6596: sed 's/^/| /' conftest.$ac_ext >&5
1.10      moko     6597: 
1.8       moko     6598:   # Broken: fails on valid input.
                   6599: continue
                   6600: fi
1.11      moko     6601: rm -f conftest.err conftest.$ac_ext
1.1       misha    6602: 
1.11      moko     6603:   # OK, works on sane cases.  Now check whether non-existent headers
1.8       moko     6604:   # can be detected and how.
1.11      moko     6605:   cat >conftest.$ac_ext <<_ACEOF
                   6606: /* confdefs.h.  */
                   6607: _ACEOF
                   6608: cat confdefs.h >>conftest.$ac_ext
                   6609: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6610: /* end confdefs.h.  */
                   6611: #include <ac_nonexistent.h>
                   6612: _ACEOF
1.11      moko     6613: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6614:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6615:   ac_status=$?
                   6616:   grep -v '^ *+' conftest.er1 >conftest.err
                   6617:   rm -f conftest.er1
                   6618:   cat conftest.err >&5
                   6619:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6620:   (exit $ac_status); } >/dev/null; then
                   6621:   if test -s conftest.err; then
                   6622:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6623:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6624:   else
                   6625:     ac_cpp_err=
                   6626:   fi
                   6627: else
                   6628:   ac_cpp_err=yes
                   6629: fi
                   6630: if test -z "$ac_cpp_err"; then
1.8       moko     6631:   # Broken: success on invalid input.
                   6632: continue
                   6633: else
1.11      moko     6634:   echo "$as_me: failed program was:" >&5
                   6635: sed 's/^/| /' conftest.$ac_ext >&5
                   6636: 
1.8       moko     6637:   # Passes both tests.
                   6638: ac_preproc_ok=:
                   6639: break
1.1       misha    6640: fi
1.11      moko     6641: rm -f conftest.err conftest.$ac_ext
1.1       misha    6642: 
1.8       moko     6643: done
                   6644: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.11      moko     6645: rm -f conftest.err conftest.$ac_ext
                   6646: if $ac_preproc_ok; then
1.8       moko     6647:   break
1.1       misha    6648: fi
                   6649: 
1.8       moko     6650:     done
                   6651:     ac_cv_prog_CPP=$CPP
1.1       misha    6652: 
1.8       moko     6653: fi
                   6654:   CPP=$ac_cv_prog_CPP
                   6655: else
                   6656:   ac_cv_prog_CPP=$CPP
                   6657: fi
1.11      moko     6658: echo "$as_me:$LINENO: result: $CPP" >&5
                   6659: echo "${ECHO_T}$CPP" >&6
1.8       moko     6660: ac_preproc_ok=false
                   6661: for ac_c_preproc_warn_flag in '' yes
                   6662: do
                   6663:   # Use a header file that comes with gcc, so configuring glibc
                   6664:   # with a fresh cross-compiler works.
                   6665:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6666:   # <limits.h> exists even on freestanding compilers.
                   6667:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   6668:   # not just through cpp. "Syntax error" is here to catch this case.
1.11      moko     6669:   cat >conftest.$ac_ext <<_ACEOF
                   6670: /* confdefs.h.  */
                   6671: _ACEOF
                   6672: cat confdefs.h >>conftest.$ac_ext
                   6673: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6674: /* end confdefs.h.  */
                   6675: #ifdef __STDC__
                   6676: # include <limits.h>
                   6677: #else
                   6678: # include <assert.h>
                   6679: #endif
                   6680:                     Syntax error
                   6681: _ACEOF
1.11      moko     6682: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6683:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6684:   ac_status=$?
                   6685:   grep -v '^ *+' conftest.er1 >conftest.err
                   6686:   rm -f conftest.er1
                   6687:   cat conftest.err >&5
                   6688:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6689:   (exit $ac_status); } >/dev/null; then
                   6690:   if test -s conftest.err; then
                   6691:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6692:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6693:   else
                   6694:     ac_cpp_err=
                   6695:   fi
                   6696: else
                   6697:   ac_cpp_err=yes
                   6698: fi
                   6699: if test -z "$ac_cpp_err"; then
                   6700:   :
                   6701: else
                   6702:   echo "$as_me: failed program was:" >&5
                   6703: sed 's/^/| /' conftest.$ac_ext >&5
1.10      moko     6704: 
1.8       moko     6705:   # Broken: fails on valid input.
                   6706: continue
                   6707: fi
1.11      moko     6708: rm -f conftest.err conftest.$ac_ext
1.1       misha    6709: 
1.11      moko     6710:   # OK, works on sane cases.  Now check whether non-existent headers
1.8       moko     6711:   # can be detected and how.
1.11      moko     6712:   cat >conftest.$ac_ext <<_ACEOF
                   6713: /* confdefs.h.  */
                   6714: _ACEOF
                   6715: cat confdefs.h >>conftest.$ac_ext
                   6716: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6717: /* end confdefs.h.  */
                   6718: #include <ac_nonexistent.h>
                   6719: _ACEOF
1.11      moko     6720: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6721:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6722:   ac_status=$?
                   6723:   grep -v '^ *+' conftest.er1 >conftest.err
                   6724:   rm -f conftest.er1
                   6725:   cat conftest.err >&5
                   6726:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6727:   (exit $ac_status); } >/dev/null; then
                   6728:   if test -s conftest.err; then
                   6729:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6730:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6731:   else
                   6732:     ac_cpp_err=
                   6733:   fi
                   6734: else
                   6735:   ac_cpp_err=yes
                   6736: fi
                   6737: if test -z "$ac_cpp_err"; then
1.8       moko     6738:   # Broken: success on invalid input.
                   6739: continue
                   6740: else
1.11      moko     6741:   echo "$as_me: failed program was:" >&5
                   6742: sed 's/^/| /' conftest.$ac_ext >&5
                   6743: 
1.8       moko     6744:   # Passes both tests.
                   6745: ac_preproc_ok=:
                   6746: break
                   6747: fi
1.11      moko     6748: rm -f conftest.err conftest.$ac_ext
1.8       moko     6749: 
                   6750: done
                   6751: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.11      moko     6752: rm -f conftest.err conftest.$ac_ext
                   6753: if $ac_preproc_ok; then
                   6754:   :
1.8       moko     6755: else
1.11      moko     6756:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   6757: See \`config.log' for more details." >&5
                   6758: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   6759: See \`config.log' for more details." >&2;}
                   6760:    { (exit 1); exit 1; }; }
1.8       moko     6761: fi
1.1       misha    6762: 
1.8       moko     6763: ac_ext=c
                   6764: ac_cpp='$CPP $CPPFLAGS'
                   6765: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6766: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6767: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misha    6768: 
                   6769: 
1.11      moko     6770: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   6771: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   6772: if test "${ac_cv_header_stdc+set}" = set; then
                   6773:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     6774: else
1.11      moko     6775:   cat >conftest.$ac_ext <<_ACEOF
                   6776: /* confdefs.h.  */
                   6777: _ACEOF
                   6778: cat confdefs.h >>conftest.$ac_ext
                   6779: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6780: /* end confdefs.h.  */
                   6781: #include <stdlib.h>
                   6782: #include <stdarg.h>
                   6783: #include <string.h>
                   6784: #include <float.h>
1.1       misha    6785: 
1.8       moko     6786: int
                   6787: main ()
                   6788: {
1.1       misha    6789: 
1.8       moko     6790:   ;
                   6791:   return 0;
                   6792: }
                   6793: _ACEOF
1.11      moko     6794: rm -f conftest.$ac_objext
                   6795: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6796:   (eval $ac_compile) 2>conftest.er1
                   6797:   ac_status=$?
                   6798:   grep -v '^ *+' conftest.er1 >conftest.err
                   6799:   rm -f conftest.er1
                   6800:   cat conftest.err >&5
                   6801:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6802:   (exit $ac_status); } &&
                   6803:         { ac_try='test -z "$ac_c_werror_flag"
                   6804:                         || test ! -s conftest.err'
                   6805:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6806:   (eval $ac_try) 2>&5
                   6807:   ac_status=$?
                   6808:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6809:   (exit $ac_status); }; } &&
                   6810:         { ac_try='test -s conftest.$ac_objext'
                   6811:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6812:   (eval $ac_try) 2>&5
                   6813:   ac_status=$?
                   6814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6815:   (exit $ac_status); }; }; then
1.8       moko     6816:   ac_cv_header_stdc=yes
                   6817: else
1.11      moko     6818:   echo "$as_me: failed program was:" >&5
                   6819: sed 's/^/| /' conftest.$ac_ext >&5
                   6820: 
                   6821: ac_cv_header_stdc=no
1.8       moko     6822: fi
1.11      moko     6823: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    6824: 
1.8       moko     6825: if test $ac_cv_header_stdc = yes; then
                   6826:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.11      moko     6827:   cat >conftest.$ac_ext <<_ACEOF
                   6828: /* confdefs.h.  */
                   6829: _ACEOF
                   6830: cat confdefs.h >>conftest.$ac_ext
                   6831: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6832: /* end confdefs.h.  */
                   6833: #include <string.h>
                   6834: 
                   6835: _ACEOF
                   6836: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.11      moko     6837:   $EGREP "memchr" >/dev/null 2>&1; then
                   6838:   :
1.8       moko     6839: else
                   6840:   ac_cv_header_stdc=no
                   6841: fi
                   6842: rm -f conftest*
                   6843: 
                   6844: fi
                   6845: 
                   6846: if test $ac_cv_header_stdc = yes; then
                   6847:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.11      moko     6848:   cat >conftest.$ac_ext <<_ACEOF
                   6849: /* confdefs.h.  */
                   6850: _ACEOF
                   6851: cat confdefs.h >>conftest.$ac_ext
                   6852: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6853: /* end confdefs.h.  */
                   6854: #include <stdlib.h>
                   6855: 
                   6856: _ACEOF
                   6857: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.11      moko     6858:   $EGREP "free" >/dev/null 2>&1; then
                   6859:   :
1.8       moko     6860: else
                   6861:   ac_cv_header_stdc=no
                   6862: fi
                   6863: rm -f conftest*
                   6864: 
                   6865: fi
1.1       misha    6866: 
1.8       moko     6867: if test $ac_cv_header_stdc = yes; then
                   6868:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.11      moko     6869:   if test "$cross_compiling" = yes; then
1.8       moko     6870:   :
                   6871: else
1.11      moko     6872:   cat >conftest.$ac_ext <<_ACEOF
                   6873: /* confdefs.h.  */
                   6874: _ACEOF
                   6875: cat confdefs.h >>conftest.$ac_ext
                   6876: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     6877: /* end confdefs.h.  */
                   6878: #include <ctype.h>
                   6879: #if ((' ' & 0x0FF) == 0x020)
                   6880: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   6881: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   6882: #else
                   6883: # define ISLOWER(c) \
                   6884:                   (('a' <= (c) && (c) <= 'i') \
                   6885:                     || ('j' <= (c) && (c) <= 'r') \
                   6886:                     || ('s' <= (c) && (c) <= 'z'))
                   6887: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   6888: #endif
1.1       misha    6889: 
1.8       moko     6890: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   6891: int
                   6892: main ()
                   6893: {
                   6894:   int i;
                   6895:   for (i = 0; i < 256; i++)
                   6896:     if (XOR (islower (i), ISLOWER (i))
                   6897:        || toupper (i) != TOUPPER (i))
1.11      moko     6898:       exit(2);
                   6899:   exit (0);
1.8       moko     6900: }
                   6901: _ACEOF
1.11      moko     6902: rm -f conftest$ac_exeext
                   6903: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6904:   (eval $ac_link) 2>&5
                   6905:   ac_status=$?
                   6906:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6907:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   6908:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6909:   (eval $ac_try) 2>&5
                   6910:   ac_status=$?
                   6911:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6912:   (exit $ac_status); }; }; then
                   6913:   :
                   6914: else
                   6915:   echo "$as_me: program exited with status $ac_status" >&5
                   6916: echo "$as_me: failed program was:" >&5
                   6917: sed 's/^/| /' conftest.$ac_ext >&5
1.10      moko     6918: 
1.11      moko     6919: ( exit $ac_status )
                   6920: ac_cv_header_stdc=no
1.8       moko     6921: fi
1.11      moko     6922: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.8       moko     6923: fi
                   6924: fi
                   6925: fi
1.11      moko     6926: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   6927: echo "${ECHO_T}$ac_cv_header_stdc" >&6
1.8       moko     6928: if test $ac_cv_header_stdc = yes; then
1.1       misha    6929: 
1.11      moko     6930: cat >>confdefs.h <<\_ACEOF
                   6931: #define STDC_HEADERS 1
                   6932: _ACEOF
1.1       misha    6933: 
1.8       moko     6934: fi
1.1       misha    6935: 
1.8       moko     6936: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.1       misha    6937: 
                   6938: 
                   6939: 
                   6940: 
                   6941: 
                   6942: 
1.11      moko     6943: 
                   6944: 
                   6945: 
                   6946: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   6947:                  inttypes.h stdint.h unistd.h
                   6948: do
                   6949: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6950: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6951: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6952: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6953:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6954: else
                   6955:   cat >conftest.$ac_ext <<_ACEOF
                   6956: /* confdefs.h.  */
                   6957: _ACEOF
                   6958: cat confdefs.h >>conftest.$ac_ext
                   6959: cat >>conftest.$ac_ext <<_ACEOF
                   6960: /* end confdefs.h.  */
                   6961: $ac_includes_default
                   6962: 
                   6963: #include <$ac_header>
                   6964: _ACEOF
                   6965: rm -f conftest.$ac_objext
                   6966: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6967:   (eval $ac_compile) 2>conftest.er1
                   6968:   ac_status=$?
                   6969:   grep -v '^ *+' conftest.er1 >conftest.err
                   6970:   rm -f conftest.er1
                   6971:   cat conftest.err >&5
                   6972:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6973:   (exit $ac_status); } &&
                   6974:         { ac_try='test -z "$ac_c_werror_flag"
                   6975:                         || test ! -s conftest.err'
                   6976:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6977:   (eval $ac_try) 2>&5
                   6978:   ac_status=$?
                   6979:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6980:   (exit $ac_status); }; } &&
                   6981:         { ac_try='test -s conftest.$ac_objext'
                   6982:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6983:   (eval $ac_try) 2>&5
                   6984:   ac_status=$?
                   6985:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6986:   (exit $ac_status); }; }; then
                   6987:   eval "$as_ac_Header=yes"
                   6988: else
                   6989:   echo "$as_me: failed program was:" >&5
                   6990: sed 's/^/| /' conftest.$ac_ext >&5
                   6991: 
                   6992: eval "$as_ac_Header=no"
                   6993: fi
                   6994: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   6995: fi
                   6996: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6997: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6998: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6999:   cat >>confdefs.h <<_ACEOF
                   7000: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7001: _ACEOF
                   7002: 
                   7003: fi
                   7004: 
                   7005: done
                   7006: 
                   7007: 
                   7008: 
                   7009: for ac_header in dlfcn.h
                   7010: do
                   7011: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7012: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7013: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7014: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7015:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7016: else
                   7017:   cat >conftest.$ac_ext <<_ACEOF
                   7018: /* confdefs.h.  */
                   7019: _ACEOF
                   7020: cat confdefs.h >>conftest.$ac_ext
                   7021: cat >>conftest.$ac_ext <<_ACEOF
                   7022: /* end confdefs.h.  */
                   7023: $ac_includes_default
                   7024: 
                   7025: #include <$ac_header>
                   7026: _ACEOF
                   7027: rm -f conftest.$ac_objext
                   7028: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7029:   (eval $ac_compile) 2>conftest.er1
                   7030:   ac_status=$?
                   7031:   grep -v '^ *+' conftest.er1 >conftest.err
                   7032:   rm -f conftest.er1
                   7033:   cat conftest.err >&5
                   7034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7035:   (exit $ac_status); } &&
                   7036:         { ac_try='test -z "$ac_c_werror_flag"
                   7037:                         || test ! -s conftest.err'
                   7038:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7039:   (eval $ac_try) 2>&5
                   7040:   ac_status=$?
                   7041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7042:   (exit $ac_status); }; } &&
                   7043:         { ac_try='test -s conftest.$ac_objext'
                   7044:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7045:   (eval $ac_try) 2>&5
                   7046:   ac_status=$?
                   7047:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7048:   (exit $ac_status); }; }; then
                   7049:   eval "$as_ac_Header=yes"
                   7050: else
                   7051:   echo "$as_me: failed program was:" >&5
                   7052: sed 's/^/| /' conftest.$ac_ext >&5
                   7053: 
                   7054: eval "$as_ac_Header=no"
                   7055: fi
                   7056: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7057: fi
                   7058: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7059: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7060: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7061:   cat >>confdefs.h <<_ACEOF
                   7062: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7063: _ACEOF
                   7064: 
                   7065: fi
                   7066: 
                   7067: done
1.1       misha    7068: 
                   7069: 
                   7070: 
1.8       moko     7071: 
                   7072: func_stripname_cnf ()
1.1       misha    7073: {
1.8       moko     7074:   case ${2} in
                   7075:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7076:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7077:   esac
                   7078: } # func_stripname_cnf
                   7079: 
                   7080: 
                   7081: 
                   7082: 
                   7083: 
                   7084: # Set options
                   7085: enable_dlopen=yes
                   7086: 
                   7087: 
                   7088: 
                   7089: 
                   7090:   enable_win32_dll=no
                   7091: 
1.1       misha    7092: 
1.11      moko     7093:             # Check whether --enable-shared or --disable-shared was given.
                   7094: if test "${enable_shared+set}" = set; then
                   7095:   enableval="$enable_shared"
                   7096:   p=${PACKAGE-default}
1.8       moko     7097:     case $enableval in
                   7098:     yes) enable_shared=yes ;;
                   7099:     no) enable_shared=no ;;
                   7100:     *)
                   7101:       enable_shared=no
                   7102:       # Look at the argument we got.  We use all the common list separators.
                   7103:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7104:       for pkg in $enableval; do
                   7105:        IFS="$lt_save_ifs"
                   7106:        if test "X$pkg" = "X$p"; then
                   7107:          enable_shared=yes
                   7108:        fi
                   7109:       done
                   7110:       IFS="$lt_save_ifs"
                   7111:       ;;
                   7112:     esac
1.1       misha    7113: else
1.8       moko     7114:   enable_shared=yes
1.11      moko     7115: fi;
1.8       moko     7116: 
                   7117: 
                   7118: 
                   7119: 
                   7120: 
                   7121: 
                   7122: 
1.1       misha    7123: 
1.11      moko     7124:   # Check whether --enable-static or --disable-static was given.
                   7125: if test "${enable_static+set}" = set; then
                   7126:   enableval="$enable_static"
                   7127:   p=${PACKAGE-default}
1.8       moko     7128:     case $enableval in
                   7129:     yes) enable_static=yes ;;
                   7130:     no) enable_static=no ;;
                   7131:     *)
                   7132:      enable_static=no
                   7133:       # Look at the argument we got.  We use all the common list separators.
                   7134:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7135:       for pkg in $enableval; do
                   7136:        IFS="$lt_save_ifs"
                   7137:        if test "X$pkg" = "X$p"; then
                   7138:          enable_static=yes
                   7139:        fi
                   7140:       done
                   7141:       IFS="$lt_save_ifs"
                   7142:       ;;
                   7143:     esac
1.1       misha    7144: else
1.8       moko     7145:   enable_static=yes
1.11      moko     7146: fi;
1.8       moko     7147: 
                   7148: 
                   7149: 
                   7150: 
                   7151: 
                   7152: 
                   7153: 
                   7154: 
                   7155: 
1.11      moko     7156: # Check whether --with-pic or --without-pic was given.
                   7157: if test "${with_pic+set}" = set; then
                   7158:   withval="$with_pic"
                   7159:   lt_p=${PACKAGE-default}
1.8       moko     7160:     case $withval in
                   7161:     yes|no) pic_mode=$withval ;;
                   7162:     *)
                   7163:       pic_mode=default
                   7164:       # Look at the argument we got.  We use all the common list separators.
                   7165:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7166:       for lt_pkg in $withval; do
                   7167:        IFS="$lt_save_ifs"
                   7168:        if test "X$lt_pkg" = "X$lt_p"; then
                   7169:          pic_mode=yes
                   7170:        fi
                   7171:       done
                   7172:       IFS="$lt_save_ifs"
                   7173:       ;;
                   7174:     esac
1.1       misha    7175: else
1.8       moko     7176:   pic_mode=default
1.11      moko     7177: fi;
1.8       moko     7178: 
                   7179: test -z "$pic_mode" && pic_mode=default
                   7180: 
                   7181: 
                   7182: 
                   7183: 
                   7184: 
                   7185: 
1.1       misha    7186: 
1.11      moko     7187:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   7188: if test "${enable_fast_install+set}" = set; then
                   7189:   enableval="$enable_fast_install"
                   7190:   p=${PACKAGE-default}
1.8       moko     7191:     case $enableval in
                   7192:     yes) enable_fast_install=yes ;;
                   7193:     no) enable_fast_install=no ;;
                   7194:     *)
                   7195:       enable_fast_install=no
                   7196:       # Look at the argument we got.  We use all the common list separators.
                   7197:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7198:       for pkg in $enableval; do
                   7199:        IFS="$lt_save_ifs"
                   7200:        if test "X$pkg" = "X$p"; then
                   7201:          enable_fast_install=yes
                   7202:        fi
                   7203:       done
                   7204:       IFS="$lt_save_ifs"
                   7205:       ;;
                   7206:     esac
1.1       misha    7207: else
1.8       moko     7208:   enable_fast_install=yes
1.11      moko     7209: fi;
1.8       moko     7210: 
                   7211: 
                   7212: 
                   7213: 
                   7214: 
                   7215: 
                   7216: 
                   7217: 
                   7218: 
                   7219: 
                   7220: # This can be used to rebuild libtool when needed
                   7221: LIBTOOL_DEPS="$ltmain"
                   7222: 
                   7223: # Always use our own libtool.
                   7224: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   7225: 
                   7226: 
                   7227: 
                   7228: 
                   7229: 
                   7230: 
                   7231: 
                   7232: 
                   7233: 
                   7234: 
                   7235: 
                   7236: 
                   7237: 
                   7238: 
                   7239: 
                   7240: 
                   7241: 
                   7242: 
                   7243: 
                   7244: 
                   7245: 
                   7246: 
                   7247: 
                   7248: 
                   7249: 
                   7250: 
                   7251: 
                   7252: 
                   7253: 
                   7254: 
                   7255: test -z "$LN_S" && LN_S="ln -s"
                   7256: 
                   7257: 
                   7258: 
                   7259: 
                   7260: 
                   7261: 
                   7262: 
                   7263: 
                   7264: 
                   7265: 
                   7266: 
                   7267: 
                   7268: 
1.1       misha    7269: 
1.8       moko     7270: if test -n "${ZSH_VERSION+set}" ; then
                   7271:    setopt NO_GLOB_SUBST
1.1       misha    7272: fi
1.8       moko     7273: 
1.11      moko     7274: echo "$as_me:$LINENO: checking for objdir" >&5
                   7275: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   7276: if test "${lt_cv_objdir+set}" = set; then
                   7277:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     7278: else
                   7279:   rm -f .libs 2>/dev/null
                   7280: mkdir .libs 2>/dev/null
                   7281: if test -d .libs; then
                   7282:   lt_cv_objdir=.libs
                   7283: else
                   7284:   # MS-DOS does not allow filenames that begin with a dot.
                   7285:   lt_cv_objdir=_libs
1.1       misha    7286: fi
1.8       moko     7287: rmdir .libs 2>/dev/null
                   7288: fi
1.11      moko     7289: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   7290: echo "${ECHO_T}$lt_cv_objdir" >&6
1.8       moko     7291: objdir=$lt_cv_objdir
1.1       misha    7292: 
                   7293: 
                   7294: 
                   7295: 
                   7296: 
1.8       moko     7297: cat >>confdefs.h <<_ACEOF
                   7298: #define LT_OBJDIR "$lt_cv_objdir/"
                   7299: _ACEOF
1.1       misha    7300: 
                   7301: 
                   7302: 
                   7303: 
1.8       moko     7304: case $host_os in
                   7305: aix3*)
                   7306:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7307:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7308:   # vanish in a puff of smoke.
                   7309:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7310:     COLLECT_NAMES=
                   7311:     export COLLECT_NAMES
                   7312:   fi
                   7313:   ;;
                   7314: esac
1.1       misha    7315: 
1.8       moko     7316: # Global variables:
                   7317: ofile=libtool
                   7318: can_build_shared=yes
1.1       misha    7319: 
1.8       moko     7320: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7321: # which needs '.lib').
                   7322: libext=a
1.1       misha    7323: 
1.8       moko     7324: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.1       misha    7325: 
1.8       moko     7326: old_CC="$CC"
                   7327: old_CFLAGS="$CFLAGS"
1.1       misha    7328: 
1.8       moko     7329: # Set sane defaults for various variables
                   7330: test -z "$CC" && CC=cc
                   7331: test -z "$LTCC" && LTCC=$CC
                   7332: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7333: test -z "$LD" && LD=ld
                   7334: test -z "$ac_objext" && ac_objext=o
1.1       misha    7335: 
1.8       moko     7336: for cc_temp in $compiler""; do
                   7337:   case $cc_temp in
                   7338:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7339:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7340:     \-*) ;;
                   7341:     *) break;;
1.1       misha    7342:   esac
1.8       moko     7343: done
                   7344: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.1       misha    7345: 
                   7346: 
1.8       moko     7347: # Only perform the check for file, if the check method requires it
                   7348: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7349: case $deplibs_check_method in
                   7350: file_magic*)
                   7351:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.11      moko     7352:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   7353: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   7354: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   7355:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     7356: else
                   7357:   case $MAGIC_CMD in
                   7358: [\\/*] |  ?:[\\/]*)
                   7359:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7360:   ;;
                   7361: *)
                   7362:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7363:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7364:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7365:   for ac_dir in $ac_dummy; do
                   7366:     IFS="$lt_save_ifs"
                   7367:     test -z "$ac_dir" && ac_dir=.
                   7368:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7369:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7370:       if test -n "$file_magic_test_file"; then
                   7371:        case $deplibs_check_method in
                   7372:        "file_magic "*)
                   7373:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7374:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7375:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7376:            $EGREP "$file_magic_regex" > /dev/null; then
                   7377:            :
                   7378:          else
                   7379:            cat <<_LT_EOF 1>&2
1.1       misha    7380: 
1.8       moko     7381: *** Warning: the command libtool uses to detect shared libraries,
                   7382: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7383: *** The result is that libtool may fail to recognize shared libraries
                   7384: *** as such.  This will affect the creation of libtool libraries that
                   7385: *** depend on shared libraries, but programs linked with such libtool
                   7386: *** libraries will work regardless of this problem.  Nevertheless, you
                   7387: *** may want to report the problem to your system manager and/or to
                   7388: *** bug-libtool@gnu.org
1.1       misha    7389: 
1.8       moko     7390: _LT_EOF
                   7391:          fi ;;
                   7392:        esac
                   7393:       fi
                   7394:       break
                   7395:     fi
                   7396:   done
                   7397:   IFS="$lt_save_ifs"
                   7398:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7399:   ;;
                   7400: esac
                   7401: fi
1.1       misha    7402: 
1.8       moko     7403: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7404: if test -n "$MAGIC_CMD"; then
1.11      moko     7405:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   7406: echo "${ECHO_T}$MAGIC_CMD" >&6
1.1       misha    7407: else
1.11      moko     7408:   echo "$as_me:$LINENO: result: no" >&5
                   7409: echo "${ECHO_T}no" >&6
1.8       moko     7410: fi
                   7411: 
1.1       misha    7412: 
                   7413: 
                   7414: 
                   7415: 
1.8       moko     7416: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7417:   if test -n "$ac_tool_prefix"; then
1.11      moko     7418:     echo "$as_me:$LINENO: checking for file" >&5
                   7419: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   7420: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   7421:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     7422: else
                   7423:   case $MAGIC_CMD in
                   7424: [\\/*] |  ?:[\\/]*)
                   7425:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7426:   ;;
                   7427: *)
                   7428:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7429:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7430:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7431:   for ac_dir in $ac_dummy; do
                   7432:     IFS="$lt_save_ifs"
                   7433:     test -z "$ac_dir" && ac_dir=.
                   7434:     if test -f $ac_dir/file; then
                   7435:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7436:       if test -n "$file_magic_test_file"; then
                   7437:        case $deplibs_check_method in
                   7438:        "file_magic "*)
                   7439:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7440:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7441:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7442:            $EGREP "$file_magic_regex" > /dev/null; then
                   7443:            :
                   7444:          else
                   7445:            cat <<_LT_EOF 1>&2
                   7446: 
                   7447: *** Warning: the command libtool uses to detect shared libraries,
                   7448: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7449: *** The result is that libtool may fail to recognize shared libraries
                   7450: *** as such.  This will affect the creation of libtool libraries that
                   7451: *** depend on shared libraries, but programs linked with such libtool
                   7452: *** libraries will work regardless of this problem.  Nevertheless, you
                   7453: *** may want to report the problem to your system manager and/or to
                   7454: *** bug-libtool@gnu.org
1.1       misha    7455: 
1.8       moko     7456: _LT_EOF
                   7457:          fi ;;
                   7458:        esac
                   7459:       fi
                   7460:       break
                   7461:     fi
                   7462:   done
                   7463:   IFS="$lt_save_ifs"
                   7464:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7465:   ;;
                   7466: esac
                   7467: fi
1.1       misha    7468: 
1.8       moko     7469: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7470: if test -n "$MAGIC_CMD"; then
1.11      moko     7471:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   7472: echo "${ECHO_T}$MAGIC_CMD" >&6
1.8       moko     7473: else
1.11      moko     7474:   echo "$as_me:$LINENO: result: no" >&5
                   7475: echo "${ECHO_T}no" >&6
1.8       moko     7476: fi
1.1       misha    7477: 
                   7478: 
1.8       moko     7479:   else
                   7480:     MAGIC_CMD=:
1.1       misha    7481:   fi
                   7482: fi
1.8       moko     7483: 
                   7484:   fi
                   7485:   ;;
                   7486: esac
                   7487: 
                   7488: # Use C for the default configuration in the libtool script
                   7489: 
                   7490: lt_save_CC="$CC"
                   7491: ac_ext=c
                   7492: ac_cpp='$CPP $CPPFLAGS'
                   7493: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7494: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7495: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7496: 
                   7497: 
                   7498: # Source file extension for C test sources.
                   7499: ac_ext=c
                   7500: 
                   7501: # Object file extension for compiled C test sources.
                   7502: objext=o
                   7503: objext=$objext
                   7504: 
                   7505: # Code to be used in simple compile tests
                   7506: lt_simple_compile_test_code="int some_variable = 0;"
                   7507: 
                   7508: # Code to be used in simple link tests
                   7509: lt_simple_link_test_code='int main(){return(0);}'
1.1       misha    7510: 
                   7511: 
                   7512: 
                   7513: 
                   7514: 
                   7515: 
                   7516: 
1.8       moko     7517: # If no C compiler was specified, use CC.
                   7518: LTCC=${LTCC-"$CC"}
1.1       misha    7519: 
1.8       moko     7520: # If no C compiler flags were specified, use CFLAGS.
                   7521: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.1       misha    7522: 
1.8       moko     7523: # Allow CC to be a program name with arguments.
                   7524: compiler=$CC
1.1       misha    7525: 
1.8       moko     7526: # Save the default compiler, since it gets overwritten when the other
                   7527: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   7528: compiler_DEFAULT=$CC
1.1       misha    7529: 
1.8       moko     7530: # save warnings/boilerplate of simple test code
                   7531: ac_outfile=conftest.$ac_objext
                   7532: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   7533: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7534: _lt_compiler_boilerplate=`cat conftest.err`
                   7535: $RM conftest*
1.1       misha    7536: 
1.8       moko     7537: ac_outfile=conftest.$ac_objext
                   7538: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   7539: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7540: _lt_linker_boilerplate=`cat conftest.err`
                   7541: $RM -r conftest*
1.1       misha    7542: 
                   7543: 
1.12    ! moko     7544: ## CAVEAT EMPTOR:
        !          7545: ## There is no encapsulation within the following macros, do not change
        !          7546: ## the running order or otherwise move them around unless you know exactly
        !          7547: ## what you are doing...
1.8       moko     7548: if test -n "$compiler"; then
1.1       misha    7549: 
1.8       moko     7550: lt_prog_compiler_no_builtin_flag=
1.1       misha    7551: 
1.8       moko     7552: if test "$GCC" = yes; then
                   7553:   case $cc_basename in
                   7554:   nvcc*)
                   7555:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   7556:   *)
                   7557:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
1.1       misha    7558:   esac
                   7559: 
1.11      moko     7560:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   7561: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   7562: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
                   7563:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    7564: else
1.8       moko     7565:   lt_cv_prog_compiler_rtti_exceptions=no
                   7566:    ac_outfile=conftest.$ac_objext
                   7567:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7568:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   7569:    # Insert the option either (1) after the last *FLAGS variable, or
                   7570:    # (2) before a word containing "conftest.", or (3) at the end.
                   7571:    # Note that $ac_compile itself does not contain backslashes and begins
                   7572:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7573:    # The option is referenced via a variable to avoid confusing sed.
                   7574:    lt_compile=`echo "$ac_compile" | $SED \
                   7575:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7576:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7577:    -e 's:$: $lt_compiler_flag:'`
                   7578:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   7579:    (eval "$lt_compile" 2>conftest.err)
                   7580:    ac_status=$?
                   7581:    cat conftest.err >&5
                   7582:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7583:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7584:      # The compiler can only warn and ignore the option if not recognized
                   7585:      # So say no if there are warnings other than the usual output.
                   7586:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   7587:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7588:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7589:        lt_cv_prog_compiler_rtti_exceptions=yes
                   7590:      fi
                   7591:    fi
                   7592:    $RM conftest*
1.1       misha    7593: 
                   7594: fi
1.11      moko     7595: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   7596: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.1       misha    7597: 
1.8       moko     7598: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   7599:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   7600: else
                   7601:     :
1.1       misha    7602: fi
                   7603: 
1.8       moko     7604: fi
1.1       misha    7605: 
                   7606: 
                   7607: 
                   7608: 
                   7609: 
                   7610: 
1.8       moko     7611:   lt_prog_compiler_wl=
                   7612: lt_prog_compiler_pic=
                   7613: lt_prog_compiler_static=
1.1       misha    7614: 
                   7615: 
1.8       moko     7616:   if test "$GCC" = yes; then
                   7617:     lt_prog_compiler_wl='-Wl,'
                   7618:     lt_prog_compiler_static='-static'
1.1       misha    7619: 
1.8       moko     7620:     case $host_os in
                   7621:       aix*)
                   7622:       # All AIX code is PIC.
                   7623:       if test "$host_cpu" = ia64; then
                   7624:        # AIX 5 now supports IA64 processor
                   7625:        lt_prog_compiler_static='-Bstatic'
                   7626:       fi
                   7627:       ;;
1.1       misha    7628: 
1.8       moko     7629:     amigaos*)
                   7630:       case $host_cpu in
                   7631:       powerpc)
                   7632:             # see comment about AmigaOS4 .so support
                   7633:             lt_prog_compiler_pic='-fPIC'
                   7634:         ;;
                   7635:       m68k)
                   7636:             # FIXME: we need at least 68020 code to build shared libraries, but
                   7637:             # adding the `-m68020' flag to GCC prevents building anything better,
                   7638:             # like `-m68040'.
                   7639:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   7640:         ;;
                   7641:       esac
                   7642:       ;;
1.1       misha    7643: 
1.8       moko     7644:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   7645:       # PIC is the default for these OSes.
                   7646:       ;;
1.1       misha    7647: 
1.8       moko     7648:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7649:       # This hack is so that the source file can tell whether it is being
                   7650:       # built for inclusion in a dll (and should export symbols for example).
                   7651:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   7652:       # (--disable-auto-import) libraries
                   7653:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7654:       ;;
1.1       misha    7655: 
1.8       moko     7656:     darwin* | rhapsody*)
                   7657:       # PIC is the default on this platform
                   7658:       # Common symbols not allowed in MH_DYLIB files
                   7659:       lt_prog_compiler_pic='-fno-common'
                   7660:       ;;
1.1       misha    7661: 
1.8       moko     7662:     haiku*)
                   7663:       # PIC is the default for Haiku.
                   7664:       # The "-static" flag exists, but is broken.
                   7665:       lt_prog_compiler_static=
                   7666:       ;;
1.1       misha    7667: 
1.8       moko     7668:     hpux*)
                   7669:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   7670:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   7671:       # sets the default TLS model and affects inlining.
                   7672:       case $host_cpu in
                   7673:       hppa*64*)
                   7674:        # +Z the default
                   7675:        ;;
                   7676:       *)
                   7677:        lt_prog_compiler_pic='-fPIC'
                   7678:        ;;
                   7679:       esac
                   7680:       ;;
1.1       misha    7681: 
1.8       moko     7682:     interix[3-9]*)
                   7683:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   7684:       # Instead, we relocate shared libraries at runtime.
                   7685:       ;;
1.1       misha    7686: 
1.8       moko     7687:     msdosdjgpp*)
                   7688:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   7689:       # on systems that don't support them.
                   7690:       lt_prog_compiler_can_build_shared=no
                   7691:       enable_shared=no
                   7692:       ;;
1.1       misha    7693: 
1.8       moko     7694:     *nto* | *qnx*)
                   7695:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   7696:       # it will coredump.
                   7697:       lt_prog_compiler_pic='-fPIC -shared'
                   7698:       ;;
1.1       misha    7699: 
1.8       moko     7700:     sysv4*MP*)
                   7701:       if test -d /usr/nec; then
                   7702:        lt_prog_compiler_pic=-Kconform_pic
                   7703:       fi
                   7704:       ;;
1.1       misha    7705: 
1.8       moko     7706:     *)
                   7707:       lt_prog_compiler_pic='-fPIC'
                   7708:       ;;
                   7709:     esac
1.1       misha    7710: 
1.8       moko     7711:     case $cc_basename in
                   7712:     nvcc*) # Cuda Compiler Driver 2.2
                   7713:       lt_prog_compiler_wl='-Xlinker '
                   7714:       if test -n "$lt_prog_compiler_pic"; then
                   7715:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   7716:       fi
                   7717:       ;;
                   7718:     esac
                   7719:   else
                   7720:     # PORTME Check for flag to pass linker flags through the system compiler.
                   7721:     case $host_os in
                   7722:     aix*)
                   7723:       lt_prog_compiler_wl='-Wl,'
                   7724:       if test "$host_cpu" = ia64; then
                   7725:        # AIX 5 now supports IA64 processor
                   7726:        lt_prog_compiler_static='-Bstatic'
                   7727:       else
                   7728:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   7729:       fi
                   7730:       ;;
1.1       misha    7731: 
1.8       moko     7732:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7733:       # This hack is so that the source file can tell whether it is being
                   7734:       # built for inclusion in a dll (and should export symbols for example).
                   7735:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7736:       ;;
1.1       misha    7737: 
1.8       moko     7738:     hpux9* | hpux10* | hpux11*)
                   7739:       lt_prog_compiler_wl='-Wl,'
                   7740:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   7741:       # not for PA HP-UX.
                   7742:       case $host_cpu in
                   7743:       hppa*64*|ia64*)
                   7744:        # +Z the default
                   7745:        ;;
                   7746:       *)
                   7747:        lt_prog_compiler_pic='+Z'
                   7748:        ;;
                   7749:       esac
                   7750:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   7751:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   7752:       ;;
1.1       misha    7753: 
1.8       moko     7754:     irix5* | irix6* | nonstopux*)
                   7755:       lt_prog_compiler_wl='-Wl,'
                   7756:       # PIC (with -KPIC) is the default.
                   7757:       lt_prog_compiler_static='-non_shared'
                   7758:       ;;
1.1       misha    7759: 
1.8       moko     7760:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   7761:       case $cc_basename in
                   7762:       # old Intel for x86_64 which still supported -KPIC.
                   7763:       ecc*)
                   7764:        lt_prog_compiler_wl='-Wl,'
                   7765:        lt_prog_compiler_pic='-KPIC'
                   7766:        lt_prog_compiler_static='-static'
                   7767:         ;;
                   7768:       # icc used to be incompatible with GCC.
                   7769:       # ICC 10 doesn't accept -KPIC any more.
                   7770:       icc* | ifort*)
                   7771:        lt_prog_compiler_wl='-Wl,'
                   7772:        lt_prog_compiler_pic='-fPIC'
                   7773:        lt_prog_compiler_static='-static'
                   7774:         ;;
                   7775:       # Lahey Fortran 8.1.
                   7776:       lf95*)
                   7777:        lt_prog_compiler_wl='-Wl,'
                   7778:        lt_prog_compiler_pic='--shared'
                   7779:        lt_prog_compiler_static='--static'
                   7780:        ;;
                   7781:       nagfor*)
                   7782:        # NAG Fortran compiler
                   7783:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   7784:        lt_prog_compiler_pic='-PIC'
                   7785:        lt_prog_compiler_static='-Bstatic'
                   7786:        ;;
                   7787:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   7788:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   7789:        # which looks to be a dead project)
                   7790:        lt_prog_compiler_wl='-Wl,'
                   7791:        lt_prog_compiler_pic='-fpic'
                   7792:        lt_prog_compiler_static='-Bstatic'
                   7793:         ;;
                   7794:       ccc*)
                   7795:         lt_prog_compiler_wl='-Wl,'
                   7796:         # All Alpha code is PIC.
                   7797:         lt_prog_compiler_static='-non_shared'
                   7798:         ;;
                   7799:       xl* | bgxl* | bgf* | mpixl*)
                   7800:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   7801:        lt_prog_compiler_wl='-Wl,'
                   7802:        lt_prog_compiler_pic='-qpic'
                   7803:        lt_prog_compiler_static='-qstaticlink'
                   7804:        ;;
                   7805:       *)
                   7806:        case `$CC -V 2>&1 | sed 5q` in
                   7807:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   7808:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   7809:          lt_prog_compiler_pic='-KPIC'
                   7810:          lt_prog_compiler_static='-Bstatic'
                   7811:          lt_prog_compiler_wl=''
                   7812:          ;;
                   7813:        *Sun\ F* | *Sun*Fortran*)
                   7814:          lt_prog_compiler_pic='-KPIC'
                   7815:          lt_prog_compiler_static='-Bstatic'
                   7816:          lt_prog_compiler_wl='-Qoption ld '
                   7817:          ;;
                   7818:        *Sun\ C*)
                   7819:          # Sun C 5.9
                   7820:          lt_prog_compiler_pic='-KPIC'
                   7821:          lt_prog_compiler_static='-Bstatic'
                   7822:          lt_prog_compiler_wl='-Wl,'
                   7823:          ;;
                   7824:         *Intel*\ [CF]*Compiler*)
                   7825:          lt_prog_compiler_wl='-Wl,'
                   7826:          lt_prog_compiler_pic='-fPIC'
                   7827:          lt_prog_compiler_static='-static'
                   7828:          ;;
                   7829:        *Portland\ Group*)
                   7830:          lt_prog_compiler_wl='-Wl,'
                   7831:          lt_prog_compiler_pic='-fpic'
                   7832:          lt_prog_compiler_static='-Bstatic'
                   7833:          ;;
                   7834:        esac
                   7835:        ;;
                   7836:       esac
                   7837:       ;;
1.1       misha    7838: 
1.8       moko     7839:     newsos6)
                   7840:       lt_prog_compiler_pic='-KPIC'
                   7841:       lt_prog_compiler_static='-Bstatic'
                   7842:       ;;
1.1       misha    7843: 
1.8       moko     7844:     *nto* | *qnx*)
                   7845:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   7846:       # it will coredump.
                   7847:       lt_prog_compiler_pic='-fPIC -shared'
                   7848:       ;;
1.1       misha    7849: 
1.8       moko     7850:     osf3* | osf4* | osf5*)
                   7851:       lt_prog_compiler_wl='-Wl,'
                   7852:       # All OSF/1 code is PIC.
                   7853:       lt_prog_compiler_static='-non_shared'
                   7854:       ;;
1.1       misha    7855: 
1.8       moko     7856:     rdos*)
                   7857:       lt_prog_compiler_static='-non_shared'
                   7858:       ;;
1.1       misha    7859: 
1.8       moko     7860:     solaris*)
                   7861:       lt_prog_compiler_pic='-KPIC'
                   7862:       lt_prog_compiler_static='-Bstatic'
                   7863:       case $cc_basename in
                   7864:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   7865:        lt_prog_compiler_wl='-Qoption ld ';;
                   7866:       *)
                   7867:        lt_prog_compiler_wl='-Wl,';;
                   7868:       esac
                   7869:       ;;
1.1       misha    7870: 
1.8       moko     7871:     sunos4*)
                   7872:       lt_prog_compiler_wl='-Qoption ld '
                   7873:       lt_prog_compiler_pic='-PIC'
                   7874:       lt_prog_compiler_static='-Bstatic'
                   7875:       ;;
1.1       misha    7876: 
1.8       moko     7877:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   7878:       lt_prog_compiler_wl='-Wl,'
                   7879:       lt_prog_compiler_pic='-KPIC'
                   7880:       lt_prog_compiler_static='-Bstatic'
                   7881:       ;;
1.1       misha    7882: 
1.8       moko     7883:     sysv4*MP*)
                   7884:       if test -d /usr/nec ;then
                   7885:        lt_prog_compiler_pic='-Kconform_pic'
                   7886:        lt_prog_compiler_static='-Bstatic'
                   7887:       fi
                   7888:       ;;
1.1       misha    7889: 
1.8       moko     7890:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   7891:       lt_prog_compiler_wl='-Wl,'
                   7892:       lt_prog_compiler_pic='-KPIC'
                   7893:       lt_prog_compiler_static='-Bstatic'
                   7894:       ;;
1.1       misha    7895: 
1.8       moko     7896:     unicos*)
                   7897:       lt_prog_compiler_wl='-Wl,'
                   7898:       lt_prog_compiler_can_build_shared=no
                   7899:       ;;
1.1       misha    7900: 
1.8       moko     7901:     uts4*)
                   7902:       lt_prog_compiler_pic='-pic'
                   7903:       lt_prog_compiler_static='-Bstatic'
                   7904:       ;;
1.1       misha    7905: 
1.8       moko     7906:     *)
                   7907:       lt_prog_compiler_can_build_shared=no
                   7908:       ;;
                   7909:     esac
                   7910:   fi
1.1       misha    7911: 
1.8       moko     7912: case $host_os in
                   7913:   # For platforms which do not support PIC, -DPIC is meaningless:
                   7914:   *djgpp*)
                   7915:     lt_prog_compiler_pic=
                   7916:     ;;
                   7917:   *)
                   7918:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   7919:     ;;
                   7920: esac
1.1       misha    7921: 
1.11      moko     7922: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   7923: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   7924: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   7925:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     7926: else
                   7927:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   7928: fi
1.11      moko     7929: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   7930: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
1.8       moko     7931: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.1       misha    7932: 
1.8       moko     7933: #
                   7934: # Check to make sure the PIC flag actually works.
                   7935: #
                   7936: if test -n "$lt_prog_compiler_pic"; then
1.11      moko     7937:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   7938: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   7939: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
                   7940:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     7941: else
                   7942:   lt_cv_prog_compiler_pic_works=no
                   7943:    ac_outfile=conftest.$ac_objext
                   7944:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7945:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   7946:    # Insert the option either (1) after the last *FLAGS variable, or
                   7947:    # (2) before a word containing "conftest.", or (3) at the end.
                   7948:    # Note that $ac_compile itself does not contain backslashes and begins
                   7949:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7950:    # The option is referenced via a variable to avoid confusing sed.
                   7951:    lt_compile=`echo "$ac_compile" | $SED \
                   7952:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7953:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7954:    -e 's:$: $lt_compiler_flag:'`
                   7955:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   7956:    (eval "$lt_compile" 2>conftest.err)
                   7957:    ac_status=$?
                   7958:    cat conftest.err >&5
                   7959:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7960:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7961:      # The compiler can only warn and ignore the option if not recognized
                   7962:      # So say no if there are warnings other than the usual output.
                   7963:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   7964:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7965:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7966:        lt_cv_prog_compiler_pic_works=yes
                   7967:      fi
                   7968:    fi
                   7969:    $RM conftest*
1.1       misha    7970: 
1.8       moko     7971: fi
1.11      moko     7972: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   7973: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
1.1       misha    7974: 
1.8       moko     7975: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   7976:     case $lt_prog_compiler_pic in
                   7977:      "" | " "*) ;;
                   7978:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   7979:      esac
                   7980: else
                   7981:     lt_prog_compiler_pic=
                   7982:      lt_prog_compiler_can_build_shared=no
                   7983: fi
1.1       misha    7984: 
1.8       moko     7985: fi
1.1       misha    7986: 
                   7987: 
                   7988: 
                   7989: 
                   7990: 
                   7991: 
                   7992: 
                   7993: 
                   7994: 
                   7995: 
                   7996: 
1.8       moko     7997: #
                   7998: # Check to make sure the static flag actually works.
                   7999: #
                   8000: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.11      moko     8001: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8002: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8003: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8004:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     8005: else
                   8006:   lt_cv_prog_compiler_static_works=no
                   8007:    save_LDFLAGS="$LDFLAGS"
                   8008:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8009:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8010:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8011:      # The linker can only warn and ignore the option if not recognized
                   8012:      # So say no if there are warnings
                   8013:      if test -s conftest.err; then
                   8014:        # Append any errors to the config.log.
                   8015:        cat conftest.err 1>&5
                   8016:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8017:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8018:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8019:          lt_cv_prog_compiler_static_works=yes
                   8020:        fi
                   8021:      else
                   8022:        lt_cv_prog_compiler_static_works=yes
                   8023:      fi
                   8024:    fi
                   8025:    $RM -r conftest*
                   8026:    LDFLAGS="$save_LDFLAGS"
1.1       misha    8027: 
1.8       moko     8028: fi
1.11      moko     8029: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8030: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
1.1       misha    8031: 
1.8       moko     8032: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8033:     :
                   8034: else
                   8035:     lt_prog_compiler_static=
                   8036: fi
1.1       misha    8037: 
                   8038: 
                   8039: 
                   8040: 
                   8041: 
                   8042: 
                   8043: 
1.11      moko     8044:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8045: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8046: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8047:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     8048: else
                   8049:   lt_cv_prog_compiler_c_o=no
                   8050:    $RM -r conftest 2>/dev/null
                   8051:    mkdir conftest
                   8052:    cd conftest
                   8053:    mkdir out
                   8054:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8055: 
                   8056:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8057:    # Insert the option either (1) after the last *FLAGS variable, or
                   8058:    # (2) before a word containing "conftest.", or (3) at the end.
                   8059:    # Note that $ac_compile itself does not contain backslashes and begins
                   8060:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8061:    lt_compile=`echo "$ac_compile" | $SED \
                   8062:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8063:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8064:    -e 's:$: $lt_compiler_flag:'`
                   8065:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8066:    (eval "$lt_compile" 2>out/conftest.err)
                   8067:    ac_status=$?
                   8068:    cat out/conftest.err >&5
                   8069:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8070:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8071:    then
                   8072:      # The compiler can only warn and ignore the option if not recognized
                   8073:      # So say no if there are warnings
                   8074:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8075:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8076:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8077:        lt_cv_prog_compiler_c_o=yes
                   8078:      fi
                   8079:    fi
                   8080:    chmod u+w . 2>&5
                   8081:    $RM conftest*
                   8082:    # SGI C++ compiler will create directory out/ii_files/ for
                   8083:    # template instantiation
                   8084:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8085:    $RM out/* && rmdir out
                   8086:    cd ..
                   8087:    $RM -r conftest
                   8088:    $RM conftest*
1.1       misha    8089: 
1.8       moko     8090: fi
1.11      moko     8091: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8092: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
1.1       misha    8093: 
                   8094: 
                   8095: 
                   8096: 
                   8097: 
                   8098: 
1.11      moko     8099:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8100: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8101: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8102:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     8103: else
                   8104:   lt_cv_prog_compiler_c_o=no
                   8105:    $RM -r conftest 2>/dev/null
                   8106:    mkdir conftest
                   8107:    cd conftest
                   8108:    mkdir out
                   8109:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8110: 
                   8111:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8112:    # Insert the option either (1) after the last *FLAGS variable, or
                   8113:    # (2) before a word containing "conftest.", or (3) at the end.
                   8114:    # Note that $ac_compile itself does not contain backslashes and begins
                   8115:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8116:    lt_compile=`echo "$ac_compile" | $SED \
                   8117:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8118:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8119:    -e 's:$: $lt_compiler_flag:'`
                   8120:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8121:    (eval "$lt_compile" 2>out/conftest.err)
                   8122:    ac_status=$?
                   8123:    cat out/conftest.err >&5
                   8124:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8125:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8126:    then
                   8127:      # The compiler can only warn and ignore the option if not recognized
                   8128:      # So say no if there are warnings
                   8129:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8130:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8131:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8132:        lt_cv_prog_compiler_c_o=yes
                   8133:      fi
                   8134:    fi
                   8135:    chmod u+w . 2>&5
                   8136:    $RM conftest*
                   8137:    # SGI C++ compiler will create directory out/ii_files/ for
                   8138:    # template instantiation
                   8139:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8140:    $RM out/* && rmdir out
                   8141:    cd ..
                   8142:    $RM -r conftest
                   8143:    $RM conftest*
1.1       misha    8144: 
1.8       moko     8145: fi
1.11      moko     8146: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8147: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
1.1       misha    8148: 
                   8149: 
                   8150: 
                   8151: 
1.8       moko     8152: hard_links="nottested"
                   8153: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8154:   # do not overwrite the value of need_locks provided by the user
1.11      moko     8155:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   8156: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
1.8       moko     8157:   hard_links=yes
                   8158:   $RM conftest*
                   8159:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8160:   touch conftest.a
                   8161:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8162:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.11      moko     8163:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   8164: echo "${ECHO_T}$hard_links" >&6
1.8       moko     8165:   if test "$hard_links" = no; then
1.11      moko     8166:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8167: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.8       moko     8168:     need_locks=warn
                   8169:   fi
                   8170: else
                   8171:   need_locks=no
                   8172: fi
1.1       misha    8173: 
                   8174: 
                   8175: 
                   8176: 
                   8177: 
                   8178: 
1.11      moko     8179:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8180: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.1       misha    8181: 
1.8       moko     8182:   runpath_var=
                   8183:   allow_undefined_flag=
                   8184:   always_export_symbols=no
                   8185:   archive_cmds=
                   8186:   archive_expsym_cmds=
                   8187:   compiler_needs_object=no
                   8188:   enable_shared_with_static_runtimes=no
                   8189:   export_dynamic_flag_spec=
                   8190:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8191:   hardcode_automatic=no
                   8192:   hardcode_direct=no
                   8193:   hardcode_direct_absolute=no
                   8194:   hardcode_libdir_flag_spec=
                   8195:   hardcode_libdir_separator=
                   8196:   hardcode_minus_L=no
                   8197:   hardcode_shlibpath_var=unsupported
                   8198:   inherit_rpath=no
                   8199:   link_all_deplibs=unknown
                   8200:   module_cmds=
                   8201:   module_expsym_cmds=
                   8202:   old_archive_from_new_cmds=
                   8203:   old_archive_from_expsyms_cmds=
                   8204:   thread_safe_flag_spec=
                   8205:   whole_archive_flag_spec=
                   8206:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8207:   # included in the symbol list
                   8208:   include_expsyms=
                   8209:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8210:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8211:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8212:   # as well as any symbol that contains `d'.
                   8213:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8214:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8215:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8216:   # the symbol is explicitly referenced.  Since portable code cannot
                   8217:   # rely on this symbol name, it's probably fine to never include it in
                   8218:   # preloaded symbol tables.
                   8219:   # Exclude shared library initialization/finalization symbols.
                   8220:   extract_expsyms_cmds=
1.1       misha    8221: 
1.8       moko     8222:   case $host_os in
                   8223:   cygwin* | mingw* | pw32* | cegcc*)
                   8224:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8225:     # When not using gcc, we currently assume that we are using
                   8226:     # Microsoft Visual C++.
                   8227:     if test "$GCC" != yes; then
                   8228:       with_gnu_ld=no
                   8229:     fi
                   8230:     ;;
                   8231:   interix*)
                   8232:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8233:     with_gnu_ld=yes
                   8234:     ;;
                   8235:   openbsd*)
                   8236:     with_gnu_ld=no
                   8237:     ;;
                   8238:   esac
1.1       misha    8239: 
1.8       moko     8240:   ld_shlibs=yes
1.1       misha    8241: 
1.8       moko     8242:   # On some targets, GNU ld is compatible enough with the native linker
                   8243:   # that we're better off using the native interface for both.
                   8244:   lt_use_gnu_ld_interface=no
                   8245:   if test "$with_gnu_ld" = yes; then
                   8246:     case $host_os in
                   8247:       aix*)
                   8248:        # The AIX port of GNU ld has always aspired to compatibility
                   8249:        # with the native linker.  However, as the warning in the GNU ld
                   8250:        # block says, versions before 2.19.5* couldn't really create working
                   8251:        # shared libraries, regardless of the interface used.
                   8252:        case `$LD -v 2>&1` in
                   8253:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   8254:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   8255:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   8256:          *)
                   8257:            lt_use_gnu_ld_interface=yes
                   8258:            ;;
                   8259:        esac
                   8260:        ;;
                   8261:       *)
                   8262:        lt_use_gnu_ld_interface=yes
                   8263:        ;;
                   8264:     esac
                   8265:   fi
1.1       misha    8266: 
1.8       moko     8267:   if test "$lt_use_gnu_ld_interface" = yes; then
                   8268:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8269:     wlarc='${wl}'
                   8270: 
                   8271:     # Set some defaults for GNU ld with shared library support. These
                   8272:     # are reset later if shared libraries are not supported. Putting them
                   8273:     # here allows them to be overridden if necessary.
                   8274:     runpath_var=LD_RUN_PATH
                   8275:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8276:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8277:     # ancient GNU ld didn't support --whole-archive et. al.
                   8278:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8279:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8280:     else
                   8281:       whole_archive_flag_spec=
                   8282:     fi
                   8283:     supports_anon_versioning=no
                   8284:     case `$LD -v 2>&1` in
                   8285:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8286:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8287:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8288:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8289:       *\ 2.11.*) ;; # other 2.11 versions
                   8290:       *) supports_anon_versioning=yes ;;
                   8291:     esac
1.1       misha    8292: 
1.8       moko     8293:     # See if GNU ld supports shared libraries.
                   8294:     case $host_os in
                   8295:     aix[3-9]*)
                   8296:       # On AIX/PPC, the GNU linker is very broken
                   8297:       if test "$host_cpu" != ia64; then
                   8298:        ld_shlibs=no
                   8299:        cat <<_LT_EOF 1>&2
1.1       misha    8300: 
1.8       moko     8301: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   8302: *** to be unable to reliably create shared libraries on AIX.
                   8303: *** Therefore, libtool is disabling shared libraries support.  If you
                   8304: *** really care for shared libraries, you may want to install binutils
                   8305: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   8306: *** You will then need to restart the configuration process.
1.1       misha    8307: 
1.8       moko     8308: _LT_EOF
                   8309:       fi
                   8310:       ;;
1.1       misha    8311: 
1.8       moko     8312:     amigaos*)
                   8313:       case $host_cpu in
                   8314:       powerpc)
                   8315:             # see comment about AmigaOS4 .so support
                   8316:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8317:             archive_expsym_cmds=''
                   8318:         ;;
                   8319:       m68k)
                   8320:             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)'
                   8321:             hardcode_libdir_flag_spec='-L$libdir'
                   8322:             hardcode_minus_L=yes
                   8323:         ;;
                   8324:       esac
                   8325:       ;;
1.1       misha    8326: 
1.8       moko     8327:     beos*)
                   8328:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8329:        allow_undefined_flag=unsupported
                   8330:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8331:        # support --undefined.  This deserves some investigation.  FIXME
                   8332:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8333:       else
                   8334:        ld_shlibs=no
                   8335:       fi
                   8336:       ;;
1.1       misha    8337: 
1.8       moko     8338:     cygwin* | mingw* | pw32* | cegcc*)
                   8339:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8340:       # as there is no search path for DLLs.
                   8341:       hardcode_libdir_flag_spec='-L$libdir'
                   8342:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   8343:       allow_undefined_flag=unsupported
                   8344:       always_export_symbols=no
                   8345:       enable_shared_with_static_runtimes=yes
                   8346:       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'
                   8347:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   8348: 
                   8349:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8350:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8351:        # If the export-symbols file already is a .def file (1st line
                   8352:        # is EXPORTS), use it as is; otherwise, prepend...
                   8353:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8354:          cp $export_symbols $output_objdir/$soname.def;
                   8355:        else
                   8356:          echo EXPORTS > $output_objdir/$soname.def;
                   8357:          cat $export_symbols >> $output_objdir/$soname.def;
                   8358:        fi~
                   8359:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8360:       else
                   8361:        ld_shlibs=no
                   8362:       fi
                   8363:       ;;
1.1       misha    8364: 
1.8       moko     8365:     haiku*)
                   8366:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8367:       link_all_deplibs=yes
                   8368:       ;;
1.1       misha    8369: 
1.8       moko     8370:     interix[3-9]*)
                   8371:       hardcode_direct=no
                   8372:       hardcode_shlibpath_var=no
                   8373:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8374:       export_dynamic_flag_spec='${wl}-E'
                   8375:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8376:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8377:       # default) and relocated if they conflict, which is a slow very memory
                   8378:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8379:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8380:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8381:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8382:       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'
                   8383:       ;;
1.1       misha    8384: 
1.8       moko     8385:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8386:       tmp_diet=no
                   8387:       if test "$host_os" = linux-dietlibc; then
                   8388:        case $cc_basename in
                   8389:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8390:        esac
                   8391:       fi
                   8392:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8393:         && test "$tmp_diet" = no
                   8394:       then
                   8395:        tmp_addflag=' $pic_flag'
                   8396:        tmp_sharedflag='-shared'
                   8397:        case $cc_basename,$host_cpu in
                   8398:         pgcc*)                         # Portland Group C compiler
                   8399:          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'
                   8400:          tmp_addflag=' $pic_flag'
                   8401:          ;;
                   8402:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   8403:                                        # Portland Group f77 and f90 compilers
                   8404:          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'
                   8405:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8406:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8407:          tmp_addflag=' -i_dynamic' ;;
                   8408:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8409:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8410:        ifc* | ifort*)                  # Intel Fortran compiler
                   8411:          tmp_addflag=' -nofor_main' ;;
                   8412:        lf95*)                          # Lahey Fortran 8.1
                   8413:          whole_archive_flag_spec=
                   8414:          tmp_sharedflag='--shared' ;;
                   8415:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   8416:          tmp_sharedflag='-qmkshrobj'
                   8417:          tmp_addflag= ;;
                   8418:        nvcc*)  # Cuda Compiler Driver 2.2
                   8419:          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'
                   8420:          compiler_needs_object=yes
                   8421:          ;;
                   8422:        esac
                   8423:        case `$CC -V 2>&1 | sed 5q` in
                   8424:        *Sun\ C*)                       # Sun C 5.9
                   8425:          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'
                   8426:          compiler_needs_object=yes
                   8427:          tmp_sharedflag='-G' ;;
                   8428:        *Sun\ F*)                       # Sun Fortran 8.3
                   8429:          tmp_sharedflag='-G' ;;
                   8430:        esac
                   8431:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.1       misha    8432: 
1.8       moko     8433:         if test "x$supports_anon_versioning" = xyes; then
                   8434:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8435:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8436:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8437:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8438:         fi
                   8439: 
                   8440:        case $cc_basename in
                   8441:        xlf* | bgf* | bgxlf* | mpixlf*)
                   8442:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8443:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8444:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8445:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   8446:          if test "x$supports_anon_versioning" = xyes; then
                   8447:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8448:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8449:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   8450:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   8451:          fi
                   8452:          ;;
                   8453:        esac
                   8454:       else
                   8455:         ld_shlibs=no
                   8456:       fi
                   8457:       ;;
1.1       misha    8458: 
1.8       moko     8459:     netbsd*)
                   8460:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8461:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8462:        wlarc=
                   8463:       else
                   8464:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8465:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8466:       fi
                   8467:       ;;
1.1       misha    8468: 
1.8       moko     8469:     solaris*)
                   8470:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8471:        ld_shlibs=no
                   8472:        cat <<_LT_EOF 1>&2
1.1       misha    8473: 
1.8       moko     8474: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8475: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8476: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8477: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8478: *** your PATH or compiler configuration so that the native linker is
                   8479: *** used, and then restart.
1.1       misha    8480: 
1.8       moko     8481: _LT_EOF
                   8482:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8483:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8484:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8485:       else
                   8486:        ld_shlibs=no
                   8487:       fi
                   8488:       ;;
1.1       misha    8489: 
1.8       moko     8490:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8491:       case `$LD -v 2>&1` in
                   8492:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8493:        ld_shlibs=no
                   8494:        cat <<_LT_EOF 1>&2
1.1       misha    8495: 
1.8       moko     8496: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8497: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8498: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8499: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8500: *** your PATH or compiler configuration so that the native linker is
                   8501: *** used, and then restart.
1.1       misha    8502: 
1.8       moko     8503: _LT_EOF
                   8504:        ;;
                   8505:        *)
                   8506:          # For security reasons, it is highly recommended that you always
                   8507:          # use absolute paths for naming shared libraries, and exclude the
                   8508:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8509:          # requires that you compile everything twice, which is a pain.
                   8510:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8511:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8512:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8513:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8514:          else
                   8515:            ld_shlibs=no
                   8516:          fi
                   8517:        ;;
                   8518:       esac
                   8519:       ;;
1.1       misha    8520: 
1.8       moko     8521:     sunos4*)
                   8522:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8523:       wlarc=
                   8524:       hardcode_direct=yes
                   8525:       hardcode_shlibpath_var=no
                   8526:       ;;
1.1       misha    8527: 
1.8       moko     8528:     *)
                   8529:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8530:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8531:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8532:       else
                   8533:        ld_shlibs=no
                   8534:       fi
                   8535:       ;;
                   8536:     esac
1.1       misha    8537: 
1.8       moko     8538:     if test "$ld_shlibs" = no; then
                   8539:       runpath_var=
                   8540:       hardcode_libdir_flag_spec=
                   8541:       export_dynamic_flag_spec=
                   8542:       whole_archive_flag_spec=
                   8543:     fi
                   8544:   else
                   8545:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8546:     case $host_os in
                   8547:     aix3*)
                   8548:       allow_undefined_flag=unsupported
                   8549:       always_export_symbols=yes
                   8550:       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'
                   8551:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8552:       # are no directories specified by -L.
                   8553:       hardcode_minus_L=yes
                   8554:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8555:        # Neither direct hardcoding nor static linking is supported with a
                   8556:        # broken collect2.
                   8557:        hardcode_direct=unsupported
                   8558:       fi
                   8559:       ;;
1.1       misha    8560: 
1.8       moko     8561:     aix[4-9]*)
                   8562:       if test "$host_cpu" = ia64; then
                   8563:        # On IA64, the linker does run time linking by default, so we don't
                   8564:        # have to do anything special.
                   8565:        aix_use_runtimelinking=no
                   8566:        exp_sym_flag='-Bexport'
                   8567:        no_entry_flag=""
                   8568:       else
                   8569:        # If we're using GNU nm, then we don't want the "-C" option.
                   8570:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   8571:        # Also, AIX nm treats weak defined symbols like other global
                   8572:        # defined symbols, whereas GNU nm marks them as "W".
                   8573:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   8574:          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'
                   8575:        else
                   8576:          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'
                   8577:        fi
                   8578:        aix_use_runtimelinking=no
1.1       misha    8579: 
1.8       moko     8580:        # Test if we are trying to use run time linking or normal
                   8581:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   8582:        # need to do runtime linking.
                   8583:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   8584:          for ld_flag in $LDFLAGS; do
                   8585:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   8586:            aix_use_runtimelinking=yes
                   8587:            break
                   8588:          fi
                   8589:          done
                   8590:          ;;
                   8591:        esac
1.1       misha    8592: 
1.8       moko     8593:        exp_sym_flag='-bexport'
                   8594:        no_entry_flag='-bnoentry'
                   8595:       fi
1.1       misha    8596: 
1.8       moko     8597:       # When large executables or shared objects are built, AIX ld can
                   8598:       # have problems creating the table of contents.  If linking a library
                   8599:       # or program results in "error TOC overflow" add -mminimal-toc to
                   8600:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   8601:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   8602: 
                   8603:       archive_cmds=''
                   8604:       hardcode_direct=yes
                   8605:       hardcode_direct_absolute=yes
                   8606:       hardcode_libdir_separator=':'
                   8607:       link_all_deplibs=yes
                   8608:       file_list_spec='${wl}-f,'
                   8609: 
                   8610:       if test "$GCC" = yes; then
                   8611:        case $host_os in aix4.[012]|aix4.[012].*)
                   8612:        # We only want to do this on AIX 4.2 and lower, the check
                   8613:        # below for broken collect2 doesn't work under 4.3+
                   8614:          collect2name=`${CC} -print-prog-name=collect2`
                   8615:          if test -f "$collect2name" &&
                   8616:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   8617:          then
                   8618:          # We have reworked collect2
                   8619:          :
                   8620:          else
                   8621:          # We have old collect2
                   8622:          hardcode_direct=unsupported
                   8623:          # It fails to find uninstalled libraries when the uninstalled
                   8624:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   8625:          # to unsupported forces relinking
                   8626:          hardcode_minus_L=yes
                   8627:          hardcode_libdir_flag_spec='-L$libdir'
                   8628:          hardcode_libdir_separator=
                   8629:          fi
                   8630:          ;;
                   8631:        esac
                   8632:        shared_flag='-shared'
                   8633:        if test "$aix_use_runtimelinking" = yes; then
                   8634:          shared_flag="$shared_flag "'${wl}-G'
                   8635:        fi
                   8636:       else
                   8637:        # not using gcc
                   8638:        if test "$host_cpu" = ia64; then
                   8639:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   8640:        # chokes on -Wl,-G. The following line is correct:
                   8641:          shared_flag='-G'
                   8642:        else
                   8643:          if test "$aix_use_runtimelinking" = yes; then
                   8644:            shared_flag='${wl}-G'
                   8645:          else
                   8646:            shared_flag='${wl}-bM:SRE'
                   8647:          fi
                   8648:        fi
                   8649:       fi
1.1       misha    8650: 
1.8       moko     8651:       export_dynamic_flag_spec='${wl}-bexpall'
                   8652:       # It seems that -bexpall does not export symbols beginning with
                   8653:       # underscore (_), so it is better to generate a list of symbols to export.
                   8654:       always_export_symbols=yes
                   8655:       if test "$aix_use_runtimelinking" = yes; then
                   8656:        # Warning - without using the other runtime loading flags (-brtl),
                   8657:        # -berok will link without error, but may produce a broken library.
                   8658:        allow_undefined_flag='-berok'
                   8659:         # Determine the default libpath from the value encoded in an
                   8660:         # empty executable.
                   8661:         if test "${lt_cv_aix_libpath+set}" = set; then
                   8662:   aix_libpath=$lt_cv_aix_libpath
                   8663: else
1.11      moko     8664:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   8665:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    8666: else
1.11      moko     8667:   cat >conftest.$ac_ext <<_ACEOF
                   8668: /* confdefs.h.  */
                   8669: _ACEOF
                   8670: cat confdefs.h >>conftest.$ac_ext
                   8671: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    8672: /* end confdefs.h.  */
1.8       moko     8673: 
                   8674: int
                   8675: main ()
                   8676: {
                   8677: 
                   8678:   ;
                   8679:   return 0;
                   8680: }
1.1       misha    8681: _ACEOF
1.11      moko     8682: rm -f conftest.$ac_objext conftest$ac_exeext
                   8683: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8684:   (eval $ac_link) 2>conftest.er1
                   8685:   ac_status=$?
                   8686:   grep -v '^ *+' conftest.er1 >conftest.err
                   8687:   rm -f conftest.er1
                   8688:   cat conftest.err >&5
                   8689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8690:   (exit $ac_status); } &&
                   8691:         { ac_try='test -z "$ac_c_werror_flag"
                   8692:                         || test ! -s conftest.err'
                   8693:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8694:   (eval $ac_try) 2>&5
                   8695:   ac_status=$?
                   8696:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8697:   (exit $ac_status); }; } &&
                   8698:         { ac_try='test -s conftest$ac_exeext'
                   8699:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8700:   (eval $ac_try) 2>&5
                   8701:   ac_status=$?
                   8702:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8703:   (exit $ac_status); }; }; then
1.8       moko     8704: 
                   8705:   lt_aix_libpath_sed='
                   8706:       /Import File Strings/,/^$/ {
                   8707:          /^0/ {
                   8708:              s/^0  *\([^ ]*\) *$/\1/
                   8709:              p
                   8710:          }
                   8711:       }'
                   8712:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8713:   # Check for a 64-bit object if we didn't find anything.
                   8714:   if test -z "$lt_cv_aix_libpath_"; then
                   8715:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8716:   fi
1.11      moko     8717: else
                   8718:   echo "$as_me: failed program was:" >&5
                   8719: sed 's/^/| /' conftest.$ac_ext >&5
                   8720: 
1.1       misha    8721: fi
1.11      moko     8722: rm -f conftest.err conftest.$ac_objext \
                   8723:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     8724:   if test -z "$lt_cv_aix_libpath_"; then
                   8725:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   8726:   fi
                   8727: 
                   8728: fi
                   8729: 
                   8730:   aix_libpath=$lt_cv_aix_libpath_
                   8731: fi
1.1       misha    8732: 
1.8       moko     8733:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   8734:         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"
                   8735:       else
                   8736:        if test "$host_cpu" = ia64; then
                   8737:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   8738:          allow_undefined_flag="-z nodefs"
                   8739:          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"
                   8740:        else
                   8741:         # Determine the default libpath from the value encoded in an
                   8742:         # empty executable.
                   8743:         if test "${lt_cv_aix_libpath+set}" = set; then
                   8744:   aix_libpath=$lt_cv_aix_libpath
                   8745: else
1.11      moko     8746:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   8747:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     8748: else
1.11      moko     8749:   cat >conftest.$ac_ext <<_ACEOF
                   8750: /* confdefs.h.  */
                   8751: _ACEOF
                   8752: cat confdefs.h >>conftest.$ac_ext
                   8753: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    8754: /* end confdefs.h.  */
1.8       moko     8755: 
                   8756: int
                   8757: main ()
                   8758: {
                   8759: 
                   8760:   ;
                   8761:   return 0;
                   8762: }
1.1       misha    8763: _ACEOF
1.11      moko     8764: rm -f conftest.$ac_objext conftest$ac_exeext
                   8765: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8766:   (eval $ac_link) 2>conftest.er1
                   8767:   ac_status=$?
                   8768:   grep -v '^ *+' conftest.er1 >conftest.err
                   8769:   rm -f conftest.er1
                   8770:   cat conftest.err >&5
                   8771:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8772:   (exit $ac_status); } &&
                   8773:         { ac_try='test -z "$ac_c_werror_flag"
                   8774:                         || test ! -s conftest.err'
                   8775:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8776:   (eval $ac_try) 2>&5
                   8777:   ac_status=$?
                   8778:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8779:   (exit $ac_status); }; } &&
                   8780:         { ac_try='test -s conftest$ac_exeext'
                   8781:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8782:   (eval $ac_try) 2>&5
                   8783:   ac_status=$?
                   8784:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8785:   (exit $ac_status); }; }; then
1.8       moko     8786: 
                   8787:   lt_aix_libpath_sed='
                   8788:       /Import File Strings/,/^$/ {
                   8789:          /^0/ {
                   8790:              s/^0  *\([^ ]*\) *$/\1/
                   8791:              p
                   8792:          }
                   8793:       }'
                   8794:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8795:   # Check for a 64-bit object if we didn't find anything.
                   8796:   if test -z "$lt_cv_aix_libpath_"; then
                   8797:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1.1       misha    8798:   fi
1.11      moko     8799: else
                   8800:   echo "$as_me: failed program was:" >&5
                   8801: sed 's/^/| /' conftest.$ac_ext >&5
                   8802: 
1.1       misha    8803: fi
1.11      moko     8804: rm -f conftest.err conftest.$ac_objext \
                   8805:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     8806:   if test -z "$lt_cv_aix_libpath_"; then
                   8807:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   8808:   fi
                   8809: 
                   8810: fi
                   8811: 
                   8812:   aix_libpath=$lt_cv_aix_libpath_
                   8813: fi
                   8814: 
                   8815:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   8816:          # Warning - without using the other run time loading flags,
                   8817:          # -berok will link without error, but may produce a broken library.
                   8818:          no_undefined_flag=' ${wl}-bernotok'
                   8819:          allow_undefined_flag=' ${wl}-berok'
                   8820:          if test "$with_gnu_ld" = yes; then
                   8821:            # We only use this code for GNU lds that support --whole-archive.
                   8822:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   8823:          else
                   8824:            # Exported symbols can be pulled into shared objects from archives
                   8825:            whole_archive_flag_spec='$convenience'
                   8826:          fi
                   8827:          archive_cmds_need_lc=yes
                   8828:          # This is similar to how AIX traditionally builds its shared libraries.
                   8829:          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'
                   8830:        fi
                   8831:       fi
                   8832:       ;;
                   8833: 
                   8834:     amigaos*)
                   8835:       case $host_cpu in
                   8836:       powerpc)
                   8837:             # see comment about AmigaOS4 .so support
                   8838:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8839:             archive_expsym_cmds=''
                   8840:         ;;
                   8841:       m68k)
                   8842:             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)'
                   8843:             hardcode_libdir_flag_spec='-L$libdir'
                   8844:             hardcode_minus_L=yes
                   8845:         ;;
                   8846:       esac
                   8847:       ;;
                   8848: 
                   8849:     bsdi[45]*)
                   8850:       export_dynamic_flag_spec=-rdynamic
                   8851:       ;;
                   8852: 
                   8853:     cygwin* | mingw* | pw32* | cegcc*)
                   8854:       # When not using gcc, we currently assume that we are using
                   8855:       # Microsoft Visual C++.
                   8856:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   8857:       # no search path for DLLs.
                   8858:       case $cc_basename in
                   8859:       cl*)
                   8860:        # Native MSVC
                   8861:        hardcode_libdir_flag_spec=' '
                   8862:        allow_undefined_flag=unsupported
                   8863:        always_export_symbols=yes
                   8864:        file_list_spec='@'
                   8865:        # Tell ltmain to make .lib files, not .a files.
                   8866:        libext=lib
                   8867:        # Tell ltmain to make .dll files, not .so files.
                   8868:        shrext_cmds=".dll"
                   8869:        # FIXME: Setting linknames here is a bad hack.
                   8870:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   8871:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8872:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   8873:          else
                   8874:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   8875:          fi~
                   8876:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   8877:          linknames='
                   8878:        # The linker will not automatically build a static lib if we build a DLL.
                   8879:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   8880:        enable_shared_with_static_runtimes=yes
                   8881:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   8882:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   8883:        # Don't use ranlib
                   8884:        old_postinstall_cmds='chmod 644 $oldlib'
                   8885:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   8886:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   8887:          case $lt_outputfile in
                   8888:            *.exe|*.EXE) ;;
                   8889:            *)
                   8890:              lt_outputfile="$lt_outputfile.exe"
                   8891:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   8892:              ;;
                   8893:          esac~
                   8894:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   8895:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   8896:            $RM "$lt_outputfile.manifest";
                   8897:          fi'
                   8898:        ;;
                   8899:       *)
                   8900:        # Assume MSVC wrapper
                   8901:        hardcode_libdir_flag_spec=' '
                   8902:        allow_undefined_flag=unsupported
                   8903:        # Tell ltmain to make .lib files, not .a files.
                   8904:        libext=lib
                   8905:        # Tell ltmain to make .dll files, not .so files.
                   8906:        shrext_cmds=".dll"
                   8907:        # FIXME: Setting linknames here is a bad hack.
                   8908:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   8909:        # The linker will automatically build a .lib file if we build a DLL.
                   8910:        old_archive_from_new_cmds='true'
                   8911:        # FIXME: Should let the user specify the lib program.
                   8912:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   8913:        enable_shared_with_static_runtimes=yes
                   8914:        ;;
                   8915:       esac
                   8916:       ;;
                   8917: 
                   8918:     darwin* | rhapsody*)
                   8919: 
                   8920: 
                   8921:   archive_cmds_need_lc=no
                   8922:   hardcode_direct=no
                   8923:   hardcode_automatic=yes
                   8924:   hardcode_shlibpath_var=unsupported
                   8925:   if test "$lt_cv_ld_force_load" = "yes"; then
                   8926:     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\"`'
                   8927: 
                   8928:   else
                   8929:     whole_archive_flag_spec=''
                   8930:   fi
                   8931:   link_all_deplibs=yes
                   8932:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   8933:   case $cc_basename in
                   8934:      ifort*) _lt_dar_can_shared=yes ;;
                   8935:      *) _lt_dar_can_shared=$GCC ;;
                   8936:   esac
                   8937:   if test "$_lt_dar_can_shared" = "yes"; then
                   8938:     output_verbose_link_cmd=func_echo_all
                   8939:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   8940:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   8941:     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}"
                   8942:     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}"
                   8943: 
                   8944:   else
                   8945:   ld_shlibs=no
                   8946:   fi
                   8947: 
                   8948:       ;;
                   8949: 
                   8950:     dgux*)
                   8951:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   8952:       hardcode_libdir_flag_spec='-L$libdir'
                   8953:       hardcode_shlibpath_var=no
                   8954:       ;;
                   8955: 
                   8956:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   8957:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   8958:     # does not break anything, and helps significantly (at the cost of a little
                   8959:     # extra space).
                   8960:     freebsd2.2*)
                   8961:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   8962:       hardcode_libdir_flag_spec='-R$libdir'
                   8963:       hardcode_direct=yes
                   8964:       hardcode_shlibpath_var=no
                   8965:       ;;
                   8966: 
                   8967:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   8968:     freebsd2.*)
                   8969:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8970:       hardcode_direct=yes
                   8971:       hardcode_minus_L=yes
                   8972:       hardcode_shlibpath_var=no
                   8973:       ;;
                   8974: 
                   8975:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   8976:     freebsd* | dragonfly*)
                   8977:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   8978:       hardcode_libdir_flag_spec='-R$libdir'
                   8979:       hardcode_direct=yes
                   8980:       hardcode_shlibpath_var=no
                   8981:       ;;
                   8982: 
                   8983:     hpux9*)
                   8984:       if test "$GCC" = yes; then
                   8985:        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'
                   8986:       else
                   8987:        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'
                   8988:       fi
                   8989:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   8990:       hardcode_libdir_separator=:
                   8991:       hardcode_direct=yes
                   8992: 
                   8993:       # hardcode_minus_L: Not really in the search PATH,
                   8994:       # but as the default location of the library.
                   8995:       hardcode_minus_L=yes
                   8996:       export_dynamic_flag_spec='${wl}-E'
                   8997:       ;;
                   8998: 
                   8999:     hpux10*)
                   9000:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9001:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9002:       else
                   9003:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9004:       fi
                   9005:       if test "$with_gnu_ld" = no; then
                   9006:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9007:        hardcode_libdir_separator=:
                   9008:        hardcode_direct=yes
                   9009:        hardcode_direct_absolute=yes
                   9010:        export_dynamic_flag_spec='${wl}-E'
                   9011:        # hardcode_minus_L: Not really in the search PATH,
                   9012:        # but as the default location of the library.
                   9013:        hardcode_minus_L=yes
                   9014:       fi
                   9015:       ;;
                   9016: 
                   9017:     hpux11*)
                   9018:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9019:        case $host_cpu in
                   9020:        hppa*64*)
                   9021:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9022:          ;;
                   9023:        ia64*)
                   9024:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9025:          ;;
                   9026:        *)
                   9027:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9028:          ;;
                   9029:        esac
                   9030:       else
                   9031:        case $host_cpu in
                   9032:        hppa*64*)
                   9033:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9034:          ;;
                   9035:        ia64*)
                   9036:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9037:          ;;
                   9038:        *)
1.1       misha    9039: 
1.8       moko     9040:          # Older versions of the 11.00 compiler do not understand -b yet
                   9041:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.11      moko     9042:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9043: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9044: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9045:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    9046: else
1.8       moko     9047:   lt_cv_prog_compiler__b=no
                   9048:    save_LDFLAGS="$LDFLAGS"
                   9049:    LDFLAGS="$LDFLAGS -b"
                   9050:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9051:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9052:      # The linker can only warn and ignore the option if not recognized
                   9053:      # So say no if there are warnings
                   9054:      if test -s conftest.err; then
                   9055:        # Append any errors to the config.log.
                   9056:        cat conftest.err 1>&5
                   9057:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9058:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9059:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9060:          lt_cv_prog_compiler__b=yes
                   9061:        fi
                   9062:      else
                   9063:        lt_cv_prog_compiler__b=yes
                   9064:      fi
                   9065:    fi
                   9066:    $RM -r conftest*
                   9067:    LDFLAGS="$save_LDFLAGS"
1.1       misha    9068: 
                   9069: fi
1.11      moko     9070: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   9071: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
1.1       misha    9072: 
1.8       moko     9073: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   9074:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9075: else
                   9076:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.1       misha    9077: fi
                   9078: 
1.8       moko     9079:          ;;
                   9080:        esac
                   9081:       fi
                   9082:       if test "$with_gnu_ld" = no; then
                   9083:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9084:        hardcode_libdir_separator=:
                   9085: 
                   9086:        case $host_cpu in
                   9087:        hppa*64*|ia64*)
                   9088:          hardcode_direct=no
                   9089:          hardcode_shlibpath_var=no
                   9090:          ;;
                   9091:        *)
                   9092:          hardcode_direct=yes
                   9093:          hardcode_direct_absolute=yes
                   9094:          export_dynamic_flag_spec='${wl}-E'
1.1       misha    9095: 
1.8       moko     9096:          # hardcode_minus_L: Not really in the search PATH,
                   9097:          # but as the default location of the library.
                   9098:          hardcode_minus_L=yes
                   9099:          ;;
                   9100:        esac
                   9101:       fi
                   9102:       ;;
1.1       misha    9103: 
1.8       moko     9104:     irix5* | irix6* | nonstopux*)
                   9105:       if test "$GCC" = yes; then
                   9106:        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'
                   9107:        # Try to use the -exported_symbol ld option, if it does not
                   9108:        # work, assume that -exports_file does not work either and
                   9109:        # implicitly export all symbols.
                   9110:        # This should be the same for all languages, so no per-tag cache variable.
1.11      moko     9111:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9112: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   9113: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   9114:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    9115: else
1.8       moko     9116:   save_LDFLAGS="$LDFLAGS"
                   9117:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.11      moko     9118:           cat >conftest.$ac_ext <<_ACEOF
                   9119: /* confdefs.h.  */
                   9120: _ACEOF
                   9121: cat confdefs.h >>conftest.$ac_ext
                   9122: cat >>conftest.$ac_ext <<_ACEOF
1.1       misha    9123: /* end confdefs.h.  */
1.8       moko     9124: int foo (void) { return 0; }
1.1       misha    9125: _ACEOF
1.11      moko     9126: rm -f conftest.$ac_objext conftest$ac_exeext
                   9127: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9128:   (eval $ac_link) 2>conftest.er1
                   9129:   ac_status=$?
                   9130:   grep -v '^ *+' conftest.er1 >conftest.err
                   9131:   rm -f conftest.er1
                   9132:   cat conftest.err >&5
                   9133:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9134:   (exit $ac_status); } &&
                   9135:         { ac_try='test -z "$ac_c_werror_flag"
                   9136:                         || test ! -s conftest.err'
                   9137:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9138:   (eval $ac_try) 2>&5
                   9139:   ac_status=$?
                   9140:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9141:   (exit $ac_status); }; } &&
                   9142:         { ac_try='test -s conftest$ac_exeext'
                   9143:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9144:   (eval $ac_try) 2>&5
                   9145:   ac_status=$?
                   9146:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9147:   (exit $ac_status); }; }; then
1.8       moko     9148:   lt_cv_irix_exported_symbol=yes
1.1       misha    9149: else
1.11      moko     9150:   echo "$as_me: failed program was:" >&5
                   9151: sed 's/^/| /' conftest.$ac_ext >&5
                   9152: 
                   9153: lt_cv_irix_exported_symbol=no
1.1       misha    9154: fi
1.11      moko     9155: rm -f conftest.err conftest.$ac_objext \
                   9156:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     9157:            LDFLAGS="$save_LDFLAGS"
1.1       misha    9158: fi
1.11      moko     9159: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   9160: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
1.8       moko     9161:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   9162:           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'
                   9163:        fi
                   9164:       else
                   9165:        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'
                   9166:        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'
                   9167:       fi
                   9168:       archive_cmds_need_lc='no'
                   9169:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9170:       hardcode_libdir_separator=:
                   9171:       inherit_rpath=yes
                   9172:       link_all_deplibs=yes
                   9173:       ;;
1.1       misha    9174: 
1.8       moko     9175:     netbsd*)
                   9176:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9177:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9178:       else
                   9179:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9180:       fi
                   9181:       hardcode_libdir_flag_spec='-R$libdir'
                   9182:       hardcode_direct=yes
                   9183:       hardcode_shlibpath_var=no
                   9184:       ;;
1.1       misha    9185: 
1.8       moko     9186:     newsos6)
                   9187:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9188:       hardcode_direct=yes
                   9189:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9190:       hardcode_libdir_separator=:
                   9191:       hardcode_shlibpath_var=no
                   9192:       ;;
1.1       misha    9193: 
1.8       moko     9194:     *nto* | *qnx*)
                   9195:       ;;
1.1       misha    9196: 
1.8       moko     9197:     openbsd*)
                   9198:       if test -f /usr/libexec/ld.so; then
                   9199:        hardcode_direct=yes
                   9200:        hardcode_shlibpath_var=no
                   9201:        hardcode_direct_absolute=yes
                   9202:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9203:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9204:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9205:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9206:          export_dynamic_flag_spec='${wl}-E'
                   9207:        else
                   9208:          case $host_os in
                   9209:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9210:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9211:             hardcode_libdir_flag_spec='-R$libdir'
                   9212:             ;;
                   9213:           *)
                   9214:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9215:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9216:             ;;
                   9217:          esac
                   9218:        fi
                   9219:       else
                   9220:        ld_shlibs=no
                   9221:       fi
                   9222:       ;;
1.1       misha    9223: 
1.8       moko     9224:     os2*)
                   9225:       hardcode_libdir_flag_spec='-L$libdir'
                   9226:       hardcode_minus_L=yes
                   9227:       allow_undefined_flag=unsupported
                   9228:       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'
                   9229:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9230:       ;;
1.1       misha    9231: 
1.8       moko     9232:     osf3*)
                   9233:       if test "$GCC" = yes; then
                   9234:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9235:        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'
                   9236:       else
                   9237:        allow_undefined_flag=' -expect_unresolved \*'
                   9238:        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'
                   9239:       fi
                   9240:       archive_cmds_need_lc='no'
                   9241:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9242:       hardcode_libdir_separator=:
                   9243:       ;;
1.1       misha    9244: 
1.8       moko     9245:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9246:       if test "$GCC" = yes; then
                   9247:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9248:        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'
                   9249:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9250:       else
                   9251:        allow_undefined_flag=' -expect_unresolved \*'
                   9252:        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'
                   9253:        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~
                   9254:        $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'
                   9255: 
                   9256:        # Both c and cxx compiler support -rpath directly
                   9257:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9258:       fi
                   9259:       archive_cmds_need_lc='no'
                   9260:       hardcode_libdir_separator=:
                   9261:       ;;
                   9262: 
                   9263:     solaris*)
                   9264:       no_undefined_flag=' -z defs'
                   9265:       if test "$GCC" = yes; then
                   9266:        wlarc='${wl}'
                   9267:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9268:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9269:          $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'
                   9270:       else
                   9271:        case `$CC -V 2>&1` in
                   9272:        *"Compilers 5.0"*)
                   9273:          wlarc=''
                   9274:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9275:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9276:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9277:          ;;
                   9278:        *)
                   9279:          wlarc='${wl}'
                   9280:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9281:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9282:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9283:          ;;
                   9284:        esac
                   9285:       fi
                   9286:       hardcode_libdir_flag_spec='-R$libdir'
                   9287:       hardcode_shlibpath_var=no
                   9288:       case $host_os in
                   9289:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9290:       *)
                   9291:        # The compiler driver will combine and reorder linker options,
                   9292:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9293:        # but is careful enough not to reorder.
                   9294:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9295:        if test "$GCC" = yes; then
                   9296:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9297:        else
                   9298:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9299:        fi
                   9300:        ;;
                   9301:       esac
                   9302:       link_all_deplibs=yes
                   9303:       ;;
                   9304: 
                   9305:     sunos4*)
                   9306:       if test "x$host_vendor" = xsequent; then
                   9307:        # Use $CC to link under sequent, because it throws in some extra .o
                   9308:        # files that make .init and .fini sections work.
                   9309:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9310:       else
                   9311:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9312:       fi
                   9313:       hardcode_libdir_flag_spec='-L$libdir'
                   9314:       hardcode_direct=yes
                   9315:       hardcode_minus_L=yes
                   9316:       hardcode_shlibpath_var=no
                   9317:       ;;
                   9318: 
                   9319:     sysv4)
                   9320:       case $host_vendor in
                   9321:        sni)
                   9322:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9323:          hardcode_direct=yes # is this really true???
                   9324:        ;;
                   9325:        siemens)
                   9326:          ## LD is ld it makes a PLAMLIB
                   9327:          ## CC just makes a GrossModule.
                   9328:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9329:          reload_cmds='$CC -r -o $output$reload_objs'
                   9330:          hardcode_direct=no
                   9331:         ;;
                   9332:        motorola)
                   9333:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9334:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9335:        ;;
                   9336:       esac
                   9337:       runpath_var='LD_RUN_PATH'
                   9338:       hardcode_shlibpath_var=no
                   9339:       ;;
                   9340: 
                   9341:     sysv4.3*)
                   9342:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9343:       hardcode_shlibpath_var=no
                   9344:       export_dynamic_flag_spec='-Bexport'
                   9345:       ;;
                   9346: 
                   9347:     sysv4*MP*)
                   9348:       if test -d /usr/nec; then
                   9349:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9350:        hardcode_shlibpath_var=no
                   9351:        runpath_var=LD_RUN_PATH
                   9352:        hardcode_runpath_var=yes
                   9353:        ld_shlibs=yes
                   9354:       fi
                   9355:       ;;
                   9356: 
                   9357:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9358:       no_undefined_flag='${wl}-z,text'
                   9359:       archive_cmds_need_lc=no
                   9360:       hardcode_shlibpath_var=no
                   9361:       runpath_var='LD_RUN_PATH'
                   9362: 
                   9363:       if test "$GCC" = yes; then
                   9364:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9365:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9366:       else
                   9367:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9368:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9369:       fi
                   9370:       ;;
                   9371: 
                   9372:     sysv5* | sco3.2v5* | sco5v6*)
                   9373:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9374:       # link with -lc, and that would cause any symbols used from libc to
                   9375:       # always be unresolved, which means just about no library would
                   9376:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9377:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9378:       # as -z defs.
                   9379:       no_undefined_flag='${wl}-z,text'
                   9380:       allow_undefined_flag='${wl}-z,nodefs'
                   9381:       archive_cmds_need_lc=no
                   9382:       hardcode_shlibpath_var=no
                   9383:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9384:       hardcode_libdir_separator=':'
                   9385:       link_all_deplibs=yes
                   9386:       export_dynamic_flag_spec='${wl}-Bexport'
                   9387:       runpath_var='LD_RUN_PATH'
                   9388: 
                   9389:       if test "$GCC" = yes; then
                   9390:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9391:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9392:       else
                   9393:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9394:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9395:       fi
                   9396:       ;;
1.1       misha    9397: 
1.8       moko     9398:     uts4*)
                   9399:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9400:       hardcode_libdir_flag_spec='-L$libdir'
                   9401:       hardcode_shlibpath_var=no
1.1       misha    9402:       ;;
1.8       moko     9403: 
1.1       misha    9404:     *)
1.8       moko     9405:       ld_shlibs=no
1.1       misha    9406:       ;;
1.8       moko     9407:     esac
                   9408: 
                   9409:     if test x$host_vendor = xsni; then
                   9410:       case $host in
                   9411:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9412:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9413:        ;;
                   9414:       esac
                   9415:     fi
1.1       misha    9416:   fi
                   9417: 
1.11      moko     9418: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   9419: echo "${ECHO_T}$ld_shlibs" >&6
1.8       moko     9420: test "$ld_shlibs" = no && can_build_shared=no
                   9421: 
                   9422: with_gnu_ld=$with_gnu_ld
1.1       misha    9423: 
                   9424: 
                   9425: 
                   9426: 
                   9427: 
                   9428: 
                   9429: 
                   9430: 
                   9431: 
                   9432: 
                   9433: 
                   9434: 
                   9435: 
                   9436: 
                   9437: 
1.8       moko     9438: #
                   9439: # Do we need to explicitly link libc?
                   9440: #
                   9441: case "x$archive_cmds_need_lc" in
                   9442: x|xyes)
                   9443:   # Assume -lc should be added
                   9444:   archive_cmds_need_lc=yes
                   9445: 
                   9446:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9447:     case $archive_cmds in
                   9448:     *'~'*)
                   9449:       # FIXME: we may have to deal with multi-command sequences.
                   9450:       ;;
                   9451:     '$CC '*)
                   9452:       # Test whether the compiler implicitly links with -lc since on some
                   9453:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9454:       # to ld, don't add -lc before -lgcc.
1.11      moko     9455:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   9456: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   9457: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   9458:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       misha    9459: else
1.8       moko     9460:   $RM conftest*
                   9461:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9462: 
1.11      moko     9463:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     9464:   (eval $ac_compile) 2>&5
                   9465:   ac_status=$?
1.11      moko     9466:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9467:   (exit $ac_status); } 2>conftest.err; then
1.8       moko     9468:          soname=conftest
                   9469:          lib=conftest
                   9470:          libobjs=conftest.$ac_objext
                   9471:          deplibs=
                   9472:          wl=$lt_prog_compiler_wl
                   9473:          pic_flag=$lt_prog_compiler_pic
                   9474:          compiler_flags=-v
                   9475:          linker_flags=-v
                   9476:          verstring=
                   9477:          output_objdir=.
                   9478:          libname=conftest
                   9479:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   9480:          allow_undefined_flag=
1.11      moko     9481:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.8       moko     9482:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9483:   ac_status=$?
1.11      moko     9484:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9485:   (exit $ac_status); }
1.8       moko     9486:          then
                   9487:            lt_cv_archive_cmds_need_lc=no
                   9488:          else
                   9489:            lt_cv_archive_cmds_need_lc=yes
                   9490:          fi
                   9491:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   9492:        else
                   9493:          cat conftest.err 1>&5
                   9494:        fi
                   9495:        $RM conftest*
                   9496: 
1.1       misha    9497: fi
1.11      moko     9498: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   9499: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
1.8       moko     9500:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   9501:       ;;
                   9502:     esac
                   9503:   fi
                   9504:   ;;
                   9505: esac
                   9506: 
                   9507: 
                   9508: 
                   9509: 
                   9510: 
                   9511: 
                   9512: 
                   9513: 
                   9514: 
                   9515: 
                   9516: 
                   9517: 
                   9518: 
                   9519: 
                   9520: 
                   9521: 
                   9522: 
                   9523: 
                   9524: 
                   9525: 
                   9526: 
                   9527: 
                   9528: 
                   9529: 
                   9530: 
                   9531: 
                   9532: 
                   9533: 
                   9534: 
                   9535: 
                   9536: 
                   9537: 
                   9538: 
                   9539: 
                   9540: 
                   9541: 
                   9542: 
                   9543: 
                   9544: 
                   9545: 
                   9546: 
                   9547: 
                   9548: 
                   9549: 
                   9550: 
                   9551: 
                   9552: 
                   9553: 
                   9554: 
                   9555: 
                   9556: 
                   9557: 
                   9558: 
                   9559: 
                   9560: 
                   9561: 
                   9562: 
                   9563: 
                   9564: 
                   9565: 
                   9566: 
1.1       misha    9567: 
                   9568: 
                   9569: 
                   9570: 
                   9571: 
                   9572: 
                   9573: 
                   9574: 
                   9575: 
                   9576: 
                   9577: 
                   9578: 
                   9579: 
                   9580: 
                   9581: 
                   9582: 
                   9583: 
                   9584: 
                   9585: 
                   9586: 
                   9587: 
                   9588: 
                   9589: 
                   9590: 
                   9591: 
                   9592: 
                   9593: 
                   9594: 
                   9595: 
                   9596: 
                   9597: 
                   9598: 
                   9599: 
                   9600: 
                   9601: 
                   9602: 
                   9603: 
                   9604: 
                   9605: 
                   9606: 
                   9607: 
                   9608: 
                   9609: 
                   9610: 
                   9611: 
                   9612: 
                   9613: 
                   9614: 
                   9615: 
                   9616: 
                   9617: 
                   9618: 
                   9619: 
                   9620: 
                   9621: 
                   9622: 
                   9623: 
                   9624: 
                   9625: 
                   9626: 
                   9627: 
                   9628: 
                   9629: 
                   9630: 
                   9631: 
                   9632: 
                   9633: 
                   9634: 
                   9635: 
                   9636: 
                   9637: 
                   9638: 
                   9639: 
                   9640: 
                   9641: 
                   9642: 
                   9643: 
                   9644: 
                   9645: 
                   9646: 
                   9647: 
                   9648: 
                   9649: 
                   9650: 
                   9651: 
                   9652: 
                   9653: 
                   9654: 
                   9655: 
                   9656: 
                   9657: 
1.11      moko     9658:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   9659: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
1.1       misha    9660: 
1.8       moko     9661: if test "$GCC" = yes; then
                   9662:   case $host_os in
                   9663:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   9664:     *) lt_awk_arg="/^libraries:/" ;;
                   9665:   esac
                   9666:   case $host_os in
                   9667:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   9668:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   9669:   esac
                   9670:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   9671:   case $lt_search_path_spec in
                   9672:   *\;*)
                   9673:     # if the path contains ";" then we assume it to be the separator
                   9674:     # otherwise default to the standard path separator (i.e. ":") - it is
                   9675:     # assumed that no part of a normal pathname contains ";" but that should
                   9676:     # okay in the real world where ";" in dirpaths is itself problematic.
                   9677:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   9678:     ;;
                   9679:   *)
                   9680:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   9681:     ;;
                   9682:   esac
                   9683:   # Ok, now we have the path, separated by spaces, we can step through it
                   9684:   # and add multilib dir if necessary.
                   9685:   lt_tmp_lt_search_path_spec=
                   9686:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   9687:   for lt_sys_path in $lt_search_path_spec; do
                   9688:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   9689:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   9690:     else
                   9691:       test -d "$lt_sys_path" && \
                   9692:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   9693:     fi
                   9694:   done
                   9695:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   9696: BEGIN {RS=" "; FS="/|\n";} {
                   9697:   lt_foo="";
                   9698:   lt_count=0;
                   9699:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   9700:     if ($lt_i != "" && $lt_i != ".") {
                   9701:       if ($lt_i == "..") {
                   9702:         lt_count++;
                   9703:       } else {
                   9704:         if (lt_count == 0) {
                   9705:           lt_foo="/" $lt_i lt_foo;
                   9706:         } else {
                   9707:           lt_count--;
                   9708:         }
                   9709:       }
                   9710:     }
                   9711:   }
                   9712:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   9713:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   9714: }'`
                   9715:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   9716:   # for these hosts.
                   9717:   case $host_os in
                   9718:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   9719:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   9720:   esac
                   9721:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1.1       misha    9722: else
1.8       moko     9723:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.1       misha    9724: fi
1.8       moko     9725: library_names_spec=
                   9726: libname_spec='lib$name'
                   9727: soname_spec=
                   9728: shrext_cmds=".so"
                   9729: postinstall_cmds=
                   9730: postuninstall_cmds=
                   9731: finish_cmds=
                   9732: finish_eval=
                   9733: shlibpath_var=
                   9734: shlibpath_overrides_runpath=unknown
                   9735: version_type=none
                   9736: dynamic_linker="$host_os ld.so"
                   9737: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   9738: need_lib_prefix=unknown
                   9739: hardcode_into_libs=no
                   9740: 
                   9741: # when you set need_version to no, make sure it does not cause -set_version
                   9742: # flags to be left without arguments
                   9743: need_version=unknown
                   9744: 
                   9745: case $host_os in
                   9746: aix3*)
                   9747:   version_type=linux # correct to gnu/linux during the next big refactor
                   9748:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   9749:   shlibpath_var=LIBPATH
                   9750: 
                   9751:   # AIX 3 has no versioning support, so we append a major version to the name.
                   9752:   soname_spec='${libname}${release}${shared_ext}$major'
                   9753:   ;;
1.1       misha    9754: 
1.8       moko     9755: aix[4-9]*)
                   9756:   version_type=linux # correct to gnu/linux during the next big refactor
                   9757:   need_lib_prefix=no
                   9758:   need_version=no
                   9759:   hardcode_into_libs=yes
                   9760:   if test "$host_cpu" = ia64; then
                   9761:     # AIX 5 supports IA64
                   9762:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   9763:     shlibpath_var=LD_LIBRARY_PATH
                   9764:   else
                   9765:     # With GCC up to 2.95.x, collect2 would create an import file
                   9766:     # for dependence libraries.  The import file would start with
                   9767:     # the line `#! .'.  This would cause the generated library to
                   9768:     # depend on `.', always an invalid library.  This was fixed in
                   9769:     # development snapshots of GCC prior to 3.0.
                   9770:     case $host_os in
                   9771:       aix4 | aix4.[01] | aix4.[01].*)
                   9772:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   9773:           echo ' yes '
                   9774:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   9775:        :
                   9776:       else
                   9777:        can_build_shared=no
                   9778:       fi
                   9779:       ;;
                   9780:     esac
                   9781:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   9782:     # soname into executable. Probably we can add versioning support to
                   9783:     # collect2, so additional links can be useful in future.
                   9784:     if test "$aix_use_runtimelinking" = yes; then
                   9785:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   9786:       # instead of lib<name>.a to let people know that these are not
                   9787:       # typical AIX shared libraries.
                   9788:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.1       misha    9789:     else
1.8       moko     9790:       # We preserve .a as extension for shared libraries through AIX4.2
                   9791:       # and later when we are not doing run time linking.
                   9792:       library_names_spec='${libname}${release}.a $libname.a'
                   9793:       soname_spec='${libname}${release}${shared_ext}$major'
                   9794:     fi
                   9795:     shlibpath_var=LIBPATH
                   9796:   fi
                   9797:   ;;
                   9798: 
                   9799: amigaos*)
                   9800:   case $host_cpu in
                   9801:   powerpc)
                   9802:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   9803:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   9804:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9805:     ;;
                   9806:   m68k)
                   9807:     library_names_spec='$libname.ixlibrary $libname.a'
                   9808:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   9809:     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'
                   9810:     ;;
                   9811:   esac
                   9812:   ;;
                   9813: 
                   9814: beos*)
                   9815:   library_names_spec='${libname}${shared_ext}'
                   9816:   dynamic_linker="$host_os ld.so"
                   9817:   shlibpath_var=LIBRARY_PATH
                   9818:   ;;
                   9819: 
                   9820: bsdi[45]*)
                   9821:   version_type=linux # correct to gnu/linux during the next big refactor
                   9822:   need_version=no
                   9823:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9824:   soname_spec='${libname}${release}${shared_ext}$major'
                   9825:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   9826:   shlibpath_var=LD_LIBRARY_PATH
                   9827:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   9828:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   9829:   # the default ld.so.conf also contains /usr/contrib/lib and
                   9830:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   9831:   # libtool to hard-code these into programs
                   9832:   ;;
                   9833: 
                   9834: cygwin* | mingw* | pw32* | cegcc*)
                   9835:   version_type=windows
                   9836:   shrext_cmds=".dll"
                   9837:   need_version=no
                   9838:   need_lib_prefix=no
                   9839: 
                   9840:   case $GCC,$cc_basename in
                   9841:   yes,*)
                   9842:     # gcc
                   9843:     library_names_spec='$libname.dll.a'
                   9844:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   9845:     postinstall_cmds='base_file=`basename \${file}`~
                   9846:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   9847:       dldir=$destdir/`dirname \$dlpath`~
                   9848:       test -d \$dldir || mkdir -p \$dldir~
                   9849:       $install_prog $dir/$dlname \$dldir/$dlname~
                   9850:       chmod a+x \$dldir/$dlname~
                   9851:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   9852:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   9853:       fi'
                   9854:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   9855:       dlpath=$dir/\$dldll~
                   9856:        $RM \$dlpath'
                   9857:     shlibpath_overrides_runpath=yes
                   9858: 
                   9859:     case $host_os in
                   9860:     cygwin*)
                   9861:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   9862:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   9863: 
                   9864:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   9865:       ;;
                   9866:     mingw* | cegcc*)
                   9867:       # MinGW DLLs use traditional 'lib' prefix
                   9868:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   9869:       ;;
                   9870:     pw32*)
                   9871:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   9872:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   9873:       ;;
                   9874:     esac
                   9875:     dynamic_linker='Win32 ld.exe'
                   9876:     ;;
                   9877: 
                   9878:   *,cl*)
                   9879:     # Native MSVC
                   9880:     libname_spec='$name'
                   9881:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   9882:     library_names_spec='${libname}.dll.lib'
                   9883: 
                   9884:     case $build_os in
                   9885:     mingw*)
                   9886:       sys_lib_search_path_spec=
                   9887:       lt_save_ifs=$IFS
                   9888:       IFS=';'
                   9889:       for lt_path in $LIB
                   9890:       do
                   9891:         IFS=$lt_save_ifs
                   9892:         # Let DOS variable expansion print the short 8.3 style file name.
                   9893:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   9894:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   9895:       done
                   9896:       IFS=$lt_save_ifs
                   9897:       # Convert to MSYS style.
                   9898:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   9899:       ;;
                   9900:     cygwin*)
                   9901:       # Convert to unix form, then to dos form, then back to unix form
                   9902:       # but this time dos style (no spaces!) so that the unix form looks
                   9903:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   9904:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   9905:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   9906:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   9907:       ;;
                   9908:     *)
                   9909:       sys_lib_search_path_spec="$LIB"
                   9910:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   9911:         # It is most probably a Windows format PATH.
                   9912:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   9913:       else
                   9914:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   9915:       fi
                   9916:       # FIXME: find the short name or the path components, as spaces are
                   9917:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   9918:       ;;
                   9919:     esac
                   9920: 
                   9921:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   9922:     postinstall_cmds='base_file=`basename \${file}`~
                   9923:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   9924:       dldir=$destdir/`dirname \$dlpath`~
                   9925:       test -d \$dldir || mkdir -p \$dldir~
                   9926:       $install_prog $dir/$dlname \$dldir/$dlname'
                   9927:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   9928:       dlpath=$dir/\$dldll~
                   9929:        $RM \$dlpath'
                   9930:     shlibpath_overrides_runpath=yes
                   9931:     dynamic_linker='Win32 link.exe'
                   9932:     ;;
                   9933: 
                   9934:   *)
                   9935:     # Assume MSVC wrapper
                   9936:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   9937:     dynamic_linker='Win32 ld.exe'
                   9938:     ;;
                   9939:   esac
                   9940:   # FIXME: first we should search . and the directory the executable is in
                   9941:   shlibpath_var=PATH
                   9942:   ;;
                   9943: 
                   9944: darwin* | rhapsody*)
                   9945:   dynamic_linker="$host_os dyld"
                   9946:   version_type=darwin
                   9947:   need_lib_prefix=no
                   9948:   need_version=no
                   9949:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   9950:   soname_spec='${libname}${release}${major}$shared_ext'
                   9951:   shlibpath_overrides_runpath=yes
                   9952:   shlibpath_var=DYLD_LIBRARY_PATH
                   9953:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.1       misha    9954: 
1.8       moko     9955:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   9956:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   9957:   ;;
1.1       misha    9958: 
1.8       moko     9959: dgux*)
                   9960:   version_type=linux # correct to gnu/linux during the next big refactor
                   9961:   need_lib_prefix=no
                   9962:   need_version=no
                   9963:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   9964:   soname_spec='${libname}${release}${shared_ext}$major'
                   9965:   shlibpath_var=LD_LIBRARY_PATH
                   9966:   ;;
1.1       misha    9967: 
1.8       moko     9968: freebsd* | dragonfly*)
                   9969:   # DragonFly does not have aout.  When/if they implement a new
                   9970:   # versioning mechanism, adjust this.
                   9971:   if test -x /usr/bin/objformat; then
                   9972:     objformat=`/usr/bin/objformat`
1.1       misha    9973:   else
1.8       moko     9974:     case $host_os in
                   9975:     freebsd[23].*) objformat=aout ;;
                   9976:     *) objformat=elf ;;
                   9977:     esac
1.1       misha    9978:   fi
1.8       moko     9979:   version_type=freebsd-$objformat
                   9980:   case $version_type in
                   9981:     freebsd-elf*)
                   9982:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   9983:       need_version=no
                   9984:       need_lib_prefix=no
                   9985:       ;;
                   9986:     freebsd-*)
                   9987:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   9988:       need_version=yes
                   9989:       ;;
                   9990:   esac
                   9991:   shlibpath_var=LD_LIBRARY_PATH
                   9992:   case $host_os in
                   9993:   freebsd2.*)
                   9994:     shlibpath_overrides_runpath=yes
                   9995:     ;;
                   9996:   freebsd3.[01]* | freebsdelf3.[01]*)
                   9997:     shlibpath_overrides_runpath=yes
                   9998:     hardcode_into_libs=yes
                   9999:     ;;
                   10000:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10001:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10002:     shlibpath_overrides_runpath=no
                   10003:     hardcode_into_libs=yes
                   10004:     ;;
                   10005:   *) # from 4.6 on, and DragonFly
                   10006:     shlibpath_overrides_runpath=yes
                   10007:     hardcode_into_libs=yes
                   10008:     ;;
                   10009:   esac
                   10010:   ;;
                   10011: 
                   10012: gnu*)
                   10013:   version_type=linux # correct to gnu/linux during the next big refactor
                   10014:   need_lib_prefix=no
                   10015:   need_version=no
                   10016:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10017:   soname_spec='${libname}${release}${shared_ext}$major'
                   10018:   shlibpath_var=LD_LIBRARY_PATH
                   10019:   shlibpath_overrides_runpath=no
                   10020:   hardcode_into_libs=yes
                   10021:   ;;
                   10022: 
                   10023: haiku*)
                   10024:   version_type=linux # correct to gnu/linux during the next big refactor
                   10025:   need_lib_prefix=no
                   10026:   need_version=no
                   10027:   dynamic_linker="$host_os runtime_loader"
                   10028:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10029:   soname_spec='${libname}${release}${shared_ext}$major'
                   10030:   shlibpath_var=LIBRARY_PATH
                   10031:   shlibpath_overrides_runpath=yes
                   10032:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10033:   hardcode_into_libs=yes
                   10034:   ;;
                   10035: 
                   10036: hpux9* | hpux10* | hpux11*)
                   10037:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10038:   # link against other versions.
                   10039:   version_type=sunos
                   10040:   need_lib_prefix=no
                   10041:   need_version=no
                   10042:   case $host_cpu in
                   10043:   ia64*)
                   10044:     shrext_cmds='.so'
                   10045:     hardcode_into_libs=yes
                   10046:     dynamic_linker="$host_os dld.so"
                   10047:     shlibpath_var=LD_LIBRARY_PATH
                   10048:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10049:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10050:     soname_spec='${libname}${release}${shared_ext}$major'
                   10051:     if test "X$HPUX_IA64_MODE" = X32; then
                   10052:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10053:     else
                   10054:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10055:     fi
                   10056:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10057:     ;;
                   10058:   hppa*64*)
                   10059:     shrext_cmds='.sl'
                   10060:     hardcode_into_libs=yes
                   10061:     dynamic_linker="$host_os dld.sl"
                   10062:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10063:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10064:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10065:     soname_spec='${libname}${release}${shared_ext}$major'
                   10066:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10067:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10068:     ;;
                   10069:   *)
                   10070:     shrext_cmds='.sl'
                   10071:     dynamic_linker="$host_os dld.sl"
                   10072:     shlibpath_var=SHLIB_PATH
                   10073:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10074:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10075:     soname_spec='${libname}${release}${shared_ext}$major'
                   10076:     ;;
                   10077:   esac
                   10078:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   10079:   postinstall_cmds='chmod 555 $lib'
                   10080:   # or fails outright, so override atomically:
                   10081:   install_override_mode=555
                   10082:   ;;
                   10083: 
                   10084: interix[3-9]*)
                   10085:   version_type=linux # correct to gnu/linux during the next big refactor
                   10086:   need_lib_prefix=no
                   10087:   need_version=no
                   10088:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10089:   soname_spec='${libname}${release}${shared_ext}$major'
                   10090:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10091:   shlibpath_var=LD_LIBRARY_PATH
                   10092:   shlibpath_overrides_runpath=no
                   10093:   hardcode_into_libs=yes
                   10094:   ;;
                   10095: 
                   10096: irix5* | irix6* | nonstopux*)
                   10097:   case $host_os in
                   10098:     nonstopux*) version_type=nonstopux ;;
                   10099:     *)
                   10100:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10101:                version_type=linux # correct to gnu/linux during the next big refactor
                   10102:        else
                   10103:                version_type=irix
                   10104:        fi ;;
                   10105:   esac
                   10106:   need_lib_prefix=no
                   10107:   need_version=no
                   10108:   soname_spec='${libname}${release}${shared_ext}$major'
                   10109:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10110:   case $host_os in
                   10111:   irix5* | nonstopux*)
                   10112:     libsuff= shlibsuff=
                   10113:     ;;
                   10114:   *)
                   10115:     case $LD in # libtool.m4 will add one of these switches to LD
                   10116:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10117:       libsuff= shlibsuff= libmagic=32-bit;;
                   10118:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10119:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10120:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10121:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10122:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10123:     esac
                   10124:     ;;
                   10125:   esac
                   10126:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10127:   shlibpath_overrides_runpath=no
                   10128:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10129:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10130:   hardcode_into_libs=yes
                   10131:   ;;
                   10132: 
                   10133: # No shared lib support for Linux oldld, aout, or coff.
                   10134: linux*oldld* | linux*aout* | linux*coff*)
                   10135:   dynamic_linker=no
                   10136:   ;;
                   10137: 
                   10138: # This must be glibc/ELF.
                   10139: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10140:   version_type=linux # correct to gnu/linux during the next big refactor
                   10141:   need_lib_prefix=no
                   10142:   need_version=no
                   10143:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10144:   soname_spec='${libname}${release}${shared_ext}$major'
                   10145:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10146:   shlibpath_var=LD_LIBRARY_PATH
                   10147:   shlibpath_overrides_runpath=no
                   10148: 
                   10149:   # Some binutils ld are patched to set DT_RUNPATH
1.11      moko     10150:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   10151:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     10152: else
                   10153:   lt_cv_shlibpath_overrides_runpath=no
                   10154:     save_LDFLAGS=$LDFLAGS
                   10155:     save_libdir=$libdir
                   10156:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10157:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.11      moko     10158:     cat >conftest.$ac_ext <<_ACEOF
                   10159: /* confdefs.h.  */
                   10160: _ACEOF
                   10161: cat confdefs.h >>conftest.$ac_ext
                   10162: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     10163: /* end confdefs.h.  */
                   10164: 
                   10165: int
                   10166: main ()
                   10167: {
                   10168: 
                   10169:   ;
                   10170:   return 0;
                   10171: }
                   10172: _ACEOF
1.11      moko     10173: rm -f conftest.$ac_objext conftest$ac_exeext
                   10174: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10175:   (eval $ac_link) 2>conftest.er1
                   10176:   ac_status=$?
                   10177:   grep -v '^ *+' conftest.er1 >conftest.err
                   10178:   rm -f conftest.er1
                   10179:   cat conftest.err >&5
                   10180:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10181:   (exit $ac_status); } &&
                   10182:         { ac_try='test -z "$ac_c_werror_flag"
                   10183:                         || test ! -s conftest.err'
                   10184:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10185:   (eval $ac_try) 2>&5
                   10186:   ac_status=$?
                   10187:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10188:   (exit $ac_status); }; } &&
                   10189:         { ac_try='test -s conftest$ac_exeext'
                   10190:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10191:   (eval $ac_try) 2>&5
                   10192:   ac_status=$?
                   10193:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10194:   (exit $ac_status); }; }; then
                   10195:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
1.8       moko     10196:   lt_cv_shlibpath_overrides_runpath=yes
                   10197: fi
1.11      moko     10198: 
                   10199: else
                   10200:   echo "$as_me: failed program was:" >&5
                   10201: sed 's/^/| /' conftest.$ac_ext >&5
                   10202: 
1.8       moko     10203: fi
1.11      moko     10204: rm -f conftest.err conftest.$ac_objext \
                   10205:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     10206:     LDFLAGS=$save_LDFLAGS
                   10207:     libdir=$save_libdir
                   10208: 
                   10209: fi
                   10210: 
                   10211:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   10212: 
                   10213:   # This implies no fast_install, which is unacceptable.
                   10214:   # Some rework will be needed to allow for fast_install
                   10215:   # before this can be enabled.
                   10216:   hardcode_into_libs=yes
                   10217: 
                   10218:   # Append ld.so.conf contents to the search path
                   10219:   if test -f /etc/ld.so.conf; then
                   10220:     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' ' '`
                   10221:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10222:   fi
                   10223: 
                   10224:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10225:   # powerpc, because MkLinux only supported shared libraries with the
                   10226:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10227:   # most powerpc-linux boxes support dynamic linking these days and
                   10228:   # people can always --disable-shared, the test was removed, and we
                   10229:   # assume the GNU/Linux dynamic linker is in use.
                   10230:   dynamic_linker='GNU/Linux ld.so'
                   10231:   ;;
                   10232: 
                   10233: netbsd*)
                   10234:   version_type=sunos
                   10235:   need_lib_prefix=no
                   10236:   need_version=no
                   10237:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10238:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10239:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10240:     dynamic_linker='NetBSD (a.out) ld.so'
                   10241:   else
                   10242:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10243:     soname_spec='${libname}${release}${shared_ext}$major'
                   10244:     dynamic_linker='NetBSD ld.elf_so'
                   10245:   fi
                   10246:   shlibpath_var=LD_LIBRARY_PATH
                   10247:   shlibpath_overrides_runpath=yes
                   10248:   hardcode_into_libs=yes
                   10249:   ;;
                   10250: 
                   10251: newsos6)
                   10252:   version_type=linux # correct to gnu/linux during the next big refactor
                   10253:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10254:   shlibpath_var=LD_LIBRARY_PATH
                   10255:   shlibpath_overrides_runpath=yes
                   10256:   ;;
                   10257: 
                   10258: *nto* | *qnx*)
                   10259:   version_type=qnx
                   10260:   need_lib_prefix=no
                   10261:   need_version=no
                   10262:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10263:   soname_spec='${libname}${release}${shared_ext}$major'
                   10264:   shlibpath_var=LD_LIBRARY_PATH
                   10265:   shlibpath_overrides_runpath=no
                   10266:   hardcode_into_libs=yes
                   10267:   dynamic_linker='ldqnx.so'
                   10268:   ;;
                   10269: 
                   10270: openbsd*)
                   10271:   version_type=sunos
                   10272:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10273:   need_lib_prefix=no
                   10274:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10275:   case $host_os in
                   10276:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10277:     *)                         need_version=no  ;;
                   10278:   esac
                   10279:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10280:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10281:   shlibpath_var=LD_LIBRARY_PATH
                   10282:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10283:     case $host_os in
                   10284:       openbsd2.[89] | openbsd2.[89].*)
                   10285:        shlibpath_overrides_runpath=no
                   10286:        ;;
                   10287:       *)
                   10288:        shlibpath_overrides_runpath=yes
                   10289:        ;;
                   10290:       esac
1.1       misha    10291:   else
1.8       moko     10292:     shlibpath_overrides_runpath=yes
                   10293:   fi
                   10294:   ;;
                   10295: 
                   10296: os2*)
                   10297:   libname_spec='$name'
                   10298:   shrext_cmds=".dll"
                   10299:   need_lib_prefix=no
                   10300:   library_names_spec='$libname${shared_ext} $libname.a'
                   10301:   dynamic_linker='OS/2 ld.exe'
                   10302:   shlibpath_var=LIBPATH
                   10303:   ;;
                   10304: 
                   10305: osf3* | osf4* | osf5*)
                   10306:   version_type=osf
                   10307:   need_lib_prefix=no
                   10308:   need_version=no
                   10309:   soname_spec='${libname}${release}${shared_ext}$major'
                   10310:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10311:   shlibpath_var=LD_LIBRARY_PATH
                   10312:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10313:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10314:   ;;
                   10315: 
                   10316: rdos*)
                   10317:   dynamic_linker=no
                   10318:   ;;
                   10319: 
                   10320: solaris*)
                   10321:   version_type=linux # correct to gnu/linux during the next big refactor
                   10322:   need_lib_prefix=no
                   10323:   need_version=no
                   10324:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10325:   soname_spec='${libname}${release}${shared_ext}$major'
                   10326:   shlibpath_var=LD_LIBRARY_PATH
                   10327:   shlibpath_overrides_runpath=yes
                   10328:   hardcode_into_libs=yes
                   10329:   # ldd complains unless libraries are executable
                   10330:   postinstall_cmds='chmod +x $lib'
                   10331:   ;;
                   10332: 
                   10333: sunos4*)
                   10334:   version_type=sunos
                   10335:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10336:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10337:   shlibpath_var=LD_LIBRARY_PATH
                   10338:   shlibpath_overrides_runpath=yes
                   10339:   if test "$with_gnu_ld" = yes; then
                   10340:     need_lib_prefix=no
                   10341:   fi
                   10342:   need_version=yes
                   10343:   ;;
                   10344: 
                   10345: sysv4 | sysv4.3*)
                   10346:   version_type=linux # correct to gnu/linux during the next big refactor
                   10347:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10348:   soname_spec='${libname}${release}${shared_ext}$major'
                   10349:   shlibpath_var=LD_LIBRARY_PATH
                   10350:   case $host_vendor in
                   10351:     sni)
                   10352:       shlibpath_overrides_runpath=no
                   10353:       need_lib_prefix=no
                   10354:       runpath_var=LD_RUN_PATH
                   10355:       ;;
                   10356:     siemens)
                   10357:       need_lib_prefix=no
                   10358:       ;;
                   10359:     motorola)
                   10360:       need_lib_prefix=no
                   10361:       need_version=no
                   10362:       shlibpath_overrides_runpath=no
                   10363:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10364:       ;;
                   10365:   esac
                   10366:   ;;
                   10367: 
                   10368: sysv4*MP*)
                   10369:   if test -d /usr/nec ;then
                   10370:     version_type=linux # correct to gnu/linux during the next big refactor
                   10371:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10372:     soname_spec='$libname${shared_ext}.$major'
                   10373:     shlibpath_var=LD_LIBRARY_PATH
                   10374:   fi
                   10375:   ;;
                   10376: 
                   10377: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10378:   version_type=freebsd-elf
                   10379:   need_lib_prefix=no
                   10380:   need_version=no
                   10381:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10382:   soname_spec='${libname}${release}${shared_ext}$major'
                   10383:   shlibpath_var=LD_LIBRARY_PATH
                   10384:   shlibpath_overrides_runpath=yes
                   10385:   hardcode_into_libs=yes
                   10386:   if test "$with_gnu_ld" = yes; then
                   10387:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10388:   else
                   10389:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10390:     case $host_os in
                   10391:       sco3.2v5*)
                   10392:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10393:        ;;
                   10394:     esac
                   10395:   fi
                   10396:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10397:   ;;
                   10398: 
                   10399: tpf*)
                   10400:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10401:   version_type=linux # correct to gnu/linux during the next big refactor
                   10402:   need_lib_prefix=no
                   10403:   need_version=no
                   10404:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10405:   shlibpath_var=LD_LIBRARY_PATH
                   10406:   shlibpath_overrides_runpath=no
                   10407:   hardcode_into_libs=yes
                   10408:   ;;
                   10409: 
                   10410: uts4*)
                   10411:   version_type=linux # correct to gnu/linux during the next big refactor
                   10412:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10413:   soname_spec='${libname}${release}${shared_ext}$major'
                   10414:   shlibpath_var=LD_LIBRARY_PATH
                   10415:   ;;
                   10416: 
                   10417: *)
                   10418:   dynamic_linker=no
                   10419:   ;;
                   10420: esac
1.11      moko     10421: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   10422: echo "${ECHO_T}$dynamic_linker" >&6
1.8       moko     10423: test "$dynamic_linker" = no && can_build_shared=no
                   10424: 
                   10425: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10426: if test "$GCC" = yes; then
                   10427:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10428: fi
                   10429: 
                   10430: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10431:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10432: fi
                   10433: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10434:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10435: fi
                   10436: 
                   10437: 
                   10438: 
                   10439: 
                   10440: 
                   10441: 
                   10442: 
                   10443: 
                   10444: 
                   10445: 
                   10446: 
                   10447: 
                   10448: 
                   10449: 
                   10450: 
                   10451: 
                   10452: 
                   10453: 
                   10454: 
                   10455: 
                   10456: 
                   10457: 
                   10458: 
                   10459: 
                   10460: 
                   10461: 
                   10462: 
                   10463: 
                   10464: 
                   10465: 
                   10466: 
                   10467: 
                   10468: 
                   10469: 
                   10470: 
                   10471: 
                   10472: 
                   10473: 
                   10474: 
                   10475: 
                   10476: 
                   10477: 
                   10478: 
                   10479: 
                   10480: 
                   10481: 
                   10482: 
                   10483: 
                   10484: 
                   10485: 
                   10486: 
                   10487: 
                   10488: 
                   10489: 
                   10490: 
                   10491: 
                   10492: 
                   10493: 
                   10494: 
                   10495: 
                   10496: 
                   10497: 
                   10498: 
                   10499: 
                   10500: 
                   10501: 
                   10502: 
                   10503: 
                   10504: 
                   10505: 
                   10506: 
                   10507: 
                   10508: 
                   10509: 
                   10510: 
                   10511: 
                   10512: 
                   10513: 
                   10514: 
                   10515: 
                   10516: 
                   10517: 
                   10518: 
                   10519: 
                   10520: 
                   10521: 
                   10522: 
                   10523: 
                   10524: 
                   10525: 
                   10526: 
                   10527: 
1.11      moko     10528:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   10529: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1.8       moko     10530: hardcode_action=
                   10531: if test -n "$hardcode_libdir_flag_spec" ||
                   10532:    test -n "$runpath_var" ||
                   10533:    test "X$hardcode_automatic" = "Xyes" ; then
                   10534: 
                   10535:   # We can hardcode non-existent directories.
                   10536:   if test "$hardcode_direct" != no &&
                   10537:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10538:      # have to relink, otherwise we might link with an installed library
                   10539:      # when we should be linking with a yet-to-be-installed one
                   10540:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10541:      test "$hardcode_minus_L" != no; then
                   10542:     # Linking always hardcodes the temporary library directory.
                   10543:     hardcode_action=relink
                   10544:   else
                   10545:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10546:     hardcode_action=immediate
                   10547:   fi
                   10548: else
                   10549:   # We cannot hardcode anything, or else we can only hardcode existing
                   10550:   # directories.
                   10551:   hardcode_action=unsupported
                   10552: fi
1.11      moko     10553: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   10554: echo "${ECHO_T}$hardcode_action" >&6
1.8       moko     10555: 
                   10556: if test "$hardcode_action" = relink ||
                   10557:    test "$inherit_rpath" = yes; then
                   10558:   # Fast installation is not supported
                   10559:   enable_fast_install=no
                   10560: elif test "$shlibpath_overrides_runpath" = yes ||
                   10561:      test "$enable_shared" = no; then
                   10562:   # Fast installation is not necessary
                   10563:   enable_fast_install=needless
                   10564: fi
                   10565: 
                   10566: 
                   10567: 
                   10568: 
                   10569: 
                   10570: 
                   10571:   if test "x$enable_dlopen" != xyes; then
                   10572:   enable_dlopen=unknown
                   10573:   enable_dlopen_self=unknown
                   10574:   enable_dlopen_self_static=unknown
                   10575: else
                   10576:   lt_cv_dlopen=no
                   10577:   lt_cv_dlopen_libs=
                   10578: 
                   10579:   case $host_os in
                   10580:   beos*)
                   10581:     lt_cv_dlopen="load_add_on"
                   10582:     lt_cv_dlopen_libs=
                   10583:     lt_cv_dlopen_self=yes
                   10584:     ;;
                   10585: 
                   10586:   mingw* | pw32* | cegcc*)
                   10587:     lt_cv_dlopen="LoadLibrary"
                   10588:     lt_cv_dlopen_libs=
                   10589:     ;;
                   10590: 
                   10591:   cygwin*)
                   10592:     lt_cv_dlopen="dlopen"
                   10593:     lt_cv_dlopen_libs=
                   10594:     ;;
                   10595: 
                   10596:   darwin*)
                   10597:   # if libdl is installed we need to link against it
1.11      moko     10598:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   10599: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   10600: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   10601:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     10602: else
                   10603:   ac_check_lib_save_LIBS=$LIBS
                   10604: LIBS="-ldl  $LIBS"
1.11      moko     10605: cat >conftest.$ac_ext <<_ACEOF
                   10606: /* confdefs.h.  */
                   10607: _ACEOF
                   10608: cat confdefs.h >>conftest.$ac_ext
                   10609: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     10610: /* end confdefs.h.  */
                   10611: 
1.11      moko     10612: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     10613: #ifdef __cplusplus
                   10614: extern "C"
                   10615: #endif
1.11      moko     10616: /* We use char because int might match the return type of a gcc2
                   10617:    builtin and then its argument prototype would still apply.  */
1.8       moko     10618: char dlopen ();
                   10619: int
                   10620: main ()
                   10621: {
1.11      moko     10622: dlopen ();
1.8       moko     10623:   ;
                   10624:   return 0;
                   10625: }
                   10626: _ACEOF
1.11      moko     10627: rm -f conftest.$ac_objext conftest$ac_exeext
                   10628: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10629:   (eval $ac_link) 2>conftest.er1
                   10630:   ac_status=$?
                   10631:   grep -v '^ *+' conftest.er1 >conftest.err
                   10632:   rm -f conftest.er1
                   10633:   cat conftest.err >&5
                   10634:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10635:   (exit $ac_status); } &&
                   10636:         { ac_try='test -z "$ac_c_werror_flag"
                   10637:                         || test ! -s conftest.err'
                   10638:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10639:   (eval $ac_try) 2>&5
                   10640:   ac_status=$?
                   10641:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10642:   (exit $ac_status); }; } &&
                   10643:         { ac_try='test -s conftest$ac_exeext'
                   10644:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10645:   (eval $ac_try) 2>&5
                   10646:   ac_status=$?
                   10647:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10648:   (exit $ac_status); }; }; then
1.8       moko     10649:   ac_cv_lib_dl_dlopen=yes
                   10650: else
1.11      moko     10651:   echo "$as_me: failed program was:" >&5
                   10652: sed 's/^/| /' conftest.$ac_ext >&5
                   10653: 
                   10654: ac_cv_lib_dl_dlopen=no
1.8       moko     10655: fi
1.11      moko     10656: rm -f conftest.err conftest.$ac_objext \
                   10657:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     10658: LIBS=$ac_check_lib_save_LIBS
                   10659: fi
1.11      moko     10660: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   10661: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   10662: if test $ac_cv_lib_dl_dlopen = yes; then
1.8       moko     10663:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10664: else
                   10665: 
                   10666:     lt_cv_dlopen="dyld"
                   10667:     lt_cv_dlopen_libs=
                   10668:     lt_cv_dlopen_self=yes
                   10669: 
                   10670: fi
                   10671: 
                   10672:     ;;
                   10673: 
                   10674:   *)
1.11      moko     10675:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   10676: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   10677: if test "${ac_cv_func_shl_load+set}" = set; then
                   10678:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10679: else
                   10680:   cat >conftest.$ac_ext <<_ACEOF
                   10681: /* confdefs.h.  */
                   10682: _ACEOF
                   10683: cat confdefs.h >>conftest.$ac_ext
                   10684: cat >>conftest.$ac_ext <<_ACEOF
                   10685: /* end confdefs.h.  */
                   10686: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   10687:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   10688: #define shl_load innocuous_shl_load
                   10689: 
                   10690: /* System header to define __stub macros and hopefully few prototypes,
                   10691:     which can conflict with char shl_load (); below.
                   10692:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10693:     <limits.h> exists even on freestanding compilers.  */
                   10694: 
                   10695: #ifdef __STDC__
                   10696: # include <limits.h>
                   10697: #else
                   10698: # include <assert.h>
                   10699: #endif
                   10700: 
                   10701: #undef shl_load
                   10702: 
                   10703: /* Override any gcc2 internal prototype to avoid an error.  */
                   10704: #ifdef __cplusplus
                   10705: extern "C"
                   10706: {
                   10707: #endif
                   10708: /* We use char because int might match the return type of a gcc2
                   10709:    builtin and then its argument prototype would still apply.  */
                   10710: char shl_load ();
                   10711: /* The GNU C library defines this for functions which it implements
                   10712:     to always fail with ENOSYS.  Some functions are actually named
                   10713:     something starting with __ and the normal name is an alias.  */
                   10714: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   10715: choke me
                   10716: #else
                   10717: char (*f) () = shl_load;
                   10718: #endif
                   10719: #ifdef __cplusplus
                   10720: }
                   10721: #endif
                   10722: 
                   10723: int
                   10724: main ()
                   10725: {
                   10726: return f != shl_load;
                   10727:   ;
                   10728:   return 0;
                   10729: }
                   10730: _ACEOF
                   10731: rm -f conftest.$ac_objext conftest$ac_exeext
                   10732: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10733:   (eval $ac_link) 2>conftest.er1
                   10734:   ac_status=$?
                   10735:   grep -v '^ *+' conftest.er1 >conftest.err
                   10736:   rm -f conftest.er1
                   10737:   cat conftest.err >&5
                   10738:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10739:   (exit $ac_status); } &&
                   10740:         { ac_try='test -z "$ac_c_werror_flag"
                   10741:                         || test ! -s conftest.err'
                   10742:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10743:   (eval $ac_try) 2>&5
                   10744:   ac_status=$?
                   10745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10746:   (exit $ac_status); }; } &&
                   10747:         { ac_try='test -s conftest$ac_exeext'
                   10748:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10749:   (eval $ac_try) 2>&5
                   10750:   ac_status=$?
                   10751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10752:   (exit $ac_status); }; }; then
                   10753:   ac_cv_func_shl_load=yes
                   10754: else
                   10755:   echo "$as_me: failed program was:" >&5
                   10756: sed 's/^/| /' conftest.$ac_ext >&5
                   10757: 
                   10758: ac_cv_func_shl_load=no
                   10759: fi
                   10760: rm -f conftest.err conftest.$ac_objext \
                   10761:       conftest$ac_exeext conftest.$ac_ext
                   10762: fi
                   10763: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   10764: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   10765: if test $ac_cv_func_shl_load = yes; then
1.8       moko     10766:   lt_cv_dlopen="shl_load"
                   10767: else
1.11      moko     10768:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   10769: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   10770: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   10771:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     10772: else
                   10773:   ac_check_lib_save_LIBS=$LIBS
                   10774: LIBS="-ldld  $LIBS"
1.11      moko     10775: cat >conftest.$ac_ext <<_ACEOF
                   10776: /* confdefs.h.  */
                   10777: _ACEOF
                   10778: cat confdefs.h >>conftest.$ac_ext
                   10779: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     10780: /* end confdefs.h.  */
                   10781: 
1.11      moko     10782: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     10783: #ifdef __cplusplus
                   10784: extern "C"
                   10785: #endif
1.11      moko     10786: /* We use char because int might match the return type of a gcc2
                   10787:    builtin and then its argument prototype would still apply.  */
1.8       moko     10788: char shl_load ();
                   10789: int
                   10790: main ()
                   10791: {
1.11      moko     10792: shl_load ();
1.8       moko     10793:   ;
                   10794:   return 0;
                   10795: }
                   10796: _ACEOF
1.11      moko     10797: rm -f conftest.$ac_objext conftest$ac_exeext
                   10798: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10799:   (eval $ac_link) 2>conftest.er1
                   10800:   ac_status=$?
                   10801:   grep -v '^ *+' conftest.er1 >conftest.err
                   10802:   rm -f conftest.er1
                   10803:   cat conftest.err >&5
                   10804:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10805:   (exit $ac_status); } &&
                   10806:         { ac_try='test -z "$ac_c_werror_flag"
                   10807:                         || test ! -s conftest.err'
                   10808:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10809:   (eval $ac_try) 2>&5
                   10810:   ac_status=$?
                   10811:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10812:   (exit $ac_status); }; } &&
                   10813:         { ac_try='test -s conftest$ac_exeext'
                   10814:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10815:   (eval $ac_try) 2>&5
                   10816:   ac_status=$?
                   10817:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10818:   (exit $ac_status); }; }; then
1.8       moko     10819:   ac_cv_lib_dld_shl_load=yes
                   10820: else
1.11      moko     10821:   echo "$as_me: failed program was:" >&5
                   10822: sed 's/^/| /' conftest.$ac_ext >&5
                   10823: 
                   10824: ac_cv_lib_dld_shl_load=no
1.8       moko     10825: fi
1.11      moko     10826: rm -f conftest.err conftest.$ac_objext \
                   10827:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     10828: LIBS=$ac_check_lib_save_LIBS
                   10829: fi
1.11      moko     10830: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   10831: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   10832: if test $ac_cv_lib_dld_shl_load = yes; then
1.8       moko     10833:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   10834: else
1.11      moko     10835:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   10836: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   10837: if test "${ac_cv_func_dlopen+set}" = set; then
                   10838:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10839: else
                   10840:   cat >conftest.$ac_ext <<_ACEOF
                   10841: /* confdefs.h.  */
                   10842: _ACEOF
                   10843: cat confdefs.h >>conftest.$ac_ext
                   10844: cat >>conftest.$ac_ext <<_ACEOF
                   10845: /* end confdefs.h.  */
                   10846: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   10847:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   10848: #define dlopen innocuous_dlopen
                   10849: 
                   10850: /* System header to define __stub macros and hopefully few prototypes,
                   10851:     which can conflict with char dlopen (); below.
                   10852:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10853:     <limits.h> exists even on freestanding compilers.  */
                   10854: 
                   10855: #ifdef __STDC__
                   10856: # include <limits.h>
                   10857: #else
                   10858: # include <assert.h>
                   10859: #endif
                   10860: 
                   10861: #undef dlopen
                   10862: 
                   10863: /* Override any gcc2 internal prototype to avoid an error.  */
                   10864: #ifdef __cplusplus
                   10865: extern "C"
                   10866: {
                   10867: #endif
                   10868: /* We use char because int might match the return type of a gcc2
                   10869:    builtin and then its argument prototype would still apply.  */
                   10870: char dlopen ();
                   10871: /* The GNU C library defines this for functions which it implements
                   10872:     to always fail with ENOSYS.  Some functions are actually named
                   10873:     something starting with __ and the normal name is an alias.  */
                   10874: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   10875: choke me
                   10876: #else
                   10877: char (*f) () = dlopen;
                   10878: #endif
                   10879: #ifdef __cplusplus
                   10880: }
                   10881: #endif
                   10882: 
                   10883: int
                   10884: main ()
                   10885: {
                   10886: return f != dlopen;
                   10887:   ;
                   10888:   return 0;
                   10889: }
                   10890: _ACEOF
                   10891: rm -f conftest.$ac_objext conftest$ac_exeext
                   10892: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10893:   (eval $ac_link) 2>conftest.er1
                   10894:   ac_status=$?
                   10895:   grep -v '^ *+' conftest.er1 >conftest.err
                   10896:   rm -f conftest.er1
                   10897:   cat conftest.err >&5
                   10898:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10899:   (exit $ac_status); } &&
                   10900:         { ac_try='test -z "$ac_c_werror_flag"
                   10901:                         || test ! -s conftest.err'
                   10902:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10903:   (eval $ac_try) 2>&5
                   10904:   ac_status=$?
                   10905:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10906:   (exit $ac_status); }; } &&
                   10907:         { ac_try='test -s conftest$ac_exeext'
                   10908:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10909:   (eval $ac_try) 2>&5
                   10910:   ac_status=$?
                   10911:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10912:   (exit $ac_status); }; }; then
                   10913:   ac_cv_func_dlopen=yes
                   10914: else
                   10915:   echo "$as_me: failed program was:" >&5
                   10916: sed 's/^/| /' conftest.$ac_ext >&5
                   10917: 
                   10918: ac_cv_func_dlopen=no
                   10919: fi
                   10920: rm -f conftest.err conftest.$ac_objext \
                   10921:       conftest$ac_exeext conftest.$ac_ext
                   10922: fi
                   10923: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   10924: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   10925: if test $ac_cv_func_dlopen = yes; then
1.8       moko     10926:   lt_cv_dlopen="dlopen"
                   10927: else
1.11      moko     10928:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   10929: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   10930: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   10931:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     10932: else
                   10933:   ac_check_lib_save_LIBS=$LIBS
                   10934: LIBS="-ldl  $LIBS"
1.11      moko     10935: cat >conftest.$ac_ext <<_ACEOF
                   10936: /* confdefs.h.  */
                   10937: _ACEOF
                   10938: cat confdefs.h >>conftest.$ac_ext
                   10939: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     10940: /* end confdefs.h.  */
                   10941: 
1.11      moko     10942: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     10943: #ifdef __cplusplus
                   10944: extern "C"
                   10945: #endif
1.11      moko     10946: /* We use char because int might match the return type of a gcc2
                   10947:    builtin and then its argument prototype would still apply.  */
1.8       moko     10948: char dlopen ();
                   10949: int
                   10950: main ()
                   10951: {
1.11      moko     10952: dlopen ();
1.8       moko     10953:   ;
                   10954:   return 0;
                   10955: }
                   10956: _ACEOF
1.11      moko     10957: rm -f conftest.$ac_objext conftest$ac_exeext
                   10958: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10959:   (eval $ac_link) 2>conftest.er1
                   10960:   ac_status=$?
                   10961:   grep -v '^ *+' conftest.er1 >conftest.err
                   10962:   rm -f conftest.er1
                   10963:   cat conftest.err >&5
                   10964:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10965:   (exit $ac_status); } &&
                   10966:         { ac_try='test -z "$ac_c_werror_flag"
                   10967:                         || test ! -s conftest.err'
                   10968:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10969:   (eval $ac_try) 2>&5
                   10970:   ac_status=$?
                   10971:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10972:   (exit $ac_status); }; } &&
                   10973:         { ac_try='test -s conftest$ac_exeext'
                   10974:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10975:   (eval $ac_try) 2>&5
                   10976:   ac_status=$?
                   10977:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10978:   (exit $ac_status); }; }; then
1.8       moko     10979:   ac_cv_lib_dl_dlopen=yes
                   10980: else
1.11      moko     10981:   echo "$as_me: failed program was:" >&5
                   10982: sed 's/^/| /' conftest.$ac_ext >&5
                   10983: 
                   10984: ac_cv_lib_dl_dlopen=no
1.8       moko     10985: fi
1.11      moko     10986: rm -f conftest.err conftest.$ac_objext \
                   10987:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     10988: LIBS=$ac_check_lib_save_LIBS
                   10989: fi
1.11      moko     10990: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   10991: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   10992: if test $ac_cv_lib_dl_dlopen = yes; then
1.8       moko     10993:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10994: else
1.11      moko     10995:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   10996: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   10997: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   10998:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     10999: else
                   11000:   ac_check_lib_save_LIBS=$LIBS
                   11001: LIBS="-lsvld  $LIBS"
1.11      moko     11002: cat >conftest.$ac_ext <<_ACEOF
                   11003: /* confdefs.h.  */
                   11004: _ACEOF
                   11005: cat confdefs.h >>conftest.$ac_ext
                   11006: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     11007: /* end confdefs.h.  */
                   11008: 
1.11      moko     11009: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     11010: #ifdef __cplusplus
                   11011: extern "C"
                   11012: #endif
1.11      moko     11013: /* We use char because int might match the return type of a gcc2
                   11014:    builtin and then its argument prototype would still apply.  */
1.8       moko     11015: char dlopen ();
                   11016: int
                   11017: main ()
                   11018: {
1.11      moko     11019: dlopen ();
1.8       moko     11020:   ;
                   11021:   return 0;
                   11022: }
                   11023: _ACEOF
1.11      moko     11024: rm -f conftest.$ac_objext conftest$ac_exeext
                   11025: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11026:   (eval $ac_link) 2>conftest.er1
                   11027:   ac_status=$?
                   11028:   grep -v '^ *+' conftest.er1 >conftest.err
                   11029:   rm -f conftest.er1
                   11030:   cat conftest.err >&5
                   11031:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11032:   (exit $ac_status); } &&
                   11033:         { ac_try='test -z "$ac_c_werror_flag"
                   11034:                         || test ! -s conftest.err'
                   11035:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11036:   (eval $ac_try) 2>&5
                   11037:   ac_status=$?
                   11038:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11039:   (exit $ac_status); }; } &&
                   11040:         { ac_try='test -s conftest$ac_exeext'
                   11041:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11042:   (eval $ac_try) 2>&5
                   11043:   ac_status=$?
                   11044:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11045:   (exit $ac_status); }; }; then
1.8       moko     11046:   ac_cv_lib_svld_dlopen=yes
                   11047: else
1.11      moko     11048:   echo "$as_me: failed program was:" >&5
                   11049: sed 's/^/| /' conftest.$ac_ext >&5
                   11050: 
                   11051: ac_cv_lib_svld_dlopen=no
1.8       moko     11052: fi
1.11      moko     11053: rm -f conftest.err conftest.$ac_objext \
                   11054:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     11055: LIBS=$ac_check_lib_save_LIBS
                   11056: fi
1.11      moko     11057: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   11058: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   11059: if test $ac_cv_lib_svld_dlopen = yes; then
1.8       moko     11060:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11061: else
1.11      moko     11062:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   11063: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   11064: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   11065:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     11066: else
                   11067:   ac_check_lib_save_LIBS=$LIBS
                   11068: LIBS="-ldld  $LIBS"
1.11      moko     11069: cat >conftest.$ac_ext <<_ACEOF
                   11070: /* confdefs.h.  */
                   11071: _ACEOF
                   11072: cat confdefs.h >>conftest.$ac_ext
                   11073: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     11074: /* end confdefs.h.  */
                   11075: 
1.11      moko     11076: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     11077: #ifdef __cplusplus
                   11078: extern "C"
                   11079: #endif
1.11      moko     11080: /* We use char because int might match the return type of a gcc2
                   11081:    builtin and then its argument prototype would still apply.  */
1.8       moko     11082: char dld_link ();
                   11083: int
                   11084: main ()
                   11085: {
1.11      moko     11086: dld_link ();
1.8       moko     11087:   ;
                   11088:   return 0;
                   11089: }
                   11090: _ACEOF
1.11      moko     11091: rm -f conftest.$ac_objext conftest$ac_exeext
                   11092: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11093:   (eval $ac_link) 2>conftest.er1
                   11094:   ac_status=$?
                   11095:   grep -v '^ *+' conftest.er1 >conftest.err
                   11096:   rm -f conftest.er1
                   11097:   cat conftest.err >&5
                   11098:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11099:   (exit $ac_status); } &&
                   11100:         { ac_try='test -z "$ac_c_werror_flag"
                   11101:                         || test ! -s conftest.err'
                   11102:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11103:   (eval $ac_try) 2>&5
                   11104:   ac_status=$?
                   11105:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11106:   (exit $ac_status); }; } &&
                   11107:         { ac_try='test -s conftest$ac_exeext'
                   11108:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11109:   (eval $ac_try) 2>&5
                   11110:   ac_status=$?
                   11111:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11112:   (exit $ac_status); }; }; then
1.8       moko     11113:   ac_cv_lib_dld_dld_link=yes
                   11114: else
1.11      moko     11115:   echo "$as_me: failed program was:" >&5
                   11116: sed 's/^/| /' conftest.$ac_ext >&5
                   11117: 
                   11118: ac_cv_lib_dld_dld_link=no
1.8       moko     11119: fi
1.11      moko     11120: rm -f conftest.err conftest.$ac_objext \
                   11121:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     11122: LIBS=$ac_check_lib_save_LIBS
                   11123: fi
1.11      moko     11124: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   11125: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   11126: if test $ac_cv_lib_dld_dld_link = yes; then
1.8       moko     11127:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11128: fi
                   11129: 
                   11130: 
                   11131: fi
                   11132: 
                   11133: 
                   11134: fi
                   11135: 
                   11136: 
                   11137: fi
                   11138: 
                   11139: 
                   11140: fi
                   11141: 
                   11142: 
                   11143: fi
                   11144: 
                   11145:     ;;
                   11146:   esac
                   11147: 
                   11148:   if test "x$lt_cv_dlopen" != xno; then
                   11149:     enable_dlopen=yes
                   11150:   else
                   11151:     enable_dlopen=no
                   11152:   fi
                   11153: 
                   11154:   case $lt_cv_dlopen in
                   11155:   dlopen)
                   11156:     save_CPPFLAGS="$CPPFLAGS"
                   11157:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11158: 
                   11159:     save_LDFLAGS="$LDFLAGS"
                   11160:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11161: 
                   11162:     save_LIBS="$LIBS"
                   11163:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11164: 
1.11      moko     11165:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   11166: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   11167: if test "${lt_cv_dlopen_self+set}" = set; then
                   11168:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     11169: else
                   11170:          if test "$cross_compiling" = yes; then :
                   11171:   lt_cv_dlopen_self=cross
                   11172: else
                   11173:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11174:   lt_status=$lt_dlunknown
                   11175:   cat > conftest.$ac_ext <<_LT_EOF
                   11176: #line $LINENO "configure"
                   11177: #include "confdefs.h"
                   11178: 
                   11179: #if HAVE_DLFCN_H
                   11180: #include <dlfcn.h>
                   11181: #endif
                   11182: 
                   11183: #include <stdio.h>
                   11184: 
                   11185: #ifdef RTLD_GLOBAL
                   11186: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11187: #else
                   11188: #  ifdef DL_GLOBAL
                   11189: #    define LT_DLGLOBAL                DL_GLOBAL
                   11190: #  else
                   11191: #    define LT_DLGLOBAL                0
                   11192: #  endif
                   11193: #endif
                   11194: 
                   11195: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11196:    find out it does not work in some platform. */
                   11197: #ifndef LT_DLLAZY_OR_NOW
                   11198: #  ifdef RTLD_LAZY
                   11199: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11200: #  else
                   11201: #    ifdef DL_LAZY
                   11202: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11203: #    else
                   11204: #      ifdef RTLD_NOW
                   11205: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11206: #      else
                   11207: #        ifdef DL_NOW
                   11208: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11209: #        else
                   11210: #          define LT_DLLAZY_OR_NOW     0
                   11211: #        endif
                   11212: #      endif
                   11213: #    endif
                   11214: #  endif
                   11215: #endif
                   11216: 
                   11217: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11218:    correspondingly for the symbols needed.  */
                   11219: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11220: int fnord () __attribute__((visibility("default")));
                   11221: #endif
                   11222: 
                   11223: int fnord () { return 42; }
                   11224: int main ()
                   11225: {
                   11226:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11227:   int status = $lt_dlunknown;
                   11228: 
                   11229:   if (self)
                   11230:     {
                   11231:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11232:       else
                   11233:         {
                   11234:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11235:           else puts (dlerror ());
                   11236:        }
                   11237:       /* dlclose (self); */
                   11238:     }
                   11239:   else
                   11240:     puts (dlerror ());
                   11241: 
                   11242:   return status;
                   11243: }
                   11244: _LT_EOF
1.11      moko     11245:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8       moko     11246:   (eval $ac_link) 2>&5
                   11247:   ac_status=$?
1.11      moko     11248:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11249:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.8       moko     11250:     (./conftest; exit; ) >&5 2>/dev/null
                   11251:     lt_status=$?
                   11252:     case x$lt_status in
                   11253:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11254:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11255:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11256:     esac
                   11257:   else :
                   11258:     # compilation failed
                   11259:     lt_cv_dlopen_self=no
                   11260:   fi
                   11261: fi
                   11262: rm -fr conftest*
                   11263: 
                   11264: 
                   11265: fi
1.11      moko     11266: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   11267: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
1.8       moko     11268: 
                   11269:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11270:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.11      moko     11271:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   11272: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   11273: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   11274:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     11275: else
                   11276:          if test "$cross_compiling" = yes; then :
                   11277:   lt_cv_dlopen_self_static=cross
                   11278: else
                   11279:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11280:   lt_status=$lt_dlunknown
                   11281:   cat > conftest.$ac_ext <<_LT_EOF
                   11282: #line $LINENO "configure"
                   11283: #include "confdefs.h"
                   11284: 
                   11285: #if HAVE_DLFCN_H
                   11286: #include <dlfcn.h>
                   11287: #endif
                   11288: 
                   11289: #include <stdio.h>
                   11290: 
                   11291: #ifdef RTLD_GLOBAL
                   11292: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11293: #else
                   11294: #  ifdef DL_GLOBAL
                   11295: #    define LT_DLGLOBAL                DL_GLOBAL
                   11296: #  else
                   11297: #    define LT_DLGLOBAL                0
                   11298: #  endif
                   11299: #endif
                   11300: 
                   11301: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11302:    find out it does not work in some platform. */
                   11303: #ifndef LT_DLLAZY_OR_NOW
                   11304: #  ifdef RTLD_LAZY
                   11305: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11306: #  else
                   11307: #    ifdef DL_LAZY
                   11308: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11309: #    else
                   11310: #      ifdef RTLD_NOW
                   11311: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11312: #      else
                   11313: #        ifdef DL_NOW
                   11314: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11315: #        else
                   11316: #          define LT_DLLAZY_OR_NOW     0
                   11317: #        endif
                   11318: #      endif
                   11319: #    endif
                   11320: #  endif
                   11321: #endif
                   11322: 
                   11323: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11324:    correspondingly for the symbols needed.  */
                   11325: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11326: int fnord () __attribute__((visibility("default")));
                   11327: #endif
                   11328: 
                   11329: int fnord () { return 42; }
                   11330: int main ()
                   11331: {
                   11332:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11333:   int status = $lt_dlunknown;
                   11334: 
                   11335:   if (self)
                   11336:     {
                   11337:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11338:       else
                   11339:         {
                   11340:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11341:           else puts (dlerror ());
                   11342:        }
                   11343:       /* dlclose (self); */
                   11344:     }
                   11345:   else
                   11346:     puts (dlerror ());
                   11347: 
                   11348:   return status;
                   11349: }
                   11350: _LT_EOF
1.11      moko     11351:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8       moko     11352:   (eval $ac_link) 2>&5
                   11353:   ac_status=$?
1.11      moko     11354:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11355:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.8       moko     11356:     (./conftest; exit; ) >&5 2>/dev/null
                   11357:     lt_status=$?
                   11358:     case x$lt_status in
                   11359:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11360:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11361:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11362:     esac
                   11363:   else :
                   11364:     # compilation failed
                   11365:     lt_cv_dlopen_self_static=no
                   11366:   fi
                   11367: fi
                   11368: rm -fr conftest*
                   11369: 
                   11370: 
                   11371: fi
1.11      moko     11372: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   11373: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
1.8       moko     11374:     fi
                   11375: 
                   11376:     CPPFLAGS="$save_CPPFLAGS"
                   11377:     LDFLAGS="$save_LDFLAGS"
                   11378:     LIBS="$save_LIBS"
                   11379:     ;;
                   11380:   esac
                   11381: 
                   11382:   case $lt_cv_dlopen_self in
                   11383:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11384:   *) enable_dlopen_self=unknown ;;
                   11385:   esac
                   11386: 
                   11387:   case $lt_cv_dlopen_self_static in
                   11388:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11389:   *) enable_dlopen_self_static=unknown ;;
                   11390:   esac
                   11391: fi
                   11392: 
                   11393: 
                   11394: 
                   11395: 
                   11396: 
                   11397: 
                   11398: 
                   11399: 
                   11400: 
                   11401: 
                   11402: 
                   11403: 
                   11404: 
                   11405: 
                   11406: 
                   11407: 
                   11408: 
                   11409: striplib=
                   11410: old_striplib=
1.11      moko     11411: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   11412: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
1.8       moko     11413: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11414:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11415:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.11      moko     11416:   echo "$as_me:$LINENO: result: yes" >&5
                   11417: echo "${ECHO_T}yes" >&6
1.8       moko     11418: else
                   11419: # FIXME - insert some real tests, host_os isn't really good enough
                   11420:   case $host_os in
                   11421:   darwin*)
                   11422:     if test -n "$STRIP" ; then
                   11423:       striplib="$STRIP -x"
                   11424:       old_striplib="$STRIP -S"
1.11      moko     11425:       echo "$as_me:$LINENO: result: yes" >&5
                   11426: echo "${ECHO_T}yes" >&6
1.8       moko     11427:     else
1.11      moko     11428:       echo "$as_me:$LINENO: result: no" >&5
                   11429: echo "${ECHO_T}no" >&6
1.8       moko     11430:     fi
                   11431:     ;;
                   11432:   *)
1.11      moko     11433:     echo "$as_me:$LINENO: result: no" >&5
                   11434: echo "${ECHO_T}no" >&6
1.8       moko     11435:     ;;
                   11436:   esac
                   11437: fi
                   11438: 
                   11439: 
                   11440: 
                   11441: 
                   11442: 
                   11443: 
                   11444: 
                   11445: 
                   11446: 
                   11447: 
                   11448: 
                   11449: 
                   11450:   # Report which library types will actually be built
1.11      moko     11451:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   11452: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   11453:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   11454: echo "${ECHO_T}$can_build_shared" >&6
1.8       moko     11455: 
1.11      moko     11456:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   11457: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
1.8       moko     11458:   test "$can_build_shared" = "no" && enable_shared=no
                   11459: 
                   11460:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11461:   # are all built from PIC.
                   11462:   case $host_os in
                   11463:   aix3*)
                   11464:     test "$enable_shared" = yes && enable_static=no
                   11465:     if test -n "$RANLIB"; then
                   11466:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11467:       postinstall_cmds='$RANLIB $lib'
                   11468:     fi
                   11469:     ;;
                   11470: 
                   11471:   aix[4-9]*)
                   11472:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11473:       test "$enable_shared" = yes && enable_static=no
                   11474:     fi
                   11475:     ;;
                   11476:   esac
1.11      moko     11477:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   11478: echo "${ECHO_T}$enable_shared" >&6
1.8       moko     11479: 
1.11      moko     11480:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   11481: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
1.8       moko     11482:   # Make sure either enable_shared or enable_static is yes.
                   11483:   test "$enable_shared" = yes || enable_static=yes
1.11      moko     11484:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   11485: echo "${ECHO_T}$enable_static" >&6
1.8       moko     11486: 
                   11487: 
                   11488: 
                   11489: 
                   11490: fi
                   11491: ac_ext=c
                   11492: ac_cpp='$CPP $CPPFLAGS'
                   11493: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11494: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11495: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11496: 
                   11497: CC="$lt_save_CC"
                   11498: 
                   11499:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   11500:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   11501:     (test "X$CXX" != "Xg++"))) ; then
1.11      moko     11502:   ac_ext=cc
1.8       moko     11503: ac_cpp='$CXXCPP $CPPFLAGS'
                   11504: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11505: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11506: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.11      moko     11507: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   11508: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
1.8       moko     11509: if test -z "$CXXCPP"; then
1.11      moko     11510:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   11511:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     11512: else
                   11513:       # Double quotes because CXXCPP needs to be expanded
                   11514:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   11515:     do
                   11516:       ac_preproc_ok=false
                   11517: for ac_cxx_preproc_warn_flag in '' yes
                   11518: do
                   11519:   # Use a header file that comes with gcc, so configuring glibc
                   11520:   # with a fresh cross-compiler works.
                   11521:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11522:   # <limits.h> exists even on freestanding compilers.
                   11523:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   11524:   # not just through cpp. "Syntax error" is here to catch this case.
1.11      moko     11525:   cat >conftest.$ac_ext <<_ACEOF
                   11526: /* confdefs.h.  */
                   11527: _ACEOF
                   11528: cat confdefs.h >>conftest.$ac_ext
                   11529: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     11530: /* end confdefs.h.  */
                   11531: #ifdef __STDC__
                   11532: # include <limits.h>
                   11533: #else
                   11534: # include <assert.h>
                   11535: #endif
                   11536:                     Syntax error
                   11537: _ACEOF
1.11      moko     11538: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11539:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11540:   ac_status=$?
                   11541:   grep -v '^ *+' conftest.er1 >conftest.err
                   11542:   rm -f conftest.er1
                   11543:   cat conftest.err >&5
                   11544:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11545:   (exit $ac_status); } >/dev/null; then
                   11546:   if test -s conftest.err; then
                   11547:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11548:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11549:   else
                   11550:     ac_cpp_err=
                   11551:   fi
                   11552: else
                   11553:   ac_cpp_err=yes
                   11554: fi
                   11555: if test -z "$ac_cpp_err"; then
                   11556:   :
                   11557: else
                   11558:   echo "$as_me: failed program was:" >&5
                   11559: sed 's/^/| /' conftest.$ac_ext >&5
1.10      moko     11560: 
1.8       moko     11561:   # Broken: fails on valid input.
                   11562: continue
                   11563: fi
1.11      moko     11564: rm -f conftest.err conftest.$ac_ext
1.8       moko     11565: 
1.11      moko     11566:   # OK, works on sane cases.  Now check whether non-existent headers
1.8       moko     11567:   # can be detected and how.
1.11      moko     11568:   cat >conftest.$ac_ext <<_ACEOF
                   11569: /* confdefs.h.  */
                   11570: _ACEOF
                   11571: cat confdefs.h >>conftest.$ac_ext
                   11572: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     11573: /* end confdefs.h.  */
                   11574: #include <ac_nonexistent.h>
                   11575: _ACEOF
1.11      moko     11576: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11577:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11578:   ac_status=$?
                   11579:   grep -v '^ *+' conftest.er1 >conftest.err
                   11580:   rm -f conftest.er1
                   11581:   cat conftest.err >&5
                   11582:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11583:   (exit $ac_status); } >/dev/null; then
                   11584:   if test -s conftest.err; then
                   11585:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11586:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11587:   else
                   11588:     ac_cpp_err=
                   11589:   fi
                   11590: else
                   11591:   ac_cpp_err=yes
                   11592: fi
                   11593: if test -z "$ac_cpp_err"; then
1.8       moko     11594:   # Broken: success on invalid input.
                   11595: continue
                   11596: else
1.11      moko     11597:   echo "$as_me: failed program was:" >&5
                   11598: sed 's/^/| /' conftest.$ac_ext >&5
                   11599: 
1.8       moko     11600:   # Passes both tests.
                   11601: ac_preproc_ok=:
                   11602: break
                   11603: fi
1.11      moko     11604: rm -f conftest.err conftest.$ac_ext
1.8       moko     11605: 
                   11606: done
                   11607: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.11      moko     11608: rm -f conftest.err conftest.$ac_ext
                   11609: if $ac_preproc_ok; then
1.8       moko     11610:   break
                   11611: fi
                   11612: 
                   11613:     done
                   11614:     ac_cv_prog_CXXCPP=$CXXCPP
                   11615: 
                   11616: fi
                   11617:   CXXCPP=$ac_cv_prog_CXXCPP
                   11618: else
                   11619:   ac_cv_prog_CXXCPP=$CXXCPP
                   11620: fi
1.11      moko     11621: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   11622: echo "${ECHO_T}$CXXCPP" >&6
1.8       moko     11623: ac_preproc_ok=false
                   11624: for ac_cxx_preproc_warn_flag in '' yes
                   11625: do
                   11626:   # Use a header file that comes with gcc, so configuring glibc
                   11627:   # with a fresh cross-compiler works.
                   11628:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11629:   # <limits.h> exists even on freestanding compilers.
                   11630:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   11631:   # not just through cpp. "Syntax error" is here to catch this case.
1.11      moko     11632:   cat >conftest.$ac_ext <<_ACEOF
                   11633: /* confdefs.h.  */
                   11634: _ACEOF
                   11635: cat confdefs.h >>conftest.$ac_ext
                   11636: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     11637: /* end confdefs.h.  */
                   11638: #ifdef __STDC__
                   11639: # include <limits.h>
                   11640: #else
                   11641: # include <assert.h>
                   11642: #endif
                   11643:                     Syntax error
                   11644: _ACEOF
1.11      moko     11645: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11646:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11647:   ac_status=$?
                   11648:   grep -v '^ *+' conftest.er1 >conftest.err
                   11649:   rm -f conftest.er1
                   11650:   cat conftest.err >&5
                   11651:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11652:   (exit $ac_status); } >/dev/null; then
                   11653:   if test -s conftest.err; then
                   11654:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11655:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11656:   else
                   11657:     ac_cpp_err=
                   11658:   fi
                   11659: else
                   11660:   ac_cpp_err=yes
                   11661: fi
                   11662: if test -z "$ac_cpp_err"; then
                   11663:   :
                   11664: else
                   11665:   echo "$as_me: failed program was:" >&5
                   11666: sed 's/^/| /' conftest.$ac_ext >&5
1.10      moko     11667: 
                   11668:   # Broken: fails on valid input.
1.8       moko     11669: continue
                   11670: fi
1.11      moko     11671: rm -f conftest.err conftest.$ac_ext
1.8       moko     11672: 
1.11      moko     11673:   # OK, works on sane cases.  Now check whether non-existent headers
1.8       moko     11674:   # can be detected and how.
1.11      moko     11675:   cat >conftest.$ac_ext <<_ACEOF
                   11676: /* confdefs.h.  */
                   11677: _ACEOF
                   11678: cat confdefs.h >>conftest.$ac_ext
                   11679: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     11680: /* end confdefs.h.  */
                   11681: #include <ac_nonexistent.h>
                   11682: _ACEOF
1.11      moko     11683: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11684:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11685:   ac_status=$?
                   11686:   grep -v '^ *+' conftest.er1 >conftest.err
                   11687:   rm -f conftest.er1
                   11688:   cat conftest.err >&5
                   11689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11690:   (exit $ac_status); } >/dev/null; then
                   11691:   if test -s conftest.err; then
                   11692:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11693:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11694:   else
                   11695:     ac_cpp_err=
                   11696:   fi
                   11697: else
                   11698:   ac_cpp_err=yes
                   11699: fi
                   11700: if test -z "$ac_cpp_err"; then
1.8       moko     11701:   # Broken: success on invalid input.
                   11702: continue
                   11703: else
1.11      moko     11704:   echo "$as_me: failed program was:" >&5
                   11705: sed 's/^/| /' conftest.$ac_ext >&5
                   11706: 
1.8       moko     11707:   # Passes both tests.
                   11708: ac_preproc_ok=:
                   11709: break
                   11710: fi
1.11      moko     11711: rm -f conftest.err conftest.$ac_ext
1.8       moko     11712: 
                   11713: done
                   11714: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.11      moko     11715: rm -f conftest.err conftest.$ac_ext
                   11716: if $ac_preproc_ok; then
                   11717:   :
1.8       moko     11718: else
1.11      moko     11719:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   11720: See \`config.log' for more details." >&5
                   11721: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   11722: See \`config.log' for more details." >&2;}
                   11723:    { (exit 1); exit 1; }; }
1.8       moko     11724: fi
                   11725: 
                   11726: ac_ext=c
                   11727: ac_cpp='$CPP $CPPFLAGS'
                   11728: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11729: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11730: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11731: 
                   11732: else
                   11733:   _lt_caught_CXX_error=yes
                   11734: fi
                   11735: 
1.11      moko     11736: ac_ext=cc
1.8       moko     11737: ac_cpp='$CXXCPP $CPPFLAGS'
                   11738: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11739: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11740: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   11741: 
                   11742: archive_cmds_need_lc_CXX=no
                   11743: allow_undefined_flag_CXX=
                   11744: always_export_symbols_CXX=no
                   11745: archive_expsym_cmds_CXX=
                   11746: compiler_needs_object_CXX=no
                   11747: export_dynamic_flag_spec_CXX=
                   11748: hardcode_direct_CXX=no
                   11749: hardcode_direct_absolute_CXX=no
                   11750: hardcode_libdir_flag_spec_CXX=
                   11751: hardcode_libdir_separator_CXX=
                   11752: hardcode_minus_L_CXX=no
                   11753: hardcode_shlibpath_var_CXX=unsupported
                   11754: hardcode_automatic_CXX=no
                   11755: inherit_rpath_CXX=no
                   11756: module_cmds_CXX=
                   11757: module_expsym_cmds_CXX=
                   11758: link_all_deplibs_CXX=unknown
                   11759: old_archive_cmds_CXX=$old_archive_cmds
                   11760: reload_flag_CXX=$reload_flag
                   11761: reload_cmds_CXX=$reload_cmds
                   11762: no_undefined_flag_CXX=
                   11763: whole_archive_flag_spec_CXX=
                   11764: enable_shared_with_static_runtimes_CXX=no
                   11765: 
                   11766: # Source file extension for C++ test sources.
                   11767: ac_ext=cpp
                   11768: 
                   11769: # Object file extension for compiled C++ test sources.
                   11770: objext=o
                   11771: objext_CXX=$objext
                   11772: 
                   11773: # No sense in running all these tests if we already determined that
                   11774: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   11775: # are currently assumed to apply to all compilers on this platform,
                   11776: # and will be corrupted by setting them based on a non-working compiler.
                   11777: if test "$_lt_caught_CXX_error" != yes; then
                   11778:   # Code to be used in simple compile tests
                   11779:   lt_simple_compile_test_code="int some_variable = 0;"
                   11780: 
                   11781:   # Code to be used in simple link tests
                   11782:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   11783: 
                   11784:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   11785: 
                   11786: 
                   11787: 
                   11788: 
                   11789: 
                   11790: 
                   11791: # If no C compiler was specified, use CC.
                   11792: LTCC=${LTCC-"$CC"}
                   11793: 
                   11794: # If no C compiler flags were specified, use CFLAGS.
                   11795: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   11796: 
                   11797: # Allow CC to be a program name with arguments.
                   11798: compiler=$CC
                   11799: 
                   11800: 
                   11801:   # save warnings/boilerplate of simple test code
                   11802:   ac_outfile=conftest.$ac_objext
                   11803: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   11804: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11805: _lt_compiler_boilerplate=`cat conftest.err`
                   11806: $RM conftest*
                   11807: 
                   11808:   ac_outfile=conftest.$ac_objext
                   11809: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   11810: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11811: _lt_linker_boilerplate=`cat conftest.err`
                   11812: $RM -r conftest*
                   11813: 
                   11814: 
                   11815:   # Allow CC to be a program name with arguments.
                   11816:   lt_save_CC=$CC
                   11817:   lt_save_CFLAGS=$CFLAGS
                   11818:   lt_save_LD=$LD
                   11819:   lt_save_GCC=$GCC
                   11820:   GCC=$GXX
                   11821:   lt_save_with_gnu_ld=$with_gnu_ld
                   11822:   lt_save_path_LD=$lt_cv_path_LD
                   11823:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   11824:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   11825:   else
                   11826:     $as_unset lt_cv_prog_gnu_ld
                   11827:   fi
                   11828:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   11829:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   11830:   else
                   11831:     $as_unset lt_cv_path_LD
                   11832:   fi
                   11833:   test -z "${LDCXX+set}" || LD=$LDCXX
                   11834:   CC=${CXX-"c++"}
                   11835:   CFLAGS=$CXXFLAGS
                   11836:   compiler=$CC
                   11837:   compiler_CXX=$CC
                   11838:   for cc_temp in $compiler""; do
                   11839:   case $cc_temp in
                   11840:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   11841:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   11842:     \-*) ;;
                   11843:     *) break;;
                   11844:   esac
                   11845: done
                   11846: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   11847: 
                   11848: 
                   11849:   if test -n "$compiler"; then
                   11850:     # We don't want -fno-exception when compiling C++ code, so set the
                   11851:     # no_builtin_flag separately
                   11852:     if test "$GXX" = yes; then
                   11853:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   11854:     else
                   11855:       lt_prog_compiler_no_builtin_flag_CXX=
                   11856:     fi
                   11857: 
                   11858:     if test "$GXX" = yes; then
                   11859:       # Set up default GNU C++ configuration
                   11860: 
                   11861: 
                   11862: 
1.11      moko     11863: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   11864: if test "${with_gnu_ld+set}" = set; then
                   11865:   withval="$with_gnu_ld"
                   11866:   test "$withval" = no || with_gnu_ld=yes
1.8       moko     11867: else
                   11868:   with_gnu_ld=no
1.11      moko     11869: fi;
1.8       moko     11870: ac_prog=ld
                   11871: if test "$GCC" = yes; then
                   11872:   # Check if gcc -print-prog-name=ld gives a path.
1.11      moko     11873:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   11874: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
1.8       moko     11875:   case $host in
                   11876:   *-*-mingw*)
                   11877:     # gcc leaves a trailing carriage return which upsets mingw
                   11878:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   11879:   *)
                   11880:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   11881:   esac
                   11882:   case $ac_prog in
                   11883:     # Accept absolute paths.
                   11884:     [\\/]* | ?:[\\/]*)
                   11885:       re_direlt='/[^/][^/]*/\.\./'
                   11886:       # Canonicalize the pathname of ld
                   11887:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   11888:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   11889:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   11890:       done
                   11891:       test -z "$LD" && LD="$ac_prog"
                   11892:       ;;
                   11893:   "")
                   11894:     # If it fails, then pretend we aren't using GCC.
                   11895:     ac_prog=ld
                   11896:     ;;
                   11897:   *)
                   11898:     # If it is relative, then search for the first ld in PATH.
                   11899:     with_gnu_ld=unknown
                   11900:     ;;
                   11901:   esac
                   11902: elif test "$with_gnu_ld" = yes; then
1.11      moko     11903:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   11904: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.8       moko     11905: else
1.11      moko     11906:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   11907: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.8       moko     11908: fi
1.11      moko     11909: if test "${lt_cv_path_LD+set}" = set; then
                   11910:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     11911: else
                   11912:   if test -z "$LD"; then
                   11913:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   11914:   for ac_dir in $PATH; do
                   11915:     IFS="$lt_save_ifs"
                   11916:     test -z "$ac_dir" && ac_dir=.
                   11917:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   11918:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   11919:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   11920:       # but apparently some variants of GNU ld only accept -v.
                   11921:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   11922:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   11923:       *GNU* | *'with BFD'*)
                   11924:        test "$with_gnu_ld" != no && break
                   11925:        ;;
                   11926:       *)
                   11927:        test "$with_gnu_ld" != yes && break
                   11928:        ;;
                   11929:       esac
                   11930:     fi
                   11931:   done
                   11932:   IFS="$lt_save_ifs"
                   11933: else
                   11934:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   11935: fi
                   11936: fi
                   11937: 
                   11938: LD="$lt_cv_path_LD"
                   11939: if test -n "$LD"; then
1.11      moko     11940:   echo "$as_me:$LINENO: result: $LD" >&5
                   11941: echo "${ECHO_T}$LD" >&6
1.8       moko     11942: else
1.11      moko     11943:   echo "$as_me:$LINENO: result: no" >&5
                   11944: echo "${ECHO_T}no" >&6
1.8       moko     11945: fi
1.11      moko     11946: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   11947: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   11948:    { (exit 1); exit 1; }; }
                   11949: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   11950: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   11951: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   11952:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     11953: else
                   11954:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   11955: case `$LD -v 2>&1 </dev/null` in
                   11956: *GNU* | *'with BFD'*)
                   11957:   lt_cv_prog_gnu_ld=yes
                   11958:   ;;
                   11959: *)
                   11960:   lt_cv_prog_gnu_ld=no
                   11961:   ;;
                   11962: esac
                   11963: fi
1.11      moko     11964: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   11965: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
1.8       moko     11966: with_gnu_ld=$lt_cv_prog_gnu_ld
                   11967: 
                   11968: 
                   11969: 
                   11970: 
                   11971: 
                   11972: 
                   11973: 
                   11974:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   11975:       # archiving commands below assume that GNU ld is being used.
                   11976:       if test "$with_gnu_ld" = yes; then
                   11977:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11978:         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'
                   11979: 
                   11980:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   11981:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   11982: 
                   11983:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   11984:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   11985:         #     investigate it a little bit more. (MM)
                   11986:         wlarc='${wl}'
                   11987: 
                   11988:         # ancient GNU ld didn't support --whole-archive et. al.
                   11989:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   11990:          $GREP 'no-whole-archive' > /dev/null; then
                   11991:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   11992:         else
                   11993:           whole_archive_flag_spec_CXX=
                   11994:         fi
                   11995:       else
                   11996:         with_gnu_ld=no
                   11997:         wlarc=
                   11998: 
                   11999:         # A generic and very simple default shared library creation
                   12000:         # command for GNU C++ for the case where it uses the native
                   12001:         # linker, instead of GNU ld.  If possible, this setting should
                   12002:         # overridden to take advantage of the native linker features on
                   12003:         # the platform it is being used on.
                   12004:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12005:       fi
                   12006: 
                   12007:       # Commands to make compiler produce verbose output that lists
                   12008:       # what "hidden" libraries, object files and flags are used when
                   12009:       # linking a shared library.
                   12010:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12011: 
                   12012:     else
                   12013:       GXX=no
                   12014:       with_gnu_ld=no
                   12015:       wlarc=
                   12016:     fi
                   12017: 
                   12018:     # PORTME: fill in a description of your system's C++ link characteristics
1.11      moko     12019:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12020: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.8       moko     12021:     ld_shlibs_CXX=yes
                   12022:     case $host_os in
                   12023:       aix3*)
                   12024:         # FIXME: insert proper C++ library support
                   12025:         ld_shlibs_CXX=no
                   12026:         ;;
                   12027:       aix[4-9]*)
                   12028:         if test "$host_cpu" = ia64; then
                   12029:           # On IA64, the linker does run time linking by default, so we don't
                   12030:           # have to do anything special.
                   12031:           aix_use_runtimelinking=no
                   12032:           exp_sym_flag='-Bexport'
                   12033:           no_entry_flag=""
                   12034:         else
                   12035:           aix_use_runtimelinking=no
                   12036: 
                   12037:           # Test if we are trying to use run time linking or normal
                   12038:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12039:           # need to do runtime linking.
                   12040:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12041:            for ld_flag in $LDFLAGS; do
                   12042:              case $ld_flag in
                   12043:              *-brtl*)
                   12044:                aix_use_runtimelinking=yes
                   12045:                break
                   12046:                ;;
                   12047:              esac
                   12048:            done
                   12049:            ;;
                   12050:           esac
                   12051: 
                   12052:           exp_sym_flag='-bexport'
                   12053:           no_entry_flag='-bnoentry'
                   12054:         fi
                   12055: 
                   12056:         # When large executables or shared objects are built, AIX ld can
                   12057:         # have problems creating the table of contents.  If linking a library
                   12058:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12059:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12060:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12061: 
                   12062:         archive_cmds_CXX=''
                   12063:         hardcode_direct_CXX=yes
                   12064:         hardcode_direct_absolute_CXX=yes
                   12065:         hardcode_libdir_separator_CXX=':'
                   12066:         link_all_deplibs_CXX=yes
                   12067:         file_list_spec_CXX='${wl}-f,'
                   12068: 
                   12069:         if test "$GXX" = yes; then
                   12070:           case $host_os in aix4.[012]|aix4.[012].*)
                   12071:           # We only want to do this on AIX 4.2 and lower, the check
                   12072:           # below for broken collect2 doesn't work under 4.3+
                   12073:          collect2name=`${CC} -print-prog-name=collect2`
                   12074:          if test -f "$collect2name" &&
                   12075:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12076:          then
                   12077:            # We have reworked collect2
                   12078:            :
                   12079:          else
                   12080:            # We have old collect2
                   12081:            hardcode_direct_CXX=unsupported
                   12082:            # It fails to find uninstalled libraries when the uninstalled
                   12083:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   12084:            # to unsupported forces relinking
                   12085:            hardcode_minus_L_CXX=yes
                   12086:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12087:            hardcode_libdir_separator_CXX=
                   12088:          fi
                   12089:           esac
                   12090:           shared_flag='-shared'
                   12091:          if test "$aix_use_runtimelinking" = yes; then
                   12092:            shared_flag="$shared_flag "'${wl}-G'
                   12093:          fi
                   12094:         else
                   12095:           # not using gcc
                   12096:           if test "$host_cpu" = ia64; then
                   12097:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12098:          # chokes on -Wl,-G. The following line is correct:
                   12099:          shared_flag='-G'
                   12100:           else
                   12101:            if test "$aix_use_runtimelinking" = yes; then
                   12102:              shared_flag='${wl}-G'
                   12103:            else
                   12104:              shared_flag='${wl}-bM:SRE'
                   12105:            fi
                   12106:           fi
                   12107:         fi
                   12108: 
                   12109:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   12110:         # It seems that -bexpall does not export symbols beginning with
                   12111:         # underscore (_), so it is better to generate a list of symbols to
                   12112:        # export.
                   12113:         always_export_symbols_CXX=yes
                   12114:         if test "$aix_use_runtimelinking" = yes; then
                   12115:           # Warning - without using the other runtime loading flags (-brtl),
                   12116:           # -berok will link without error, but may produce a broken library.
                   12117:           allow_undefined_flag_CXX='-berok'
                   12118:           # Determine the default libpath from the value encoded in an empty
                   12119:           # executable.
                   12120:           if test "${lt_cv_aix_libpath+set}" = set; then
                   12121:   aix_libpath=$lt_cv_aix_libpath
                   12122: else
1.11      moko     12123:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12124:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     12125: else
1.11      moko     12126:   cat >conftest.$ac_ext <<_ACEOF
                   12127: /* confdefs.h.  */
                   12128: _ACEOF
                   12129: cat confdefs.h >>conftest.$ac_ext
                   12130: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     12131: /* end confdefs.h.  */
                   12132: 
                   12133: int
                   12134: main ()
                   12135: {
                   12136: 
                   12137:   ;
                   12138:   return 0;
                   12139: }
                   12140: _ACEOF
1.11      moko     12141: rm -f conftest.$ac_objext conftest$ac_exeext
                   12142: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12143:   (eval $ac_link) 2>conftest.er1
                   12144:   ac_status=$?
                   12145:   grep -v '^ *+' conftest.er1 >conftest.err
                   12146:   rm -f conftest.er1
                   12147:   cat conftest.err >&5
                   12148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12149:   (exit $ac_status); } &&
                   12150:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12151:                         || test ! -s conftest.err'
                   12152:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12153:   (eval $ac_try) 2>&5
                   12154:   ac_status=$?
                   12155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12156:   (exit $ac_status); }; } &&
                   12157:         { ac_try='test -s conftest$ac_exeext'
                   12158:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12159:   (eval $ac_try) 2>&5
                   12160:   ac_status=$?
                   12161:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12162:   (exit $ac_status); }; }; then
1.8       moko     12163: 
                   12164:   lt_aix_libpath_sed='
                   12165:       /Import File Strings/,/^$/ {
                   12166:          /^0/ {
                   12167:              s/^0  *\([^ ]*\) *$/\1/
                   12168:              p
                   12169:          }
                   12170:       }'
                   12171:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12172:   # Check for a 64-bit object if we didn't find anything.
                   12173:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12174:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12175:   fi
1.11      moko     12176: else
                   12177:   echo "$as_me: failed program was:" >&5
                   12178: sed 's/^/| /' conftest.$ac_ext >&5
                   12179: 
1.8       moko     12180: fi
1.11      moko     12181: rm -f conftest.err conftest.$ac_objext \
                   12182:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     12183:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12184:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12185:   fi
                   12186: 
                   12187: fi
                   12188: 
                   12189:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12190: fi
                   12191: 
                   12192:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12193: 
                   12194:           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"
                   12195:         else
                   12196:           if test "$host_cpu" = ia64; then
                   12197:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   12198:            allow_undefined_flag_CXX="-z nodefs"
                   12199:            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"
                   12200:           else
                   12201:            # Determine the default libpath from the value encoded in an
                   12202:            # empty executable.
                   12203:            if test "${lt_cv_aix_libpath+set}" = set; then
                   12204:   aix_libpath=$lt_cv_aix_libpath
                   12205: else
1.11      moko     12206:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12207:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     12208: else
1.11      moko     12209:   cat >conftest.$ac_ext <<_ACEOF
                   12210: /* confdefs.h.  */
                   12211: _ACEOF
                   12212: cat confdefs.h >>conftest.$ac_ext
                   12213: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     12214: /* end confdefs.h.  */
                   12215: 
                   12216: int
                   12217: main ()
                   12218: {
                   12219: 
                   12220:   ;
                   12221:   return 0;
                   12222: }
                   12223: _ACEOF
1.11      moko     12224: rm -f conftest.$ac_objext conftest$ac_exeext
                   12225: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12226:   (eval $ac_link) 2>conftest.er1
                   12227:   ac_status=$?
                   12228:   grep -v '^ *+' conftest.er1 >conftest.err
                   12229:   rm -f conftest.er1
                   12230:   cat conftest.err >&5
                   12231:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12232:   (exit $ac_status); } &&
                   12233:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12234:                         || test ! -s conftest.err'
                   12235:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12236:   (eval $ac_try) 2>&5
                   12237:   ac_status=$?
                   12238:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12239:   (exit $ac_status); }; } &&
                   12240:         { ac_try='test -s conftest$ac_exeext'
                   12241:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12242:   (eval $ac_try) 2>&5
                   12243:   ac_status=$?
                   12244:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12245:   (exit $ac_status); }; }; then
1.8       moko     12246: 
                   12247:   lt_aix_libpath_sed='
                   12248:       /Import File Strings/,/^$/ {
                   12249:          /^0/ {
                   12250:              s/^0  *\([^ ]*\) *$/\1/
                   12251:              p
                   12252:          }
                   12253:       }'
                   12254:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12255:   # Check for a 64-bit object if we didn't find anything.
                   12256:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12257:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12258:   fi
1.11      moko     12259: else
                   12260:   echo "$as_me: failed program was:" >&5
                   12261: sed 's/^/| /' conftest.$ac_ext >&5
                   12262: 
1.8       moko     12263: fi
1.11      moko     12264: rm -f conftest.err conftest.$ac_objext \
                   12265:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     12266:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12267:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12268:   fi
                   12269: 
                   12270: fi
                   12271: 
                   12272:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12273: fi
                   12274: 
                   12275:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12276:            # Warning - without using the other run time loading flags,
                   12277:            # -berok will link without error, but may produce a broken library.
                   12278:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   12279:            allow_undefined_flag_CXX=' ${wl}-berok'
                   12280:            if test "$with_gnu_ld" = yes; then
                   12281:              # We only use this code for GNU lds that support --whole-archive.
                   12282:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12283:            else
                   12284:              # Exported symbols can be pulled into shared objects from archives
                   12285:              whole_archive_flag_spec_CXX='$convenience'
                   12286:            fi
                   12287:            archive_cmds_need_lc_CXX=yes
                   12288:            # This is similar to how AIX traditionally builds its shared
                   12289:            # libraries.
                   12290:            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'
                   12291:           fi
                   12292:         fi
                   12293:         ;;
                   12294: 
                   12295:       beos*)
                   12296:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12297:          allow_undefined_flag_CXX=unsupported
                   12298:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12299:          # support --undefined.  This deserves some investigation.  FIXME
                   12300:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12301:        else
                   12302:          ld_shlibs_CXX=no
                   12303:        fi
                   12304:        ;;
                   12305: 
                   12306:       chorus*)
                   12307:         case $cc_basename in
                   12308:           *)
                   12309:          # FIXME: insert proper C++ library support
                   12310:          ld_shlibs_CXX=no
                   12311:          ;;
                   12312:         esac
                   12313:         ;;
                   12314: 
                   12315:       cygwin* | mingw* | pw32* | cegcc*)
                   12316:        case $GXX,$cc_basename in
                   12317:        ,cl* | no,cl*)
                   12318:          # Native MSVC
                   12319:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12320:          # no search path for DLLs.
                   12321:          hardcode_libdir_flag_spec_CXX=' '
                   12322:          allow_undefined_flag_CXX=unsupported
                   12323:          always_export_symbols_CXX=yes
                   12324:          file_list_spec_CXX='@'
                   12325:          # Tell ltmain to make .lib files, not .a files.
                   12326:          libext=lib
                   12327:          # Tell ltmain to make .dll files, not .so files.
                   12328:          shrext_cmds=".dll"
                   12329:          # FIXME: Setting linknames here is a bad hack.
                   12330:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   12331:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12332:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   12333:            else
                   12334:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   12335:            fi~
                   12336:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   12337:            linknames='
                   12338:          # The linker will not automatically build a static lib if we build a DLL.
                   12339:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   12340:          enable_shared_with_static_runtimes_CXX=yes
                   12341:          # Don't use ranlib
                   12342:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   12343:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   12344:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   12345:            case $lt_outputfile in
                   12346:              *.exe|*.EXE) ;;
                   12347:              *)
                   12348:                lt_outputfile="$lt_outputfile.exe"
                   12349:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   12350:                ;;
                   12351:            esac~
                   12352:            func_to_tool_file "$lt_outputfile"~
                   12353:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   12354:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   12355:              $RM "$lt_outputfile.manifest";
                   12356:            fi'
                   12357:          ;;
                   12358:        *)
                   12359:          # g++
                   12360:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   12361:          # as there is no search path for DLLs.
                   12362:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12363:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   12364:          allow_undefined_flag_CXX=unsupported
                   12365:          always_export_symbols_CXX=no
                   12366:          enable_shared_with_static_runtimes_CXX=yes
                   12367: 
                   12368:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   12369:            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'
                   12370:            # If the export-symbols file already is a .def file (1st line
                   12371:            # is EXPORTS), use it as is; otherwise, prepend...
                   12372:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12373:              cp $export_symbols $output_objdir/$soname.def;
                   12374:            else
                   12375:              echo EXPORTS > $output_objdir/$soname.def;
                   12376:              cat $export_symbols >> $output_objdir/$soname.def;
                   12377:            fi~
                   12378:            $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'
                   12379:          else
                   12380:            ld_shlibs_CXX=no
                   12381:          fi
                   12382:          ;;
                   12383:        esac
                   12384:        ;;
                   12385:       darwin* | rhapsody*)
                   12386: 
                   12387: 
                   12388:   archive_cmds_need_lc_CXX=no
                   12389:   hardcode_direct_CXX=no
                   12390:   hardcode_automatic_CXX=yes
                   12391:   hardcode_shlibpath_var_CXX=unsupported
                   12392:   if test "$lt_cv_ld_force_load" = "yes"; then
                   12393:     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\"`'
                   12394: 
                   12395:   else
                   12396:     whole_archive_flag_spec_CXX=''
                   12397:   fi
                   12398:   link_all_deplibs_CXX=yes
                   12399:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   12400:   case $cc_basename in
                   12401:      ifort*) _lt_dar_can_shared=yes ;;
                   12402:      *) _lt_dar_can_shared=$GCC ;;
                   12403:   esac
                   12404:   if test "$_lt_dar_can_shared" = "yes"; then
                   12405:     output_verbose_link_cmd=func_echo_all
                   12406:     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}"
                   12407:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   12408:     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}"
                   12409:     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}"
                   12410:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   12411:       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}"
                   12412:       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}"
                   12413:     fi
                   12414: 
                   12415:   else
                   12416:   ld_shlibs_CXX=no
                   12417:   fi
                   12418: 
                   12419:        ;;
                   12420: 
                   12421:       dgux*)
                   12422:         case $cc_basename in
                   12423:           ec++*)
                   12424:            # FIXME: insert proper C++ library support
                   12425:            ld_shlibs_CXX=no
                   12426:            ;;
                   12427:           ghcx*)
                   12428:            # Green Hills C++ Compiler
                   12429:            # FIXME: insert proper C++ library support
                   12430:            ld_shlibs_CXX=no
                   12431:            ;;
                   12432:           *)
                   12433:            # FIXME: insert proper C++ library support
                   12434:            ld_shlibs_CXX=no
                   12435:            ;;
                   12436:         esac
                   12437:         ;;
                   12438: 
                   12439:       freebsd2.*)
                   12440:         # C++ shared libraries reported to be fairly broken before
                   12441:        # switch to ELF
                   12442:         ld_shlibs_CXX=no
                   12443:         ;;
                   12444: 
                   12445:       freebsd-elf*)
                   12446:         archive_cmds_need_lc_CXX=no
                   12447:         ;;
                   12448: 
                   12449:       freebsd* | dragonfly*)
                   12450:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   12451:         # conventions
                   12452:         ld_shlibs_CXX=yes
                   12453:         ;;
                   12454: 
                   12455:       gnu*)
                   12456:         ;;
                   12457: 
                   12458:       haiku*)
                   12459:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12460:         link_all_deplibs_CXX=yes
                   12461:         ;;
                   12462: 
                   12463:       hpux9*)
                   12464:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   12465:         hardcode_libdir_separator_CXX=:
                   12466:         export_dynamic_flag_spec_CXX='${wl}-E'
                   12467:         hardcode_direct_CXX=yes
                   12468:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   12469:                                             # but as the default
                   12470:                                             # location of the library.
                   12471: 
                   12472:         case $cc_basename in
                   12473:           CC*)
                   12474:             # FIXME: insert proper C++ library support
                   12475:             ld_shlibs_CXX=no
                   12476:             ;;
                   12477:           aCC*)
                   12478:             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'
                   12479:             # Commands to make compiler produce verbose output that lists
                   12480:             # what "hidden" libraries, object files and flags are used when
                   12481:             # linking a shared library.
                   12482:             #
                   12483:             # There doesn't appear to be a way to prevent this compiler from
                   12484:             # explicitly linking system object files so we need to strip them
                   12485:             # from the output so that they don't get included in the library
                   12486:             # dependencies.
                   12487:             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"'
                   12488:             ;;
                   12489:           *)
                   12490:             if test "$GXX" = yes; then
                   12491:               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'
                   12492:             else
                   12493:               # FIXME: insert proper C++ library support
                   12494:               ld_shlibs_CXX=no
                   12495:             fi
                   12496:             ;;
                   12497:         esac
                   12498:         ;;
                   12499: 
                   12500:       hpux10*|hpux11*)
                   12501:         if test $with_gnu_ld = no; then
                   12502:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   12503:          hardcode_libdir_separator_CXX=:
                   12504: 
                   12505:           case $host_cpu in
                   12506:             hppa*64*|ia64*)
                   12507:               ;;
                   12508:             *)
                   12509:              export_dynamic_flag_spec_CXX='${wl}-E'
                   12510:               ;;
                   12511:           esac
                   12512:         fi
                   12513:         case $host_cpu in
                   12514:           hppa*64*|ia64*)
                   12515:             hardcode_direct_CXX=no
                   12516:             hardcode_shlibpath_var_CXX=no
                   12517:             ;;
                   12518:           *)
                   12519:             hardcode_direct_CXX=yes
                   12520:             hardcode_direct_absolute_CXX=yes
                   12521:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   12522:                                                 # but as the default
                   12523:                                                 # location of the library.
                   12524:             ;;
                   12525:         esac
                   12526: 
                   12527:         case $cc_basename in
                   12528:           CC*)
                   12529:            # FIXME: insert proper C++ library support
                   12530:            ld_shlibs_CXX=no
                   12531:            ;;
                   12532:           aCC*)
                   12533:            case $host_cpu in
                   12534:              hppa*64*)
                   12535:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12536:                ;;
                   12537:              ia64*)
                   12538:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12539:                ;;
                   12540:              *)
                   12541:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12542:                ;;
                   12543:            esac
                   12544:            # Commands to make compiler produce verbose output that lists
                   12545:            # what "hidden" libraries, object files and flags are used when
                   12546:            # linking a shared library.
                   12547:            #
                   12548:            # There doesn't appear to be a way to prevent this compiler from
                   12549:            # explicitly linking system object files so we need to strip them
                   12550:            # from the output so that they don't get included in the library
                   12551:            # dependencies.
                   12552:            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"'
                   12553:            ;;
                   12554:           *)
                   12555:            if test "$GXX" = yes; then
                   12556:              if test $with_gnu_ld = no; then
                   12557:                case $host_cpu in
                   12558:                  hppa*64*)
                   12559:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12560:                    ;;
                   12561:                  ia64*)
                   12562:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12563:                    ;;
                   12564:                  *)
                   12565:                    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'
                   12566:                    ;;
                   12567:                esac
                   12568:              fi
                   12569:            else
                   12570:              # FIXME: insert proper C++ library support
                   12571:              ld_shlibs_CXX=no
                   12572:            fi
                   12573:            ;;
                   12574:         esac
                   12575:         ;;
                   12576: 
                   12577:       interix[3-9]*)
                   12578:        hardcode_direct_CXX=no
                   12579:        hardcode_shlibpath_var_CXX=no
                   12580:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12581:        export_dynamic_flag_spec_CXX='${wl}-E'
                   12582:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   12583:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   12584:        # default) and relocated if they conflict, which is a slow very memory
                   12585:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   12586:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   12587:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   12588:        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'
                   12589:        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'
                   12590:        ;;
                   12591:       irix5* | irix6*)
                   12592:         case $cc_basename in
                   12593:           CC*)
                   12594:            # SGI C++
                   12595:            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'
                   12596: 
                   12597:            # Archives containing C++ object files must be created using
                   12598:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   12599:            # necessary to make sure instantiated templates are included
                   12600:            # in the archive.
                   12601:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   12602:            ;;
                   12603:           *)
                   12604:            if test "$GXX" = yes; then
                   12605:              if test "$with_gnu_ld" = no; then
                   12606:                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'
                   12607:              else
                   12608:                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'
                   12609:              fi
                   12610:            fi
                   12611:            link_all_deplibs_CXX=yes
                   12612:            ;;
                   12613:         esac
                   12614:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12615:         hardcode_libdir_separator_CXX=:
                   12616:         inherit_rpath_CXX=yes
                   12617:         ;;
                   12618: 
                   12619:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12620:         case $cc_basename in
                   12621:           KCC*)
                   12622:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   12623: 
                   12624:            # KCC will only create a shared library if the output file
                   12625:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   12626:            # to its proper name (with version) after linking.
                   12627:            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'
                   12628:            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'
                   12629:            # Commands to make compiler produce verbose output that lists
                   12630:            # what "hidden" libraries, object files and flags are used when
                   12631:            # linking a shared library.
                   12632:            #
                   12633:            # There doesn't appear to be a way to prevent this compiler from
                   12634:            # explicitly linking system object files so we need to strip them
                   12635:            # from the output so that they don't get included in the library
                   12636:            # dependencies.
                   12637:            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"'
                   12638: 
                   12639:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12640:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12641: 
                   12642:            # Archives containing C++ object files must be created using
                   12643:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   12644:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   12645:            ;;
                   12646:          icpc* | ecpc* )
                   12647:            # Intel C++
                   12648:            with_gnu_ld=yes
                   12649:            # version 8.0 and above of icpc choke on multiply defined symbols
                   12650:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   12651:            # earlier do not add the objects themselves.
                   12652:            case `$CC -V 2>&1` in
                   12653:              *"Version 7."*)
                   12654:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12655:                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'
                   12656:                ;;
                   12657:              *)  # Version 8.0 or newer
                   12658:                tmp_idyn=
                   12659:                case $host_cpu in
                   12660:                  ia64*) tmp_idyn=' -i_dynamic';;
                   12661:                esac
                   12662:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12663:                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'
                   12664:                ;;
                   12665:            esac
                   12666:            archive_cmds_need_lc_CXX=no
                   12667:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12668:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12669:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12670:            ;;
                   12671:           pgCC* | pgcpp*)
                   12672:             # Portland Group C++ compiler
                   12673:            case `$CC -V` in
                   12674:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   12675:              prelink_cmds_CXX='tpldir=Template.dir~
                   12676:                rm -rf $tpldir~
                   12677:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   12678:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   12679:              old_archive_cmds_CXX='tpldir=Template.dir~
                   12680:                rm -rf $tpldir~
                   12681:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   12682:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   12683:                $RANLIB $oldlib'
                   12684:              archive_cmds_CXX='tpldir=Template.dir~
                   12685:                rm -rf $tpldir~
                   12686:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   12687:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   12688:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   12689:                rm -rf $tpldir~
                   12690:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   12691:                $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'
                   12692:              ;;
                   12693:            *) # Version 6 and above use weak symbols
                   12694:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   12695:              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'
                   12696:              ;;
                   12697:            esac
                   12698: 
                   12699:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   12700:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12701:            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'
                   12702:             ;;
                   12703:          cxx*)
                   12704:            # Compaq C++
                   12705:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12706:            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'
                   12707: 
                   12708:            runpath_var=LD_RUN_PATH
                   12709:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   12710:            hardcode_libdir_separator_CXX=:
                   12711: 
                   12712:            # Commands to make compiler produce verbose output that lists
                   12713:            # what "hidden" libraries, object files and flags are used when
                   12714:            # linking a shared library.
                   12715:            #
                   12716:            # There doesn't appear to be a way to prevent this compiler from
                   12717:            # explicitly linking system object files so we need to strip them
                   12718:            # from the output so that they don't get included in the library
                   12719:            # dependencies.
                   12720:            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'
                   12721:            ;;
                   12722:          xl* | mpixl* | bgxl*)
                   12723:            # IBM XL 8.0 on PPC, with GNU ld
                   12724:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12725:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12726:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12727:            if test "x$supports_anon_versioning" = xyes; then
                   12728:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   12729:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12730:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   12731:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   12732:            fi
                   12733:            ;;
                   12734:          *)
                   12735:            case `$CC -V 2>&1 | sed 5q` in
                   12736:            *Sun\ C*)
                   12737:              # Sun C++ 5.9
                   12738:              no_undefined_flag_CXX=' -zdefs'
                   12739:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12740:              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'
                   12741:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   12742:              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'
                   12743:              compiler_needs_object_CXX=yes
                   12744: 
                   12745:              # Not sure whether something based on
                   12746:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   12747:              # would be better.
                   12748:              output_verbose_link_cmd='func_echo_all'
                   12749: 
                   12750:              # Archives containing C++ object files must be created using
                   12751:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   12752:              # necessary to make sure instantiated templates are included
                   12753:              # in the archive.
                   12754:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   12755:              ;;
                   12756:            esac
                   12757:            ;;
                   12758:        esac
                   12759:        ;;
                   12760: 
                   12761:       lynxos*)
                   12762:         # FIXME: insert proper C++ library support
                   12763:        ld_shlibs_CXX=no
                   12764:        ;;
                   12765: 
                   12766:       m88k*)
                   12767:         # FIXME: insert proper C++ library support
                   12768:         ld_shlibs_CXX=no
                   12769:        ;;
                   12770: 
                   12771:       mvs*)
                   12772:         case $cc_basename in
                   12773:           cxx*)
                   12774:            # FIXME: insert proper C++ library support
                   12775:            ld_shlibs_CXX=no
                   12776:            ;;
                   12777:          *)
                   12778:            # FIXME: insert proper C++ library support
                   12779:            ld_shlibs_CXX=no
                   12780:            ;;
                   12781:        esac
                   12782:        ;;
                   12783: 
                   12784:       netbsd*)
                   12785:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12786:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   12787:          wlarc=
                   12788:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   12789:          hardcode_direct_CXX=yes
                   12790:          hardcode_shlibpath_var_CXX=no
                   12791:        fi
                   12792:        # Workaround some broken pre-1.5 toolchains
                   12793:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   12794:        ;;
                   12795: 
                   12796:       *nto* | *qnx*)
                   12797:         ld_shlibs_CXX=yes
                   12798:        ;;
                   12799: 
                   12800:       openbsd2*)
                   12801:         # C++ shared libraries are fairly broken
                   12802:        ld_shlibs_CXX=no
                   12803:        ;;
                   12804: 
                   12805:       openbsd*)
                   12806:        if test -f /usr/libexec/ld.so; then
                   12807:          hardcode_direct_CXX=yes
                   12808:          hardcode_shlibpath_var_CXX=no
                   12809:          hardcode_direct_absolute_CXX=yes
                   12810:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12811:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12812:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12813:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   12814:            export_dynamic_flag_spec_CXX='${wl}-E'
                   12815:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12816:          fi
                   12817:          output_verbose_link_cmd=func_echo_all
                   12818:        else
                   12819:          ld_shlibs_CXX=no
                   12820:        fi
                   12821:        ;;
                   12822: 
                   12823:       osf3* | osf4* | osf5*)
                   12824:         case $cc_basename in
                   12825:           KCC*)
                   12826:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   12827: 
                   12828:            # KCC will only create a shared library if the output file
                   12829:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   12830:            # to its proper name (with version) after linking.
                   12831:            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'
                   12832: 
                   12833:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12834:            hardcode_libdir_separator_CXX=:
                   12835: 
                   12836:            # Archives containing C++ object files must be created using
                   12837:            # the KAI C++ compiler.
                   12838:            case $host in
                   12839:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   12840:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   12841:            esac
                   12842:            ;;
                   12843:           RCC*)
                   12844:            # Rational C++ 2.4.1
                   12845:            # FIXME: insert proper C++ library support
                   12846:            ld_shlibs_CXX=no
                   12847:            ;;
                   12848:           cxx*)
                   12849:            case $host in
                   12850:              osf3*)
                   12851:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   12852:                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'
                   12853:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12854:                ;;
                   12855:              *)
                   12856:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   12857:                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'
                   12858:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   12859:                  echo "-hidden">> $lib.exp~
                   12860:                  $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~
                   12861:                  $RM $lib.exp'
                   12862:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   12863:                ;;
                   12864:            esac
                   12865: 
                   12866:            hardcode_libdir_separator_CXX=:
                   12867: 
                   12868:            # Commands to make compiler produce verbose output that lists
                   12869:            # what "hidden" libraries, object files and flags are used when
                   12870:            # linking a shared library.
                   12871:            #
                   12872:            # There doesn't appear to be a way to prevent this compiler from
                   12873:            # explicitly linking system object files so we need to strip them
                   12874:            # from the output so that they don't get included in the library
                   12875:            # dependencies.
                   12876:            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"'
                   12877:            ;;
                   12878:          *)
                   12879:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   12880:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   12881:              case $host in
                   12882:                osf3*)
                   12883:                  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'
                   12884:                  ;;
                   12885:                *)
                   12886:                  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'
                   12887:                  ;;
                   12888:              esac
                   12889: 
                   12890:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12891:              hardcode_libdir_separator_CXX=:
                   12892: 
                   12893:              # Commands to make compiler produce verbose output that lists
                   12894:              # what "hidden" libraries, object files and flags are used when
                   12895:              # linking a shared library.
                   12896:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12897: 
                   12898:            else
                   12899:              # FIXME: insert proper C++ library support
                   12900:              ld_shlibs_CXX=no
                   12901:            fi
                   12902:            ;;
                   12903:         esac
                   12904:         ;;
                   12905: 
                   12906:       psos*)
                   12907:         # FIXME: insert proper C++ library support
                   12908:         ld_shlibs_CXX=no
                   12909:         ;;
                   12910: 
                   12911:       sunos4*)
                   12912:         case $cc_basename in
                   12913:           CC*)
                   12914:            # Sun C++ 4.x
                   12915:            # FIXME: insert proper C++ library support
                   12916:            ld_shlibs_CXX=no
                   12917:            ;;
                   12918:           lcc*)
                   12919:            # Lucid
                   12920:            # FIXME: insert proper C++ library support
                   12921:            ld_shlibs_CXX=no
                   12922:            ;;
                   12923:           *)
                   12924:            # FIXME: insert proper C++ library support
                   12925:            ld_shlibs_CXX=no
                   12926:            ;;
                   12927:         esac
                   12928:         ;;
                   12929: 
                   12930:       solaris*)
                   12931:         case $cc_basename in
                   12932:           CC* | sunCC*)
                   12933:            # Sun C++ 4.2, 5.x and Centerline C++
                   12934:             archive_cmds_need_lc_CXX=yes
                   12935:            no_undefined_flag_CXX=' -zdefs'
                   12936:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12937:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   12938:              $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'
                   12939: 
                   12940:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   12941:            hardcode_shlibpath_var_CXX=no
                   12942:            case $host_os in
                   12943:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   12944:              *)
                   12945:                # The compiler driver will combine and reorder linker options,
                   12946:                # but understands `-z linker_flag'.
                   12947:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   12948:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   12949:                ;;
                   12950:            esac
                   12951:            link_all_deplibs_CXX=yes
                   12952: 
                   12953:            output_verbose_link_cmd='func_echo_all'
                   12954: 
                   12955:            # Archives containing C++ object files must be created using
                   12956:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   12957:            # necessary to make sure instantiated templates are included
                   12958:            # in the archive.
                   12959:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   12960:            ;;
                   12961:           gcx*)
                   12962:            # Green Hills C++ Compiler
                   12963:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   12964: 
                   12965:            # The C++ compiler must be used to create the archive.
                   12966:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   12967:            ;;
                   12968:           *)
                   12969:            # GNU C++ compiler with Solaris linker
                   12970:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   12971:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   12972:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   12973:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   12974:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   12975:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   12976: 
                   12977:                # Commands to make compiler produce verbose output that lists
                   12978:                # what "hidden" libraries, object files and flags are used when
                   12979:                # linking a shared library.
                   12980:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12981:              else
                   12982:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   12983:                # platform.
                   12984:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   12985:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   12986:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   12987: 
                   12988:                # Commands to make compiler produce verbose output that lists
                   12989:                # what "hidden" libraries, object files and flags are used when
                   12990:                # linking a shared library.
                   12991:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12992:              fi
                   12993: 
                   12994:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   12995:              case $host_os in
                   12996:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   12997:                *)
                   12998:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   12999:                  ;;
                   13000:              esac
                   13001:            fi
                   13002:            ;;
                   13003:         esac
                   13004:         ;;
                   13005: 
                   13006:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13007:       no_undefined_flag_CXX='${wl}-z,text'
                   13008:       archive_cmds_need_lc_CXX=no
                   13009:       hardcode_shlibpath_var_CXX=no
                   13010:       runpath_var='LD_RUN_PATH'
                   13011: 
                   13012:       case $cc_basename in
                   13013:         CC*)
                   13014:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13015:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13016:          ;;
                   13017:        *)
                   13018:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13019:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13020:          ;;
                   13021:       esac
                   13022:       ;;
                   13023: 
                   13024:       sysv5* | sco3.2v5* | sco5v6*)
                   13025:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13026:        # link with -lc, and that would cause any symbols used from libc to
                   13027:        # always be unresolved, which means just about no library would
                   13028:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13029:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13030:        # as -z defs.
                   13031:        no_undefined_flag_CXX='${wl}-z,text'
                   13032:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13033:        archive_cmds_need_lc_CXX=no
                   13034:        hardcode_shlibpath_var_CXX=no
                   13035:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13036:        hardcode_libdir_separator_CXX=':'
                   13037:        link_all_deplibs_CXX=yes
                   13038:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13039:        runpath_var='LD_RUN_PATH'
                   13040: 
                   13041:        case $cc_basename in
                   13042:           CC*)
                   13043:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13044:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13045:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13046:              '"$old_archive_cmds_CXX"
                   13047:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13048:              '"$reload_cmds_CXX"
                   13049:            ;;
                   13050:          *)
                   13051:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13052:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13053:            ;;
                   13054:        esac
                   13055:       ;;
                   13056: 
                   13057:       tandem*)
                   13058:         case $cc_basename in
                   13059:           NCC*)
                   13060:            # NonStop-UX NCC 3.20
                   13061:            # FIXME: insert proper C++ library support
                   13062:            ld_shlibs_CXX=no
                   13063:            ;;
                   13064:           *)
                   13065:            # FIXME: insert proper C++ library support
                   13066:            ld_shlibs_CXX=no
                   13067:            ;;
                   13068:         esac
                   13069:         ;;
                   13070: 
                   13071:       vxworks*)
                   13072:         # FIXME: insert proper C++ library support
                   13073:         ld_shlibs_CXX=no
                   13074:         ;;
                   13075: 
                   13076:       *)
                   13077:         # FIXME: insert proper C++ library support
                   13078:         ld_shlibs_CXX=no
                   13079:         ;;
                   13080:     esac
                   13081: 
1.11      moko     13082:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   13083: echo "${ECHO_T}$ld_shlibs_CXX" >&6
1.8       moko     13084:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13085: 
                   13086:     GCC_CXX="$GXX"
                   13087:     LD_CXX="$LD"
                   13088: 
                   13089:     ## CAVEAT EMPTOR:
                   13090:     ## There is no encapsulation within the following macros, do not change
                   13091:     ## the running order or otherwise move them around unless you know exactly
                   13092:     ## what you are doing...
                   13093:     # Dependencies to place before and after the object being linked:
                   13094: predep_objects_CXX=
                   13095: postdep_objects_CXX=
                   13096: predeps_CXX=
                   13097: postdeps_CXX=
                   13098: compiler_lib_search_path_CXX=
                   13099: 
                   13100: cat > conftest.$ac_ext <<_LT_EOF
                   13101: class Foo
                   13102: {
                   13103: public:
                   13104:   Foo (void) { a = 0; }
                   13105: private:
                   13106:   int a;
                   13107: };
                   13108: _LT_EOF
                   13109: 
                   13110: 
                   13111: _lt_libdeps_save_CFLAGS=$CFLAGS
                   13112: case "$CC $CFLAGS " in #(
                   13113: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   13114: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   13115: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   13116: esac
                   13117: 
1.11      moko     13118: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     13119:   (eval $ac_compile) 2>&5
                   13120:   ac_status=$?
1.11      moko     13121:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13122:   (exit $ac_status); }; then
1.8       moko     13123:   # Parse the compiler output and extract the necessary
                   13124:   # objects, libraries and library flags.
                   13125: 
                   13126:   # Sentinel used to keep track of whether or not we are before
                   13127:   # the conftest object file.
                   13128:   pre_test_object_deps_done=no
                   13129: 
                   13130:   for p in `eval "$output_verbose_link_cmd"`; do
                   13131:     case ${prev}${p} in
                   13132: 
                   13133:     -L* | -R* | -l*)
                   13134:        # Some compilers place space between "-{L,R}" and the path.
                   13135:        # Remove the space.
                   13136:        if test $p = "-L" ||
                   13137:           test $p = "-R"; then
                   13138:         prev=$p
                   13139:         continue
                   13140:        fi
                   13141: 
                   13142:        # Expand the sysroot to ease extracting the directories later.
                   13143:        if test -z "$prev"; then
                   13144:          case $p in
                   13145:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   13146:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   13147:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   13148:          esac
                   13149:        fi
                   13150:        case $p in
                   13151:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   13152:        esac
                   13153:        if test "$pre_test_object_deps_done" = no; then
                   13154:         case ${prev} in
                   13155:         -L | -R)
                   13156:           # Internal compiler library paths should come after those
                   13157:           # provided the user.  The postdeps already come after the
                   13158:           # user supplied libs so there is no need to process them.
                   13159:           if test -z "$compiler_lib_search_path_CXX"; then
                   13160:             compiler_lib_search_path_CXX="${prev}${p}"
                   13161:           else
                   13162:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   13163:           fi
                   13164:           ;;
                   13165:         # The "-l" case would never come before the object being
                   13166:         # linked, so don't bother handling this case.
                   13167:         esac
                   13168:        else
                   13169:         if test -z "$postdeps_CXX"; then
                   13170:           postdeps_CXX="${prev}${p}"
                   13171:         else
                   13172:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   13173:         fi
                   13174:        fi
                   13175:        prev=
                   13176:        ;;
                   13177: 
                   13178:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   13179:     *.$objext)
                   13180:        # This assumes that the test object file only shows up
                   13181:        # once in the compiler output.
                   13182:        if test "$p" = "conftest.$objext"; then
                   13183:         pre_test_object_deps_done=yes
                   13184:         continue
                   13185:        fi
                   13186: 
                   13187:        if test "$pre_test_object_deps_done" = no; then
                   13188:         if test -z "$predep_objects_CXX"; then
                   13189:           predep_objects_CXX="$p"
                   13190:         else
                   13191:           predep_objects_CXX="$predep_objects_CXX $p"
                   13192:         fi
                   13193:        else
                   13194:         if test -z "$postdep_objects_CXX"; then
                   13195:           postdep_objects_CXX="$p"
                   13196:         else
                   13197:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   13198:         fi
                   13199:        fi
                   13200:        ;;
                   13201: 
                   13202:     *) ;; # Ignore the rest.
                   13203: 
                   13204:     esac
                   13205:   done
                   13206: 
                   13207:   # Clean up.
                   13208:   rm -f a.out a.exe
                   13209: else
                   13210:   echo "libtool.m4: error: problem compiling CXX test program"
                   13211: fi
                   13212: 
                   13213: $RM -f confest.$objext
                   13214: CFLAGS=$_lt_libdeps_save_CFLAGS
                   13215: 
                   13216: # PORTME: override above test on systems where it is broken
                   13217: case $host_os in
                   13218: interix[3-9]*)
                   13219:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   13220:   # hack all around it, let's just trust "g++" to DTRT.
                   13221:   predep_objects_CXX=
                   13222:   postdep_objects_CXX=
                   13223:   postdeps_CXX=
                   13224:   ;;
                   13225: 
                   13226: linux*)
                   13227:   case `$CC -V 2>&1 | sed 5q` in
                   13228:   *Sun\ C*)
                   13229:     # Sun C++ 5.9
                   13230: 
                   13231:     # The more standards-conforming stlport4 library is
                   13232:     # incompatible with the Cstd library. Avoid specifying
                   13233:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13234:     # -library=stlport4 depends on it.
                   13235:     case " $CXX $CXXFLAGS " in
                   13236:     *" -library=stlport4 "*)
                   13237:       solaris_use_stlport4=yes
                   13238:       ;;
                   13239:     esac
                   13240: 
                   13241:     if test "$solaris_use_stlport4" != yes; then
                   13242:       postdeps_CXX='-library=Cstd -library=Crun'
                   13243:     fi
                   13244:     ;;
                   13245:   esac
                   13246:   ;;
                   13247: 
                   13248: solaris*)
                   13249:   case $cc_basename in
                   13250:   CC* | sunCC*)
                   13251:     # The more standards-conforming stlport4 library is
                   13252:     # incompatible with the Cstd library. Avoid specifying
                   13253:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13254:     # -library=stlport4 depends on it.
                   13255:     case " $CXX $CXXFLAGS " in
                   13256:     *" -library=stlport4 "*)
                   13257:       solaris_use_stlport4=yes
                   13258:       ;;
                   13259:     esac
                   13260: 
                   13261:     # Adding this requires a known-good setup of shared libraries for
                   13262:     # Sun compiler versions before 5.6, else PIC objects from an old
                   13263:     # archive will be linked into the output, leading to subtle bugs.
                   13264:     if test "$solaris_use_stlport4" != yes; then
                   13265:       postdeps_CXX='-library=Cstd -library=Crun'
                   13266:     fi
                   13267:     ;;
                   13268:   esac
                   13269:   ;;
                   13270: esac
                   13271: 
                   13272: 
                   13273: case " $postdeps_CXX " in
                   13274: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   13275: esac
                   13276:  compiler_lib_search_dirs_CXX=
                   13277: if test -n "${compiler_lib_search_path_CXX}"; then
                   13278:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   13279: fi
                   13280: 
                   13281: 
                   13282: 
                   13283: 
                   13284: 
                   13285: 
                   13286: 
                   13287: 
                   13288: 
                   13289: 
                   13290: 
                   13291: 
                   13292: 
                   13293: 
                   13294: 
                   13295: 
                   13296: 
                   13297: 
                   13298: 
                   13299: 
                   13300: 
                   13301: 
                   13302: 
                   13303: 
                   13304: 
                   13305: 
                   13306: 
                   13307: 
                   13308: 
                   13309: 
                   13310: 
                   13311:     lt_prog_compiler_wl_CXX=
                   13312: lt_prog_compiler_pic_CXX=
                   13313: lt_prog_compiler_static_CXX=
                   13314: 
                   13315: 
                   13316:   # C++ specific cases for pic, static, wl, etc.
                   13317:   if test "$GXX" = yes; then
                   13318:     lt_prog_compiler_wl_CXX='-Wl,'
                   13319:     lt_prog_compiler_static_CXX='-static'
                   13320: 
                   13321:     case $host_os in
                   13322:     aix*)
                   13323:       # All AIX code is PIC.
                   13324:       if test "$host_cpu" = ia64; then
                   13325:        # AIX 5 now supports IA64 processor
                   13326:        lt_prog_compiler_static_CXX='-Bstatic'
                   13327:       fi
                   13328:       ;;
                   13329: 
                   13330:     amigaos*)
                   13331:       case $host_cpu in
                   13332:       powerpc)
                   13333:             # see comment about AmigaOS4 .so support
                   13334:             lt_prog_compiler_pic_CXX='-fPIC'
                   13335:         ;;
                   13336:       m68k)
                   13337:             # FIXME: we need at least 68020 code to build shared libraries, but
                   13338:             # adding the `-m68020' flag to GCC prevents building anything better,
                   13339:             # like `-m68040'.
                   13340:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   13341:         ;;
                   13342:       esac
                   13343:       ;;
                   13344: 
                   13345:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   13346:       # PIC is the default for these OSes.
                   13347:       ;;
                   13348:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13349:       # This hack is so that the source file can tell whether it is being
                   13350:       # built for inclusion in a dll (and should export symbols for example).
                   13351:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   13352:       # (--disable-auto-import) libraries
                   13353:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13354:       ;;
                   13355:     darwin* | rhapsody*)
                   13356:       # PIC is the default on this platform
                   13357:       # Common symbols not allowed in MH_DYLIB files
                   13358:       lt_prog_compiler_pic_CXX='-fno-common'
                   13359:       ;;
                   13360:     *djgpp*)
                   13361:       # DJGPP does not support shared libraries at all
                   13362:       lt_prog_compiler_pic_CXX=
                   13363:       ;;
                   13364:     haiku*)
                   13365:       # PIC is the default for Haiku.
                   13366:       # The "-static" flag exists, but is broken.
                   13367:       lt_prog_compiler_static_CXX=
                   13368:       ;;
                   13369:     interix[3-9]*)
                   13370:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   13371:       # Instead, we relocate shared libraries at runtime.
                   13372:       ;;
                   13373:     sysv4*MP*)
                   13374:       if test -d /usr/nec; then
                   13375:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   13376:       fi
                   13377:       ;;
                   13378:     hpux*)
                   13379:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   13380:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   13381:       # sets the default TLS model and affects inlining.
                   13382:       case $host_cpu in
                   13383:       hppa*64*)
                   13384:        ;;
                   13385:       *)
                   13386:        lt_prog_compiler_pic_CXX='-fPIC'
                   13387:        ;;
                   13388:       esac
                   13389:       ;;
                   13390:     *qnx* | *nto*)
                   13391:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13392:       # it will coredump.
                   13393:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13394:       ;;
                   13395:     *)
                   13396:       lt_prog_compiler_pic_CXX='-fPIC'
                   13397:       ;;
                   13398:     esac
                   13399:   else
                   13400:     case $host_os in
                   13401:       aix[4-9]*)
                   13402:        # All AIX code is PIC.
                   13403:        if test "$host_cpu" = ia64; then
                   13404:          # AIX 5 now supports IA64 processor
                   13405:          lt_prog_compiler_static_CXX='-Bstatic'
                   13406:        else
                   13407:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   13408:        fi
                   13409:        ;;
                   13410:       chorus*)
                   13411:        case $cc_basename in
                   13412:        cxch68*)
                   13413:          # Green Hills C++ Compiler
                   13414:          # _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"
                   13415:          ;;
                   13416:        esac
                   13417:        ;;
                   13418:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13419:        # This hack is so that the source file can tell whether it is being
                   13420:        # built for inclusion in a dll (and should export symbols for example).
                   13421:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13422:        ;;
                   13423:       dgux*)
                   13424:        case $cc_basename in
                   13425:          ec++*)
                   13426:            lt_prog_compiler_pic_CXX='-KPIC'
                   13427:            ;;
                   13428:          ghcx*)
                   13429:            # Green Hills C++ Compiler
                   13430:            lt_prog_compiler_pic_CXX='-pic'
                   13431:            ;;
                   13432:          *)
                   13433:            ;;
                   13434:        esac
                   13435:        ;;
                   13436:       freebsd* | dragonfly*)
                   13437:        # FreeBSD uses GNU C++
                   13438:        ;;
                   13439:       hpux9* | hpux10* | hpux11*)
                   13440:        case $cc_basename in
                   13441:          CC*)
                   13442:            lt_prog_compiler_wl_CXX='-Wl,'
                   13443:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   13444:            if test "$host_cpu" != ia64; then
                   13445:              lt_prog_compiler_pic_CXX='+Z'
                   13446:            fi
                   13447:            ;;
                   13448:          aCC*)
                   13449:            lt_prog_compiler_wl_CXX='-Wl,'
                   13450:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   13451:            case $host_cpu in
                   13452:            hppa*64*|ia64*)
                   13453:              # +Z the default
                   13454:              ;;
                   13455:            *)
                   13456:              lt_prog_compiler_pic_CXX='+Z'
                   13457:              ;;
                   13458:            esac
                   13459:            ;;
                   13460:          *)
                   13461:            ;;
                   13462:        esac
                   13463:        ;;
                   13464:       interix*)
                   13465:        # This is c89, which is MS Visual C++ (no shared libs)
                   13466:        # Anyone wants to do a port?
                   13467:        ;;
                   13468:       irix5* | irix6* | nonstopux*)
                   13469:        case $cc_basename in
                   13470:          CC*)
                   13471:            lt_prog_compiler_wl_CXX='-Wl,'
                   13472:            lt_prog_compiler_static_CXX='-non_shared'
                   13473:            # CC pic flag -KPIC is the default.
                   13474:            ;;
                   13475:          *)
                   13476:            ;;
                   13477:        esac
                   13478:        ;;
                   13479:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13480:        case $cc_basename in
                   13481:          KCC*)
                   13482:            # KAI C++ Compiler
                   13483:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   13484:            lt_prog_compiler_pic_CXX='-fPIC'
                   13485:            ;;
                   13486:          ecpc* )
                   13487:            # old Intel C++ for x86_64 which still supported -KPIC.
                   13488:            lt_prog_compiler_wl_CXX='-Wl,'
                   13489:            lt_prog_compiler_pic_CXX='-KPIC'
                   13490:            lt_prog_compiler_static_CXX='-static'
                   13491:            ;;
                   13492:          icpc* )
                   13493:            # Intel C++, used to be incompatible with GCC.
                   13494:            # ICC 10 doesn't accept -KPIC any more.
                   13495:            lt_prog_compiler_wl_CXX='-Wl,'
                   13496:            lt_prog_compiler_pic_CXX='-fPIC'
                   13497:            lt_prog_compiler_static_CXX='-static'
                   13498:            ;;
                   13499:          pgCC* | pgcpp*)
                   13500:            # Portland Group C++ compiler
                   13501:            lt_prog_compiler_wl_CXX='-Wl,'
                   13502:            lt_prog_compiler_pic_CXX='-fpic'
                   13503:            lt_prog_compiler_static_CXX='-Bstatic'
                   13504:            ;;
                   13505:          cxx*)
                   13506:            # Compaq C++
                   13507:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   13508:            # Linux and Compaq Tru64 Unix objects are PIC.
                   13509:            lt_prog_compiler_pic_CXX=
                   13510:            lt_prog_compiler_static_CXX='-non_shared'
                   13511:            ;;
                   13512:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   13513:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   13514:            lt_prog_compiler_wl_CXX='-Wl,'
                   13515:            lt_prog_compiler_pic_CXX='-qpic'
                   13516:            lt_prog_compiler_static_CXX='-qstaticlink'
                   13517:            ;;
                   13518:          *)
                   13519:            case `$CC -V 2>&1 | sed 5q` in
                   13520:            *Sun\ C*)
                   13521:              # Sun C++ 5.9
                   13522:              lt_prog_compiler_pic_CXX='-KPIC'
                   13523:              lt_prog_compiler_static_CXX='-Bstatic'
                   13524:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   13525:              ;;
                   13526:            esac
                   13527:            ;;
                   13528:        esac
                   13529:        ;;
                   13530:       lynxos*)
                   13531:        ;;
                   13532:       m88k*)
                   13533:        ;;
                   13534:       mvs*)
                   13535:        case $cc_basename in
                   13536:          cxx*)
                   13537:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   13538:            ;;
                   13539:          *)
                   13540:            ;;
                   13541:        esac
                   13542:        ;;
                   13543:       netbsd*)
                   13544:        ;;
                   13545:       *qnx* | *nto*)
                   13546:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13547:         # it will coredump.
                   13548:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13549:         ;;
                   13550:       osf3* | osf4* | osf5*)
                   13551:        case $cc_basename in
                   13552:          KCC*)
                   13553:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   13554:            ;;
                   13555:          RCC*)
                   13556:            # Rational C++ 2.4.1
                   13557:            lt_prog_compiler_pic_CXX='-pic'
                   13558:            ;;
                   13559:          cxx*)
                   13560:            # Digital/Compaq C++
                   13561:            lt_prog_compiler_wl_CXX='-Wl,'
                   13562:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   13563:            # Linux and Compaq Tru64 Unix objects are PIC.
                   13564:            lt_prog_compiler_pic_CXX=
                   13565:            lt_prog_compiler_static_CXX='-non_shared'
                   13566:            ;;
                   13567:          *)
                   13568:            ;;
                   13569:        esac
                   13570:        ;;
                   13571:       psos*)
                   13572:        ;;
                   13573:       solaris*)
                   13574:        case $cc_basename in
                   13575:          CC* | sunCC*)
                   13576:            # Sun C++ 4.2, 5.x and Centerline C++
                   13577:            lt_prog_compiler_pic_CXX='-KPIC'
                   13578:            lt_prog_compiler_static_CXX='-Bstatic'
                   13579:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   13580:            ;;
                   13581:          gcx*)
                   13582:            # Green Hills C++ Compiler
                   13583:            lt_prog_compiler_pic_CXX='-PIC'
                   13584:            ;;
                   13585:          *)
                   13586:            ;;
                   13587:        esac
                   13588:        ;;
                   13589:       sunos4*)
                   13590:        case $cc_basename in
                   13591:          CC*)
                   13592:            # Sun C++ 4.x
                   13593:            lt_prog_compiler_pic_CXX='-pic'
                   13594:            lt_prog_compiler_static_CXX='-Bstatic'
                   13595:            ;;
                   13596:          lcc*)
                   13597:            # Lucid
                   13598:            lt_prog_compiler_pic_CXX='-pic'
                   13599:            ;;
                   13600:          *)
                   13601:            ;;
                   13602:        esac
                   13603:        ;;
                   13604:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   13605:        case $cc_basename in
                   13606:          CC*)
                   13607:            lt_prog_compiler_wl_CXX='-Wl,'
                   13608:            lt_prog_compiler_pic_CXX='-KPIC'
                   13609:            lt_prog_compiler_static_CXX='-Bstatic'
                   13610:            ;;
                   13611:        esac
                   13612:        ;;
                   13613:       tandem*)
                   13614:        case $cc_basename in
                   13615:          NCC*)
                   13616:            # NonStop-UX NCC 3.20
                   13617:            lt_prog_compiler_pic_CXX='-KPIC'
                   13618:            ;;
                   13619:          *)
                   13620:            ;;
                   13621:        esac
                   13622:        ;;
                   13623:       vxworks*)
                   13624:        ;;
                   13625:       *)
                   13626:        lt_prog_compiler_can_build_shared_CXX=no
                   13627:        ;;
                   13628:     esac
                   13629:   fi
                   13630: 
                   13631: case $host_os in
                   13632:   # For platforms which do not support PIC, -DPIC is meaningless:
                   13633:   *djgpp*)
                   13634:     lt_prog_compiler_pic_CXX=
                   13635:     ;;
                   13636:   *)
                   13637:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   13638:     ;;
                   13639: esac
                   13640: 
1.11      moko     13641: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   13642: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   13643: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   13644:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     13645: else
                   13646:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   13647: fi
1.11      moko     13648: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   13649: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
1.8       moko     13650: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   13651: 
                   13652: #
                   13653: # Check to make sure the PIC flag actually works.
                   13654: #
                   13655: if test -n "$lt_prog_compiler_pic_CXX"; then
1.11      moko     13656:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   13657: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   13658: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   13659:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     13660: else
                   13661:   lt_cv_prog_compiler_pic_works_CXX=no
                   13662:    ac_outfile=conftest.$ac_objext
                   13663:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13664:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   13665:    # Insert the option either (1) after the last *FLAGS variable, or
                   13666:    # (2) before a word containing "conftest.", or (3) at the end.
                   13667:    # Note that $ac_compile itself does not contain backslashes and begins
                   13668:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   13669:    # The option is referenced via a variable to avoid confusing sed.
                   13670:    lt_compile=`echo "$ac_compile" | $SED \
                   13671:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   13672:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   13673:    -e 's:$: $lt_compiler_flag:'`
                   13674:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   13675:    (eval "$lt_compile" 2>conftest.err)
                   13676:    ac_status=$?
                   13677:    cat conftest.err >&5
                   13678:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13679:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   13680:      # The compiler can only warn and ignore the option if not recognized
                   13681:      # So say no if there are warnings other than the usual output.
                   13682:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   13683:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13684:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   13685:        lt_cv_prog_compiler_pic_works_CXX=yes
                   13686:      fi
                   13687:    fi
                   13688:    $RM conftest*
                   13689: 
                   13690: fi
1.11      moko     13691: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   13692: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
1.8       moko     13693: 
                   13694: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   13695:     case $lt_prog_compiler_pic_CXX in
                   13696:      "" | " "*) ;;
                   13697:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   13698:      esac
                   13699: else
                   13700:     lt_prog_compiler_pic_CXX=
                   13701:      lt_prog_compiler_can_build_shared_CXX=no
                   13702: fi
                   13703: 
                   13704: fi
                   13705: 
                   13706: 
                   13707: 
                   13708: 
                   13709: 
                   13710: #
                   13711: # Check to make sure the static flag actually works.
                   13712: #
                   13713: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.11      moko     13714: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   13715: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   13716: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   13717:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     13718: else
                   13719:   lt_cv_prog_compiler_static_works_CXX=no
                   13720:    save_LDFLAGS="$LDFLAGS"
                   13721:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   13722:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   13723:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   13724:      # The linker can only warn and ignore the option if not recognized
                   13725:      # So say no if there are warnings
                   13726:      if test -s conftest.err; then
                   13727:        # Append any errors to the config.log.
                   13728:        cat conftest.err 1>&5
                   13729:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   13730:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13731:        if diff conftest.exp conftest.er2 >/dev/null; then
                   13732:          lt_cv_prog_compiler_static_works_CXX=yes
                   13733:        fi
                   13734:      else
                   13735:        lt_cv_prog_compiler_static_works_CXX=yes
                   13736:      fi
                   13737:    fi
                   13738:    $RM -r conftest*
                   13739:    LDFLAGS="$save_LDFLAGS"
                   13740: 
                   13741: fi
1.11      moko     13742: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   13743: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
1.8       moko     13744: 
                   13745: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   13746:     :
                   13747: else
                   13748:     lt_prog_compiler_static_CXX=
                   13749: fi
                   13750: 
                   13751: 
                   13752: 
                   13753: 
1.11      moko     13754:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   13755: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   13756: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   13757:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     13758: else
                   13759:   lt_cv_prog_compiler_c_o_CXX=no
                   13760:    $RM -r conftest 2>/dev/null
                   13761:    mkdir conftest
                   13762:    cd conftest
                   13763:    mkdir out
                   13764:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13765: 
                   13766:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   13767:    # Insert the option either (1) after the last *FLAGS variable, or
                   13768:    # (2) before a word containing "conftest.", or (3) at the end.
                   13769:    # Note that $ac_compile itself does not contain backslashes and begins
                   13770:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   13771:    lt_compile=`echo "$ac_compile" | $SED \
                   13772:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   13773:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   13774:    -e 's:$: $lt_compiler_flag:'`
                   13775:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   13776:    (eval "$lt_compile" 2>out/conftest.err)
                   13777:    ac_status=$?
                   13778:    cat out/conftest.err >&5
                   13779:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13780:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   13781:    then
                   13782:      # The compiler can only warn and ignore the option if not recognized
                   13783:      # So say no if there are warnings
                   13784:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   13785:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   13786:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   13787:        lt_cv_prog_compiler_c_o_CXX=yes
                   13788:      fi
                   13789:    fi
                   13790:    chmod u+w . 2>&5
                   13791:    $RM conftest*
                   13792:    # SGI C++ compiler will create directory out/ii_files/ for
                   13793:    # template instantiation
                   13794:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   13795:    $RM out/* && rmdir out
                   13796:    cd ..
                   13797:    $RM -r conftest
                   13798:    $RM conftest*
                   13799: 
                   13800: fi
1.11      moko     13801: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   13802: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
1.8       moko     13803: 
                   13804: 
                   13805: 
1.11      moko     13806:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   13807: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   13808: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   13809:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     13810: else
                   13811:   lt_cv_prog_compiler_c_o_CXX=no
                   13812:    $RM -r conftest 2>/dev/null
                   13813:    mkdir conftest
                   13814:    cd conftest
                   13815:    mkdir out
                   13816:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13817: 
                   13818:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   13819:    # Insert the option either (1) after the last *FLAGS variable, or
                   13820:    # (2) before a word containing "conftest.", or (3) at the end.
                   13821:    # Note that $ac_compile itself does not contain backslashes and begins
                   13822:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   13823:    lt_compile=`echo "$ac_compile" | $SED \
                   13824:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   13825:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   13826:    -e 's:$: $lt_compiler_flag:'`
                   13827:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   13828:    (eval "$lt_compile" 2>out/conftest.err)
                   13829:    ac_status=$?
                   13830:    cat out/conftest.err >&5
                   13831:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13832:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   13833:    then
                   13834:      # The compiler can only warn and ignore the option if not recognized
                   13835:      # So say no if there are warnings
                   13836:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   13837:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   13838:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   13839:        lt_cv_prog_compiler_c_o_CXX=yes
                   13840:      fi
                   13841:    fi
                   13842:    chmod u+w . 2>&5
                   13843:    $RM conftest*
                   13844:    # SGI C++ compiler will create directory out/ii_files/ for
                   13845:    # template instantiation
                   13846:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   13847:    $RM out/* && rmdir out
                   13848:    cd ..
                   13849:    $RM -r conftest
                   13850:    $RM conftest*
                   13851: 
                   13852: fi
1.11      moko     13853: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   13854: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
1.8       moko     13855: 
                   13856: 
                   13857: 
                   13858: 
                   13859: hard_links="nottested"
                   13860: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   13861:   # do not overwrite the value of need_locks provided by the user
1.11      moko     13862:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   13863: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
1.8       moko     13864:   hard_links=yes
                   13865:   $RM conftest*
                   13866:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   13867:   touch conftest.a
                   13868:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   13869:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.11      moko     13870:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   13871: echo "${ECHO_T}$hard_links" >&6
1.8       moko     13872:   if test "$hard_links" = no; then
1.11      moko     13873:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   13874: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.8       moko     13875:     need_locks=warn
                   13876:   fi
                   13877: else
                   13878:   need_locks=no
                   13879: fi
                   13880: 
                   13881: 
                   13882: 
1.11      moko     13883:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13884: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
1.8       moko     13885: 
                   13886:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   13887:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   13888:   case $host_os in
                   13889:   aix[4-9]*)
                   13890:     # If we're using GNU nm, then we don't want the "-C" option.
                   13891:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   13892:     # Also, AIX nm treats weak defined symbols like other global defined
                   13893:     # symbols, whereas GNU nm marks them as "W".
                   13894:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   13895:       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'
                   13896:     else
                   13897:       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'
                   13898:     fi
                   13899:     ;;
                   13900:   pw32*)
                   13901:     export_symbols_cmds_CXX="$ltdll_cmds"
                   13902:     ;;
                   13903:   cygwin* | mingw* | cegcc*)
                   13904:     case $cc_basename in
                   13905:     cl*)
                   13906:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   13907:       ;;
                   13908:     *)
                   13909:       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'
                   13910:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   13911:       ;;
                   13912:     esac
                   13913:     ;;
                   13914:   *)
                   13915:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   13916:     ;;
                   13917:   esac
                   13918: 
1.11      moko     13919: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   13920: echo "${ECHO_T}$ld_shlibs_CXX" >&6
1.8       moko     13921: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13922: 
                   13923: with_gnu_ld_CXX=$with_gnu_ld
                   13924: 
                   13925: 
                   13926: 
                   13927: 
                   13928: 
                   13929: 
                   13930: #
                   13931: # Do we need to explicitly link libc?
                   13932: #
                   13933: case "x$archive_cmds_need_lc_CXX" in
                   13934: x|xyes)
                   13935:   # Assume -lc should be added
                   13936:   archive_cmds_need_lc_CXX=yes
                   13937: 
                   13938:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   13939:     case $archive_cmds_CXX in
                   13940:     *'~'*)
                   13941:       # FIXME: we may have to deal with multi-command sequences.
                   13942:       ;;
                   13943:     '$CC '*)
                   13944:       # Test whether the compiler implicitly links with -lc since on some
                   13945:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   13946:       # to ld, don't add -lc before -lgcc.
1.11      moko     13947:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   13948: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   13949: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   13950:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     13951: else
                   13952:   $RM conftest*
                   13953:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13954: 
1.11      moko     13955:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     13956:   (eval $ac_compile) 2>&5
                   13957:   ac_status=$?
1.11      moko     13958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13959:   (exit $ac_status); } 2>conftest.err; then
1.8       moko     13960:          soname=conftest
                   13961:          lib=conftest
                   13962:          libobjs=conftest.$ac_objext
                   13963:          deplibs=
                   13964:          wl=$lt_prog_compiler_wl_CXX
                   13965:          pic_flag=$lt_prog_compiler_pic_CXX
                   13966:          compiler_flags=-v
                   13967:          linker_flags=-v
                   13968:          verstring=
                   13969:          output_objdir=.
                   13970:          libname=conftest
                   13971:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   13972:          allow_undefined_flag_CXX=
1.11      moko     13973:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
1.8       moko     13974:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   13975:   ac_status=$?
1.11      moko     13976:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13977:   (exit $ac_status); }
1.8       moko     13978:          then
                   13979:            lt_cv_archive_cmds_need_lc_CXX=no
                   13980:          else
                   13981:            lt_cv_archive_cmds_need_lc_CXX=yes
                   13982:          fi
                   13983:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   13984:        else
                   13985:          cat conftest.err 1>&5
                   13986:        fi
                   13987:        $RM conftest*
                   13988: 
                   13989: fi
1.11      moko     13990: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   13991: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
1.8       moko     13992:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   13993:       ;;
                   13994:     esac
                   13995:   fi
                   13996:   ;;
                   13997: esac
                   13998: 
                   13999: 
                   14000: 
                   14001: 
                   14002: 
                   14003: 
                   14004: 
                   14005: 
                   14006: 
                   14007: 
                   14008: 
                   14009: 
                   14010: 
                   14011: 
                   14012: 
                   14013: 
                   14014: 
                   14015: 
                   14016: 
                   14017: 
                   14018: 
                   14019: 
                   14020: 
                   14021: 
                   14022: 
                   14023: 
                   14024: 
                   14025: 
                   14026: 
                   14027: 
                   14028: 
                   14029: 
                   14030: 
                   14031: 
                   14032: 
                   14033: 
                   14034: 
                   14035: 
                   14036: 
                   14037: 
                   14038: 
                   14039: 
                   14040: 
                   14041: 
                   14042: 
                   14043: 
                   14044: 
                   14045: 
                   14046: 
                   14047: 
                   14048: 
                   14049: 
                   14050: 
                   14051: 
                   14052: 
                   14053: 
                   14054: 
                   14055: 
                   14056: 
                   14057: 
                   14058: 
                   14059: 
1.11      moko     14060:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   14061: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
1.8       moko     14062: 
                   14063: library_names_spec=
                   14064: libname_spec='lib$name'
                   14065: soname_spec=
                   14066: shrext_cmds=".so"
                   14067: postinstall_cmds=
                   14068: postuninstall_cmds=
                   14069: finish_cmds=
                   14070: finish_eval=
                   14071: shlibpath_var=
                   14072: shlibpath_overrides_runpath=unknown
                   14073: version_type=none
                   14074: dynamic_linker="$host_os ld.so"
                   14075: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14076: need_lib_prefix=unknown
                   14077: hardcode_into_libs=no
                   14078: 
                   14079: # when you set need_version to no, make sure it does not cause -set_version
                   14080: # flags to be left without arguments
                   14081: need_version=unknown
                   14082: 
                   14083: case $host_os in
                   14084: aix3*)
                   14085:   version_type=linux # correct to gnu/linux during the next big refactor
                   14086:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   14087:   shlibpath_var=LIBPATH
                   14088: 
                   14089:   # AIX 3 has no versioning support, so we append a major version to the name.
                   14090:   soname_spec='${libname}${release}${shared_ext}$major'
                   14091:   ;;
                   14092: 
                   14093: aix[4-9]*)
                   14094:   version_type=linux # correct to gnu/linux during the next big refactor
                   14095:   need_lib_prefix=no
                   14096:   need_version=no
                   14097:   hardcode_into_libs=yes
                   14098:   if test "$host_cpu" = ia64; then
                   14099:     # AIX 5 supports IA64
                   14100:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   14101:     shlibpath_var=LD_LIBRARY_PATH
                   14102:   else
                   14103:     # With GCC up to 2.95.x, collect2 would create an import file
                   14104:     # for dependence libraries.  The import file would start with
                   14105:     # the line `#! .'.  This would cause the generated library to
                   14106:     # depend on `.', always an invalid library.  This was fixed in
                   14107:     # development snapshots of GCC prior to 3.0.
                   14108:     case $host_os in
                   14109:       aix4 | aix4.[01] | aix4.[01].*)
                   14110:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14111:           echo ' yes '
                   14112:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   14113:        :
                   14114:       else
                   14115:        can_build_shared=no
                   14116:       fi
                   14117:       ;;
                   14118:     esac
                   14119:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   14120:     # soname into executable. Probably we can add versioning support to
                   14121:     # collect2, so additional links can be useful in future.
                   14122:     if test "$aix_use_runtimelinking" = yes; then
                   14123:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14124:       # instead of lib<name>.a to let people know that these are not
                   14125:       # typical AIX shared libraries.
                   14126:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14127:     else
                   14128:       # We preserve .a as extension for shared libraries through AIX4.2
                   14129:       # and later when we are not doing run time linking.
                   14130:       library_names_spec='${libname}${release}.a $libname.a'
                   14131:       soname_spec='${libname}${release}${shared_ext}$major'
                   14132:     fi
                   14133:     shlibpath_var=LIBPATH
                   14134:   fi
                   14135:   ;;
                   14136: 
                   14137: amigaos*)
                   14138:   case $host_cpu in
                   14139:   powerpc)
                   14140:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14141:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   14142:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14143:     ;;
                   14144:   m68k)
                   14145:     library_names_spec='$libname.ixlibrary $libname.a'
                   14146:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   14147:     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'
                   14148:     ;;
                   14149:   esac
                   14150:   ;;
                   14151: 
                   14152: beos*)
                   14153:   library_names_spec='${libname}${shared_ext}'
                   14154:   dynamic_linker="$host_os ld.so"
                   14155:   shlibpath_var=LIBRARY_PATH
                   14156:   ;;
                   14157: 
                   14158: bsdi[45]*)
                   14159:   version_type=linux # correct to gnu/linux during the next big refactor
                   14160:   need_version=no
                   14161:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14162:   soname_spec='${libname}${release}${shared_ext}$major'
                   14163:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14164:   shlibpath_var=LD_LIBRARY_PATH
                   14165:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14166:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14167:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14168:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14169:   # libtool to hard-code these into programs
                   14170:   ;;
                   14171: 
                   14172: cygwin* | mingw* | pw32* | cegcc*)
                   14173:   version_type=windows
                   14174:   shrext_cmds=".dll"
                   14175:   need_version=no
                   14176:   need_lib_prefix=no
                   14177: 
                   14178:   case $GCC,$cc_basename in
                   14179:   yes,*)
                   14180:     # gcc
                   14181:     library_names_spec='$libname.dll.a'
                   14182:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14183:     postinstall_cmds='base_file=`basename \${file}`~
                   14184:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14185:       dldir=$destdir/`dirname \$dlpath`~
                   14186:       test -d \$dldir || mkdir -p \$dldir~
                   14187:       $install_prog $dir/$dlname \$dldir/$dlname~
                   14188:       chmod a+x \$dldir/$dlname~
                   14189:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14190:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14191:       fi'
                   14192:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14193:       dlpath=$dir/\$dldll~
                   14194:        $RM \$dlpath'
                   14195:     shlibpath_overrides_runpath=yes
                   14196: 
                   14197:     case $host_os in
                   14198:     cygwin*)
                   14199:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   14200:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14201: 
                   14202:       ;;
                   14203:     mingw* | cegcc*)
                   14204:       # MinGW DLLs use traditional 'lib' prefix
                   14205:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14206:       ;;
                   14207:     pw32*)
                   14208:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   14209:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14210:       ;;
                   14211:     esac
                   14212:     dynamic_linker='Win32 ld.exe'
                   14213:     ;;
                   14214: 
                   14215:   *,cl*)
                   14216:     # Native MSVC
                   14217:     libname_spec='$name'
                   14218:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14219:     library_names_spec='${libname}.dll.lib'
                   14220: 
                   14221:     case $build_os in
                   14222:     mingw*)
                   14223:       sys_lib_search_path_spec=
                   14224:       lt_save_ifs=$IFS
                   14225:       IFS=';'
                   14226:       for lt_path in $LIB
                   14227:       do
                   14228:         IFS=$lt_save_ifs
                   14229:         # Let DOS variable expansion print the short 8.3 style file name.
                   14230:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14231:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14232:       done
                   14233:       IFS=$lt_save_ifs
                   14234:       # Convert to MSYS style.
                   14235:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   14236:       ;;
                   14237:     cygwin*)
                   14238:       # Convert to unix form, then to dos form, then back to unix form
                   14239:       # but this time dos style (no spaces!) so that the unix form looks
                   14240:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14241:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14242:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14243:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14244:       ;;
                   14245:     *)
                   14246:       sys_lib_search_path_spec="$LIB"
                   14247:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14248:         # It is most probably a Windows format PATH.
                   14249:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14250:       else
                   14251:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14252:       fi
                   14253:       # FIXME: find the short name or the path components, as spaces are
                   14254:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14255:       ;;
                   14256:     esac
                   14257: 
                   14258:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14259:     postinstall_cmds='base_file=`basename \${file}`~
                   14260:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14261:       dldir=$destdir/`dirname \$dlpath`~
                   14262:       test -d \$dldir || mkdir -p \$dldir~
                   14263:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14264:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14265:       dlpath=$dir/\$dldll~
                   14266:        $RM \$dlpath'
                   14267:     shlibpath_overrides_runpath=yes
                   14268:     dynamic_linker='Win32 link.exe'
                   14269:     ;;
                   14270: 
                   14271:   *)
                   14272:     # Assume MSVC wrapper
                   14273:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   14274:     dynamic_linker='Win32 ld.exe'
                   14275:     ;;
                   14276:   esac
                   14277:   # FIXME: first we should search . and the directory the executable is in
                   14278:   shlibpath_var=PATH
                   14279:   ;;
                   14280: 
                   14281: darwin* | rhapsody*)
                   14282:   dynamic_linker="$host_os dyld"
                   14283:   version_type=darwin
                   14284:   need_lib_prefix=no
                   14285:   need_version=no
                   14286:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   14287:   soname_spec='${libname}${release}${major}$shared_ext'
                   14288:   shlibpath_overrides_runpath=yes
                   14289:   shlibpath_var=DYLD_LIBRARY_PATH
                   14290:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14291: 
                   14292:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14293:   ;;
                   14294: 
                   14295: dgux*)
                   14296:   version_type=linux # correct to gnu/linux during the next big refactor
                   14297:   need_lib_prefix=no
                   14298:   need_version=no
                   14299:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   14300:   soname_spec='${libname}${release}${shared_ext}$major'
                   14301:   shlibpath_var=LD_LIBRARY_PATH
                   14302:   ;;
                   14303: 
                   14304: freebsd* | dragonfly*)
                   14305:   # DragonFly does not have aout.  When/if they implement a new
                   14306:   # versioning mechanism, adjust this.
                   14307:   if test -x /usr/bin/objformat; then
                   14308:     objformat=`/usr/bin/objformat`
                   14309:   else
                   14310:     case $host_os in
                   14311:     freebsd[23].*) objformat=aout ;;
                   14312:     *) objformat=elf ;;
                   14313:     esac
                   14314:   fi
                   14315:   version_type=freebsd-$objformat
                   14316:   case $version_type in
                   14317:     freebsd-elf*)
                   14318:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14319:       need_version=no
                   14320:       need_lib_prefix=no
                   14321:       ;;
                   14322:     freebsd-*)
                   14323:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   14324:       need_version=yes
                   14325:       ;;
                   14326:   esac
                   14327:   shlibpath_var=LD_LIBRARY_PATH
                   14328:   case $host_os in
                   14329:   freebsd2.*)
                   14330:     shlibpath_overrides_runpath=yes
                   14331:     ;;
                   14332:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14333:     shlibpath_overrides_runpath=yes
                   14334:     hardcode_into_libs=yes
                   14335:     ;;
                   14336:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14337:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14338:     shlibpath_overrides_runpath=no
                   14339:     hardcode_into_libs=yes
                   14340:     ;;
                   14341:   *) # from 4.6 on, and DragonFly
                   14342:     shlibpath_overrides_runpath=yes
                   14343:     hardcode_into_libs=yes
                   14344:     ;;
                   14345:   esac
                   14346:   ;;
                   14347: 
                   14348: gnu*)
                   14349:   version_type=linux # correct to gnu/linux during the next big refactor
                   14350:   need_lib_prefix=no
                   14351:   need_version=no
                   14352:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14353:   soname_spec='${libname}${release}${shared_ext}$major'
                   14354:   shlibpath_var=LD_LIBRARY_PATH
                   14355:   shlibpath_overrides_runpath=no
                   14356:   hardcode_into_libs=yes
                   14357:   ;;
                   14358: 
                   14359: haiku*)
                   14360:   version_type=linux # correct to gnu/linux during the next big refactor
                   14361:   need_lib_prefix=no
                   14362:   need_version=no
                   14363:   dynamic_linker="$host_os runtime_loader"
                   14364:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14365:   soname_spec='${libname}${release}${shared_ext}$major'
                   14366:   shlibpath_var=LIBRARY_PATH
                   14367:   shlibpath_overrides_runpath=yes
                   14368:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   14369:   hardcode_into_libs=yes
                   14370:   ;;
                   14371: 
                   14372: hpux9* | hpux10* | hpux11*)
                   14373:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14374:   # link against other versions.
                   14375:   version_type=sunos
                   14376:   need_lib_prefix=no
                   14377:   need_version=no
                   14378:   case $host_cpu in
                   14379:   ia64*)
                   14380:     shrext_cmds='.so'
                   14381:     hardcode_into_libs=yes
                   14382:     dynamic_linker="$host_os dld.so"
                   14383:     shlibpath_var=LD_LIBRARY_PATH
                   14384:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14385:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14386:     soname_spec='${libname}${release}${shared_ext}$major'
                   14387:     if test "X$HPUX_IA64_MODE" = X32; then
                   14388:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   14389:     else
                   14390:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   14391:     fi
                   14392:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14393:     ;;
                   14394:   hppa*64*)
                   14395:     shrext_cmds='.sl'
                   14396:     hardcode_into_libs=yes
                   14397:     dynamic_linker="$host_os dld.sl"
                   14398:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14399:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14400:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14401:     soname_spec='${libname}${release}${shared_ext}$major'
                   14402:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14403:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14404:     ;;
                   14405:   *)
                   14406:     shrext_cmds='.sl'
                   14407:     dynamic_linker="$host_os dld.sl"
                   14408:     shlibpath_var=SHLIB_PATH
                   14409:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   14410:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14411:     soname_spec='${libname}${release}${shared_ext}$major'
                   14412:     ;;
                   14413:   esac
                   14414:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   14415:   postinstall_cmds='chmod 555 $lib'
                   14416:   # or fails outright, so override atomically:
                   14417:   install_override_mode=555
                   14418:   ;;
                   14419: 
                   14420: interix[3-9]*)
                   14421:   version_type=linux # correct to gnu/linux during the next big refactor
                   14422:   need_lib_prefix=no
                   14423:   need_version=no
                   14424:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14425:   soname_spec='${libname}${release}${shared_ext}$major'
                   14426:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   14427:   shlibpath_var=LD_LIBRARY_PATH
                   14428:   shlibpath_overrides_runpath=no
                   14429:   hardcode_into_libs=yes
                   14430:   ;;
                   14431: 
                   14432: irix5* | irix6* | nonstopux*)
                   14433:   case $host_os in
                   14434:     nonstopux*) version_type=nonstopux ;;
                   14435:     *)
                   14436:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   14437:                version_type=linux # correct to gnu/linux during the next big refactor
                   14438:        else
                   14439:                version_type=irix
                   14440:        fi ;;
                   14441:   esac
                   14442:   need_lib_prefix=no
                   14443:   need_version=no
                   14444:   soname_spec='${libname}${release}${shared_ext}$major'
                   14445:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14446:   case $host_os in
                   14447:   irix5* | nonstopux*)
                   14448:     libsuff= shlibsuff=
                   14449:     ;;
                   14450:   *)
                   14451:     case $LD in # libtool.m4 will add one of these switches to LD
                   14452:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   14453:       libsuff= shlibsuff= libmagic=32-bit;;
                   14454:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   14455:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   14456:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   14457:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   14458:     *) libsuff= shlibsuff= libmagic=never-match;;
                   14459:     esac
                   14460:     ;;
                   14461:   esac
                   14462:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   14463:   shlibpath_overrides_runpath=no
                   14464:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   14465:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   14466:   hardcode_into_libs=yes
                   14467:   ;;
                   14468: 
                   14469: # No shared lib support for Linux oldld, aout, or coff.
                   14470: linux*oldld* | linux*aout* | linux*coff*)
                   14471:   dynamic_linker=no
                   14472:   ;;
                   14473: 
                   14474: # This must be glibc/ELF.
                   14475: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14476:   version_type=linux # correct to gnu/linux during the next big refactor
                   14477:   need_lib_prefix=no
                   14478:   need_version=no
                   14479:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14480:   soname_spec='${libname}${release}${shared_ext}$major'
                   14481:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   14482:   shlibpath_var=LD_LIBRARY_PATH
                   14483:   shlibpath_overrides_runpath=no
                   14484: 
                   14485:   # Some binutils ld are patched to set DT_RUNPATH
1.11      moko     14486:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   14487:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     14488: else
                   14489:   lt_cv_shlibpath_overrides_runpath=no
                   14490:     save_LDFLAGS=$LDFLAGS
                   14491:     save_libdir=$libdir
                   14492:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   14493:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.11      moko     14494:     cat >conftest.$ac_ext <<_ACEOF
                   14495: /* confdefs.h.  */
                   14496: _ACEOF
                   14497: cat confdefs.h >>conftest.$ac_ext
                   14498: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     14499: /* end confdefs.h.  */
                   14500: 
                   14501: int
                   14502: main ()
                   14503: {
                   14504: 
                   14505:   ;
                   14506:   return 0;
                   14507: }
                   14508: _ACEOF
1.11      moko     14509: rm -f conftest.$ac_objext conftest$ac_exeext
                   14510: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   14511:   (eval $ac_link) 2>conftest.er1
                   14512:   ac_status=$?
                   14513:   grep -v '^ *+' conftest.er1 >conftest.err
                   14514:   rm -f conftest.er1
                   14515:   cat conftest.err >&5
                   14516:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14517:   (exit $ac_status); } &&
                   14518:         { ac_try='test -z "$ac_cxx_werror_flag"
                   14519:                         || test ! -s conftest.err'
                   14520:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14521:   (eval $ac_try) 2>&5
                   14522:   ac_status=$?
                   14523:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14524:   (exit $ac_status); }; } &&
                   14525:         { ac_try='test -s conftest$ac_exeext'
                   14526:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14527:   (eval $ac_try) 2>&5
                   14528:   ac_status=$?
                   14529:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14530:   (exit $ac_status); }; }; then
                   14531:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
1.8       moko     14532:   lt_cv_shlibpath_overrides_runpath=yes
                   14533: fi
1.11      moko     14534: 
                   14535: else
                   14536:   echo "$as_me: failed program was:" >&5
                   14537: sed 's/^/| /' conftest.$ac_ext >&5
                   14538: 
1.8       moko     14539: fi
1.11      moko     14540: rm -f conftest.err conftest.$ac_objext \
                   14541:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     14542:     LDFLAGS=$save_LDFLAGS
                   14543:     libdir=$save_libdir
                   14544: 
                   14545: fi
                   14546: 
                   14547:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   14548: 
                   14549:   # This implies no fast_install, which is unacceptable.
                   14550:   # Some rework will be needed to allow for fast_install
                   14551:   # before this can be enabled.
                   14552:   hardcode_into_libs=yes
                   14553: 
                   14554:   # Append ld.so.conf contents to the search path
                   14555:   if test -f /etc/ld.so.conf; then
                   14556:     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' ' '`
                   14557:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   14558:   fi
                   14559: 
                   14560:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   14561:   # powerpc, because MkLinux only supported shared libraries with the
                   14562:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   14563:   # most powerpc-linux boxes support dynamic linking these days and
                   14564:   # people can always --disable-shared, the test was removed, and we
                   14565:   # assume the GNU/Linux dynamic linker is in use.
                   14566:   dynamic_linker='GNU/Linux ld.so'
                   14567:   ;;
                   14568: 
                   14569: netbsd*)
                   14570:   version_type=sunos
                   14571:   need_lib_prefix=no
                   14572:   need_version=no
                   14573:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14574:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14575:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14576:     dynamic_linker='NetBSD (a.out) ld.so'
                   14577:   else
                   14578:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14579:     soname_spec='${libname}${release}${shared_ext}$major'
                   14580:     dynamic_linker='NetBSD ld.elf_so'
                   14581:   fi
                   14582:   shlibpath_var=LD_LIBRARY_PATH
                   14583:   shlibpath_overrides_runpath=yes
                   14584:   hardcode_into_libs=yes
                   14585:   ;;
                   14586: 
                   14587: newsos6)
                   14588:   version_type=linux # correct to gnu/linux during the next big refactor
                   14589:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14590:   shlibpath_var=LD_LIBRARY_PATH
                   14591:   shlibpath_overrides_runpath=yes
                   14592:   ;;
                   14593: 
                   14594: *nto* | *qnx*)
                   14595:   version_type=qnx
                   14596:   need_lib_prefix=no
                   14597:   need_version=no
                   14598:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14599:   soname_spec='${libname}${release}${shared_ext}$major'
                   14600:   shlibpath_var=LD_LIBRARY_PATH
                   14601:   shlibpath_overrides_runpath=no
                   14602:   hardcode_into_libs=yes
                   14603:   dynamic_linker='ldqnx.so'
                   14604:   ;;
                   14605: 
                   14606: openbsd*)
                   14607:   version_type=sunos
                   14608:   sys_lib_dlsearch_path_spec="/usr/lib"
                   14609:   need_lib_prefix=no
                   14610:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   14611:   case $host_os in
                   14612:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   14613:     *)                         need_version=no  ;;
                   14614:   esac
                   14615:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14616:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14617:   shlibpath_var=LD_LIBRARY_PATH
                   14618:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14619:     case $host_os in
                   14620:       openbsd2.[89] | openbsd2.[89].*)
                   14621:        shlibpath_overrides_runpath=no
                   14622:        ;;
                   14623:       *)
                   14624:        shlibpath_overrides_runpath=yes
                   14625:        ;;
                   14626:       esac
                   14627:   else
                   14628:     shlibpath_overrides_runpath=yes
                   14629:   fi
                   14630:   ;;
                   14631: 
                   14632: os2*)
                   14633:   libname_spec='$name'
                   14634:   shrext_cmds=".dll"
                   14635:   need_lib_prefix=no
                   14636:   library_names_spec='$libname${shared_ext} $libname.a'
                   14637:   dynamic_linker='OS/2 ld.exe'
                   14638:   shlibpath_var=LIBPATH
                   14639:   ;;
                   14640: 
                   14641: osf3* | osf4* | osf5*)
                   14642:   version_type=osf
                   14643:   need_lib_prefix=no
                   14644:   need_version=no
                   14645:   soname_spec='${libname}${release}${shared_ext}$major'
                   14646:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14647:   shlibpath_var=LD_LIBRARY_PATH
                   14648:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   14649:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   14650:   ;;
                   14651: 
                   14652: rdos*)
                   14653:   dynamic_linker=no
                   14654:   ;;
                   14655: 
                   14656: solaris*)
                   14657:   version_type=linux # correct to gnu/linux during the next big refactor
                   14658:   need_lib_prefix=no
                   14659:   need_version=no
                   14660:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14661:   soname_spec='${libname}${release}${shared_ext}$major'
                   14662:   shlibpath_var=LD_LIBRARY_PATH
                   14663:   shlibpath_overrides_runpath=yes
                   14664:   hardcode_into_libs=yes
                   14665:   # ldd complains unless libraries are executable
                   14666:   postinstall_cmds='chmod +x $lib'
                   14667:   ;;
                   14668: 
                   14669: sunos4*)
                   14670:   version_type=sunos
                   14671:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14672:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   14673:   shlibpath_var=LD_LIBRARY_PATH
                   14674:   shlibpath_overrides_runpath=yes
                   14675:   if test "$with_gnu_ld" = yes; then
                   14676:     need_lib_prefix=no
                   14677:   fi
                   14678:   need_version=yes
                   14679:   ;;
                   14680: 
                   14681: sysv4 | sysv4.3*)
                   14682:   version_type=linux # correct to gnu/linux during the next big refactor
                   14683:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14684:   soname_spec='${libname}${release}${shared_ext}$major'
                   14685:   shlibpath_var=LD_LIBRARY_PATH
                   14686:   case $host_vendor in
                   14687:     sni)
                   14688:       shlibpath_overrides_runpath=no
                   14689:       need_lib_prefix=no
                   14690:       runpath_var=LD_RUN_PATH
                   14691:       ;;
                   14692:     siemens)
                   14693:       need_lib_prefix=no
                   14694:       ;;
                   14695:     motorola)
                   14696:       need_lib_prefix=no
                   14697:       need_version=no
                   14698:       shlibpath_overrides_runpath=no
                   14699:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   14700:       ;;
                   14701:   esac
                   14702:   ;;
                   14703: 
                   14704: sysv4*MP*)
                   14705:   if test -d /usr/nec ;then
                   14706:     version_type=linux # correct to gnu/linux during the next big refactor
                   14707:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   14708:     soname_spec='$libname${shared_ext}.$major'
                   14709:     shlibpath_var=LD_LIBRARY_PATH
                   14710:   fi
                   14711:   ;;
                   14712: 
                   14713: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   14714:   version_type=freebsd-elf
                   14715:   need_lib_prefix=no
                   14716:   need_version=no
                   14717:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14718:   soname_spec='${libname}${release}${shared_ext}$major'
                   14719:   shlibpath_var=LD_LIBRARY_PATH
                   14720:   shlibpath_overrides_runpath=yes
                   14721:   hardcode_into_libs=yes
                   14722:   if test "$with_gnu_ld" = yes; then
                   14723:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   14724:   else
                   14725:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   14726:     case $host_os in
                   14727:       sco3.2v5*)
                   14728:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   14729:        ;;
                   14730:     esac
                   14731:   fi
                   14732:   sys_lib_dlsearch_path_spec='/usr/lib'
                   14733:   ;;
                   14734: 
                   14735: tpf*)
                   14736:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   14737:   version_type=linux # correct to gnu/linux during the next big refactor
                   14738:   need_lib_prefix=no
                   14739:   need_version=no
                   14740:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14741:   shlibpath_var=LD_LIBRARY_PATH
                   14742:   shlibpath_overrides_runpath=no
                   14743:   hardcode_into_libs=yes
                   14744:   ;;
                   14745: 
                   14746: uts4*)
                   14747:   version_type=linux # correct to gnu/linux during the next big refactor
                   14748:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14749:   soname_spec='${libname}${release}${shared_ext}$major'
                   14750:   shlibpath_var=LD_LIBRARY_PATH
                   14751:   ;;
                   14752: 
                   14753: *)
                   14754:   dynamic_linker=no
                   14755:   ;;
                   14756: esac
1.11      moko     14757: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   14758: echo "${ECHO_T}$dynamic_linker" >&6
1.8       moko     14759: test "$dynamic_linker" = no && can_build_shared=no
                   14760: 
                   14761: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   14762: if test "$GCC" = yes; then
                   14763:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   14764: fi
                   14765: 
                   14766: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   14767:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   14768: fi
                   14769: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   14770:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   14771: fi
                   14772: 
                   14773: 
                   14774: 
                   14775: 
                   14776: 
                   14777: 
                   14778: 
                   14779: 
                   14780: 
                   14781: 
                   14782: 
                   14783: 
                   14784: 
                   14785: 
                   14786: 
                   14787: 
                   14788: 
                   14789: 
                   14790: 
                   14791: 
                   14792: 
                   14793: 
                   14794: 
                   14795: 
                   14796: 
                   14797: 
                   14798: 
                   14799: 
                   14800: 
                   14801: 
                   14802: 
                   14803: 
                   14804: 
                   14805: 
                   14806: 
                   14807: 
                   14808: 
                   14809: 
1.11      moko     14810:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   14811: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1.8       moko     14812: hardcode_action_CXX=
                   14813: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   14814:    test -n "$runpath_var_CXX" ||
                   14815:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   14816: 
                   14817:   # We can hardcode non-existent directories.
                   14818:   if test "$hardcode_direct_CXX" != no &&
                   14819:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   14820:      # have to relink, otherwise we might link with an installed library
                   14821:      # when we should be linking with a yet-to-be-installed one
                   14822:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   14823:      test "$hardcode_minus_L_CXX" != no; then
                   14824:     # Linking always hardcodes the temporary library directory.
                   14825:     hardcode_action_CXX=relink
                   14826:   else
                   14827:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   14828:     hardcode_action_CXX=immediate
                   14829:   fi
                   14830: else
                   14831:   # We cannot hardcode anything, or else we can only hardcode existing
                   14832:   # directories.
                   14833:   hardcode_action_CXX=unsupported
                   14834: fi
1.11      moko     14835: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   14836: echo "${ECHO_T}$hardcode_action_CXX" >&6
1.8       moko     14837: 
                   14838: if test "$hardcode_action_CXX" = relink ||
                   14839:    test "$inherit_rpath_CXX" = yes; then
                   14840:   # Fast installation is not supported
                   14841:   enable_fast_install=no
                   14842: elif test "$shlibpath_overrides_runpath" = yes ||
                   14843:      test "$enable_shared" = no; then
                   14844:   # Fast installation is not necessary
                   14845:   enable_fast_install=needless
                   14846: fi
                   14847: 
                   14848: 
                   14849: 
                   14850: 
                   14851: 
                   14852: 
                   14853: 
                   14854:   fi # test -n "$compiler"
                   14855: 
                   14856:   CC=$lt_save_CC
                   14857:   CFLAGS=$lt_save_CFLAGS
                   14858:   LDCXX=$LD
                   14859:   LD=$lt_save_LD
                   14860:   GCC=$lt_save_GCC
                   14861:   with_gnu_ld=$lt_save_with_gnu_ld
                   14862:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   14863:   lt_cv_path_LD=$lt_save_path_LD
                   14864:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   14865:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   14866: fi # test "$_lt_caught_CXX_error" != yes
                   14867: 
                   14868: ac_ext=c
                   14869: ac_cpp='$CPP $CPPFLAGS'
                   14870: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   14871: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   14872: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   14873: 
                   14874: 
                   14875: 
                   14876: 
                   14877: 
                   14878: 
                   14879: 
                   14880: 
                   14881: 
                   14882: 
                   14883: 
                   14884: 
                   14885: 
                   14886: 
                   14887: 
1.11      moko     14888:                   ac_config_commands="$ac_config_commands libtool"
1.8       moko     14889: 
                   14890: 
                   14891: 
                   14892: 
                   14893: # Only expand once:
                   14894: 
                   14895: 
                   14896: 
1.11      moko     14897: case libltdl/m4 in
                   14898:   [\\/]* | ?:[\\/]* ) ac_macro_dir=libltdl/m4         ;;
                   14899:   *)                      ac_macro_dir=$srcdir/libltdl/m4 ;;
                   14900: esac
                   14901: if test -d "$ac_macro_dir"; then :
                   14902: else
                   14903:   { { echo "$as_me:$LINENO: error: cannot find macro directory \`libltdl/m4'" >&5
                   14904: echo "$as_me: error: cannot find macro directory \`libltdl/m4'" >&2;}
                   14905:    { (exit 1); exit 1; }; }
                   14906: fi
1.8       moko     14907: 
                   14908: 
                   14909: 
                   14910: 
                   14911: 
                   14912: 
                   14913: 
                   14914: 
                   14915: 
                   14916: 
                   14917: 
                   14918: 
                   14919: 
                   14920: case $enable_ltdl_convenience in
1.11      moko     14921:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   14922: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   14923:    { (exit 1); exit 1; }; } ;;
1.8       moko     14924:   "") enable_ltdl_convenience=yes
                   14925:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   14926: esac
1.11      moko     14927: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.8       moko     14928: LTDLDEPS=$LIBLTDL
                   14929: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   14930: 
                   14931: 
                   14932: 
                   14933: 
                   14934: 
                   14935: # For backwards non-gettext consistent compatibility...
                   14936: INCLTDL="$LTDLINCL"
                   14937: 
                   14938: 
                   14939: 
                   14940: 
                   14941: 
1.11      moko     14942: # Check whether --enable-static or --disable-static was given.
                   14943: if test "${enable_static+set}" = set; then
                   14944:   enableval="$enable_static"
                   14945:   p=${PACKAGE-default}
1.8       moko     14946:     case $enableval in
                   14947:     yes) enable_static=yes ;;
                   14948:     no) enable_static=no ;;
                   14949:     *)
                   14950:      enable_static=no
                   14951:       # Look at the argument we got.  We use all the common list separators.
                   14952:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   14953:       for pkg in $enableval; do
                   14954:        IFS="$lt_save_ifs"
                   14955:        if test "X$pkg" = "X$p"; then
                   14956:          enable_static=yes
                   14957:        fi
                   14958:       done
                   14959:       IFS="$lt_save_ifs"
                   14960:       ;;
                   14961:     esac
                   14962: else
                   14963:   enable_static=no
1.11      moko     14964: fi;
1.8       moko     14965: 
                   14966: 
                   14967: 
                   14968: 
                   14969: 
                   14970: enable_win32_dll=yes
                   14971: 
                   14972: case $host in
                   14973: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   14974:   if test -n "$ac_tool_prefix"; then
                   14975:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   14976: set dummy ${ac_tool_prefix}as; ac_word=$2
1.11      moko     14977: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   14978: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   14979: if test "${ac_cv_prog_AS+set}" = set; then
                   14980:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     14981: else
                   14982:   if test -n "$AS"; then
                   14983:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   14984: else
                   14985: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   14986: for as_dir in $PATH
                   14987: do
                   14988:   IFS=$as_save_IFS
                   14989:   test -z "$as_dir" && as_dir=.
1.11      moko     14990:   for ac_exec_ext in '' $ac_executable_extensions; do
                   14991:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     14992:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.11      moko     14993:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     14994:     break 2
                   14995:   fi
                   14996: done
1.11      moko     14997: done
1.8       moko     14998: 
                   14999: fi
                   15000: fi
                   15001: AS=$ac_cv_prog_AS
                   15002: if test -n "$AS"; then
1.11      moko     15003:   echo "$as_me:$LINENO: result: $AS" >&5
                   15004: echo "${ECHO_T}$AS" >&6
1.8       moko     15005: else
1.11      moko     15006:   echo "$as_me:$LINENO: result: no" >&5
                   15007: echo "${ECHO_T}no" >&6
1.8       moko     15008: fi
                   15009: 
                   15010: fi
                   15011: if test -z "$ac_cv_prog_AS"; then
                   15012:   ac_ct_AS=$AS
                   15013:   # Extract the first word of "as", so it can be a program name with args.
                   15014: set dummy as; ac_word=$2
1.11      moko     15015: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   15016: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   15017: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   15018:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15019: else
                   15020:   if test -n "$ac_ct_AS"; then
                   15021:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   15022: else
                   15023: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15024: for as_dir in $PATH
                   15025: do
                   15026:   IFS=$as_save_IFS
                   15027:   test -z "$as_dir" && as_dir=.
1.11      moko     15028:   for ac_exec_ext in '' $ac_executable_extensions; do
                   15029:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     15030:     ac_cv_prog_ac_ct_AS="as"
1.11      moko     15031:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     15032:     break 2
                   15033:   fi
                   15034: done
1.11      moko     15035: done
1.8       moko     15036: 
1.11      moko     15037:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
1.8       moko     15038: fi
                   15039: fi
                   15040: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   15041: if test -n "$ac_ct_AS"; then
1.11      moko     15042:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   15043: echo "${ECHO_T}$ac_ct_AS" >&6
1.8       moko     15044: else
1.11      moko     15045:   echo "$as_me:$LINENO: result: no" >&5
                   15046: echo "${ECHO_T}no" >&6
1.8       moko     15047: fi
                   15048: 
1.11      moko     15049:   AS=$ac_ct_AS
1.8       moko     15050: else
                   15051:   AS="$ac_cv_prog_AS"
                   15052: fi
                   15053: 
                   15054:   if test -n "$ac_tool_prefix"; then
                   15055:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   15056: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.11      moko     15057: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   15058: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   15059: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   15060:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15061: else
                   15062:   if test -n "$DLLTOOL"; then
                   15063:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   15064: else
                   15065: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15066: for as_dir in $PATH
                   15067: do
                   15068:   IFS=$as_save_IFS
                   15069:   test -z "$as_dir" && as_dir=.
1.11      moko     15070:   for ac_exec_ext in '' $ac_executable_extensions; do
                   15071:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     15072:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.11      moko     15073:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     15074:     break 2
                   15075:   fi
                   15076: done
1.11      moko     15077: done
1.8       moko     15078: 
                   15079: fi
                   15080: fi
                   15081: DLLTOOL=$ac_cv_prog_DLLTOOL
                   15082: if test -n "$DLLTOOL"; then
1.11      moko     15083:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   15084: echo "${ECHO_T}$DLLTOOL" >&6
1.8       moko     15085: else
1.11      moko     15086:   echo "$as_me:$LINENO: result: no" >&5
                   15087: echo "${ECHO_T}no" >&6
1.8       moko     15088: fi
                   15089: 
                   15090: fi
                   15091: if test -z "$ac_cv_prog_DLLTOOL"; then
                   15092:   ac_ct_DLLTOOL=$DLLTOOL
                   15093:   # Extract the first word of "dlltool", so it can be a program name with args.
                   15094: set dummy dlltool; ac_word=$2
1.11      moko     15095: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   15096: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   15097: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   15098:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15099: else
                   15100:   if test -n "$ac_ct_DLLTOOL"; then
                   15101:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   15102: else
                   15103: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15104: for as_dir in $PATH
                   15105: do
                   15106:   IFS=$as_save_IFS
                   15107:   test -z "$as_dir" && as_dir=.
1.11      moko     15108:   for ac_exec_ext in '' $ac_executable_extensions; do
                   15109:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     15110:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.11      moko     15111:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     15112:     break 2
                   15113:   fi
                   15114: done
1.11      moko     15115: done
1.8       moko     15116: 
1.11      moko     15117:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
1.8       moko     15118: fi
                   15119: fi
                   15120: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   15121: if test -n "$ac_ct_DLLTOOL"; then
1.11      moko     15122:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   15123: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
1.8       moko     15124: else
1.11      moko     15125:   echo "$as_me:$LINENO: result: no" >&5
                   15126: echo "${ECHO_T}no" >&6
1.8       moko     15127: fi
                   15128: 
1.11      moko     15129:   DLLTOOL=$ac_ct_DLLTOOL
1.8       moko     15130: else
                   15131:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   15132: fi
                   15133: 
                   15134:   if test -n "$ac_tool_prefix"; then
                   15135:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   15136: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.11      moko     15137: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   15138: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   15139: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   15140:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15141: else
                   15142:   if test -n "$OBJDUMP"; then
                   15143:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   15144: else
                   15145: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15146: for as_dir in $PATH
                   15147: do
                   15148:   IFS=$as_save_IFS
                   15149:   test -z "$as_dir" && as_dir=.
1.11      moko     15150:   for ac_exec_ext in '' $ac_executable_extensions; do
                   15151:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     15152:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.11      moko     15153:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     15154:     break 2
                   15155:   fi
                   15156: done
1.11      moko     15157: done
1.8       moko     15158: 
                   15159: fi
                   15160: fi
                   15161: OBJDUMP=$ac_cv_prog_OBJDUMP
                   15162: if test -n "$OBJDUMP"; then
1.11      moko     15163:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   15164: echo "${ECHO_T}$OBJDUMP" >&6
1.8       moko     15165: else
1.11      moko     15166:   echo "$as_me:$LINENO: result: no" >&5
                   15167: echo "${ECHO_T}no" >&6
1.8       moko     15168: fi
                   15169: 
                   15170: fi
                   15171: if test -z "$ac_cv_prog_OBJDUMP"; then
                   15172:   ac_ct_OBJDUMP=$OBJDUMP
                   15173:   # Extract the first word of "objdump", so it can be a program name with args.
                   15174: set dummy objdump; ac_word=$2
1.11      moko     15175: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   15176: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   15177: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   15178:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15179: else
                   15180:   if test -n "$ac_ct_OBJDUMP"; then
                   15181:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   15182: else
                   15183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15184: for as_dir in $PATH
                   15185: do
                   15186:   IFS=$as_save_IFS
                   15187:   test -z "$as_dir" && as_dir=.
1.11      moko     15188:   for ac_exec_ext in '' $ac_executable_extensions; do
                   15189:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.8       moko     15190:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.11      moko     15191:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8       moko     15192:     break 2
                   15193:   fi
                   15194: done
1.11      moko     15195: done
1.8       moko     15196: 
1.11      moko     15197:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
1.8       moko     15198: fi
                   15199: fi
                   15200: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   15201: if test -n "$ac_ct_OBJDUMP"; then
1.11      moko     15202:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   15203: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
1.8       moko     15204: else
1.11      moko     15205:   echo "$as_me:$LINENO: result: no" >&5
                   15206: echo "${ECHO_T}no" >&6
1.8       moko     15207: fi
                   15208: 
1.11      moko     15209:   OBJDUMP=$ac_ct_OBJDUMP
1.8       moko     15210: else
                   15211:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   15212: fi
                   15213: 
                   15214:   ;;
                   15215: esac
                   15216: 
                   15217: test -z "$AS" && AS=as
                   15218: 
                   15219: 
                   15220: 
                   15221: 
                   15222: 
                   15223: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   15224: 
                   15225: 
                   15226: test -z "$OBJDUMP" && OBJDUMP=objdump
                   15227: 
                   15228: 
                   15229: 
                   15230: 
                   15231: 
                   15232: 
1.11      moko     15233: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15234: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15235: if test "${libltdl_cv_shlibext+set}" = set; then
                   15236:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15237: else
                   15238: 
                   15239: module=yes
                   15240: eval libltdl_cv_shlibext=$shrext_cmds
                   15241: module=no
                   15242: eval libltdl_cv_shrext=$shrext_cmds
                   15243: 
                   15244: fi
1.11      moko     15245: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15246: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
1.8       moko     15247: if test -n "$libltdl_cv_shlibext"; then
                   15248: 
                   15249: cat >>confdefs.h <<_ACEOF
                   15250: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15251: _ACEOF
                   15252: 
                   15253: fi
                   15254: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15255: 
                   15256: cat >>confdefs.h <<_ACEOF
                   15257: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15258: _ACEOF
                   15259: 
                   15260: fi
                   15261: 
1.11      moko     15262: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15263: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15264: if test "${lt_cv_module_path_var+set}" = set; then
                   15265:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15266: else
                   15267:   lt_cv_module_path_var="$shlibpath_var"
                   15268: fi
1.11      moko     15269: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15270: echo "${ECHO_T}$lt_cv_module_path_var" >&6
1.8       moko     15271: if test -n "$lt_cv_module_path_var"; then
                   15272: 
                   15273: cat >>confdefs.h <<_ACEOF
                   15274: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15275: _ACEOF
                   15276: 
                   15277: fi
                   15278: 
1.11      moko     15279: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15280: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15281: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15282:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15283: else
                   15284:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15285: fi
1.11      moko     15286: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15287: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
1.8       moko     15288: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15289:   sys_dlsearch_path=
                   15290:   for dir in $lt_cv_sys_dlsearch_path; do
                   15291:     if test -z "$sys_dlsearch_path"; then
                   15292:       sys_dlsearch_path="$dir"
                   15293:     else
                   15294:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15295:     fi
                   15296:   done
                   15297: 
                   15298: cat >>confdefs.h <<_ACEOF
                   15299: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15300: _ACEOF
                   15301: 
                   15302: fi
                   15303: 
                   15304: 
                   15305: LT_DLLOADERS=
                   15306: 
                   15307: 
                   15308: ac_ext=c
                   15309: ac_cpp='$CPP $CPPFLAGS'
                   15310: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15311: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15312: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15313: 
                   15314: 
                   15315: LIBADD_DLOPEN=
1.11      moko     15316: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15317: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15318: if test "${ac_cv_search_dlopen+set}" = set; then
                   15319:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15320: else
                   15321:   ac_func_search_save_LIBS=$LIBS
1.11      moko     15322: ac_cv_search_dlopen=no
                   15323: cat >conftest.$ac_ext <<_ACEOF
                   15324: /* confdefs.h.  */
                   15325: _ACEOF
                   15326: cat confdefs.h >>conftest.$ac_ext
                   15327: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     15328: /* end confdefs.h.  */
                   15329: 
1.11      moko     15330: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     15331: #ifdef __cplusplus
                   15332: extern "C"
                   15333: #endif
1.11      moko     15334: /* We use char because int might match the return type of a gcc2
                   15335:    builtin and then its argument prototype would still apply.  */
1.8       moko     15336: char dlopen ();
                   15337: int
                   15338: main ()
                   15339: {
1.11      moko     15340: dlopen ();
1.8       moko     15341:   ;
                   15342:   return 0;
                   15343: }
                   15344: _ACEOF
1.11      moko     15345: rm -f conftest.$ac_objext conftest$ac_exeext
                   15346: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15347:   (eval $ac_link) 2>conftest.er1
                   15348:   ac_status=$?
                   15349:   grep -v '^ *+' conftest.er1 >conftest.err
                   15350:   rm -f conftest.er1
                   15351:   cat conftest.err >&5
                   15352:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15353:   (exit $ac_status); } &&
                   15354:         { ac_try='test -z "$ac_c_werror_flag"
                   15355:                         || test ! -s conftest.err'
                   15356:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15357:   (eval $ac_try) 2>&5
                   15358:   ac_status=$?
                   15359:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15360:   (exit $ac_status); }; } &&
                   15361:         { ac_try='test -s conftest$ac_exeext'
                   15362:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15363:   (eval $ac_try) 2>&5
                   15364:   ac_status=$?
                   15365:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15366:   (exit $ac_status); }; }; then
                   15367:   ac_cv_search_dlopen="none required"
                   15368: else
                   15369:   echo "$as_me: failed program was:" >&5
                   15370: sed 's/^/| /' conftest.$ac_ext >&5
                   15371: 
                   15372: fi
                   15373: rm -f conftest.err conftest.$ac_objext \
                   15374:       conftest$ac_exeext conftest.$ac_ext
                   15375: if test "$ac_cv_search_dlopen" = no; then
                   15376:   for ac_lib in dl; do
1.10      moko     15377:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
1.11      moko     15378:     cat >conftest.$ac_ext <<_ACEOF
                   15379: /* confdefs.h.  */
                   15380: _ACEOF
                   15381: cat confdefs.h >>conftest.$ac_ext
                   15382: cat >>conftest.$ac_ext <<_ACEOF
                   15383: /* end confdefs.h.  */
1.8       moko     15384: 
1.11      moko     15385: /* Override any gcc2 internal prototype to avoid an error.  */
                   15386: #ifdef __cplusplus
                   15387: extern "C"
                   15388: #endif
                   15389: /* We use char because int might match the return type of a gcc2
                   15390:    builtin and then its argument prototype would still apply.  */
                   15391: char dlopen ();
                   15392: int
                   15393: main ()
                   15394: {
                   15395: dlopen ();
                   15396:   ;
                   15397:   return 0;
                   15398: }
                   15399: _ACEOF
                   15400: rm -f conftest.$ac_objext conftest$ac_exeext
                   15401: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15402:   (eval $ac_link) 2>conftest.er1
                   15403:   ac_status=$?
                   15404:   grep -v '^ *+' conftest.er1 >conftest.err
                   15405:   rm -f conftest.er1
                   15406:   cat conftest.err >&5
                   15407:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15408:   (exit $ac_status); } &&
                   15409:         { ac_try='test -z "$ac_c_werror_flag"
                   15410:                         || test ! -s conftest.err'
                   15411:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15412:   (eval $ac_try) 2>&5
                   15413:   ac_status=$?
                   15414:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15415:   (exit $ac_status); }; } &&
                   15416:         { ac_try='test -s conftest$ac_exeext'
                   15417:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15418:   (eval $ac_try) 2>&5
                   15419:   ac_status=$?
                   15420:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15421:   (exit $ac_status); }; }; then
                   15422:   ac_cv_search_dlopen="-l$ac_lib"
                   15423: break
1.8       moko     15424: else
1.11      moko     15425:   echo "$as_me: failed program was:" >&5
                   15426: sed 's/^/| /' conftest.$ac_ext >&5
                   15427: 
                   15428: fi
                   15429: rm -f conftest.err conftest.$ac_objext \
                   15430:       conftest$ac_exeext conftest.$ac_ext
                   15431:   done
1.8       moko     15432: fi
                   15433: LIBS=$ac_func_search_save_LIBS
                   15434: fi
1.11      moko     15435: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   15436: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   15437: if test "$ac_cv_search_dlopen" != no; then
                   15438:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
1.8       moko     15439: 
1.11      moko     15440: cat >>confdefs.h <<\_ACEOF
                   15441: #define HAVE_LIBDL 1
                   15442: _ACEOF
1.8       moko     15443: 
                   15444:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   15445:          LIBADD_DLOPEN="-ldl"
                   15446:        fi
                   15447:        libltdl_cv_lib_dl_dlopen="yes"
                   15448:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15449: else
1.11      moko     15450:   cat >conftest.$ac_ext <<_ACEOF
                   15451: /* confdefs.h.  */
                   15452: _ACEOF
                   15453: cat confdefs.h >>conftest.$ac_ext
                   15454: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     15455: /* end confdefs.h.  */
                   15456: #if HAVE_DLFCN_H
                   15457: #  include <dlfcn.h>
                   15458: #endif
                   15459: 
                   15460: int
                   15461: main ()
                   15462: {
                   15463: dlopen(0, 0);
                   15464:   ;
                   15465:   return 0;
                   15466: }
                   15467: _ACEOF
1.11      moko     15468: rm -f conftest.$ac_objext conftest$ac_exeext
                   15469: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15470:   (eval $ac_link) 2>conftest.er1
                   15471:   ac_status=$?
                   15472:   grep -v '^ *+' conftest.er1 >conftest.err
                   15473:   rm -f conftest.er1
                   15474:   cat conftest.err >&5
                   15475:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15476:   (exit $ac_status); } &&
                   15477:         { ac_try='test -z "$ac_c_werror_flag"
                   15478:                         || test ! -s conftest.err'
                   15479:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15480:   (eval $ac_try) 2>&5
                   15481:   ac_status=$?
                   15482:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15483:   (exit $ac_status); }; } &&
                   15484:         { ac_try='test -s conftest$ac_exeext'
                   15485:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15486:   (eval $ac_try) 2>&5
                   15487:   ac_status=$?
                   15488:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15489:   (exit $ac_status); }; }; then
1.8       moko     15490: 
1.11      moko     15491: cat >>confdefs.h <<\_ACEOF
                   15492: #define HAVE_LIBDL 1
                   15493: _ACEOF
1.8       moko     15494: 
                   15495:            libltdl_cv_func_dlopen="yes"
                   15496:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15497: else
1.11      moko     15498:   echo "$as_me: failed program was:" >&5
                   15499: sed 's/^/| /' conftest.$ac_ext >&5
                   15500: 
                   15501: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   15502: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   15503: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   15504:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15505: else
                   15506:   ac_check_lib_save_LIBS=$LIBS
                   15507: LIBS="-lsvld  $LIBS"
1.11      moko     15508: cat >conftest.$ac_ext <<_ACEOF
                   15509: /* confdefs.h.  */
                   15510: _ACEOF
                   15511: cat confdefs.h >>conftest.$ac_ext
                   15512: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     15513: /* end confdefs.h.  */
                   15514: 
1.11      moko     15515: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     15516: #ifdef __cplusplus
                   15517: extern "C"
                   15518: #endif
1.11      moko     15519: /* We use char because int might match the return type of a gcc2
                   15520:    builtin and then its argument prototype would still apply.  */
1.8       moko     15521: char dlopen ();
                   15522: int
                   15523: main ()
                   15524: {
1.11      moko     15525: dlopen ();
1.8       moko     15526:   ;
                   15527:   return 0;
                   15528: }
                   15529: _ACEOF
1.11      moko     15530: rm -f conftest.$ac_objext conftest$ac_exeext
                   15531: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15532:   (eval $ac_link) 2>conftest.er1
                   15533:   ac_status=$?
                   15534:   grep -v '^ *+' conftest.er1 >conftest.err
                   15535:   rm -f conftest.er1
                   15536:   cat conftest.err >&5
                   15537:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15538:   (exit $ac_status); } &&
                   15539:         { ac_try='test -z "$ac_c_werror_flag"
                   15540:                         || test ! -s conftest.err'
                   15541:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15542:   (eval $ac_try) 2>&5
                   15543:   ac_status=$?
                   15544:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15545:   (exit $ac_status); }; } &&
                   15546:         { ac_try='test -s conftest$ac_exeext'
                   15547:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15548:   (eval $ac_try) 2>&5
                   15549:   ac_status=$?
                   15550:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15551:   (exit $ac_status); }; }; then
1.8       moko     15552:   ac_cv_lib_svld_dlopen=yes
                   15553: else
1.11      moko     15554:   echo "$as_me: failed program was:" >&5
                   15555: sed 's/^/| /' conftest.$ac_ext >&5
                   15556: 
                   15557: ac_cv_lib_svld_dlopen=no
1.8       moko     15558: fi
1.11      moko     15559: rm -f conftest.err conftest.$ac_objext \
                   15560:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     15561: LIBS=$ac_check_lib_save_LIBS
                   15562: fi
1.11      moko     15563: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   15564: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   15565: if test $ac_cv_lib_svld_dlopen = yes; then
1.8       moko     15566: 
1.11      moko     15567: cat >>confdefs.h <<\_ACEOF
                   15568: #define HAVE_LIBDL 1
                   15569: _ACEOF
1.8       moko     15570: 
                   15571:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   15572:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15573: fi
                   15574: 
                   15575: fi
1.11      moko     15576: rm -f conftest.err conftest.$ac_objext \
                   15577:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     15578: fi
                   15579: 
                   15580: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   15581: then
                   15582:   lt_save_LIBS="$LIBS"
                   15583:   LIBS="$LIBS $LIBADD_DLOPEN"
1.11      moko     15584: 
                   15585: for ac_func in dlerror
                   15586: do
                   15587: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   15588: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   15589: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   15590: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   15591:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15592: else
                   15593:   cat >conftest.$ac_ext <<_ACEOF
                   15594: /* confdefs.h.  */
                   15595: _ACEOF
                   15596: cat confdefs.h >>conftest.$ac_ext
                   15597: cat >>conftest.$ac_ext <<_ACEOF
                   15598: /* end confdefs.h.  */
                   15599: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   15600:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15601: #define $ac_func innocuous_$ac_func
                   15602: 
                   15603: /* System header to define __stub macros and hopefully few prototypes,
                   15604:     which can conflict with char $ac_func (); below.
                   15605:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15606:     <limits.h> exists even on freestanding compilers.  */
                   15607: 
                   15608: #ifdef __STDC__
                   15609: # include <limits.h>
                   15610: #else
                   15611: # include <assert.h>
                   15612: #endif
                   15613: 
                   15614: #undef $ac_func
                   15615: 
                   15616: /* Override any gcc2 internal prototype to avoid an error.  */
                   15617: #ifdef __cplusplus
                   15618: extern "C"
                   15619: {
                   15620: #endif
                   15621: /* We use char because int might match the return type of a gcc2
                   15622:    builtin and then its argument prototype would still apply.  */
                   15623: char $ac_func ();
                   15624: /* The GNU C library defines this for functions which it implements
                   15625:     to always fail with ENOSYS.  Some functions are actually named
                   15626:     something starting with __ and the normal name is an alias.  */
                   15627: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   15628: choke me
                   15629: #else
                   15630: char (*f) () = $ac_func;
                   15631: #endif
                   15632: #ifdef __cplusplus
                   15633: }
                   15634: #endif
                   15635: 
                   15636: int
                   15637: main ()
                   15638: {
                   15639: return f != $ac_func;
                   15640:   ;
                   15641:   return 0;
                   15642: }
                   15643: _ACEOF
                   15644: rm -f conftest.$ac_objext conftest$ac_exeext
                   15645: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15646:   (eval $ac_link) 2>conftest.er1
                   15647:   ac_status=$?
                   15648:   grep -v '^ *+' conftest.er1 >conftest.err
                   15649:   rm -f conftest.er1
                   15650:   cat conftest.err >&5
                   15651:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15652:   (exit $ac_status); } &&
                   15653:         { ac_try='test -z "$ac_c_werror_flag"
                   15654:                         || test ! -s conftest.err'
                   15655:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15656:   (eval $ac_try) 2>&5
                   15657:   ac_status=$?
                   15658:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15659:   (exit $ac_status); }; } &&
                   15660:         { ac_try='test -s conftest$ac_exeext'
                   15661:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15662:   (eval $ac_try) 2>&5
                   15663:   ac_status=$?
                   15664:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15665:   (exit $ac_status); }; }; then
                   15666:   eval "$as_ac_var=yes"
                   15667: else
                   15668:   echo "$as_me: failed program was:" >&5
                   15669: sed 's/^/| /' conftest.$ac_ext >&5
                   15670: 
                   15671: eval "$as_ac_var=no"
                   15672: fi
                   15673: rm -f conftest.err conftest.$ac_objext \
                   15674:       conftest$ac_exeext conftest.$ac_ext
                   15675: fi
                   15676: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   15677: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   15678: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.8       moko     15679:   cat >>confdefs.h <<_ACEOF
1.11      moko     15680: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.8       moko     15681: _ACEOF
                   15682: 
                   15683: fi
                   15684: done
                   15685: 
                   15686:   LIBS="$lt_save_LIBS"
                   15687: fi
                   15688: 
                   15689: 
                   15690: LIBADD_SHL_LOAD=
1.11      moko     15691: echo "$as_me:$LINENO: checking for shl_load" >&5
                   15692: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   15693: if test "${ac_cv_func_shl_load+set}" = set; then
                   15694:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15695: else
                   15696:   cat >conftest.$ac_ext <<_ACEOF
                   15697: /* confdefs.h.  */
                   15698: _ACEOF
                   15699: cat confdefs.h >>conftest.$ac_ext
                   15700: cat >>conftest.$ac_ext <<_ACEOF
                   15701: /* end confdefs.h.  */
                   15702: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   15703:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15704: #define shl_load innocuous_shl_load
                   15705: 
                   15706: /* System header to define __stub macros and hopefully few prototypes,
                   15707:     which can conflict with char shl_load (); below.
                   15708:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15709:     <limits.h> exists even on freestanding compilers.  */
                   15710: 
                   15711: #ifdef __STDC__
                   15712: # include <limits.h>
                   15713: #else
                   15714: # include <assert.h>
                   15715: #endif
                   15716: 
                   15717: #undef shl_load
                   15718: 
                   15719: /* Override any gcc2 internal prototype to avoid an error.  */
                   15720: #ifdef __cplusplus
                   15721: extern "C"
                   15722: {
                   15723: #endif
                   15724: /* We use char because int might match the return type of a gcc2
                   15725:    builtin and then its argument prototype would still apply.  */
                   15726: char shl_load ();
                   15727: /* The GNU C library defines this for functions which it implements
                   15728:     to always fail with ENOSYS.  Some functions are actually named
                   15729:     something starting with __ and the normal name is an alias.  */
                   15730: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   15731: choke me
                   15732: #else
                   15733: char (*f) () = shl_load;
                   15734: #endif
                   15735: #ifdef __cplusplus
                   15736: }
                   15737: #endif
                   15738: 
                   15739: int
                   15740: main ()
                   15741: {
                   15742: return f != shl_load;
                   15743:   ;
                   15744:   return 0;
                   15745: }
                   15746: _ACEOF
                   15747: rm -f conftest.$ac_objext conftest$ac_exeext
                   15748: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15749:   (eval $ac_link) 2>conftest.er1
                   15750:   ac_status=$?
                   15751:   grep -v '^ *+' conftest.er1 >conftest.err
                   15752:   rm -f conftest.er1
                   15753:   cat conftest.err >&5
                   15754:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15755:   (exit $ac_status); } &&
                   15756:         { ac_try='test -z "$ac_c_werror_flag"
                   15757:                         || test ! -s conftest.err'
                   15758:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15759:   (eval $ac_try) 2>&5
                   15760:   ac_status=$?
                   15761:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15762:   (exit $ac_status); }; } &&
                   15763:         { ac_try='test -s conftest$ac_exeext'
                   15764:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15765:   (eval $ac_try) 2>&5
                   15766:   ac_status=$?
                   15767:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15768:   (exit $ac_status); }; }; then
                   15769:   ac_cv_func_shl_load=yes
                   15770: else
                   15771:   echo "$as_me: failed program was:" >&5
                   15772: sed 's/^/| /' conftest.$ac_ext >&5
                   15773: 
                   15774: ac_cv_func_shl_load=no
                   15775: fi
                   15776: rm -f conftest.err conftest.$ac_objext \
                   15777:       conftest$ac_exeext conftest.$ac_ext
                   15778: fi
                   15779: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   15780: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   15781: if test $ac_cv_func_shl_load = yes; then
1.8       moko     15782: 
1.11      moko     15783: cat >>confdefs.h <<\_ACEOF
                   15784: #define HAVE_SHL_LOAD 1
                   15785: _ACEOF
1.8       moko     15786: 
                   15787:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15788: else
1.11      moko     15789:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   15790: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   15791: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   15792:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     15793: else
                   15794:   ac_check_lib_save_LIBS=$LIBS
                   15795: LIBS="-ldld  $LIBS"
1.11      moko     15796: cat >conftest.$ac_ext <<_ACEOF
                   15797: /* confdefs.h.  */
                   15798: _ACEOF
                   15799: cat confdefs.h >>conftest.$ac_ext
                   15800: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     15801: /* end confdefs.h.  */
                   15802: 
1.11      moko     15803: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     15804: #ifdef __cplusplus
                   15805: extern "C"
                   15806: #endif
1.11      moko     15807: /* We use char because int might match the return type of a gcc2
                   15808:    builtin and then its argument prototype would still apply.  */
1.8       moko     15809: char shl_load ();
                   15810: int
                   15811: main ()
                   15812: {
1.11      moko     15813: shl_load ();
1.8       moko     15814:   ;
                   15815:   return 0;
                   15816: }
                   15817: _ACEOF
1.11      moko     15818: rm -f conftest.$ac_objext conftest$ac_exeext
                   15819: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15820:   (eval $ac_link) 2>conftest.er1
                   15821:   ac_status=$?
                   15822:   grep -v '^ *+' conftest.er1 >conftest.err
                   15823:   rm -f conftest.er1
                   15824:   cat conftest.err >&5
                   15825:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15826:   (exit $ac_status); } &&
                   15827:         { ac_try='test -z "$ac_c_werror_flag"
                   15828:                         || test ! -s conftest.err'
                   15829:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15830:   (eval $ac_try) 2>&5
                   15831:   ac_status=$?
                   15832:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15833:   (exit $ac_status); }; } &&
                   15834:         { ac_try='test -s conftest$ac_exeext'
                   15835:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15836:   (eval $ac_try) 2>&5
                   15837:   ac_status=$?
                   15838:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15839:   (exit $ac_status); }; }; then
1.8       moko     15840:   ac_cv_lib_dld_shl_load=yes
                   15841: else
1.11      moko     15842:   echo "$as_me: failed program was:" >&5
                   15843: sed 's/^/| /' conftest.$ac_ext >&5
                   15844: 
                   15845: ac_cv_lib_dld_shl_load=no
1.8       moko     15846: fi
1.11      moko     15847: rm -f conftest.err conftest.$ac_objext \
                   15848:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     15849: LIBS=$ac_check_lib_save_LIBS
                   15850: fi
1.11      moko     15851: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   15852: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   15853: if test $ac_cv_lib_dld_shl_load = yes; then
1.8       moko     15854: 
1.11      moko     15855: cat >>confdefs.h <<\_ACEOF
                   15856: #define HAVE_SHL_LOAD 1
                   15857: _ACEOF
1.8       moko     15858: 
                   15859:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15860:            LIBADD_SHL_LOAD="-ldld"
                   15861: fi
                   15862: 
                   15863: fi
                   15864: 
                   15865: 
                   15866: 
                   15867: case $host_os in
                   15868: darwin[1567].*)
                   15869: # We only want this for pre-Mac OS X 10.4.
1.11      moko     15870:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   15871: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   15872: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   15873:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15874: else
                   15875:   cat >conftest.$ac_ext <<_ACEOF
                   15876: /* confdefs.h.  */
                   15877: _ACEOF
                   15878: cat confdefs.h >>conftest.$ac_ext
                   15879: cat >>conftest.$ac_ext <<_ACEOF
                   15880: /* end confdefs.h.  */
                   15881: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   15882:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15883: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   15884: 
                   15885: /* System header to define __stub macros and hopefully few prototypes,
                   15886:     which can conflict with char _dyld_func_lookup (); below.
                   15887:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15888:     <limits.h> exists even on freestanding compilers.  */
                   15889: 
                   15890: #ifdef __STDC__
                   15891: # include <limits.h>
                   15892: #else
                   15893: # include <assert.h>
                   15894: #endif
                   15895: 
                   15896: #undef _dyld_func_lookup
                   15897: 
                   15898: /* Override any gcc2 internal prototype to avoid an error.  */
                   15899: #ifdef __cplusplus
                   15900: extern "C"
                   15901: {
                   15902: #endif
                   15903: /* We use char because int might match the return type of a gcc2
                   15904:    builtin and then its argument prototype would still apply.  */
                   15905: char _dyld_func_lookup ();
                   15906: /* The GNU C library defines this for functions which it implements
                   15907:     to always fail with ENOSYS.  Some functions are actually named
                   15908:     something starting with __ and the normal name is an alias.  */
                   15909: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   15910: choke me
                   15911: #else
                   15912: char (*f) () = _dyld_func_lookup;
                   15913: #endif
                   15914: #ifdef __cplusplus
                   15915: }
                   15916: #endif
                   15917: 
                   15918: int
                   15919: main ()
                   15920: {
                   15921: return f != _dyld_func_lookup;
                   15922:   ;
                   15923:   return 0;
                   15924: }
                   15925: _ACEOF
                   15926: rm -f conftest.$ac_objext conftest$ac_exeext
                   15927: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15928:   (eval $ac_link) 2>conftest.er1
                   15929:   ac_status=$?
                   15930:   grep -v '^ *+' conftest.er1 >conftest.err
                   15931:   rm -f conftest.er1
                   15932:   cat conftest.err >&5
                   15933:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15934:   (exit $ac_status); } &&
                   15935:         { ac_try='test -z "$ac_c_werror_flag"
                   15936:                         || test ! -s conftest.err'
                   15937:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15938:   (eval $ac_try) 2>&5
                   15939:   ac_status=$?
                   15940:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15941:   (exit $ac_status); }; } &&
                   15942:         { ac_try='test -s conftest$ac_exeext'
                   15943:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15944:   (eval $ac_try) 2>&5
                   15945:   ac_status=$?
                   15946:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15947:   (exit $ac_status); }; }; then
                   15948:   ac_cv_func__dyld_func_lookup=yes
                   15949: else
                   15950:   echo "$as_me: failed program was:" >&5
                   15951: sed 's/^/| /' conftest.$ac_ext >&5
1.8       moko     15952: 
1.11      moko     15953: ac_cv_func__dyld_func_lookup=no
                   15954: fi
                   15955: rm -f conftest.err conftest.$ac_objext \
                   15956:       conftest$ac_exeext conftest.$ac_ext
                   15957: fi
                   15958: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   15959: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   15960: if test $ac_cv_func__dyld_func_lookup = yes; then
                   15961: 
                   15962: cat >>confdefs.h <<\_ACEOF
                   15963: #define HAVE_DYLD 1
                   15964: _ACEOF
1.8       moko     15965: 
                   15966:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   15967: fi
                   15968: 
                   15969:   ;;
                   15970: beos*)
                   15971:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   15972:   ;;
                   15973: cygwin* | mingw* | os2* | pw32*)
1.11      moko     15974:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   15975: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   15976: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   15977:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15978: else
                   15979:   cat >conftest.$ac_ext <<_ACEOF
                   15980: /* confdefs.h.  */
                   15981: _ACEOF
                   15982: cat confdefs.h >>conftest.$ac_ext
                   15983: cat >>conftest.$ac_ext <<_ACEOF
                   15984: /* end confdefs.h.  */
                   15985: #include <sys/cygwin.h>
                   15986: 
                   15987: int
                   15988: main ()
                   15989: {
                   15990: #ifndef cygwin_conv_path
                   15991:   char *p = (char *) cygwin_conv_path;
                   15992: #endif
                   15993: 
                   15994:   ;
                   15995:   return 0;
                   15996: }
                   15997: _ACEOF
                   15998: rm -f conftest.$ac_objext
                   15999: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16000:   (eval $ac_compile) 2>conftest.er1
                   16001:   ac_status=$?
                   16002:   grep -v '^ *+' conftest.er1 >conftest.err
                   16003:   rm -f conftest.er1
                   16004:   cat conftest.err >&5
                   16005:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16006:   (exit $ac_status); } &&
                   16007:         { ac_try='test -z "$ac_c_werror_flag"
                   16008:                         || test ! -s conftest.err'
                   16009:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16010:   (eval $ac_try) 2>&5
                   16011:   ac_status=$?
                   16012:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16013:   (exit $ac_status); }; } &&
                   16014:         { ac_try='test -s conftest.$ac_objext'
                   16015:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16016:   (eval $ac_try) 2>&5
                   16017:   ac_status=$?
                   16018:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16019:   (exit $ac_status); }; }; then
                   16020:   ac_cv_have_decl_cygwin_conv_path=yes
1.8       moko     16021: else
1.11      moko     16022:   echo "$as_me: failed program was:" >&5
                   16023: sed 's/^/| /' conftest.$ac_ext >&5
                   16024: 
                   16025: ac_cv_have_decl_cygwin_conv_path=no
                   16026: fi
                   16027: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.8       moko     16028: fi
1.11      moko     16029: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   16030: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   16031: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
1.8       moko     16032: 
                   16033: cat >>confdefs.h <<_ACEOF
1.11      moko     16034: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   16035: _ACEOF
                   16036: 
                   16037: 
                   16038: else
                   16039:   cat >>confdefs.h <<_ACEOF
                   16040: #define HAVE_DECL_CYGWIN_CONV_PATH 0
1.8       moko     16041: _ACEOF
                   16042: 
1.11      moko     16043: 
                   16044: fi
                   16045: 
                   16046: 
1.8       moko     16047:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16048:   ;;
                   16049: esac
                   16050: 
1.11      moko     16051: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   16052: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   16053: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   16054:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     16055: else
                   16056:   ac_check_lib_save_LIBS=$LIBS
                   16057: LIBS="-ldld  $LIBS"
1.11      moko     16058: cat >conftest.$ac_ext <<_ACEOF
                   16059: /* confdefs.h.  */
                   16060: _ACEOF
                   16061: cat confdefs.h >>conftest.$ac_ext
                   16062: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     16063: /* end confdefs.h.  */
                   16064: 
1.11      moko     16065: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     16066: #ifdef __cplusplus
                   16067: extern "C"
                   16068: #endif
1.11      moko     16069: /* We use char because int might match the return type of a gcc2
                   16070:    builtin and then its argument prototype would still apply.  */
1.8       moko     16071: char dld_link ();
                   16072: int
                   16073: main ()
                   16074: {
1.11      moko     16075: dld_link ();
1.8       moko     16076:   ;
                   16077:   return 0;
                   16078: }
                   16079: _ACEOF
1.11      moko     16080: rm -f conftest.$ac_objext conftest$ac_exeext
                   16081: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16082:   (eval $ac_link) 2>conftest.er1
                   16083:   ac_status=$?
                   16084:   grep -v '^ *+' conftest.er1 >conftest.err
                   16085:   rm -f conftest.er1
                   16086:   cat conftest.err >&5
                   16087:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16088:   (exit $ac_status); } &&
                   16089:         { ac_try='test -z "$ac_c_werror_flag"
                   16090:                         || test ! -s conftest.err'
                   16091:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16092:   (eval $ac_try) 2>&5
                   16093:   ac_status=$?
                   16094:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16095:   (exit $ac_status); }; } &&
                   16096:         { ac_try='test -s conftest$ac_exeext'
                   16097:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16098:   (eval $ac_try) 2>&5
                   16099:   ac_status=$?
                   16100:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16101:   (exit $ac_status); }; }; then
1.8       moko     16102:   ac_cv_lib_dld_dld_link=yes
                   16103: else
1.11      moko     16104:   echo "$as_me: failed program was:" >&5
                   16105: sed 's/^/| /' conftest.$ac_ext >&5
                   16106: 
                   16107: ac_cv_lib_dld_dld_link=no
1.8       moko     16108: fi
1.11      moko     16109: rm -f conftest.err conftest.$ac_objext \
                   16110:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     16111: LIBS=$ac_check_lib_save_LIBS
                   16112: fi
1.11      moko     16113: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16114: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16115: if test $ac_cv_lib_dld_dld_link = yes; then
1.8       moko     16116: 
1.11      moko     16117: cat >>confdefs.h <<\_ACEOF
                   16118: #define HAVE_DLD 1
                   16119: _ACEOF
1.8       moko     16120: 
                   16121:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16122: fi
                   16123: 
                   16124: 
                   16125: 
                   16126: 
                   16127: LT_DLPREOPEN=
                   16128: if test -n "$LT_DLLOADERS"
                   16129: then
                   16130:   for lt_loader in $LT_DLLOADERS; do
                   16131:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16132:   done
                   16133: 
1.11      moko     16134: cat >>confdefs.h <<\_ACEOF
                   16135: #define HAVE_LIBDLLOADER 1
                   16136: _ACEOF
1.8       moko     16137: 
                   16138: fi
                   16139: 
                   16140: 
                   16141: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16142: 
                   16143: 
                   16144: ac_ext=c
                   16145: ac_cpp='$CPP $CPPFLAGS'
                   16146: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16147: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16148: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16149: 
                   16150: 
1.11      moko     16151: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16152: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16153: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16154:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     16155: else
                   16156:   lt_cv_sys_symbol_underscore=no
                   16157:   cat > conftest.$ac_ext <<_LT_EOF
                   16158: void nm_test_func(){}
                   16159: int main(){nm_test_func;return 0;}
                   16160: _LT_EOF
1.11      moko     16161:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.8       moko     16162:   (eval $ac_compile) 2>&5
                   16163:   ac_status=$?
1.11      moko     16164:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16165:   (exit $ac_status); }; then
1.8       moko     16166:     # Now try to grab the symbols.
                   16167:     ac_nlist=conftest.nm
1.11      moko     16168:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
1.8       moko     16169:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16170:   ac_status=$?
1.11      moko     16171:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16172:   (exit $ac_status); } && test -s "$ac_nlist"; then
1.8       moko     16173:       # See whether the symbols have a leading underscore.
                   16174:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16175:         lt_cv_sys_symbol_underscore=yes
                   16176:       else
                   16177:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16178:          :
                   16179:         else
                   16180:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16181:         fi
                   16182:       fi
                   16183:     else
                   16184:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16185:     fi
                   16186:   else
                   16187:     echo "configure: failed program was:" >&5
                   16188:     cat conftest.c >&5
                   16189:   fi
                   16190:   rm -rf conftest*
                   16191: 
                   16192: fi
1.11      moko     16193: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16194: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
1.8       moko     16195:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   16196: 
                   16197: 
                   16198: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16199:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16200:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.11      moko     16201:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16202: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16203: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16204:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     16205: else
                   16206:   libltdl_cv_need_uscore=unknown
                   16207:           save_LIBS="$LIBS"
                   16208:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16209:          if test "$cross_compiling" = yes; then :
                   16210:   libltdl_cv_need_uscore=cross
                   16211: else
                   16212:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16213:   lt_status=$lt_dlunknown
                   16214:   cat > conftest.$ac_ext <<_LT_EOF
                   16215: #line $LINENO "configure"
                   16216: #include "confdefs.h"
                   16217: 
                   16218: #if HAVE_DLFCN_H
                   16219: #include <dlfcn.h>
                   16220: #endif
                   16221: 
                   16222: #include <stdio.h>
                   16223: 
                   16224: #ifdef RTLD_GLOBAL
                   16225: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16226: #else
                   16227: #  ifdef DL_GLOBAL
                   16228: #    define LT_DLGLOBAL                DL_GLOBAL
                   16229: #  else
                   16230: #    define LT_DLGLOBAL                0
                   16231: #  endif
                   16232: #endif
                   16233: 
                   16234: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16235:    find out it does not work in some platform. */
                   16236: #ifndef LT_DLLAZY_OR_NOW
                   16237: #  ifdef RTLD_LAZY
                   16238: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16239: #  else
                   16240: #    ifdef DL_LAZY
                   16241: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16242: #    else
                   16243: #      ifdef RTLD_NOW
                   16244: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16245: #      else
                   16246: #        ifdef DL_NOW
                   16247: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16248: #        else
                   16249: #          define LT_DLLAZY_OR_NOW     0
                   16250: #        endif
                   16251: #      endif
                   16252: #    endif
                   16253: #  endif
                   16254: #endif
                   16255: 
                   16256: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16257:    correspondingly for the symbols needed.  */
                   16258: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16259: int fnord () __attribute__((visibility("default")));
                   16260: #endif
                   16261: 
                   16262: int fnord () { return 42; }
                   16263: int main ()
                   16264: {
                   16265:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16266:   int status = $lt_dlunknown;
                   16267: 
                   16268:   if (self)
                   16269:     {
                   16270:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16271:       else
                   16272:         {
                   16273:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16274:           else puts (dlerror ());
                   16275:        }
                   16276:       /* dlclose (self); */
                   16277:     }
                   16278:   else
                   16279:     puts (dlerror ());
                   16280: 
                   16281:   return status;
                   16282: }
                   16283: _LT_EOF
1.11      moko     16284:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.8       moko     16285:   (eval $ac_link) 2>&5
                   16286:   ac_status=$?
1.11      moko     16287:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16288:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
1.8       moko     16289:     (./conftest; exit; ) >&5 2>/dev/null
                   16290:     lt_status=$?
                   16291:     case x$lt_status in
                   16292:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16293:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16294:       x$lt_dlunknown|x*)  ;;
                   16295:     esac
                   16296:   else :
                   16297:     # compilation failed
                   16298: 
                   16299:   fi
                   16300: fi
                   16301: rm -fr conftest*
                   16302: 
                   16303:          LIBS="$save_LIBS"
                   16304: 
                   16305: fi
1.11      moko     16306: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16307: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
1.8       moko     16308:   fi
                   16309: fi
                   16310: 
                   16311: if test x"$libltdl_cv_need_uscore" = xyes; then
                   16312: 
1.11      moko     16313: cat >>confdefs.h <<\_ACEOF
                   16314: #define NEED_USCORE 1
                   16315: _ACEOF
1.8       moko     16316: 
                   16317: fi
                   16318: 
1.11      moko     16319: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16320: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16321: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16322:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     16323: else
                   16324:   # PORTME does your system automatically load deplibs for dlopen?
                   16325:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16326:   # For now, we just catch OSes we know something about -- in the
                   16327:   # future, we'll try test this programmatically.
                   16328:   lt_cv_sys_dlopen_deplibs=unknown
                   16329:   case $host_os in
                   16330:   aix3*|aix4.1.*|aix4.2.*)
                   16331:     # Unknown whether this is true for these versions of AIX, but
                   16332:     # we want this `case' here to explicitly catch those versions.
                   16333:     lt_cv_sys_dlopen_deplibs=unknown
                   16334:     ;;
                   16335:   aix[4-9]*)
                   16336:     lt_cv_sys_dlopen_deplibs=yes
                   16337:     ;;
                   16338:   amigaos*)
                   16339:     case $host_cpu in
                   16340:     powerpc)
                   16341:       lt_cv_sys_dlopen_deplibs=no
                   16342:       ;;
                   16343:     esac
                   16344:     ;;
                   16345:   darwin*)
                   16346:     # Assuming the user has installed a libdl from somewhere, this is true
                   16347:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16348:     lt_cv_sys_dlopen_deplibs=yes
                   16349:     ;;
                   16350:   freebsd* | dragonfly*)
                   16351:     lt_cv_sys_dlopen_deplibs=yes
                   16352:     ;;
                   16353:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16354:     # GNU and its variants, using gnu ld.so (Glibc)
                   16355:     lt_cv_sys_dlopen_deplibs=yes
                   16356:     ;;
                   16357:   hpux10*|hpux11*)
                   16358:     lt_cv_sys_dlopen_deplibs=yes
                   16359:     ;;
                   16360:   interix*)
                   16361:     lt_cv_sys_dlopen_deplibs=yes
                   16362:     ;;
                   16363:   irix[12345]*|irix6.[01]*)
                   16364:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16365:     # know how it worked for any of those versions.
                   16366:     lt_cv_sys_dlopen_deplibs=unknown
                   16367:     ;;
                   16368:   irix*)
                   16369:     # The case above catches anything before 6.2, and it's known that
                   16370:     # at 6.2 and later dlopen does load deplibs.
                   16371:     lt_cv_sys_dlopen_deplibs=yes
                   16372:     ;;
                   16373:   netbsd*)
                   16374:     lt_cv_sys_dlopen_deplibs=yes
                   16375:     ;;
                   16376:   openbsd*)
                   16377:     lt_cv_sys_dlopen_deplibs=yes
                   16378:     ;;
                   16379:   osf[1234]*)
                   16380:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16381:     # it did *not* use an RPATH in a shared library to find objects the
                   16382:     # library depends on, so we explicitly say `no'.
                   16383:     lt_cv_sys_dlopen_deplibs=no
                   16384:     ;;
                   16385:   osf5.0|osf5.0a|osf5.1)
                   16386:     # dlopen *does* load deplibs and with the right loader patch applied
                   16387:     # it even uses RPATH in a shared library to search for shared objects
                   16388:     # that the library depends on, but there's no easy way to know if that
                   16389:     # patch is installed.  Since this is the case, all we can really
                   16390:     # say is unknown -- it depends on the patch being installed.  If
                   16391:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16392:     lt_cv_sys_dlopen_deplibs=unknown
                   16393:     ;;
                   16394:   osf*)
                   16395:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16396:     # the comments above for what we know about them.
                   16397:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16398:     # is used to find them so we can finally say `yes'.
                   16399:     lt_cv_sys_dlopen_deplibs=yes
                   16400:     ;;
                   16401:   qnx*)
                   16402:     lt_cv_sys_dlopen_deplibs=yes
                   16403:     ;;
                   16404:   solaris*)
                   16405:     lt_cv_sys_dlopen_deplibs=yes
                   16406:     ;;
                   16407:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16408:     libltdl_cv_sys_dlopen_deplibs=yes
                   16409:     ;;
                   16410:   esac
                   16411: 
                   16412: fi
1.11      moko     16413: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16414: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
1.8       moko     16415: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16416: 
1.11      moko     16417: cat >>confdefs.h <<\_ACEOF
                   16418: #define LTDL_DLOPEN_DEPLIBS 1
                   16419: _ACEOF
1.8       moko     16420: 
                   16421: fi
                   16422: 
                   16423: :
                   16424: 
1.11      moko     16425: 
1.8       moko     16426: for ac_header in argz.h
1.11      moko     16427: do
                   16428: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16429: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   16430: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   16431: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   16432:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16433: else
                   16434:   cat >conftest.$ac_ext <<_ACEOF
                   16435: /* confdefs.h.  */
                   16436: _ACEOF
                   16437: cat confdefs.h >>conftest.$ac_ext
                   16438: cat >>conftest.$ac_ext <<_ACEOF
                   16439: /* end confdefs.h.  */
                   16440: $ac_includes_default
                   16441: 
                   16442: #include <$ac_header>
                   16443: _ACEOF
                   16444: rm -f conftest.$ac_objext
                   16445: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16446:   (eval $ac_compile) 2>conftest.er1
                   16447:   ac_status=$?
                   16448:   grep -v '^ *+' conftest.er1 >conftest.err
                   16449:   rm -f conftest.er1
                   16450:   cat conftest.err >&5
                   16451:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16452:   (exit $ac_status); } &&
                   16453:         { ac_try='test -z "$ac_c_werror_flag"
                   16454:                         || test ! -s conftest.err'
                   16455:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16456:   (eval $ac_try) 2>&5
                   16457:   ac_status=$?
                   16458:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16459:   (exit $ac_status); }; } &&
                   16460:         { ac_try='test -s conftest.$ac_objext'
                   16461:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16462:   (eval $ac_try) 2>&5
                   16463:   ac_status=$?
                   16464:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16465:   (exit $ac_status); }; }; then
                   16466:   eval "$as_ac_Header=yes"
                   16467: else
                   16468:   echo "$as_me: failed program was:" >&5
                   16469: sed 's/^/| /' conftest.$ac_ext >&5
                   16470: 
                   16471: eval "$as_ac_Header=no"
                   16472: fi
                   16473: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16474: fi
                   16475: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   16476: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   16477: if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.8       moko     16478:   cat >>confdefs.h <<_ACEOF
1.11      moko     16479: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.8       moko     16480: _ACEOF
                   16481: 
                   16482: fi
                   16483: 
                   16484: done
                   16485: 
                   16486: 
1.11      moko     16487: echo "$as_me:$LINENO: checking for error_t" >&5
                   16488: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   16489: if test "${ac_cv_type_error_t+set}" = set; then
                   16490:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16491: else
                   16492:   cat >conftest.$ac_ext <<_ACEOF
                   16493: /* confdefs.h.  */
                   16494: _ACEOF
                   16495: cat confdefs.h >>conftest.$ac_ext
                   16496: cat >>conftest.$ac_ext <<_ACEOF
                   16497: /* end confdefs.h.  */
                   16498: #if defined(HAVE_ARGZ_H)
1.8       moko     16499: #  include <argz.h>
                   16500: #endif
1.11      moko     16501: 
                   16502: int
                   16503: main ()
                   16504: {
                   16505: if ((error_t *) 0)
                   16506:   return 0;
                   16507: if (sizeof (error_t))
                   16508:   return 0;
                   16509:   ;
                   16510:   return 0;
                   16511: }
                   16512: _ACEOF
                   16513: rm -f conftest.$ac_objext
                   16514: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16515:   (eval $ac_compile) 2>conftest.er1
                   16516:   ac_status=$?
                   16517:   grep -v '^ *+' conftest.er1 >conftest.err
                   16518:   rm -f conftest.er1
                   16519:   cat conftest.err >&5
                   16520:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16521:   (exit $ac_status); } &&
                   16522:         { ac_try='test -z "$ac_c_werror_flag"
                   16523:                         || test ! -s conftest.err'
                   16524:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16525:   (eval $ac_try) 2>&5
                   16526:   ac_status=$?
                   16527:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16528:   (exit $ac_status); }; } &&
                   16529:         { ac_try='test -s conftest.$ac_objext'
                   16530:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16531:   (eval $ac_try) 2>&5
                   16532:   ac_status=$?
                   16533:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16534:   (exit $ac_status); }; }; then
                   16535:   ac_cv_type_error_t=yes
                   16536: else
                   16537:   echo "$as_me: failed program was:" >&5
                   16538: sed 's/^/| /' conftest.$ac_ext >&5
                   16539: 
                   16540: ac_cv_type_error_t=no
                   16541: fi
                   16542: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16543: fi
                   16544: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   16545: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   16546: if test $ac_cv_type_error_t = yes; then
1.8       moko     16547: 
                   16548: cat >>confdefs.h <<_ACEOF
                   16549: #define HAVE_ERROR_T 1
                   16550: _ACEOF
                   16551: 
                   16552: 
                   16553: else
                   16554: 
1.11      moko     16555: cat >>confdefs.h <<\_ACEOF
                   16556: #define error_t int
                   16557: _ACEOF
1.8       moko     16558: 
                   16559: 
1.11      moko     16560: cat >>confdefs.h <<\_ACEOF
                   16561: #define __error_t_defined 1
                   16562: _ACEOF
1.8       moko     16563: 
                   16564: fi
                   16565: 
                   16566: 
                   16567: ARGZ_H=
1.11      moko     16568: 
                   16569: 
                   16570: 
                   16571: 
                   16572: 
                   16573: 
                   16574: 
1.8       moko     16575: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16576:        argz_next argz_stringify
1.11      moko     16577: do
                   16578: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16579: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16580: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16581: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16582:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16583: else
                   16584:   cat >conftest.$ac_ext <<_ACEOF
                   16585: /* confdefs.h.  */
                   16586: _ACEOF
                   16587: cat confdefs.h >>conftest.$ac_ext
                   16588: cat >>conftest.$ac_ext <<_ACEOF
                   16589: /* end confdefs.h.  */
                   16590: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16591:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16592: #define $ac_func innocuous_$ac_func
                   16593: 
                   16594: /* System header to define __stub macros and hopefully few prototypes,
                   16595:     which can conflict with char $ac_func (); below.
                   16596:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16597:     <limits.h> exists even on freestanding compilers.  */
                   16598: 
                   16599: #ifdef __STDC__
                   16600: # include <limits.h>
                   16601: #else
                   16602: # include <assert.h>
                   16603: #endif
                   16604: 
                   16605: #undef $ac_func
                   16606: 
                   16607: /* Override any gcc2 internal prototype to avoid an error.  */
                   16608: #ifdef __cplusplus
                   16609: extern "C"
                   16610: {
                   16611: #endif
                   16612: /* We use char because int might match the return type of a gcc2
                   16613:    builtin and then its argument prototype would still apply.  */
                   16614: char $ac_func ();
                   16615: /* The GNU C library defines this for functions which it implements
                   16616:     to always fail with ENOSYS.  Some functions are actually named
                   16617:     something starting with __ and the normal name is an alias.  */
                   16618: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16619: choke me
                   16620: #else
                   16621: char (*f) () = $ac_func;
                   16622: #endif
                   16623: #ifdef __cplusplus
                   16624: }
                   16625: #endif
                   16626: 
                   16627: int
                   16628: main ()
                   16629: {
                   16630: return f != $ac_func;
                   16631:   ;
                   16632:   return 0;
                   16633: }
                   16634: _ACEOF
                   16635: rm -f conftest.$ac_objext conftest$ac_exeext
                   16636: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16637:   (eval $ac_link) 2>conftest.er1
                   16638:   ac_status=$?
                   16639:   grep -v '^ *+' conftest.er1 >conftest.err
                   16640:   rm -f conftest.er1
                   16641:   cat conftest.err >&5
                   16642:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16643:   (exit $ac_status); } &&
                   16644:         { ac_try='test -z "$ac_c_werror_flag"
                   16645:                         || test ! -s conftest.err'
                   16646:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16647:   (eval $ac_try) 2>&5
                   16648:   ac_status=$?
                   16649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16650:   (exit $ac_status); }; } &&
                   16651:         { ac_try='test -s conftest$ac_exeext'
                   16652:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16653:   (eval $ac_try) 2>&5
                   16654:   ac_status=$?
                   16655:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16656:   (exit $ac_status); }; }; then
                   16657:   eval "$as_ac_var=yes"
                   16658: else
                   16659:   echo "$as_me: failed program was:" >&5
                   16660: sed 's/^/| /' conftest.$ac_ext >&5
                   16661: 
                   16662: eval "$as_ac_var=no"
                   16663: fi
                   16664: rm -f conftest.err conftest.$ac_objext \
                   16665:       conftest$ac_exeext conftest.$ac_ext
                   16666: fi
                   16667: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16668: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16669: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.8       moko     16670:   cat >>confdefs.h <<_ACEOF
1.11      moko     16671: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.8       moko     16672: _ACEOF
                   16673: 
                   16674: else
                   16675:   ARGZ_H=argz.h;
                   16676: 
                   16677:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16678: 
                   16679: fi
                   16680: done
                   16681: 
                   16682: 
1.11      moko     16683: if test -z "$ARGZ_H"; then
                   16684:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   16685: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   16686: if test "${lt_cv_sys_argz_works+set}" = set; then
                   16687:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     16688: else
                   16689:   case $host_os in #(
                   16690:         *cygwin*)
                   16691:           lt_cv_sys_argz_works=no
                   16692:           if test "$cross_compiling" != no; then
                   16693:             lt_cv_sys_argz_works="guessing no"
                   16694:           else
                   16695:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16696:             save_IFS=$IFS
                   16697:             IFS=-.
                   16698:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16699:             IFS=$save_IFS
                   16700:             lt_os_major=${2-0}
                   16701:             lt_os_minor=${3-0}
                   16702:             lt_os_micro=${4-0}
                   16703:             if test "$lt_os_major" -gt 1 \
                   16704:                || { test "$lt_os_major" -eq 1 \
                   16705:                  && { test "$lt_os_minor" -gt 5 \
                   16706:                    || { test "$lt_os_minor" -eq 5 \
                   16707:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16708:               lt_cv_sys_argz_works=yes
                   16709:             fi
                   16710:           fi
                   16711:           ;; #(
                   16712:         *) lt_cv_sys_argz_works=yes ;;
                   16713:         esac
                   16714: fi
1.11      moko     16715: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   16716: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   16717:      if test "$lt_cv_sys_argz_works" = yes; then
1.8       moko     16718: 
1.11      moko     16719: cat >>confdefs.h <<\_ACEOF
                   16720: #define HAVE_WORKING_ARGZ 1
                   16721: _ACEOF
1.8       moko     16722: 
                   16723: else
                   16724:   ARGZ_H=argz.h
                   16725: 
                   16726: 
                   16727:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16728: 
                   16729: fi
1.11      moko     16730: 
1.8       moko     16731: fi
                   16732: 
                   16733: 
                   16734: 
1.11      moko     16735: 
                   16736: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16737: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   16738: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   16739:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     16740: else
                   16741:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16742:     libltdl_cv_preloaded_symbols=yes
                   16743:   else
                   16744:     libltdl_cv_preloaded_symbols=no
                   16745:   fi
                   16746: 
                   16747: fi
1.11      moko     16748: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   16749: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
1.8       moko     16750: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16751: 
1.11      moko     16752: cat >>confdefs.h <<\_ACEOF
                   16753: #define HAVE_PRELOADED_SYMBOLS 1
                   16754: _ACEOF
1.8       moko     16755: 
                   16756: fi
                   16757: 
                   16758: # Set options
                   16759: 
                   16760: 
                   16761: 
                   16762: 
                   16763: 
                   16764: 
                   16765: 
                   16766: 
                   16767: 
                   16768: 
                   16769: 
                   16770: 
1.11      moko     16771: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   16772: if test "${with_included_ltdl+set}" = set; then
                   16773:   withval="$with_included_ltdl"
1.8       moko     16774: 
1.11      moko     16775: fi;
1.8       moko     16776: 
                   16777: if test "x$with_included_ltdl" != xyes; then
                   16778:   # We are not being forced to use the included libltdl sources, so
                   16779:   # decide whether there is a useful installed version we can use.
1.11      moko     16780:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   16781: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   16782: if test "${ac_cv_header_ltdl_h+set}" = set; then
                   16783:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16784: else
                   16785:   cat >conftest.$ac_ext <<_ACEOF
                   16786: /* confdefs.h.  */
                   16787: _ACEOF
                   16788: cat confdefs.h >>conftest.$ac_ext
                   16789: cat >>conftest.$ac_ext <<_ACEOF
                   16790: /* end confdefs.h.  */
                   16791: $ac_includes_default
                   16792: 
                   16793: 
                   16794: #include <ltdl.h>
                   16795: _ACEOF
                   16796: rm -f conftest.$ac_objext
                   16797: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16798:   (eval $ac_compile) 2>conftest.er1
                   16799:   ac_status=$?
                   16800:   grep -v '^ *+' conftest.er1 >conftest.err
                   16801:   rm -f conftest.er1
                   16802:   cat conftest.err >&5
                   16803:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16804:   (exit $ac_status); } &&
                   16805:         { ac_try='test -z "$ac_c_werror_flag"
                   16806:                         || test ! -s conftest.err'
                   16807:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16808:   (eval $ac_try) 2>&5
                   16809:   ac_status=$?
                   16810:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16811:   (exit $ac_status); }; } &&
                   16812:         { ac_try='test -s conftest.$ac_objext'
                   16813:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16814:   (eval $ac_try) 2>&5
                   16815:   ac_status=$?
                   16816:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16817:   (exit $ac_status); }; }; then
                   16818:   ac_cv_header_ltdl_h=yes
                   16819: else
                   16820:   echo "$as_me: failed program was:" >&5
                   16821: sed 's/^/| /' conftest.$ac_ext >&5
1.8       moko     16822: 
1.11      moko     16823: ac_cv_header_ltdl_h=no
                   16824: fi
                   16825: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16826: fi
                   16827: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   16828: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   16829: if test $ac_cv_header_ltdl_h = yes; then
                   16830:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   16831: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   16832: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   16833:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16834: else
                   16835:   cat >conftest.$ac_ext <<_ACEOF
                   16836: /* confdefs.h.  */
                   16837: _ACEOF
                   16838: cat confdefs.h >>conftest.$ac_ext
                   16839: cat >>conftest.$ac_ext <<_ACEOF
                   16840: /* end confdefs.h.  */
                   16841: $ac_includes_default
1.8       moko     16842:            #include <ltdl.h>
1.11      moko     16843: 
                   16844: int
                   16845: main ()
                   16846: {
                   16847: #ifndef lt_dlinterface_register
                   16848:   char *p = (char *) lt_dlinterface_register;
                   16849: #endif
                   16850: 
                   16851:   ;
                   16852:   return 0;
                   16853: }
                   16854: _ACEOF
                   16855: rm -f conftest.$ac_objext
                   16856: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16857:   (eval $ac_compile) 2>conftest.er1
                   16858:   ac_status=$?
                   16859:   grep -v '^ *+' conftest.er1 >conftest.err
                   16860:   rm -f conftest.er1
                   16861:   cat conftest.err >&5
                   16862:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16863:   (exit $ac_status); } &&
                   16864:         { ac_try='test -z "$ac_c_werror_flag"
                   16865:                         || test ! -s conftest.err'
                   16866:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16867:   (eval $ac_try) 2>&5
                   16868:   ac_status=$?
                   16869:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16870:   (exit $ac_status); }; } &&
                   16871:         { ac_try='test -s conftest.$ac_objext'
                   16872:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16873:   (eval $ac_try) 2>&5
                   16874:   ac_status=$?
                   16875:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16876:   (exit $ac_status); }; }; then
                   16877:   ac_cv_have_decl_lt_dlinterface_register=yes
                   16878: else
                   16879:   echo "$as_me: failed program was:" >&5
                   16880: sed 's/^/| /' conftest.$ac_ext >&5
                   16881: 
                   16882: ac_cv_have_decl_lt_dlinterface_register=no
                   16883: fi
                   16884: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16885: fi
                   16886: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   16887: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   16888: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   16889:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   16890: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   16891: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   16892:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       moko     16893: else
                   16894:   ac_check_lib_save_LIBS=$LIBS
                   16895: LIBS="-lltdl  $LIBS"
1.11      moko     16896: cat >conftest.$ac_ext <<_ACEOF
                   16897: /* confdefs.h.  */
                   16898: _ACEOF
                   16899: cat confdefs.h >>conftest.$ac_ext
                   16900: cat >>conftest.$ac_ext <<_ACEOF
1.8       moko     16901: /* end confdefs.h.  */
                   16902: 
1.11      moko     16903: /* Override any gcc2 internal prototype to avoid an error.  */
1.8       moko     16904: #ifdef __cplusplus
                   16905: extern "C"
                   16906: #endif
1.11      moko     16907: /* We use char because int might match the return type of a gcc2
                   16908:    builtin and then its argument prototype would still apply.  */
1.8       moko     16909: char lt_dladvise_preload ();
                   16910: int
                   16911: main ()
                   16912: {
1.11      moko     16913: lt_dladvise_preload ();
1.8       moko     16914:   ;
                   16915:   return 0;
                   16916: }
                   16917: _ACEOF
1.11      moko     16918: rm -f conftest.$ac_objext conftest$ac_exeext
                   16919: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16920:   (eval $ac_link) 2>conftest.er1
                   16921:   ac_status=$?
                   16922:   grep -v '^ *+' conftest.er1 >conftest.err
                   16923:   rm -f conftest.er1
                   16924:   cat conftest.err >&5
                   16925:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16926:   (exit $ac_status); } &&
                   16927:         { ac_try='test -z "$ac_c_werror_flag"
                   16928:                         || test ! -s conftest.err'
                   16929:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16930:   (eval $ac_try) 2>&5
                   16931:   ac_status=$?
                   16932:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16933:   (exit $ac_status); }; } &&
                   16934:         { ac_try='test -s conftest$ac_exeext'
                   16935:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16936:   (eval $ac_try) 2>&5
                   16937:   ac_status=$?
                   16938:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16939:   (exit $ac_status); }; }; then
1.8       moko     16940:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
                   16941: else
1.11      moko     16942:   echo "$as_me: failed program was:" >&5
                   16943: sed 's/^/| /' conftest.$ac_ext >&5
                   16944: 
                   16945: ac_cv_lib_ltdl_lt_dladvise_preload=no
1.8       moko     16946: fi
1.11      moko     16947: rm -f conftest.err conftest.$ac_objext \
                   16948:       conftest$ac_exeext conftest.$ac_ext
1.8       moko     16949: LIBS=$ac_check_lib_save_LIBS
                   16950: fi
1.11      moko     16951: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16952: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   16953: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
1.8       moko     16954:   with_included_ltdl=no
                   16955: else
                   16956:   with_included_ltdl=yes
                   16957: fi
                   16958: 
                   16959: else
                   16960:   with_included_ltdl=yes
                   16961: fi
                   16962: 
                   16963: else
                   16964:   with_included_ltdl=yes
                   16965: fi
                   16966: 
                   16967: 
                   16968: fi
                   16969: 
                   16970: 
                   16971: 
                   16972: 
1.11      moko     16973: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   16974: if test "${with_ltdl_include+set}" = set; then
                   16975:   withval="$with_ltdl_include"
1.8       moko     16976: 
1.11      moko     16977: fi;
1.8       moko     16978: 
                   16979: if test -n "$with_ltdl_include"; then
                   16980:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16981:   else
1.11      moko     16982:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   16983: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   16984:    { (exit 1); exit 1; }; }
1.8       moko     16985:   fi
                   16986: else
                   16987:   with_ltdl_include=no
                   16988: fi
                   16989: 
                   16990: 
1.11      moko     16991: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   16992: if test "${with_ltdl_lib+set}" = set; then
                   16993:   withval="$with_ltdl_lib"
1.8       moko     16994: 
1.11      moko     16995: fi;
1.8       moko     16996: 
                   16997: if test -n "$with_ltdl_lib"; then
                   16998:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16999:   else
1.11      moko     17000:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   17001: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   17002:    { (exit 1); exit 1; }; }
1.8       moko     17003:   fi
                   17004: else
                   17005:   with_ltdl_lib=no
                   17006: fi
                   17007: 
                   17008: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17009:   ,yes,no,no,)
                   17010:        case $enable_ltdl_convenience in
1.11      moko     17011:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   17012: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   17013:    { (exit 1); exit 1; }; } ;;
1.8       moko     17014:   "") enable_ltdl_convenience=yes
                   17015:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17016: esac
1.11      moko     17017: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.8       moko     17018: LTDLDEPS=$LIBLTDL
                   17019: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17020: 
                   17021: 
                   17022: 
                   17023: 
                   17024: 
                   17025: # For backwards non-gettext consistent compatibility...
                   17026: INCLTDL="$LTDLINCL"
                   17027: 
                   17028: 
                   17029:        ;;
                   17030:   ,no,no,no,)
                   17031:        # If the included ltdl is not to be used, then use the
                   17032:        # preinstalled libltdl we found.
                   17033: 
1.11      moko     17034: cat >>confdefs.h <<\_ACEOF
                   17035: #define HAVE_LTDL 1
                   17036: _ACEOF
1.8       moko     17037: 
                   17038:        LIBLTDL=-lltdl
                   17039:        LTDLDEPS=
                   17040:        LTDLINCL=
                   17041:        ;;
                   17042:   ,no*,no,*)
1.11      moko     17043:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   17044: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
                   17045:    { (exit 1); exit 1; }; }
1.8       moko     17046:        ;;
                   17047:   *)   with_included_ltdl=no
                   17048:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17049:        LTDLDEPS=
                   17050:        LTDLINCL="-I$with_ltdl_include"
                   17051:        ;;
                   17052: esac
                   17053: INCLTDL="$LTDLINCL"
                   17054: 
                   17055: # Report our decision...
1.11      moko     17056: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   17057: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   17058: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   17059: echo "${ECHO_T}$LTDLINCL" >&6
                   17060: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   17061: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   17062: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   17063: echo "${ECHO_T}$LIBLTDL" >&6
1.8       moko     17064: 
                   17065: 
                   17066: 
1.11      moko     17067: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   17068: if test "${enable_ltdl_install+set}" = set; then
                   17069:   enableval="$enable_ltdl_install"
1.8       moko     17070: 
1.11      moko     17071: fi;
1.8       moko     17072: 
                   17073: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17074:   *yes*) ;;
                   17075:   *) enable_ltdl_convenience=yes ;;
                   17076: esac
                   17077: 
                   17078: 
                   17079: 
                   17080: if test x"${enable_ltdl_install-no}" != xno; then
                   17081:   INSTALL_LTDL_TRUE=
                   17082:   INSTALL_LTDL_FALSE='#'
                   17083: else
                   17084:   INSTALL_LTDL_TRUE='#'
                   17085:   INSTALL_LTDL_FALSE=
                   17086: fi
                   17087: 
                   17088: 
                   17089: 
                   17090: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17091:   CONVENIENCE_LTDL_TRUE=
                   17092:   CONVENIENCE_LTDL_FALSE='#'
                   17093: else
                   17094:   CONVENIENCE_LTDL_TRUE='#'
                   17095:   CONVENIENCE_LTDL_FALSE=
                   17096: fi
                   17097: 
                   17098: 
                   17099: 
1.11      moko     17100: 
                   17101: 
                   17102: subdirs="$subdirs libltdl"
1.8       moko     17103: 
                   17104: 
                   17105: 
                   17106: 
                   17107: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17108: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17109: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17110: # definitions required by ltdl.c.
                   17111: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17112: 
                   17113: 
                   17114: 
1.10      moko     17115: 
1.8       moko     17116: 
                   17117: 
                   17118: 
1.11      moko     17119: 
                   17120: 
                   17121: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17122: do
                   17123: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17124: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17125: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17126: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17127:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17128: else
                   17129:   cat >conftest.$ac_ext <<_ACEOF
                   17130: /* confdefs.h.  */
                   17131: _ACEOF
                   17132: cat confdefs.h >>conftest.$ac_ext
                   17133: cat >>conftest.$ac_ext <<_ACEOF
                   17134: /* end confdefs.h.  */
                   17135: $ac_includes_default
                   17136: 
                   17137: #include <$ac_header>
                   17138: _ACEOF
                   17139: rm -f conftest.$ac_objext
                   17140: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17141:   (eval $ac_compile) 2>conftest.er1
                   17142:   ac_status=$?
                   17143:   grep -v '^ *+' conftest.er1 >conftest.err
                   17144:   rm -f conftest.er1
                   17145:   cat conftest.err >&5
                   17146:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17147:   (exit $ac_status); } &&
                   17148:         { ac_try='test -z "$ac_c_werror_flag"
                   17149:                         || test ! -s conftest.err'
                   17150:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17151:   (eval $ac_try) 2>&5
                   17152:   ac_status=$?
                   17153:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17154:   (exit $ac_status); }; } &&
                   17155:         { ac_try='test -s conftest.$ac_objext'
                   17156:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17157:   (eval $ac_try) 2>&5
                   17158:   ac_status=$?
                   17159:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17160:   (exit $ac_status); }; }; then
                   17161:   eval "$as_ac_Header=yes"
                   17162: else
                   17163:   echo "$as_me: failed program was:" >&5
                   17164: sed 's/^/| /' conftest.$ac_ext >&5
                   17165: 
                   17166: eval "$as_ac_Header=no"
                   17167: fi
                   17168: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17169: fi
                   17170: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17171: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17172: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17173:   cat >>confdefs.h <<_ACEOF
                   17174: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17175: _ACEOF
                   17176: 
                   17177: fi
                   17178: 
                   17179: done
                   17180: 
                   17181: 
                   17182: 
                   17183: 
                   17184: 
                   17185: for ac_func in closedir opendir readdir
                   17186: do
                   17187: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17188: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17189: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17190: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17191:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17192: else
                   17193:   cat >conftest.$ac_ext <<_ACEOF
                   17194: /* confdefs.h.  */
                   17195: _ACEOF
                   17196: cat confdefs.h >>conftest.$ac_ext
                   17197: cat >>conftest.$ac_ext <<_ACEOF
                   17198: /* end confdefs.h.  */
                   17199: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17200:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17201: #define $ac_func innocuous_$ac_func
                   17202: 
                   17203: /* System header to define __stub macros and hopefully few prototypes,
                   17204:     which can conflict with char $ac_func (); below.
                   17205:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17206:     <limits.h> exists even on freestanding compilers.  */
                   17207: 
                   17208: #ifdef __STDC__
                   17209: # include <limits.h>
                   17210: #else
                   17211: # include <assert.h>
                   17212: #endif
                   17213: 
                   17214: #undef $ac_func
                   17215: 
                   17216: /* Override any gcc2 internal prototype to avoid an error.  */
                   17217: #ifdef __cplusplus
                   17218: extern "C"
                   17219: {
                   17220: #endif
                   17221: /* We use char because int might match the return type of a gcc2
                   17222:    builtin and then its argument prototype would still apply.  */
                   17223: char $ac_func ();
                   17224: /* The GNU C library defines this for functions which it implements
                   17225:     to always fail with ENOSYS.  Some functions are actually named
                   17226:     something starting with __ and the normal name is an alias.  */
                   17227: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17228: choke me
                   17229: #else
                   17230: char (*f) () = $ac_func;
                   17231: #endif
                   17232: #ifdef __cplusplus
                   17233: }
                   17234: #endif
                   17235: 
                   17236: int
                   17237: main ()
                   17238: {
                   17239: return f != $ac_func;
                   17240:   ;
                   17241:   return 0;
                   17242: }
                   17243: _ACEOF
                   17244: rm -f conftest.$ac_objext conftest$ac_exeext
                   17245: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17246:   (eval $ac_link) 2>conftest.er1
                   17247:   ac_status=$?
                   17248:   grep -v '^ *+' conftest.er1 >conftest.err
                   17249:   rm -f conftest.er1
                   17250:   cat conftest.err >&5
                   17251:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17252:   (exit $ac_status); } &&
                   17253:         { ac_try='test -z "$ac_c_werror_flag"
                   17254:                         || test ! -s conftest.err'
                   17255:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17256:   (eval $ac_try) 2>&5
                   17257:   ac_status=$?
                   17258:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17259:   (exit $ac_status); }; } &&
                   17260:         { ac_try='test -s conftest$ac_exeext'
                   17261:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17262:   (eval $ac_try) 2>&5
                   17263:   ac_status=$?
                   17264:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17265:   (exit $ac_status); }; }; then
                   17266:   eval "$as_ac_var=yes"
                   17267: else
                   17268:   echo "$as_me: failed program was:" >&5
                   17269: sed 's/^/| /' conftest.$ac_ext >&5
                   17270: 
                   17271: eval "$as_ac_var=no"
                   17272: fi
                   17273: rm -f conftest.err conftest.$ac_objext \
                   17274:       conftest$ac_exeext conftest.$ac_ext
                   17275: fi
                   17276: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17277: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17278: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17279:   cat >>confdefs.h <<_ACEOF
                   17280: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17281: _ACEOF
1.8       moko     17282: 
1.10      moko     17283: else
1.8       moko     17284: 
                   17285: 
1.10      moko     17286:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.8       moko     17287: 
1.10      moko     17288: fi
1.8       moko     17289: done
                   17290: 
1.11      moko     17291: 
                   17292: 
1.8       moko     17293: for ac_func in strlcat strlcpy
1.11      moko     17294: do
                   17295: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17296: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17297: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17298: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17299:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17300: else
                   17301:   cat >conftest.$ac_ext <<_ACEOF
                   17302: /* confdefs.h.  */
                   17303: _ACEOF
                   17304: cat confdefs.h >>conftest.$ac_ext
                   17305: cat >>conftest.$ac_ext <<_ACEOF
                   17306: /* end confdefs.h.  */
                   17307: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17308:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17309: #define $ac_func innocuous_$ac_func
                   17310: 
                   17311: /* System header to define __stub macros and hopefully few prototypes,
                   17312:     which can conflict with char $ac_func (); below.
                   17313:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17314:     <limits.h> exists even on freestanding compilers.  */
                   17315: 
                   17316: #ifdef __STDC__
                   17317: # include <limits.h>
                   17318: #else
                   17319: # include <assert.h>
                   17320: #endif
                   17321: 
                   17322: #undef $ac_func
                   17323: 
                   17324: /* Override any gcc2 internal prototype to avoid an error.  */
                   17325: #ifdef __cplusplus
                   17326: extern "C"
                   17327: {
                   17328: #endif
                   17329: /* We use char because int might match the return type of a gcc2
                   17330:    builtin and then its argument prototype would still apply.  */
                   17331: char $ac_func ();
                   17332: /* The GNU C library defines this for functions which it implements
                   17333:     to always fail with ENOSYS.  Some functions are actually named
                   17334:     something starting with __ and the normal name is an alias.  */
                   17335: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17336: choke me
                   17337: #else
                   17338: char (*f) () = $ac_func;
                   17339: #endif
                   17340: #ifdef __cplusplus
                   17341: }
                   17342: #endif
                   17343: 
                   17344: int
                   17345: main ()
                   17346: {
                   17347: return f != $ac_func;
                   17348:   ;
                   17349:   return 0;
                   17350: }
                   17351: _ACEOF
                   17352: rm -f conftest.$ac_objext conftest$ac_exeext
                   17353: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17354:   (eval $ac_link) 2>conftest.er1
                   17355:   ac_status=$?
                   17356:   grep -v '^ *+' conftest.er1 >conftest.err
                   17357:   rm -f conftest.er1
                   17358:   cat conftest.err >&5
                   17359:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17360:   (exit $ac_status); } &&
                   17361:         { ac_try='test -z "$ac_c_werror_flag"
                   17362:                         || test ! -s conftest.err'
                   17363:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17364:   (eval $ac_try) 2>&5
                   17365:   ac_status=$?
                   17366:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17367:   (exit $ac_status); }; } &&
                   17368:         { ac_try='test -s conftest$ac_exeext'
                   17369:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17370:   (eval $ac_try) 2>&5
                   17371:   ac_status=$?
                   17372:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17373:   (exit $ac_status); }; }; then
                   17374:   eval "$as_ac_var=yes"
                   17375: else
                   17376:   echo "$as_me: failed program was:" >&5
                   17377: sed 's/^/| /' conftest.$ac_ext >&5
                   17378: 
                   17379: eval "$as_ac_var=no"
                   17380: fi
                   17381: rm -f conftest.err conftest.$ac_objext \
                   17382:       conftest$ac_exeext conftest.$ac_ext
                   17383: fi
                   17384: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17385: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17386: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.8       moko     17387:   cat >>confdefs.h <<_ACEOF
1.11      moko     17388: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.8       moko     17389: _ACEOF
                   17390: 
                   17391: else
                   17392: 
                   17393: 
                   17394:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17395: 
                   17396: fi
                   17397: done
                   17398: 
                   17399: 
                   17400: 
                   17401: cat >>confdefs.h <<_ACEOF
                   17402: #define LT_LIBEXT "$libext"
                   17403: _ACEOF
                   17404: 
                   17405: 
                   17406: name=
                   17407: eval "lt_libprefix=\"$libname_spec\""
                   17408: 
                   17409: cat >>confdefs.h <<_ACEOF
                   17410: #define LT_LIBPREFIX "$lt_libprefix"
                   17411: _ACEOF
                   17412: 
                   17413: 
                   17414: name=ltdl
                   17415: eval "LTDLOPEN=\"$libname_spec\""
                   17416: 
                   17417: 
                   17418: 
                   17419: 
                   17420: 
                   17421: 
                   17422: 
                   17423: 
                   17424: # Only expand once:
                   17425: 
                   17426: 
                   17427: 
                   17428: 
                   17429: 
1.11      moko     17430: 
                   17431: 
                   17432: 
                   17433: 
                   17434: 
1.8       moko     17435: for ac_header in stdio.h \
                   17436: stdlib.h \
                   17437: string.h \
                   17438: setjmp.h \
                   17439: ctype.h
                   17440: 
1.11      moko     17441: do
                   17442: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17443: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17444:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17445: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17446: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17447:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17448: fi
                   17449: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17450: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17451: else
                   17452:   # Is the header compilable?
                   17453: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   17454: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   17455: cat >conftest.$ac_ext <<_ACEOF
                   17456: /* confdefs.h.  */
                   17457: _ACEOF
                   17458: cat confdefs.h >>conftest.$ac_ext
                   17459: cat >>conftest.$ac_ext <<_ACEOF
                   17460: /* end confdefs.h.  */
                   17461: $ac_includes_default
                   17462: #include <$ac_header>
                   17463: _ACEOF
                   17464: rm -f conftest.$ac_objext
                   17465: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17466:   (eval $ac_compile) 2>conftest.er1
                   17467:   ac_status=$?
                   17468:   grep -v '^ *+' conftest.er1 >conftest.err
                   17469:   rm -f conftest.er1
                   17470:   cat conftest.err >&5
                   17471:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17472:   (exit $ac_status); } &&
                   17473:         { ac_try='test -z "$ac_c_werror_flag"
                   17474:                         || test ! -s conftest.err'
                   17475:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17476:   (eval $ac_try) 2>&5
                   17477:   ac_status=$?
                   17478:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17479:   (exit $ac_status); }; } &&
                   17480:         { ac_try='test -s conftest.$ac_objext'
                   17481:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17482:   (eval $ac_try) 2>&5
                   17483:   ac_status=$?
                   17484:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17485:   (exit $ac_status); }; }; then
                   17486:   ac_header_compiler=yes
                   17487: else
                   17488:   echo "$as_me: failed program was:" >&5
                   17489: sed 's/^/| /' conftest.$ac_ext >&5
                   17490: 
                   17491: ac_header_compiler=no
                   17492: fi
                   17493: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17494: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   17495: echo "${ECHO_T}$ac_header_compiler" >&6
                   17496: 
                   17497: # Is the header present?
                   17498: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   17499: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   17500: cat >conftest.$ac_ext <<_ACEOF
                   17501: /* confdefs.h.  */
                   17502: _ACEOF
                   17503: cat confdefs.h >>conftest.$ac_ext
                   17504: cat >>conftest.$ac_ext <<_ACEOF
                   17505: /* end confdefs.h.  */
                   17506: #include <$ac_header>
                   17507: _ACEOF
                   17508: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   17509:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   17510:   ac_status=$?
                   17511:   grep -v '^ *+' conftest.er1 >conftest.err
                   17512:   rm -f conftest.er1
                   17513:   cat conftest.err >&5
                   17514:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17515:   (exit $ac_status); } >/dev/null; then
                   17516:   if test -s conftest.err; then
                   17517:     ac_cpp_err=$ac_c_preproc_warn_flag
                   17518:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   17519:   else
                   17520:     ac_cpp_err=
                   17521:   fi
                   17522: else
                   17523:   ac_cpp_err=yes
                   17524: fi
                   17525: if test -z "$ac_cpp_err"; then
                   17526:   ac_header_preproc=yes
                   17527: else
                   17528:   echo "$as_me: failed program was:" >&5
                   17529: sed 's/^/| /' conftest.$ac_ext >&5
                   17530: 
                   17531:   ac_header_preproc=no
                   17532: fi
                   17533: rm -f conftest.err conftest.$ac_ext
                   17534: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   17535: echo "${ECHO_T}$ac_header_preproc" >&6
                   17536: 
                   17537: # So?  What about this header?
                   17538: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   17539:   yes:no: )
                   17540:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   17541: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   17542:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   17543: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   17544:     ac_header_preproc=yes
                   17545:     ;;
                   17546:   no:yes:* )
                   17547:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   17548: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   17549:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   17550: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   17551:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   17552: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   17553:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   17554: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   17555:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   17556: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   17557:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   17558: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   17559:     (
                   17560:       cat <<\_ASBOX
                   17561: ## ------------------------------------------ ##
                   17562: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   17563: ## ------------------------------------------ ##
                   17564: _ASBOX
                   17565:     ) |
                   17566:       sed "s/^/$as_me: WARNING:     /" >&2
                   17567:     ;;
                   17568: esac
                   17569: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17570: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17571: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17572:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17573: else
                   17574:   eval "$as_ac_Header=\$ac_header_preproc"
                   17575: fi
                   17576: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17577: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17578: 
                   17579: fi
                   17580: if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.8       moko     17581:   cat >>confdefs.h <<_ACEOF
1.11      moko     17582: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.8       moko     17583: _ACEOF
                   17584: 
                   17585: fi
                   17586: 
                   17587: done
                   17588: 
                   17589: 
                   17590: 
1.11      moko     17591: echo "$as_me:$LINENO: checking for size_t" >&5
                   17592: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   17593: if test "${ac_cv_type_size_t+set}" = set; then
                   17594:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17595: else
                   17596:   cat >conftest.$ac_ext <<_ACEOF
                   17597: /* confdefs.h.  */
                   17598: _ACEOF
                   17599: cat confdefs.h >>conftest.$ac_ext
                   17600: cat >>conftest.$ac_ext <<_ACEOF
                   17601: /* end confdefs.h.  */
                   17602: $ac_includes_default
                   17603: int
                   17604: main ()
                   17605: {
                   17606: if ((size_t *) 0)
                   17607:   return 0;
                   17608: if (sizeof (size_t))
                   17609:   return 0;
                   17610:   ;
                   17611:   return 0;
                   17612: }
                   17613: _ACEOF
                   17614: rm -f conftest.$ac_objext
                   17615: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17616:   (eval $ac_compile) 2>conftest.er1
                   17617:   ac_status=$?
                   17618:   grep -v '^ *+' conftest.er1 >conftest.err
                   17619:   rm -f conftest.er1
                   17620:   cat conftest.err >&5
                   17621:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17622:   (exit $ac_status); } &&
                   17623:         { ac_try='test -z "$ac_c_werror_flag"
                   17624:                         || test ! -s conftest.err'
                   17625:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17626:   (eval $ac_try) 2>&5
                   17627:   ac_status=$?
                   17628:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17629:   (exit $ac_status); }; } &&
                   17630:         { ac_try='test -s conftest.$ac_objext'
                   17631:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17632:   (eval $ac_try) 2>&5
                   17633:   ac_status=$?
                   17634:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17635:   (exit $ac_status); }; }; then
                   17636:   ac_cv_type_size_t=yes
                   17637: else
                   17638:   echo "$as_me: failed program was:" >&5
                   17639: sed 's/^/| /' conftest.$ac_ext >&5
1.8       moko     17640: 
1.11      moko     17641: ac_cv_type_size_t=no
                   17642: fi
                   17643: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17644: fi
                   17645: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   17646: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   17647: if test $ac_cv_type_size_t = yes; then
                   17648:   :
1.8       moko     17649: else
                   17650: 
                   17651: cat >>confdefs.h <<_ACEOF
1.11      moko     17652: #define size_t unsigned
1.8       moko     17653: _ACEOF
                   17654: 
                   17655: fi
                   17656: 
                   17657: 
                   17658: 
                   17659: 
1.11      moko     17660:           ac_config_files="$ac_config_files Makefile"
1.8       moko     17661: cat >confcache <<\_ACEOF
                   17662: # This file is a shell script that caches the results of configure
                   17663: # tests run on this system so they can be shared between configure
                   17664: # scripts and configure runs, see configure's option --config-cache.
                   17665: # It is not useful on other systems.  If it contains results you don't
                   17666: # want to keep, you may remove or edit it.
                   17667: #
                   17668: # config.status only pays attention to the cache file if you give it
                   17669: # the --recheck option to rerun configure.
                   17670: #
                   17671: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   17672: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   17673: # following values.
                   17674: 
                   17675: _ACEOF
                   17676: 
                   17677: # The following way of writing the cache mishandles newlines in values,
                   17678: # but we know of no workaround that is simple, portable, and efficient.
1.11      moko     17679: # So, don't put newlines in cache variables' values.
1.8       moko     17680: # Ultrix sh set writes to stderr and can't be redirected directly,
                   17681: # and sets the high bit in the cache file unless we assign to the vars.
1.11      moko     17682: {
1.8       moko     17683:   (set) 2>&1 |
1.11      moko     17684:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   17685:     *ac_space=\ *)
                   17686:       # `set' does not quote correctly, so add quotes (double-quote
                   17687:       # substitution turns \\\\ into \\, and sed turns \\ into \).
1.8       moko     17688:       sed -n \
                   17689:        "s/'/'\\\\''/g;
                   17690:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.11      moko     17691:       ;;
1.8       moko     17692:     *)
                   17693:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.11      moko     17694:       sed -n \
                   17695:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.8       moko     17696:       ;;
1.11      moko     17697:     esac;
                   17698: } |
1.8       moko     17699:   sed '
                   17700:      t clear
1.11      moko     17701:      : clear
1.8       moko     17702:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   17703:      t end
1.11      moko     17704:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   17705:      : end' >>confcache
                   17706: if diff $cache_file confcache >/dev/null 2>&1; then :; else
                   17707:   if test -w $cache_file; then
                   17708:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1.8       moko     17709:     cat confcache >$cache_file
                   17710:   else
1.11      moko     17711:     echo "not updating unwritable cache $cache_file"
1.8       moko     17712:   fi
                   17713: fi
                   17714: rm -f confcache
                   17715: 
                   17716: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   17717: # Let make expand exec_prefix.
                   17718: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   17719: 
1.11      moko     17720: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   17721: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   17722: # trailing colons and then remove the whole line if VPATH becomes empty
                   17723: # (actually we leave an empty line to preserve line numbers).
                   17724: if test "x$srcdir" = x.; then
                   17725:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
                   17726: s/:*\$(srcdir):*/:/;
                   17727: s/:*\${srcdir}:*/:/;
                   17728: s/:*@srcdir@:*/:/;
                   17729: s/^\([^=]*=[    ]*\):*/\1/;
                   17730: s/:*$//;
                   17731: s/^[^=]*=[      ]*$//;
                   17732: }'
                   17733: fi
                   17734: 
1.8       moko     17735: DEFS=-DHAVE_CONFIG_H
                   17736: 
                   17737: ac_libobjs=
                   17738: ac_ltlibobjs=
                   17739: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   17740:   # 1. Remove the extension, and $U if already installed.
1.11      moko     17741:   ac_i=`echo "$ac_i" |
                   17742:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   17743:   # 2. Add them.
                   17744:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   17745:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1.8       moko     17746: done
                   17747: LIBOBJS=$ac_libobjs
                   17748: 
                   17749: LTLIBOBJS=$ac_ltlibobjs
                   17750: 
                   17751: 
                   17752: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.11      moko     17753:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   17754: Usually this means the macro was only invoked conditionally." >&5
                   17755: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   17756: Usually this means the macro was only invoked conditionally." >&2;}
                   17757:    { (exit 1); exit 1; }; }
1.8       moko     17758: fi
                   17759: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.11      moko     17760:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
                   17761: Usually this means the macro was only invoked conditionally." >&5
                   17762: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
                   17763: Usually this means the macro was only invoked conditionally." >&2;}
                   17764:    { (exit 1); exit 1; }; }
1.8       moko     17765: fi
                   17766: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.11      moko     17767:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   17768: Usually this means the macro was only invoked conditionally." >&5
                   17769: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   17770: Usually this means the macro was only invoked conditionally." >&2;}
                   17771:    { (exit 1); exit 1; }; }
1.8       moko     17772: fi
                   17773: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.11      moko     17774:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   17775: Usually this means the macro was only invoked conditionally." >&5
                   17776: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   17777: Usually this means the macro was only invoked conditionally." >&2;}
                   17778:    { (exit 1); exit 1; }; }
1.8       moko     17779: fi
                   17780: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.11      moko     17781:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   17782: Usually this means the macro was only invoked conditionally." >&5
                   17783: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   17784: Usually this means the macro was only invoked conditionally." >&2;}
                   17785:    { (exit 1); exit 1; }; }
1.8       moko     17786: fi
1.11      moko     17787: LT_CONFIG_H=`echo " config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
1.8       moko     17788: 
                   17789:     _ltdl_libobjs=
                   17790:     _ltdl_ltlibobjs=
                   17791:     if test -n "$_LT_LIBOBJS"; then
                   17792:       # Remove the extension.
                   17793:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   17794:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   17795:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   17796:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   17797:       done
                   17798:     fi
                   17799:     ltdl_LIBOBJS=$_ltdl_libobjs
                   17800: 
                   17801:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   17802: 
                   17803: 
                   17804: 
                   17805: : ${CONFIG_STATUS=./config.status}
                   17806: ac_clean_files_save=$ac_clean_files
                   17807: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.11      moko     17808: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   17809: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   17810: cat >$CONFIG_STATUS <<_ACEOF
1.8       moko     17811: #! $SHELL
                   17812: # Generated by $as_me.
                   17813: # Run this file to recreate the current configuration.
                   17814: # Compiler output produced by configure, useful for debugging
                   17815: # configure, is in config.log if it exists.
                   17816: 
                   17817: debug=false
                   17818: ac_cs_recheck=false
                   17819: ac_cs_silent=false
1.11      moko     17820: SHELL=\${CONFIG_SHELL-$SHELL}
                   17821: _ACEOF
1.10      moko     17822: 
1.11      moko     17823: cat >>$CONFIG_STATUS <<\_ACEOF
                   17824: ## --------------------- ##
                   17825: ## M4sh Initialization.  ##
                   17826: ## --------------------- ##
1.8       moko     17827: 
1.11      moko     17828: # Be Bourne compatible
                   17829: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.8       moko     17830:   emulate sh
                   17831:   NULLCMD=:
1.11      moko     17832:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.8       moko     17833:   # is contrary to our usage.  Disable this feature.
                   17834:   alias -g '${1+"$@"}'='"$@"'
1.11      moko     17835: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   17836:   set -o posix
1.10      moko     17837: fi
1.11      moko     17838: DUALCASE=1; export DUALCASE # for MKS sh
1.10      moko     17839: 
1.11      moko     17840: # Support unset when possible.
                   17841: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   17842:   as_unset=unset
                   17843: else
                   17844:   as_unset=false
1.8       moko     17845: fi
                   17846: 
                   17847: 
1.11      moko     17848: # Work around bugs in pre-3.0 UWIN ksh.
                   17849: $as_unset ENV MAIL MAILPATH
1.8       moko     17850: PS1='$ '
                   17851: PS2='> '
                   17852: PS4='+ '
                   17853: 
                   17854: # NLS nuisances.
1.11      moko     17855: for as_var in \
                   17856:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   17857:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   17858:   LC_TELEPHONE LC_TIME
                   17859: do
                   17860:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   17861:     eval $as_var=C; export $as_var
                   17862:   else
                   17863:     $as_unset $as_var
                   17864:   fi
                   17865: done
1.8       moko     17866: 
1.11      moko     17867: # Required to use basename.
                   17868: if expr a : '\(a\)' >/dev/null 2>&1; then
1.8       moko     17869:   as_expr=expr
                   17870: else
                   17871:   as_expr=false
                   17872: fi
                   17873: 
1.11      moko     17874: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1.8       moko     17875:   as_basename=basename
                   17876: else
                   17877:   as_basename=false
                   17878: fi
                   17879: 
                   17880: 
1.11      moko     17881: # Name of the executable.
                   17882: as_me=`$as_basename "$0" ||
1.8       moko     17883: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   17884:         X"$0" : 'X\(//\)$' \| \
1.11      moko     17885:         X"$0" : 'X\(/\)$' \| \
                   17886:         .     : '\(.\)' 2>/dev/null ||
                   17887: echo X/"$0" |
                   17888:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   17889:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   17890:          /^X\/\(\/\).*/{ s//\1/; q; }
                   17891:          s/.*/./; q'`
                   17892: 
1.8       moko     17893: 
1.11      moko     17894: # PATH needs CR, and LINENO needs CR and PATH.
1.8       moko     17895: # Avoid depending upon Character Ranges.
                   17896: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   17897: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   17898: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   17899: as_cr_digits='0123456789'
                   17900: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   17901: 
1.11      moko     17902: # The user is always right.
                   17903: if test "${PATH_SEPARATOR+set}" != set; then
                   17904:   echo "#! /bin/sh" >conf$$.sh
                   17905:   echo  "exit 0"   >>conf$$.sh
                   17906:   chmod +x conf$$.sh
                   17907:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   17908:     PATH_SEPARATOR=';'
                   17909:   else
                   17910:     PATH_SEPARATOR=:
                   17911:   fi
                   17912:   rm -f conf$$.sh
                   17913: fi
                   17914: 
                   17915: 
                   17916:   as_lineno_1=$LINENO
                   17917:   as_lineno_2=$LINENO
                   17918:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   17919:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   17920:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   17921:   # Find who we are.  Look in the path if we contain no path at all
                   17922:   # relative or not.
                   17923:   case $0 in
                   17924:     *[\\/]* ) as_myself=$0 ;;
                   17925:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   17926: for as_dir in $PATH
                   17927: do
                   17928:   IFS=$as_save_IFS
                   17929:   test -z "$as_dir" && as_dir=.
                   17930:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   17931: done
                   17932: 
                   17933:        ;;
                   17934:   esac
                   17935:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   17936:   # in which case we are not to be found in the path.
                   17937:   if test "x$as_myself" = x; then
                   17938:     as_myself=$0
                   17939:   fi
                   17940:   if test ! -f "$as_myself"; then
                   17941:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   17942: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   17943:    { (exit 1); exit 1; }; }
                   17944:   fi
                   17945:   case $CONFIG_SHELL in
                   17946:   '')
                   17947:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   17948: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   17949: do
                   17950:   IFS=$as_save_IFS
                   17951:   test -z "$as_dir" && as_dir=.
                   17952:   for as_base in sh bash ksh sh5; do
                   17953:         case $as_dir in
                   17954:         /*)
                   17955:           if ("$as_dir/$as_base" -c '
                   17956:   as_lineno_1=$LINENO
                   17957:   as_lineno_2=$LINENO
                   17958:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   17959:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   17960:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   17961:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   17962:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   17963:             CONFIG_SHELL=$as_dir/$as_base
                   17964:             export CONFIG_SHELL
                   17965:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   17966:           fi;;
                   17967:         esac
                   17968:        done
                   17969: done
                   17970: ;;
                   17971:   esac
                   17972: 
                   17973:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   17974:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   17975:   # line-number line before each line; the second 'sed' does the real
                   17976:   # work.  The second script uses 'N' to pair each line-number line
                   17977:   # with the numbered line, and appends trailing '-' during
                   17978:   # substitution so that $LINENO is not a special case at line end.
                   17979:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   17980:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   17981:   sed '=' <$as_myself |
                   17982:     sed '
                   17983:       N
                   17984:       s,$,-,
                   17985:       : loop
                   17986:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   17987:       t loop
                   17988:       s,-$,,
                   17989:       s,^['$as_cr_digits']*\n,,
                   17990:     ' >$as_me.lineno &&
                   17991:   chmod +x $as_me.lineno ||
                   17992:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   17993: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   17994:    { (exit 1); exit 1; }; }
                   17995: 
                   17996:   # Don't try to exec as it changes $[0], causing all sort of problems
                   17997:   # (the dirname of $[0] is not the place where we might find the
                   17998:   # original and so on.  Autoconf is especially sensible to this).
                   17999:   . ./$as_me.lineno
                   18000:   # Exit status is that of the last command.
                   18001:   exit
                   18002: }
                   18003: 
                   18004: 
                   18005: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   18006:   *c*,-n*) ECHO_N= ECHO_C='
                   18007: ' ECHO_T='     ' ;;
                   18008:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   18009:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1.8       moko     18010: esac
                   18011: 
1.11      moko     18012: if expr a : '\(a\)' >/dev/null 2>&1; then
                   18013:   as_expr=expr
1.8       moko     18014: else
1.11      moko     18015:   as_expr=false
1.8       moko     18016: fi
1.11      moko     18017: 
                   18018: rm -f conf$$ conf$$.exe conf$$.file
                   18019: echo >conf$$.file
                   18020: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   18021:   # We could just check for DJGPP; but this test a) works b) is more generic
                   18022:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   18023:   if test -f conf$$.exe; then
                   18024:     # Don't use ln at all; we don't have any links
                   18025:     as_ln_s='cp -p'
                   18026:   else
1.10      moko     18027:     as_ln_s='ln -s'
1.8       moko     18028:   fi
1.11      moko     18029: elif ln conf$$.file conf$$ 2>/dev/null; then
                   18030:   as_ln_s=ln
1.8       moko     18031: else
                   18032:   as_ln_s='cp -p'
                   18033: fi
1.11      moko     18034: rm -f conf$$ conf$$.exe conf$$.file
1.8       moko     18035: 
                   18036: if mkdir -p . 2>/dev/null; then
1.11      moko     18037:   as_mkdir_p=:
1.8       moko     18038: else
                   18039:   test -d ./-p && rmdir ./-p
                   18040:   as_mkdir_p=false
                   18041: fi
                   18042: 
1.11      moko     18043: as_executable_p="test -f"
1.8       moko     18044: 
                   18045: # Sed expression to map a string onto a valid CPP name.
                   18046: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   18047: 
                   18048: # Sed expression to map a string onto a valid variable name.
                   18049: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   18050: 
                   18051: 
1.11      moko     18052: # IFS
                   18053: # We need space, tab and new line, in precisely that order.
                   18054: as_nl='
                   18055: '
                   18056: IFS="  $as_nl"
                   18057: 
                   18058: # CDPATH.
                   18059: $as_unset CDPATH
                   18060: 
1.8       moko     18061: exec 6>&1
                   18062: 
1.11      moko     18063: # Open the log real soon, to keep \$[0] and so on meaningful, and to
1.8       moko     18064: # report actual input values of CONFIG_FILES etc. instead of their
1.11      moko     18065: # values after options handling.  Logging --version etc. is OK.
                   18066: exec 5>>config.log
                   18067: {
                   18068:   echo
                   18069:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   18070: ## Running $as_me. ##
                   18071: _ASBOX
                   18072: } >&5
                   18073: cat >&5 <<_CSEOF
                   18074: 
1.8       moko     18075: This file was extended by $as_me, which was
1.11      moko     18076: generated by GNU Autoconf 2.59.  Invocation command line was
1.8       moko     18077: 
                   18078:   CONFIG_FILES    = $CONFIG_FILES
                   18079:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18080:   CONFIG_LINKS    = $CONFIG_LINKS
                   18081:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18082:   $ $0 $@
                   18083: 
1.11      moko     18084: _CSEOF
                   18085: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   18086: echo >&5
1.8       moko     18087: _ACEOF
                   18088: 
1.11      moko     18089: # Files that config.status was made for.
                   18090: if test -n "$ac_config_files"; then
                   18091:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   18092: fi
1.8       moko     18093: 
1.11      moko     18094: if test -n "$ac_config_headers"; then
                   18095:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   18096: fi
1.8       moko     18097: 
1.11      moko     18098: if test -n "$ac_config_links"; then
                   18099:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   18100: fi
1.8       moko     18101: 
1.11      moko     18102: if test -n "$ac_config_commands"; then
                   18103:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   18104: fi
1.8       moko     18105: 
1.11      moko     18106: cat >>$CONFIG_STATUS <<\_ACEOF
1.8       moko     18107: 
                   18108: ac_cs_usage="\
1.11      moko     18109: \`$as_me' instantiates files from templates according to the
                   18110: current configuration.
1.8       moko     18111: 
1.11      moko     18112: Usage: $0 [OPTIONS] [FILE]...
1.8       moko     18113: 
                   18114:   -h, --help       print this help, then exit
1.11      moko     18115:   -V, --version    print version number, then exit
                   18116:   -q, --quiet      do not print progress messages
1.8       moko     18117:   -d, --debug      don't remove temporary files
                   18118:       --recheck    update $as_me by reconfiguring in the same conditions
1.11      moko     18119:   --file=FILE[:TEMPLATE]
                   18120:                   instantiate the configuration file FILE
                   18121:   --header=FILE[:TEMPLATE]
                   18122:                   instantiate the configuration header FILE
1.8       moko     18123: 
                   18124: Configuration files:
                   18125: $config_files
                   18126: 
                   18127: Configuration headers:
                   18128: $config_headers
                   18129: 
                   18130: Configuration commands:
                   18131: $config_commands
                   18132: 
1.11      moko     18133: Report bugs to <bug-autoconf@gnu.org>."
                   18134: _ACEOF
1.10      moko     18135: 
1.11      moko     18136: cat >>$CONFIG_STATUS <<_ACEOF
1.8       moko     18137: ac_cs_version="\\
                   18138: config.status
1.11      moko     18139: configured by $0, generated by GNU Autoconf 2.59,
                   18140:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1.8       moko     18141: 
1.11      moko     18142: Copyright (C) 2003 Free Software Foundation, Inc.
1.8       moko     18143: This config.status script is free software; the Free Software Foundation
                   18144: gives unlimited permission to copy, distribute and modify it."
1.11      moko     18145: srcdir=$srcdir
                   18146: INSTALL="$INSTALL"
1.8       moko     18147: _ACEOF
                   18148: 
1.11      moko     18149: cat >>$CONFIG_STATUS <<\_ACEOF
                   18150: # If no file are specified by the user, then we need to provide default
                   18151: # value.  By we need to know if files were specified by the user.
1.8       moko     18152: ac_need_defaults=:
                   18153: while test $# != 0
                   18154: do
                   18155:   case $1 in
1.11      moko     18156:   --*=*)
                   18157:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   18158:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1.8       moko     18159:     ac_shift=:
                   18160:     ;;
1.11      moko     18161:   -*)
1.8       moko     18162:     ac_option=$1
                   18163:     ac_optarg=$2
                   18164:     ac_shift=shift
                   18165:     ;;
1.11      moko     18166:   *) # This is not an option, so the user has probably given explicit
                   18167:      # arguments.
                   18168:      ac_option=$1
                   18169:      ac_need_defaults=false;;
1.8       moko     18170:   esac
                   18171: 
                   18172:   case $ac_option in
                   18173:   # Handling of the options.
1.11      moko     18174: _ACEOF
                   18175: cat >>$CONFIG_STATUS <<\_ACEOF
1.8       moko     18176:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18177:     ac_cs_recheck=: ;;
1.11      moko     18178:   --version | --vers* | -V )
                   18179:     echo "$ac_cs_version"; exit 0 ;;
                   18180:   --he | --h)
                   18181:     # Conflict between --help and --header
                   18182:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   18183: Try \`$0 --help' for more information." >&5
                   18184: echo "$as_me: error: ambiguous option: $1
                   18185: Try \`$0 --help' for more information." >&2;}
                   18186:    { (exit 1); exit 1; }; };;
                   18187:   --help | --hel | -h )
                   18188:     echo "$ac_cs_usage"; exit 0 ;;
                   18189:   --debug | --d* | -d )
1.8       moko     18190:     debug=: ;;
                   18191:   --file | --fil | --fi | --f )
                   18192:     $ac_shift
1.11      moko     18193:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1.8       moko     18194:     ac_need_defaults=false;;
                   18195:   --header | --heade | --head | --hea )
                   18196:     $ac_shift
1.11      moko     18197:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1.8       moko     18198:     ac_need_defaults=false;;
                   18199:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18200:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18201:     ac_cs_silent=: ;;
                   18202: 
                   18203:   # This is an error.
1.11      moko     18204:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   18205: Try \`$0 --help' for more information." >&5
                   18206: echo "$as_me: error: unrecognized option: $1
                   18207: Try \`$0 --help' for more information." >&2;}
                   18208:    { (exit 1); exit 1; }; } ;;
1.8       moko     18209: 
1.11      moko     18210:   *) ac_config_targets="$ac_config_targets $1" ;;
1.8       moko     18211: 
                   18212:   esac
                   18213:   shift
                   18214: done
                   18215: 
                   18216: ac_configure_extra_args=
                   18217: 
                   18218: if $ac_cs_silent; then
                   18219:   exec 6>/dev/null
                   18220:   ac_configure_extra_args="$ac_configure_extra_args --silent"
1.10      moko     18221: fi
                   18222: 
                   18223: _ACEOF
1.11      moko     18224: cat >>$CONFIG_STATUS <<_ACEOF
1.10      moko     18225: if \$ac_cs_recheck; then
1.11      moko     18226:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   18227:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.10      moko     18228: fi
                   18229: 
                   18230: _ACEOF
1.11      moko     18231: 
                   18232: cat >>$CONFIG_STATUS <<_ACEOF
1.8       moko     18233: #
1.11      moko     18234: # INIT-COMMANDS section.
1.8       moko     18235: #
1.11      moko     18236: 
1.8       moko     18237: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18238: 
                   18239: 
                   18240: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18241: # if CDPATH is set.
                   18242: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18243: 
                   18244: sed_quote_subst='$sed_quote_subst'
                   18245: double_quote_subst='$double_quote_subst'
                   18246: delay_variable_subst='$delay_variable_subst'
                   18247: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18248: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   18249: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   18250: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   18251: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   18252: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18253: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18254: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18255: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18256: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18257: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18258: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18259: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18260: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18261: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18262: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18263: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18264: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18265: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18266: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18267: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18268: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18269: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18270: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18271: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18272: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18273: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18274: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18275: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18276: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18277: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18278: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18279: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18280: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   18281: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18282: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18283: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18284: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18285: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18286: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18287: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18288: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18289: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18290: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18291: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18292: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18293: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18294: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18295: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18296: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18297: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18298: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18299: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18300: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18301: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18302: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18303: 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"`'
                   18304: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18305: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18306: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18307: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18308: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18309: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18310: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18311: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18312: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18313: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18314: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18315: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18316: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18317: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18318: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18319: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18320: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18321: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18322: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18323: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18324: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18325: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18326: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18327: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18328: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18329: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18330: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18331: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18332: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18333: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18334: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18335: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18336: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18337: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18338: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18339: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18340: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18341: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18342: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18343: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18344: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18345: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18346: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18347: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18348: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18349: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18350: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18351: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18352: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18353: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18354: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18355: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18356: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18357: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18358: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18359: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18360: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18361: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18362: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18363: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18364: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18365: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18366: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18367: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18368: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18369: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18370: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18371: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   18372: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   18373: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   18374: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   18375: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   18376: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   18377: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   18378: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   18379: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   18380: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   18381: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   18382: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   18383: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18384: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   18385: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18386: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18387: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18388: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   18389: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   18390: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18391: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   18392: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   18393: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   18394: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   18395: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   18396: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   18397: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18398: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18399: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   18400: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18401: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18402: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18403: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18404: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18405: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18406: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   18407: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18408: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18409: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18410: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   18411: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   18412: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   18413: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   18414: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   18415: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   18416: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   18417: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   18418: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   18419: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18420: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18421: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18422: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18423: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18424: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18425: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   18426: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   18427: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18428: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18429: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18430: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18431: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   18432: 
                   18433: LTCC='$LTCC'
                   18434: LTCFLAGS='$LTCFLAGS'
                   18435: compiler='$compiler_DEFAULT'
                   18436: 
                   18437: # A function that is used when there is no print builtin or printf.
                   18438: func_fallback_echo ()
                   18439: {
                   18440:   eval 'cat <<_LTECHO_EOF
                   18441: \$1
                   18442: _LTECHO_EOF'
                   18443: }
                   18444: 
                   18445: # Quote evaled strings.
                   18446: for var in SHELL \
                   18447: ECHO \
                   18448: PATH_SEPARATOR \
                   18449: SED \
                   18450: GREP \
                   18451: EGREP \
                   18452: FGREP \
                   18453: LD \
                   18454: NM \
                   18455: LN_S \
                   18456: lt_SP2NL \
                   18457: lt_NL2SP \
                   18458: reload_flag \
                   18459: OBJDUMP \
                   18460: deplibs_check_method \
                   18461: file_magic_cmd \
                   18462: file_magic_glob \
                   18463: want_nocaseglob \
                   18464: DLLTOOL \
                   18465: sharedlib_from_linklib_cmd \
                   18466: AR \
                   18467: AR_FLAGS \
                   18468: archiver_list_spec \
                   18469: STRIP \
                   18470: RANLIB \
                   18471: CC \
                   18472: CFLAGS \
                   18473: compiler \
                   18474: lt_cv_sys_global_symbol_pipe \
                   18475: lt_cv_sys_global_symbol_to_cdecl \
                   18476: lt_cv_sys_global_symbol_to_c_name_address \
                   18477: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   18478: nm_file_list_spec \
                   18479: lt_prog_compiler_no_builtin_flag \
                   18480: lt_prog_compiler_pic \
                   18481: lt_prog_compiler_wl \
                   18482: lt_prog_compiler_static \
                   18483: lt_cv_prog_compiler_c_o \
                   18484: need_locks \
                   18485: MANIFEST_TOOL \
                   18486: DSYMUTIL \
                   18487: NMEDIT \
                   18488: LIPO \
                   18489: OTOOL \
                   18490: OTOOL64 \
                   18491: shrext_cmds \
                   18492: export_dynamic_flag_spec \
                   18493: whole_archive_flag_spec \
                   18494: compiler_needs_object \
                   18495: with_gnu_ld \
                   18496: allow_undefined_flag \
                   18497: no_undefined_flag \
                   18498: hardcode_libdir_flag_spec \
                   18499: hardcode_libdir_separator \
                   18500: exclude_expsyms \
                   18501: include_expsyms \
                   18502: file_list_spec \
                   18503: variables_saved_for_relink \
                   18504: libname_spec \
                   18505: library_names_spec \
                   18506: soname_spec \
                   18507: install_override_mode \
                   18508: finish_eval \
                   18509: old_striplib \
                   18510: striplib \
                   18511: compiler_lib_search_dirs \
                   18512: predep_objects \
                   18513: postdep_objects \
                   18514: predeps \
                   18515: postdeps \
                   18516: compiler_lib_search_path \
                   18517: AS \
                   18518: LD_CXX \
                   18519: reload_flag_CXX \
                   18520: compiler_CXX \
                   18521: lt_prog_compiler_no_builtin_flag_CXX \
                   18522: lt_prog_compiler_pic_CXX \
                   18523: lt_prog_compiler_wl_CXX \
                   18524: lt_prog_compiler_static_CXX \
                   18525: lt_cv_prog_compiler_c_o_CXX \
                   18526: export_dynamic_flag_spec_CXX \
                   18527: whole_archive_flag_spec_CXX \
                   18528: compiler_needs_object_CXX \
                   18529: with_gnu_ld_CXX \
                   18530: allow_undefined_flag_CXX \
                   18531: no_undefined_flag_CXX \
                   18532: hardcode_libdir_flag_spec_CXX \
                   18533: hardcode_libdir_separator_CXX \
                   18534: exclude_expsyms_CXX \
                   18535: include_expsyms_CXX \
                   18536: file_list_spec_CXX \
                   18537: compiler_lib_search_dirs_CXX \
                   18538: predep_objects_CXX \
                   18539: postdep_objects_CXX \
                   18540: predeps_CXX \
                   18541: postdeps_CXX \
                   18542: compiler_lib_search_path_CXX; do
                   18543:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   18544:     *[\\\\\\\`\\"\\\$]*)
                   18545:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   18546:       ;;
                   18547:     *)
                   18548:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   18549:       ;;
                   18550:     esac
                   18551: done
                   18552: 
                   18553: # Double-quote double-evaled strings.
                   18554: for var in reload_cmds \
                   18555: old_postinstall_cmds \
                   18556: old_postuninstall_cmds \
                   18557: old_archive_cmds \
                   18558: extract_expsyms_cmds \
                   18559: old_archive_from_new_cmds \
                   18560: old_archive_from_expsyms_cmds \
                   18561: archive_cmds \
                   18562: archive_expsym_cmds \
                   18563: module_cmds \
                   18564: module_expsym_cmds \
                   18565: export_symbols_cmds \
                   18566: prelink_cmds \
                   18567: postlink_cmds \
                   18568: postinstall_cmds \
                   18569: postuninstall_cmds \
                   18570: finish_cmds \
                   18571: sys_lib_search_path_spec \
                   18572: sys_lib_dlsearch_path_spec \
                   18573: reload_cmds_CXX \
                   18574: old_archive_cmds_CXX \
                   18575: old_archive_from_new_cmds_CXX \
                   18576: old_archive_from_expsyms_cmds_CXX \
                   18577: archive_cmds_CXX \
                   18578: archive_expsym_cmds_CXX \
                   18579: module_cmds_CXX \
                   18580: module_expsym_cmds_CXX \
                   18581: export_symbols_cmds_CXX \
                   18582: prelink_cmds_CXX \
                   18583: postlink_cmds_CXX; do
                   18584:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   18585:     *[\\\\\\\`\\"\\\$]*)
                   18586:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   18587:       ;;
                   18588:     *)
                   18589:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   18590:       ;;
                   18591:     esac
                   18592: done
                   18593: 
                   18594: ac_aux_dir='$ac_aux_dir'
                   18595: xsi_shell='$xsi_shell'
                   18596: lt_shell_append='$lt_shell_append'
                   18597: 
                   18598: # See if we are running on zsh, and set the options which allow our
                   18599: # commands through without removal of \ escapes INIT.
                   18600: if test -n "\${ZSH_VERSION+set}" ; then
                   18601:    setopt NO_GLOB_SUBST
                   18602: fi
                   18603: 
                   18604: 
                   18605:     PACKAGE='$PACKAGE'
                   18606:     VERSION='$VERSION'
                   18607:     TIMESTAMP='$TIMESTAMP'
                   18608:     RM='$RM'
                   18609:     ofile='$ofile'
                   18610: 
                   18611: 
                   18612: 
                   18613: 
                   18614: 
                   18615: 
                   18616: _ACEOF
                   18617: 
                   18618: 
1.11      moko     18619: 
                   18620: cat >>$CONFIG_STATUS <<\_ACEOF
1.8       moko     18621: for ac_config_target in $ac_config_targets
                   18622: do
1.11      moko     18623:   case "$ac_config_target" in
                   18624:   # Handling of arguments.
                   18625:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   18626:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   18627:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   18628:   "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   18629:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   18630: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   18631:    { (exit 1); exit 1; }; };;
1.8       moko     18632:   esac
                   18633: done
                   18634: 
                   18635: # If the user did not use the arguments to specify the items to instantiate,
                   18636: # then the envvar interface is used.  Set only those that are not.
                   18637: # We use the long form for the default assignment because of an extremely
                   18638: # bizarre bug on SunOS 4.1.3.
                   18639: if $ac_need_defaults; then
                   18640:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   18641:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   18642:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   18643: fi
                   18644: 
                   18645: # Have a temporary directory for convenience.  Make it in the build tree
1.11      moko     18646: # simply because there is no reason to put it here, and in addition,
1.8       moko     18647: # creating and moving files from /tmp can sometimes cause problems.
1.11      moko     18648: # Create a temporary directory, and hook for its removal unless debugging.
1.8       moko     18649: $debug ||
                   18650: {
1.11      moko     18651:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   18652:   trap '{ (exit 1); exit 1; }' 1 2 13 15
1.8       moko     18653: }
1.11      moko     18654: 
1.8       moko     18655: # Create a (secure) tmp directory for tmp files.
                   18656: 
                   18657: {
1.11      moko     18658:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1.8       moko     18659:   test -n "$tmp" && test -d "$tmp"
                   18660: }  ||
                   18661: {
1.11      moko     18662:   tmp=./confstat$$-$RANDOM
                   18663:   (umask 077 && mkdir $tmp)
                   18664: } ||
1.8       moko     18665: {
1.11      moko     18666:    echo "$me: cannot create a temporary directory in ." >&2
                   18667:    { (exit 1); exit 1; }
1.8       moko     18668: }
                   18669: 
                   18670: _ACEOF
                   18671: 
1.11      moko     18672: cat >>$CONFIG_STATUS <<_ACEOF
1.8       moko     18673: 
1.11      moko     18674: #
                   18675: # CONFIG_FILES section.
                   18676: #
1.8       moko     18677: 
1.11      moko     18678: # No need to generate the scripts if there are no CONFIG_FILES.
                   18679: # This happens for instance when ./config.status config.h
                   18680: if test -n "\$CONFIG_FILES"; then
                   18681:   # Protect against being on the right side of a sed subst in config.status.
                   18682:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   18683:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   18684: s,@SHELL@,$SHELL,;t t
                   18685: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   18686: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   18687: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   18688: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   18689: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   18690: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   18691: s,@exec_prefix@,$exec_prefix,;t t
                   18692: s,@prefix@,$prefix,;t t
                   18693: s,@program_transform_name@,$program_transform_name,;t t
                   18694: s,@bindir@,$bindir,;t t
                   18695: s,@sbindir@,$sbindir,;t t
                   18696: s,@libexecdir@,$libexecdir,;t t
                   18697: s,@datadir@,$datadir,;t t
                   18698: s,@sysconfdir@,$sysconfdir,;t t
                   18699: s,@sharedstatedir@,$sharedstatedir,;t t
                   18700: s,@localstatedir@,$localstatedir,;t t
                   18701: s,@libdir@,$libdir,;t t
                   18702: s,@includedir@,$includedir,;t t
                   18703: s,@oldincludedir@,$oldincludedir,;t t
                   18704: s,@infodir@,$infodir,;t t
                   18705: s,@mandir@,$mandir,;t t
                   18706: s,@build_alias@,$build_alias,;t t
                   18707: s,@host_alias@,$host_alias,;t t
                   18708: s,@target_alias@,$target_alias,;t t
                   18709: s,@DEFS@,$DEFS,;t t
                   18710: s,@ECHO_C@,$ECHO_C,;t t
                   18711: s,@ECHO_N@,$ECHO_N,;t t
                   18712: s,@ECHO_T@,$ECHO_T,;t t
                   18713: s,@LIBS@,$LIBS,;t t
                   18714: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   18715: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   18716: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   18717: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   18718: s,@PACKAGE@,$PACKAGE,;t t
                   18719: s,@VERSION@,$VERSION,;t t
                   18720: s,@ACLOCAL@,$ACLOCAL,;t t
                   18721: s,@AUTOCONF@,$AUTOCONF,;t t
                   18722: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   18723: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   18724: s,@MAKEINFO@,$MAKEINFO,;t t
                   18725: s,@install_sh@,$install_sh,;t t
                   18726: s,@STRIP@,$STRIP,;t t
                   18727: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   18728: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   18729: s,@mkdir_p@,$mkdir_p,;t t
                   18730: s,@AWK@,$AWK,;t t
                   18731: s,@SET_MAKE@,$SET_MAKE,;t t
                   18732: s,@am__leading_dot@,$am__leading_dot,;t t
                   18733: s,@AMTAR@,$AMTAR,;t t
                   18734: s,@am__tar@,$am__tar,;t t
                   18735: s,@am__untar@,$am__untar,;t t
                   18736: s,@SQLITE_INC@,$SQLITE_INC,;t t
                   18737: s,@LDFLAGS@,$LDFLAGS,;t t
                   18738: s,@CXX@,$CXX,;t t
                   18739: s,@CXXFLAGS@,$CXXFLAGS,;t t
                   18740: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   18741: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
                   18742: s,@EXEEXT@,$EXEEXT,;t t
                   18743: s,@OBJEXT@,$OBJEXT,;t t
                   18744: s,@DEPDIR@,$DEPDIR,;t t
                   18745: s,@am__include@,$am__include,;t t
                   18746: s,@am__quote@,$am__quote,;t t
                   18747: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   18748: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   18749: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   18750: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   18751: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   18752: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   18753: s,@CC@,$CC,;t t
                   18754: s,@CFLAGS@,$CFLAGS,;t t
                   18755: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   18756: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   18757: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   18758: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   18759: s,@LIBTOOL@,$LIBTOOL,;t t
                   18760: s,@build@,$build,;t t
                   18761: s,@build_cpu@,$build_cpu,;t t
                   18762: s,@build_vendor@,$build_vendor,;t t
                   18763: s,@build_os@,$build_os,;t t
                   18764: s,@host@,$host,;t t
                   18765: s,@host_cpu@,$host_cpu,;t t
                   18766: s,@host_vendor@,$host_vendor,;t t
                   18767: s,@host_os@,$host_os,;t t
                   18768: s,@SED@,$SED,;t t
                   18769: s,@EGREP@,$EGREP,;t t
                   18770: s,@FGREP@,$FGREP,;t t
                   18771: s,@GREP@,$GREP,;t t
                   18772: s,@LD@,$LD,;t t
                   18773: s,@DUMPBIN@,$DUMPBIN,;t t
                   18774: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   18775: s,@NM@,$NM,;t t
                   18776: s,@LN_S@,$LN_S,;t t
                   18777: s,@OBJDUMP@,$OBJDUMP,;t t
                   18778: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   18779: s,@DLLTOOL@,$DLLTOOL,;t t
                   18780: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   18781: s,@AR@,$AR,;t t
                   18782: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   18783: s,@RANLIB@,$RANLIB,;t t
                   18784: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   18785: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   18786: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   18787: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   18788: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   18789: s,@NMEDIT@,$NMEDIT,;t t
                   18790: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   18791: s,@LIPO@,$LIPO,;t t
                   18792: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   18793: s,@OTOOL@,$OTOOL,;t t
                   18794: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   18795: s,@OTOOL64@,$OTOOL64,;t t
                   18796: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   18797: s,@CPP@,$CPP,;t t
                   18798: s,@CXXCPP@,$CXXCPP,;t t
                   18799: s,@LIBLTDL@,$LIBLTDL,;t t
                   18800: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   18801: s,@LTDLINCL@,$LTDLINCL,;t t
                   18802: s,@INCLTDL@,$INCLTDL,;t t
                   18803: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   18804: s,@AS@,$AS,;t t
                   18805: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   18806: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   18807: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   18808: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   18809: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   18810: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   18811: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   18812: s,@ARGZ_H@,$ARGZ_H,;t t
                   18813: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   18814: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   18815: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   18816: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
                   18817: s,@subdirs@,$subdirs,;t t
                   18818: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   18819: s,@LTDLOPEN@,$LTDLOPEN,;t t
                   18820: s,@LIBOBJS@,$LIBOBJS,;t t
                   18821: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
                   18822: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   18823: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
                   18824: CEOF
                   18825: 
                   18826: _ACEOF
                   18827: 
                   18828:   cat >>$CONFIG_STATUS <<\_ACEOF
                   18829:   # Split the substitutions into bite-sized pieces for seds with
                   18830:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   18831:   ac_max_sed_lines=48
                   18832:   ac_sed_frag=1 # Number of current file.
                   18833:   ac_beg=1 # First line for current file.
                   18834:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   18835:   ac_more_lines=:
                   18836:   ac_sed_cmds=
                   18837:   while $ac_more_lines; do
                   18838:     if test $ac_beg -gt 1; then
                   18839:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   18840:     else
                   18841:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   18842:     fi
                   18843:     if test ! -s $tmp/subs.frag; then
                   18844:       ac_more_lines=false
                   18845:     else
                   18846:       # The purpose of the label and of the branching condition is to
                   18847:       # speed up the sed processing (if there are no `@' at all, there
                   18848:       # is no need to browse any of the substitutions).
                   18849:       # These are the two extra sed commands mentioned above.
                   18850:       (echo ':t
                   18851:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   18852:       if test -z "$ac_sed_cmds"; then
                   18853:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   18854:       else
                   18855:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   18856:       fi
                   18857:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   18858:       ac_beg=$ac_end
                   18859:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   18860:     fi
                   18861:   done
                   18862:   if test -z "$ac_sed_cmds"; then
                   18863:     ac_sed_cmds=cat
1.8       moko     18864:   fi
1.11      moko     18865: fi # test -n "$CONFIG_FILES"
1.8       moko     18866: 
                   18867: _ACEOF
1.11      moko     18868: cat >>$CONFIG_STATUS <<\_ACEOF
                   18869: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   18870:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   18871:   case $ac_file in
                   18872:   - | *:- | *:-:* ) # input from stdin
                   18873:        cat >$tmp/stdin
                   18874:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   18875:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   18876:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   18877:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   18878:   * )   ac_file_in=$ac_file.in ;;
1.8       moko     18879:   esac
                   18880: 
1.11      moko     18881:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   18882:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1.8       moko     18883: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18884:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   18885:         X"$ac_file" : 'X\(//\)$' \| \
1.11      moko     18886:         X"$ac_file" : 'X\(/\)' \| \
                   18887:         .     : '\(.\)' 2>/dev/null ||
                   18888: echo X"$ac_file" |
                   18889:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   18890:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   18891:          /^X\(\/\/\)$/{ s//\1/; q; }
                   18892:          /^X\(\/\).*/{ s//\1/; q; }
                   18893:          s/.*/./; q'`
                   18894:   { if $as_mkdir_p; then
                   18895:     mkdir -p "$ac_dir"
                   18896:   else
                   18897:     as_dir="$ac_dir"
                   18898:     as_dirs=
                   18899:     while test ! -d "$as_dir"; do
                   18900:       as_dirs="$as_dir $as_dirs"
                   18901:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   18902: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18903:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18904:         X"$as_dir" : 'X\(//\)$' \| \
                   18905:         X"$as_dir" : 'X\(/\)' \| \
                   18906:         .     : '\(.\)' 2>/dev/null ||
                   18907: echo X"$as_dir" |
                   18908:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   18909:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   18910:          /^X\(\/\/\)$/{ s//\1/; q; }
                   18911:          /^X\(\/\).*/{ s//\1/; q; }
                   18912:          s/.*/./; q'`
                   18913:     done
                   18914:     test ! -n "$as_dirs" || mkdir $as_dirs
                   18915:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   18916: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   18917:    { (exit 1); exit 1; }; }; }
                   18918: 
1.8       moko     18919:   ac_builddir=.
                   18920: 
1.11      moko     18921: if test "$ac_dir" != .; then
                   18922:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   18923:   # A "../" for each directory in $ac_dir_suffix.
                   18924:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   18925: else
                   18926:   ac_dir_suffix= ac_top_builddir=
                   18927: fi
1.8       moko     18928: 
                   18929: case $srcdir in
1.11      moko     18930:   .)  # No --srcdir option.  We are building in place.
1.8       moko     18931:     ac_srcdir=.
1.11      moko     18932:     if test -z "$ac_top_builddir"; then
                   18933:        ac_top_srcdir=.
                   18934:     else
                   18935:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   18936:     fi ;;
                   18937:   [\\/]* | ?:[\\/]* )  # Absolute path.
1.8       moko     18938:     ac_srcdir=$srcdir$ac_dir_suffix;
1.11      moko     18939:     ac_top_srcdir=$srcdir ;;
                   18940:   *) # Relative path.
                   18941:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   18942:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.8       moko     18943: esac
                   18944: 
1.11      moko     18945: # Do not use `cd foo && pwd` to compute absolute paths, because
                   18946: # the directories may not exist.
                   18947: case `pwd` in
                   18948: .) ac_abs_builddir="$ac_dir";;
                   18949: *)
                   18950:   case "$ac_dir" in
                   18951:   .) ac_abs_builddir=`pwd`;;
                   18952:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   18953:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   18954:   esac;;
                   18955: esac
                   18956: case $ac_abs_builddir in
                   18957: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   18958: *)
                   18959:   case ${ac_top_builddir}. in
                   18960:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   18961:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   18962:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   18963:   esac;;
                   18964: esac
                   18965: case $ac_abs_builddir in
                   18966: .) ac_abs_srcdir=$ac_srcdir;;
                   18967: *)
                   18968:   case $ac_srcdir in
                   18969:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   18970:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   18971:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   18972:   esac;;
                   18973: esac
                   18974: case $ac_abs_builddir in
                   18975: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   18976: *)
                   18977:   case $ac_top_srcdir in
                   18978:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   18979:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   18980:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   18981:   esac;;
                   18982: esac
1.8       moko     18983: 
                   18984: 
                   18985:   case $INSTALL in
                   18986:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.11      moko     18987:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.8       moko     18988:   esac
                   18989: 
1.11      moko     18990:   if test x"$ac_file" != x-; then
                   18991:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   18992: echo "$as_me: creating $ac_file" >&6;}
                   18993:     rm -f "$ac_file"
                   18994:   fi
                   18995:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   18996:   # use $as_me), people would be surprised to read:
                   18997:   #    /* config.h.  Generated by config.status.  */
                   18998:   if test x"$ac_file" = x-; then
                   18999:     configure_input=
                   19000:   else
                   19001:     configure_input="$ac_file.  "
                   19002:   fi
                   19003:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   19004:                                     sed 's,.*/,,'` by configure."
                   19005: 
                   19006:   # First look for the input files in the build tree, otherwise in the
                   19007:   # src tree.
                   19008:   ac_file_inputs=`IFS=:
                   19009:     for f in $ac_file_in; do
                   19010:       case $f in
                   19011:       -) echo $tmp/stdin ;;
                   19012:       [\\/$]*)
                   19013:         # Absolute (can't be DOS-style, as IFS=:)
                   19014:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19015: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19016:    { (exit 1); exit 1; }; }
                   19017:         echo "$f";;
                   19018:       *) # Relative
                   19019:         if test -f "$f"; then
                   19020:           # Build tree
                   19021:           echo "$f"
                   19022:         elif test -f "$srcdir/$f"; then
                   19023:           # Source tree
                   19024:           echo "$srcdir/$f"
                   19025:         else
                   19026:           # /dev/null tree
                   19027:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19028: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19029:    { (exit 1); exit 1; }; }
                   19030:         fi;;
                   19031:       esac
                   19032:     done` || { (exit 1); exit 1; }
1.10      moko     19033: _ACEOF
1.11      moko     19034: cat >>$CONFIG_STATUS <<_ACEOF
                   19035:   sed "$ac_vpsub
1.8       moko     19036: $extrasub
                   19037: _ACEOF
1.11      moko     19038: cat >>$CONFIG_STATUS <<\_ACEOF
1.8       moko     19039: :t
                   19040: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.11      moko     19041: s,@configure_input@,$configure_input,;t t
                   19042: s,@srcdir@,$ac_srcdir,;t t
                   19043: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   19044: s,@top_srcdir@,$ac_top_srcdir,;t t
                   19045: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   19046: s,@builddir@,$ac_builddir,;t t
                   19047: s,@abs_builddir@,$ac_abs_builddir,;t t
                   19048: s,@top_builddir@,$ac_top_builddir,;t t
                   19049: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   19050: s,@INSTALL@,$ac_INSTALL,;t t
                   19051: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   19052:   rm -f $tmp/stdin
                   19053:   if test x"$ac_file" != x-; then
                   19054:     mv $tmp/out $ac_file
                   19055:   else
                   19056:     cat $tmp/out
                   19057:     rm -f $tmp/out
                   19058:   fi
                   19059: 
                   19060: done
                   19061: _ACEOF
                   19062: cat >>$CONFIG_STATUS <<\_ACEOF
                   19063: 
                   19064: #
                   19065: # CONFIG_HEADER section.
                   19066: #
                   19067: 
                   19068: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   19069: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   19070: #
                   19071: # ac_d sets the value in "#define NAME VALUE" lines.
                   19072: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   19073: ac_dB='[        ].*$,\1#\2'
                   19074: ac_dC=' '
                   19075: ac_dD=',;t'
                   19076: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   19077: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   19078: ac_uB='$,\1#\2define\3'
                   19079: ac_uC=' '
                   19080: ac_uD=',;t'
1.8       moko     19081: 
1.11      moko     19082: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
                   19083:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.8       moko     19084:   case $ac_file in
1.11      moko     19085:   - | *:- | *:-:* ) # input from stdin
                   19086:        cat >$tmp/stdin
                   19087:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19088:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   19089:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19090:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   19091:   * )   ac_file_in=$ac_file.in ;;
                   19092:   esac
                   19093: 
                   19094:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   19095: echo "$as_me: creating $ac_file" >&6;}
                   19096: 
                   19097:   # First look for the input files in the build tree, otherwise in the
                   19098:   # src tree.
                   19099:   ac_file_inputs=`IFS=:
                   19100:     for f in $ac_file_in; do
                   19101:       case $f in
                   19102:       -) echo $tmp/stdin ;;
                   19103:       [\\/$]*)
                   19104:         # Absolute (can't be DOS-style, as IFS=:)
                   19105:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19106: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19107:    { (exit 1); exit 1; }; }
                   19108:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   19109:         echo "$f";;
                   19110:       *) # Relative
                   19111:         if test -f "$f"; then
                   19112:           # Build tree
                   19113:           echo "$f"
                   19114:         elif test -f "$srcdir/$f"; then
                   19115:           # Source tree
                   19116:           echo "$srcdir/$f"
                   19117:         else
                   19118:           # /dev/null tree
                   19119:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19120: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19121:    { (exit 1); exit 1; }; }
                   19122:         fi;;
                   19123:       esac
                   19124:     done` || { (exit 1); exit 1; }
                   19125:   # Remove the trailing spaces.
                   19126:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
                   19127: 
                   19128: _ACEOF
                   19129: 
                   19130: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   19131: # `conftest.undefs', that substitutes the proper values into
                   19132: # config.h.in to produce config.h.  The first handles `#define'
                   19133: # templates, and the second `#undef' templates.
                   19134: # And first: Protect against being on the right side of a sed subst in
                   19135: # config.status.  Protect against being in an unquoted here document
                   19136: # in config.status.
                   19137: rm -f conftest.defines conftest.undefs
                   19138: # Using a here document instead of a string reduces the quoting nightmare.
                   19139: # Putting comments in sed scripts is not portable.
                   19140: #
                   19141: # `end' is used to avoid that the second main sed command (meant for
                   19142: # 0-ary CPP macros) applies to n-ary macro definitions.
                   19143: # See the Autoconf documentation for `clear'.
                   19144: cat >confdef2sed.sed <<\_ACEOF
                   19145: s/[\\&,]/\\&/g
                   19146: s,[\\$`],\\&,g
                   19147: t clear
                   19148: : clear
                   19149: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   19150: t end
                   19151: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   19152: : end
                   19153: _ACEOF
                   19154: # If some macros were called several times there might be several times
                   19155: # the same #defines, which is useless.  Nevertheless, we may not want to
                   19156: # sort them, since we want the *last* AC-DEFINE to be honored.
                   19157: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   19158: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   19159: rm -f confdef2sed.sed
                   19160: 
                   19161: # This sed command replaces #undef with comments.  This is necessary, for
                   19162: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   19163: # on some systems where configure will not decide to define it.
                   19164: cat >>conftest.undefs <<\_ACEOF
                   19165: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   19166: _ACEOF
                   19167: 
                   19168: # Break up conftest.defines because some shells have a limit on the size
                   19169: # of here documents, and old seds have small limits too (100 cmds).
                   19170: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   19171: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   19172: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   19173: echo '  :' >>$CONFIG_STATUS
                   19174: rm -f conftest.tail
                   19175: while grep . conftest.defines >/dev/null
                   19176: do
                   19177:   # Write a limited-size here document to $tmp/defines.sed.
                   19178:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   19179:   # Speed up: don't consider the non `#define' lines.
                   19180:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   19181:   # Work around the forget-to-reset-the-flag bug.
                   19182:   echo 't clr' >>$CONFIG_STATUS
                   19183:   echo ': clr' >>$CONFIG_STATUS
                   19184:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   19185:   echo 'CEOF
                   19186:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   19187:   rm -f $tmp/in
                   19188:   mv $tmp/out $tmp/in
                   19189: ' >>$CONFIG_STATUS
                   19190:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   19191:   rm -f conftest.defines
                   19192:   mv conftest.tail conftest.defines
                   19193: done
                   19194: rm -f conftest.defines
                   19195: echo '  fi # grep' >>$CONFIG_STATUS
                   19196: echo >>$CONFIG_STATUS
                   19197: 
                   19198: # Break up conftest.undefs because some shells have a limit on the size
                   19199: # of here documents, and old seds have small limits too (100 cmds).
                   19200: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
                   19201: rm -f conftest.tail
                   19202: while grep . conftest.undefs >/dev/null
                   19203: do
                   19204:   # Write a limited-size here document to $tmp/undefs.sed.
                   19205:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   19206:   # Speed up: don't consider the non `#undef'
                   19207:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   19208:   # Work around the forget-to-reset-the-flag bug.
                   19209:   echo 't clr' >>$CONFIG_STATUS
                   19210:   echo ': clr' >>$CONFIG_STATUS
                   19211:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
                   19212:   echo 'CEOF
                   19213:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   19214:   rm -f $tmp/in
                   19215:   mv $tmp/out $tmp/in
                   19216: ' >>$CONFIG_STATUS
                   19217:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   19218:   rm -f conftest.undefs
                   19219:   mv conftest.tail conftest.undefs
                   19220: done
                   19221: rm -f conftest.undefs
                   19222: 
                   19223: cat >>$CONFIG_STATUS <<\_ACEOF
                   19224:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19225:   # use $as_me), people would be surprised to read:
                   19226:   #    /* config.h.  Generated by config.status.  */
                   19227:   if test x"$ac_file" = x-; then
                   19228:     echo "/* Generated by configure.  */" >$tmp/config.h
                   19229:   else
                   19230:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   19231:   fi
                   19232:   cat $tmp/in >>$tmp/config.h
                   19233:   rm -f $tmp/in
1.8       moko     19234:   if test x"$ac_file" != x-; then
1.11      moko     19235:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   19236:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   19237: echo "$as_me: $ac_file is unchanged" >&6;}
1.8       moko     19238:     else
1.11      moko     19239:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   19240: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19241:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19242:         X"$ac_file" : 'X\(//\)$' \| \
                   19243:         X"$ac_file" : 'X\(/\)' \| \
                   19244:         .     : '\(.\)' 2>/dev/null ||
                   19245: echo X"$ac_file" |
                   19246:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19247:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19248:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19249:          /^X\(\/\).*/{ s//\1/; q; }
                   19250:          s/.*/./; q'`
                   19251:       { if $as_mkdir_p; then
                   19252:     mkdir -p "$ac_dir"
                   19253:   else
                   19254:     as_dir="$ac_dir"
                   19255:     as_dirs=
                   19256:     while test ! -d "$as_dir"; do
                   19257:       as_dirs="$as_dir $as_dirs"
                   19258:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19259: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19260:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19261:         X"$as_dir" : 'X\(//\)$' \| \
                   19262:         X"$as_dir" : 'X\(/\)' \| \
                   19263:         .     : '\(.\)' 2>/dev/null ||
                   19264: echo X"$as_dir" |
                   19265:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19266:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19267:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19268:          /^X\(\/\).*/{ s//\1/; q; }
                   19269:          s/.*/./; q'`
                   19270:     done
                   19271:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19272:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   19273: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   19274:    { (exit 1); exit 1; }; }; }
                   19275: 
                   19276:       rm -f $ac_file
                   19277:       mv $tmp/config.h $ac_file
1.8       moko     19278:     fi
                   19279:   else
1.11      moko     19280:     cat $tmp/config.h
                   19281:     rm -f $tmp/config.h
1.8       moko     19282:   fi
1.11      moko     19283: # Compute $ac_file's index in $config_headers.
1.8       moko     19284: _am_stamp_count=1
                   19285: for _am_header in $config_headers :; do
                   19286:   case $_am_header in
1.11      moko     19287:     $ac_file | $ac_file:* )
1.8       moko     19288:       break ;;
                   19289:     * )
                   19290:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19291:   esac
                   19292: done
1.11      moko     19293: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   19294: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19295:         X$ac_file : 'X\(//\)[^/]' \| \
                   19296:         X$ac_file : 'X\(//\)$' \| \
                   19297:         X$ac_file : 'X\(/\)' \| \
                   19298:         .     : '\(.\)' 2>/dev/null ||
                   19299: echo X$ac_file |
                   19300:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19301:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19302:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19303:          /^X\(\/\).*/{ s//\1/; q; }
                   19304:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   19305: done
                   19306: _ACEOF
                   19307: cat >>$CONFIG_STATUS <<\_ACEOF
                   19308: 
                   19309: #
                   19310: # CONFIG_COMMANDS section.
                   19311: #
                   19312: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   19313:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   19314:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19315:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   19316: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19317:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   19318:         X"$ac_dest" : 'X\(//\)$' \| \
                   19319:         X"$ac_dest" : 'X\(/\)' \| \
                   19320:         .     : '\(.\)' 2>/dev/null ||
                   19321: echo X"$ac_dest" |
                   19322:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19323:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19324:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19325:          /^X\(\/\).*/{ s//\1/; q; }
                   19326:          s/.*/./; q'`
                   19327:   { if $as_mkdir_p; then
                   19328:     mkdir -p "$ac_dir"
                   19329:   else
                   19330:     as_dir="$ac_dir"
                   19331:     as_dirs=
                   19332:     while test ! -d "$as_dir"; do
                   19333:       as_dirs="$as_dir $as_dirs"
                   19334:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19335: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19336:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19337:         X"$as_dir" : 'X\(//\)$' \| \
                   19338:         X"$as_dir" : 'X\(/\)' \| \
                   19339:         .     : '\(.\)' 2>/dev/null ||
                   19340: echo X"$as_dir" |
                   19341:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19342:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19343:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19344:          /^X\(\/\).*/{ s//\1/; q; }
                   19345:          s/.*/./; q'`
                   19346:     done
                   19347:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19348:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   19349: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   19350:    { (exit 1); exit 1; }; }; }
                   19351: 
                   19352:   ac_builddir=.
                   19353: 
                   19354: if test "$ac_dir" != .; then
                   19355:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   19356:   # A "../" for each directory in $ac_dir_suffix.
                   19357:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   19358: else
                   19359:   ac_dir_suffix= ac_top_builddir=
                   19360: fi
                   19361: 
                   19362: case $srcdir in
                   19363:   .)  # No --srcdir option.  We are building in place.
                   19364:     ac_srcdir=.
                   19365:     if test -z "$ac_top_builddir"; then
                   19366:        ac_top_srcdir=.
                   19367:     else
                   19368:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   19369:     fi ;;
                   19370:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   19371:     ac_srcdir=$srcdir$ac_dir_suffix;
                   19372:     ac_top_srcdir=$srcdir ;;
                   19373:   *) # Relative path.
                   19374:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   19375:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   19376: esac
1.8       moko     19377: 
1.11      moko     19378: # Do not use `cd foo && pwd` to compute absolute paths, because
                   19379: # the directories may not exist.
                   19380: case `pwd` in
                   19381: .) ac_abs_builddir="$ac_dir";;
                   19382: *)
                   19383:   case "$ac_dir" in
                   19384:   .) ac_abs_builddir=`pwd`;;
                   19385:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   19386:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   19387:   esac;;
                   19388: esac
                   19389: case $ac_abs_builddir in
                   19390: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19391: *)
                   19392:   case ${ac_top_builddir}. in
                   19393:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   19394:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19395:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   19396:   esac;;
                   19397: esac
                   19398: case $ac_abs_builddir in
                   19399: .) ac_abs_srcdir=$ac_srcdir;;
                   19400: *)
                   19401:   case $ac_srcdir in
                   19402:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   19403:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   19404:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   19405:   esac;;
                   19406: esac
                   19407: case $ac_abs_builddir in
                   19408: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19409: *)
                   19410:   case $ac_top_srcdir in
                   19411:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   19412:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19413:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   19414:   esac;;
                   19415: esac
1.8       moko     19416: 
                   19417: 
1.11      moko     19418:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   19419: echo "$as_me: executing $ac_dest commands" >&6;}
                   19420:   case $ac_dest in
                   19421:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1.8       moko     19422:   # Strip MF so we end up with the name of the file.
                   19423:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   19424:   # Check whether this is an Automake generated Makefile or not.
                   19425:   # We used to match only the files named `Makefile.in', but
                   19426:   # some people rename them; so instead we look at the file content.
                   19427:   # Grep'ing the first line is not enough: some people post-process
                   19428:   # each Makefile.in and add a new line on top of each file to say so.
                   19429:   # So let's grep whole file.
                   19430:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1.11      moko     19431:     dirpart=`(dirname "$mf") 2>/dev/null ||
1.8       moko     19432: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19433:         X"$mf" : 'X\(//\)[^/]' \| \
                   19434:         X"$mf" : 'X\(//\)$' \| \
1.11      moko     19435:         X"$mf" : 'X\(/\)' \| \
                   19436:         .     : '\(.\)' 2>/dev/null ||
                   19437: echo X"$mf" |
                   19438:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19439:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19440:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19441:          /^X\(\/\).*/{ s//\1/; q; }
                   19442:          s/.*/./; q'`
1.8       moko     19443:   else
                   19444:     continue
                   19445:   fi
                   19446:   # Extract the definition of DEPDIR, am__include, and am__quote
                   19447:   # from the Makefile without running `make'.
                   19448:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   19449:   test -z "$DEPDIR" && continue
                   19450:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   19451:   test -z "am__include" && continue
                   19452:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   19453:   # When using ansi2knr, U may be empty or an underscore; expand it
                   19454:   U=`sed -n 's/^U = //p' < "$mf"`
                   19455:   # Find all dependency output files, they are included files with
                   19456:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   19457:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   19458:   # expansion.
                   19459:   for file in `sed -n "
                   19460:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   19461:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   19462:     # Make sure the directory exists.
                   19463:     test -f "$dirpart/$file" && continue
1.11      moko     19464:     fdir=`(dirname "$file") 2>/dev/null ||
1.8       moko     19465: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19466:         X"$file" : 'X\(//\)[^/]' \| \
                   19467:         X"$file" : 'X\(//\)$' \| \
1.11      moko     19468:         X"$file" : 'X\(/\)' \| \
                   19469:         .     : '\(.\)' 2>/dev/null ||
                   19470: echo X"$file" |
                   19471:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19472:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19473:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19474:          /^X\(\/\).*/{ s//\1/; q; }
                   19475:          s/.*/./; q'`
                   19476:     { if $as_mkdir_p; then
                   19477:     mkdir -p $dirpart/$fdir
                   19478:   else
                   19479:     as_dir=$dirpart/$fdir
                   19480:     as_dirs=
                   19481:     while test ! -d "$as_dir"; do
                   19482:       as_dirs="$as_dir $as_dirs"
                   19483:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19484: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19485:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19486:         X"$as_dir" : 'X\(//\)$' \| \
                   19487:         X"$as_dir" : 'X\(/\)' \| \
                   19488:         .     : '\(.\)' 2>/dev/null ||
                   19489: echo X"$as_dir" |
                   19490:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19491:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19492:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19493:          /^X\(\/\).*/{ s//\1/; q; }
                   19494:          s/.*/./; q'`
                   19495:     done
                   19496:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19497:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   19498: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   19499:    { (exit 1); exit 1; }; }; }
                   19500: 
1.8       moko     19501:     # echo "creating $dirpart/$file"
                   19502:     echo '# dummy' > "$dirpart/$file"
                   19503:   done
                   19504: done
                   19505:  ;;
1.11      moko     19506:     libtool )
1.8       moko     19507: 
                   19508:     # See if we are running on zsh, and set the options which allow our
                   19509:     # commands through without removal of \ escapes.
                   19510:     if test -n "${ZSH_VERSION+set}" ; then
                   19511:       setopt NO_GLOB_SUBST
                   19512:     fi
                   19513: 
                   19514:     cfgfile="${ofile}T"
                   19515:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19516:     $RM "$cfgfile"
                   19517: 
                   19518:     cat <<_LT_EOF >> "$cfgfile"
                   19519: #! $SHELL
                   19520: 
                   19521: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19522: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19523: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19524: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19525: #
                   19526: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19527: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19528: #                 Foundation, Inc.
                   19529: #   Written by Gordon Matzigkeit, 1996
                   19530: #
                   19531: #   This file is part of GNU Libtool.
                   19532: #
                   19533: # GNU Libtool is free software; you can redistribute it and/or
                   19534: # modify it under the terms of the GNU General Public License as
                   19535: # published by the Free Software Foundation; either version 2 of
                   19536: # the License, or (at your option) any later version.
                   19537: #
                   19538: # As a special exception to the GNU General Public License,
                   19539: # if you distribute this file as part of a program or library that
                   19540: # is built using GNU Libtool, you may include this file under the
                   19541: # same distribution terms that you use for the rest of that program.
                   19542: #
                   19543: # GNU Libtool is distributed in the hope that it will be useful,
                   19544: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   19545: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   19546: # GNU General Public License for more details.
                   19547: #
                   19548: # You should have received a copy of the GNU General Public License
                   19549: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   19550: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   19551: # obtained by writing to the Free Software Foundation, Inc.,
                   19552: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   19553: 
                   19554: 
                   19555: # The names of the tagged configurations supported by this script.
                   19556: available_tags="CXX "
                   19557: 
                   19558: # ### BEGIN LIBTOOL CONFIG
                   19559: 
                   19560: # Which release of libtool.m4 was used?
                   19561: macro_version=$macro_version
                   19562: macro_revision=$macro_revision
                   19563: 
                   19564: # Whether or not to build shared libraries.
                   19565: build_libtool_libs=$enable_shared
                   19566: 
                   19567: # Whether or not to build static libraries.
                   19568: build_old_libs=$enable_static
                   19569: 
                   19570: # What type of objects to build.
                   19571: pic_mode=$pic_mode
                   19572: 
                   19573: # Whether or not to optimize for fast installation.
                   19574: fast_install=$enable_fast_install
                   19575: 
                   19576: # Shell to use when invoking shell scripts.
                   19577: SHELL=$lt_SHELL
                   19578: 
                   19579: # An echo program that protects backslashes.
                   19580: ECHO=$lt_ECHO
                   19581: 
                   19582: # The PATH separator for the build system.
                   19583: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   19584: 
                   19585: # The host system.
                   19586: host_alias=$host_alias
                   19587: host=$host
                   19588: host_os=$host_os
                   19589: 
                   19590: # The build system.
                   19591: build_alias=$build_alias
                   19592: build=$build
                   19593: build_os=$build_os
                   19594: 
                   19595: # A sed program that does not truncate output.
                   19596: SED=$lt_SED
                   19597: 
                   19598: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   19599: Xsed="\$SED -e 1s/^X//"
                   19600: 
                   19601: # A grep program that handles long lines.
                   19602: GREP=$lt_GREP
                   19603: 
                   19604: # An ERE matcher.
                   19605: EGREP=$lt_EGREP
                   19606: 
                   19607: # A literal string matcher.
                   19608: FGREP=$lt_FGREP
                   19609: 
                   19610: # A BSD- or MS-compatible name lister.
                   19611: NM=$lt_NM
                   19612: 
                   19613: # Whether we need soft or hard links.
                   19614: LN_S=$lt_LN_S
                   19615: 
                   19616: # What is the maximum length of a command?
                   19617: max_cmd_len=$max_cmd_len
                   19618: 
                   19619: # Object file suffix (normally "o").
                   19620: objext=$ac_objext
                   19621: 
                   19622: # Executable file suffix (normally "").
                   19623: exeext=$exeext
                   19624: 
                   19625: # whether the shell understands "unset".
                   19626: lt_unset=$lt_unset
                   19627: 
                   19628: # turn spaces into newlines.
                   19629: SP2NL=$lt_lt_SP2NL
                   19630: 
                   19631: # turn newlines into spaces.
                   19632: NL2SP=$lt_lt_NL2SP
                   19633: 
                   19634: # convert \$build file names to \$host format.
                   19635: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   19636: 
                   19637: # convert \$build files to toolchain format.
                   19638: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   19639: 
                   19640: # An object symbol dumper.
                   19641: OBJDUMP=$lt_OBJDUMP
                   19642: 
                   19643: # Method to check whether dependent libraries are shared objects.
                   19644: deplibs_check_method=$lt_deplibs_check_method
                   19645: 
                   19646: # Command to use when deplibs_check_method = "file_magic".
                   19647: file_magic_cmd=$lt_file_magic_cmd
                   19648: 
                   19649: # How to find potential files when deplibs_check_method = "file_magic".
                   19650: file_magic_glob=$lt_file_magic_glob
                   19651: 
                   19652: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   19653: want_nocaseglob=$lt_want_nocaseglob
                   19654: 
                   19655: # DLL creation program.
                   19656: DLLTOOL=$lt_DLLTOOL
                   19657: 
                   19658: # Command to associate shared and link libraries.
                   19659: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   19660: 
                   19661: # The archiver.
                   19662: AR=$lt_AR
                   19663: 
                   19664: # Flags to create an archive.
                   19665: AR_FLAGS=$lt_AR_FLAGS
                   19666: 
                   19667: # How to feed a file listing to the archiver.
                   19668: archiver_list_spec=$lt_archiver_list_spec
                   19669: 
                   19670: # A symbol stripping program.
                   19671: STRIP=$lt_STRIP
                   19672: 
                   19673: # Commands used to install an old-style archive.
                   19674: RANLIB=$lt_RANLIB
                   19675: old_postinstall_cmds=$lt_old_postinstall_cmds
                   19676: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   19677: 
                   19678: # Whether to use a lock for old archive extraction.
                   19679: lock_old_archive_extraction=$lock_old_archive_extraction
                   19680: 
                   19681: # A C compiler.
                   19682: LTCC=$lt_CC
                   19683: 
                   19684: # LTCC compiler flags.
                   19685: LTCFLAGS=$lt_CFLAGS
                   19686: 
                   19687: # Take the output of nm and produce a listing of raw symbols and C names.
                   19688: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   19689: 
                   19690: # Transform the output of nm in a proper C declaration.
                   19691: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   19692: 
                   19693: # Transform the output of nm in a C name address pair.
                   19694: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   19695: 
                   19696: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   19697: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   19698: 
                   19699: # Specify filename containing input files for \$NM.
                   19700: nm_file_list_spec=$lt_nm_file_list_spec
                   19701: 
                   19702: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   19703: lt_sysroot=$lt_sysroot
                   19704: 
                   19705: # The name of the directory that contains temporary libtool files.
                   19706: objdir=$objdir
                   19707: 
                   19708: # Used to examine libraries when file_magic_cmd begins with "file".
                   19709: MAGIC_CMD=$MAGIC_CMD
                   19710: 
                   19711: # Must we lock files when doing compilation?
                   19712: need_locks=$lt_need_locks
                   19713: 
                   19714: # Manifest tool.
                   19715: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   19716: 
                   19717: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   19718: DSYMUTIL=$lt_DSYMUTIL
                   19719: 
                   19720: # Tool to change global to local symbols on Mac OS X.
                   19721: NMEDIT=$lt_NMEDIT
                   19722: 
                   19723: # Tool to manipulate fat objects and archives on Mac OS X.
                   19724: LIPO=$lt_LIPO
                   19725: 
                   19726: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   19727: OTOOL=$lt_OTOOL
                   19728: 
                   19729: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   19730: OTOOL64=$lt_OTOOL64
                   19731: 
                   19732: # Old archive suffix (normally "a").
                   19733: libext=$libext
                   19734: 
                   19735: # Shared library suffix (normally ".so").
                   19736: shrext_cmds=$lt_shrext_cmds
                   19737: 
                   19738: # The commands to extract the exported symbol list from a shared archive.
                   19739: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   19740: 
                   19741: # Variables whose values should be saved in libtool wrapper scripts and
                   19742: # restored at link time.
                   19743: variables_saved_for_relink=$lt_variables_saved_for_relink
                   19744: 
                   19745: # Do we need the "lib" prefix for modules?
                   19746: need_lib_prefix=$need_lib_prefix
                   19747: 
                   19748: # Do we need a version for libraries?
                   19749: need_version=$need_version
                   19750: 
                   19751: # Library versioning type.
                   19752: version_type=$version_type
                   19753: 
                   19754: # Shared library runtime path variable.
                   19755: runpath_var=$runpath_var
                   19756: 
                   19757: # Shared library path variable.
                   19758: shlibpath_var=$shlibpath_var
                   19759: 
                   19760: # Is shlibpath searched before the hard-coded library search path?
                   19761: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   19762: 
                   19763: # Format of library name prefix.
                   19764: libname_spec=$lt_libname_spec
                   19765: 
                   19766: # List of archive names.  First name is the real one, the rest are links.
                   19767: # The last name is the one that the linker finds with -lNAME
                   19768: library_names_spec=$lt_library_names_spec
                   19769: 
                   19770: # The coded name of the library, if different from the real name.
                   19771: soname_spec=$lt_soname_spec
                   19772: 
                   19773: # Permission mode override for installation of shared libraries.
                   19774: install_override_mode=$lt_install_override_mode
                   19775: 
                   19776: # Command to use after installation of a shared archive.
                   19777: postinstall_cmds=$lt_postinstall_cmds
                   19778: 
                   19779: # Command to use after uninstallation of a shared archive.
                   19780: postuninstall_cmds=$lt_postuninstall_cmds
                   19781: 
                   19782: # Commands used to finish a libtool library installation in a directory.
                   19783: finish_cmds=$lt_finish_cmds
                   19784: 
                   19785: # As "finish_cmds", except a single script fragment to be evaled but
                   19786: # not shown.
                   19787: finish_eval=$lt_finish_eval
                   19788: 
                   19789: # Whether we should hardcode library paths into libraries.
                   19790: hardcode_into_libs=$hardcode_into_libs
                   19791: 
                   19792: # Compile-time system search path for libraries.
                   19793: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   19794: 
                   19795: # Run-time system search path for libraries.
                   19796: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   19797: 
                   19798: # Whether dlopen is supported.
                   19799: dlopen_support=$enable_dlopen
                   19800: 
                   19801: # Whether dlopen of programs is supported.
                   19802: dlopen_self=$enable_dlopen_self
                   19803: 
                   19804: # Whether dlopen of statically linked programs is supported.
                   19805: dlopen_self_static=$enable_dlopen_self_static
                   19806: 
                   19807: # Commands to strip libraries.
                   19808: old_striplib=$lt_old_striplib
                   19809: striplib=$lt_striplib
                   19810: 
                   19811: # Assembler program.
                   19812: AS=$lt_AS
                   19813: 
                   19814: 
                   19815: # The linker used to build libraries.
                   19816: LD=$lt_LD
                   19817: 
                   19818: # How to create reloadable object files.
                   19819: reload_flag=$lt_reload_flag
                   19820: reload_cmds=$lt_reload_cmds
                   19821: 
                   19822: # Commands used to build an old-style archive.
                   19823: old_archive_cmds=$lt_old_archive_cmds
                   19824: 
                   19825: # A language specific compiler.
                   19826: CC=$lt_compiler
                   19827: 
                   19828: # Is the compiler the GNU compiler?
                   19829: with_gcc=$GCC
                   19830: 
                   19831: # Compiler flag to turn off builtin functions.
                   19832: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   19833: 
                   19834: # Additional compiler flags for building library objects.
                   19835: pic_flag=$lt_lt_prog_compiler_pic
                   19836: 
                   19837: # How to pass a linker flag through the compiler.
                   19838: wl=$lt_lt_prog_compiler_wl
                   19839: 
                   19840: # Compiler flag to prevent dynamic linking.
                   19841: link_static_flag=$lt_lt_prog_compiler_static
                   19842: 
                   19843: # Does compiler simultaneously support -c and -o options?
                   19844: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   19845: 
                   19846: # Whether or not to add -lc for building shared libraries.
                   19847: build_libtool_need_lc=$archive_cmds_need_lc
                   19848: 
                   19849: # Whether or not to disallow shared libs when runtime libs are static.
                   19850: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   19851: 
                   19852: # Compiler flag to allow reflexive dlopens.
                   19853: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   19854: 
                   19855: # Compiler flag to generate shared objects directly from archives.
                   19856: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   19857: 
                   19858: # Whether the compiler copes with passing no objects directly.
                   19859: compiler_needs_object=$lt_compiler_needs_object
                   19860: 
                   19861: # Create an old-style archive from a shared archive.
                   19862: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   19863: 
                   19864: # Create a temporary old-style archive to link instead of a shared archive.
                   19865: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   19866: 
                   19867: # Commands used to build a shared archive.
                   19868: archive_cmds=$lt_archive_cmds
                   19869: archive_expsym_cmds=$lt_archive_expsym_cmds
                   19870: 
                   19871: # Commands used to build a loadable module if different from building
                   19872: # a shared archive.
                   19873: module_cmds=$lt_module_cmds
                   19874: module_expsym_cmds=$lt_module_expsym_cmds
                   19875: 
                   19876: # Whether we are building with GNU ld or not.
                   19877: with_gnu_ld=$lt_with_gnu_ld
                   19878: 
                   19879: # Flag that allows shared libraries with undefined symbols to be built.
                   19880: allow_undefined_flag=$lt_allow_undefined_flag
                   19881: 
                   19882: # Flag that enforces no undefined symbols.
                   19883: no_undefined_flag=$lt_no_undefined_flag
                   19884: 
                   19885: # Flag to hardcode \$libdir into a binary during linking.
                   19886: # This must work even if \$libdir does not exist
                   19887: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   19888: 
                   19889: # Whether we need a single "-rpath" flag with a separated argument.
                   19890: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   19891: 
                   19892: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19893: # DIR into the resulting binary.
                   19894: hardcode_direct=$hardcode_direct
                   19895: 
                   19896: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19897: # DIR into the resulting binary and the resulting library dependency is
                   19898: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   19899: # library is relocated.
                   19900: hardcode_direct_absolute=$hardcode_direct_absolute
                   19901: 
                   19902: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   19903: # into the resulting binary.
                   19904: hardcode_minus_L=$hardcode_minus_L
                   19905: 
                   19906: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   19907: # into the resulting binary.
                   19908: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   19909: 
                   19910: # Set to "yes" if building a shared library automatically hardcodes DIR
                   19911: # into the library and all subsequent libraries and executables linked
                   19912: # against it.
                   19913: hardcode_automatic=$hardcode_automatic
                   19914: 
                   19915: # Set to yes if linker adds runtime paths of dependent libraries
                   19916: # to runtime path list.
                   19917: inherit_rpath=$inherit_rpath
                   19918: 
                   19919: # Whether libtool must link a program against all its dependency libraries.
                   19920: link_all_deplibs=$link_all_deplibs
                   19921: 
                   19922: # Set to "yes" if exported symbols are required.
                   19923: always_export_symbols=$always_export_symbols
                   19924: 
                   19925: # The commands to list exported symbols.
                   19926: export_symbols_cmds=$lt_export_symbols_cmds
                   19927: 
                   19928: # Symbols that should not be listed in the preloaded symbols.
                   19929: exclude_expsyms=$lt_exclude_expsyms
                   19930: 
                   19931: # Symbols that must always be exported.
                   19932: include_expsyms=$lt_include_expsyms
                   19933: 
                   19934: # Commands necessary for linking programs (against libraries) with templates.
                   19935: prelink_cmds=$lt_prelink_cmds
                   19936: 
                   19937: # Commands necessary for finishing linking programs.
                   19938: postlink_cmds=$lt_postlink_cmds
                   19939: 
                   19940: # Specify filename containing input files.
                   19941: file_list_spec=$lt_file_list_spec
                   19942: 
                   19943: # How to hardcode a shared library path into an executable.
                   19944: hardcode_action=$hardcode_action
                   19945: 
                   19946: # The directories searched by this compiler when creating a shared library.
                   19947: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   19948: 
                   19949: # Dependencies to place before and after the objects being linked to
                   19950: # create a shared library.
                   19951: predep_objects=$lt_predep_objects
                   19952: postdep_objects=$lt_postdep_objects
                   19953: predeps=$lt_predeps
                   19954: postdeps=$lt_postdeps
                   19955: 
                   19956: # The library search path used internally by the compiler when linking
                   19957: # a shared library.
                   19958: compiler_lib_search_path=$lt_compiler_lib_search_path
                   19959: 
                   19960: # ### END LIBTOOL CONFIG
                   19961: 
                   19962: _LT_EOF
                   19963: 
                   19964:   case $host_os in
                   19965:   aix3*)
                   19966:     cat <<\_LT_EOF >> "$cfgfile"
                   19967: # AIX sometimes has problems with the GCC collect2 program.  For some
                   19968: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   19969: # vanish in a puff of smoke.
                   19970: if test "X${COLLECT_NAMES+set}" != Xset; then
                   19971:   COLLECT_NAMES=
                   19972:   export COLLECT_NAMES
                   19973: fi
                   19974: _LT_EOF
                   19975:     ;;
                   19976:   esac
                   19977: 
                   19978: 
                   19979: ltmain="$ac_aux_dir/ltmain.sh"
                   19980: 
                   19981: 
                   19982:   # We use sed instead of cat because bash on DJGPP gets confused if
                   19983:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   19984:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   19985:   # is reportedly fixed, but why not run on old versions too?
                   19986:   sed '$q' "$ltmain" >> "$cfgfile" \
                   19987:      || (rm -f "$cfgfile"; exit 1)
                   19988: 
                   19989:   if test x"$xsi_shell" = xyes; then
                   19990:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   19991: func_dirname ()\
                   19992: {\
                   19993: \    case ${1} in\
                   19994: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   19995: \      *  ) func_dirname_result="${3}" ;;\
                   19996: \    esac\
                   19997: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   19998:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19999:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20000: test 0 -eq $? || _lt_function_replace_fail=:
                   20001: 
                   20002: 
                   20003:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   20004: func_basename ()\
                   20005: {\
                   20006: \    func_basename_result="${1##*/}"\
                   20007: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20008:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20009:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20010: test 0 -eq $? || _lt_function_replace_fail=:
                   20011: 
                   20012: 
                   20013:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   20014: func_dirname_and_basename ()\
                   20015: {\
                   20016: \    case ${1} in\
                   20017: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20018: \      *  ) func_dirname_result="${3}" ;;\
                   20019: \    esac\
                   20020: \    func_basename_result="${1##*/}"\
                   20021: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20022:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20023:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20024: test 0 -eq $? || _lt_function_replace_fail=:
                   20025: 
                   20026: 
                   20027:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   20028: func_stripname ()\
                   20029: {\
                   20030: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   20031: \    # positional parameters, so assign one to ordinary parameter first.\
                   20032: \    func_stripname_result=${3}\
                   20033: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   20034: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   20035: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   20036:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20037:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20038: test 0 -eq $? || _lt_function_replace_fail=:
                   20039: 
                   20040: 
                   20041:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   20042: func_split_long_opt ()\
                   20043: {\
                   20044: \    func_split_long_opt_name=${1%%=*}\
                   20045: \    func_split_long_opt_arg=${1#*=}\
                   20046: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20047:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20048:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20049: test 0 -eq $? || _lt_function_replace_fail=:
                   20050: 
                   20051: 
                   20052:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20053: func_split_short_opt ()\
                   20054: {\
                   20055: \    func_split_short_opt_arg=${1#??}\
                   20056: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20057: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20058:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20059:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20060: test 0 -eq $? || _lt_function_replace_fail=:
                   20061: 
                   20062: 
                   20063:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20064: func_lo2o ()\
                   20065: {\
                   20066: \    case ${1} in\
                   20067: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20068: \      *)    func_lo2o_result=${1} ;;\
                   20069: \    esac\
                   20070: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   20071:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20072:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20073: test 0 -eq $? || _lt_function_replace_fail=:
                   20074: 
                   20075: 
                   20076:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20077: func_xform ()\
                   20078: {\
                   20079:     func_xform_result=${1%.*}.lo\
                   20080: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20081:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20082:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20083: test 0 -eq $? || _lt_function_replace_fail=:
                   20084: 
                   20085: 
                   20086:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20087: func_arith ()\
                   20088: {\
                   20089:     func_arith_result=$(( $* ))\
                   20090: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20091:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20092:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20093: test 0 -eq $? || _lt_function_replace_fail=:
                   20094: 
                   20095: 
                   20096:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20097: func_len ()\
                   20098: {\
                   20099:     func_len_result=${#1}\
                   20100: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20101:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20102:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20103: test 0 -eq $? || _lt_function_replace_fail=:
                   20104: 
                   20105: fi
                   20106: 
                   20107: if test x"$lt_shell_append" = xyes; then
                   20108:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20109: func_append ()\
                   20110: {\
                   20111:     eval "${1}+=\\${2}"\
                   20112: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20113:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20114:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20115: test 0 -eq $? || _lt_function_replace_fail=:
                   20116: 
                   20117: 
                   20118:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20119: func_append_quoted ()\
                   20120: {\
                   20121: \    func_quote_for_eval "${2}"\
                   20122: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20123: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20124:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20125:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20126: test 0 -eq $? || _lt_function_replace_fail=:
                   20127: 
                   20128: 
                   20129:   # Save a `func_append' function call where possible by direct use of '+='
                   20130:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20131:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20132:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20133:   test 0 -eq $? || _lt_function_replace_fail=:
                   20134: else
                   20135:   # Save a `func_append' function call even when '+=' is not available
                   20136:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20137:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20138:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20139:   test 0 -eq $? || _lt_function_replace_fail=:
                   20140: fi
                   20141: 
                   20142: if test x"$_lt_function_replace_fail" = x":"; then
1.11      moko     20143:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20144: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.8       moko     20145: fi
                   20146: 
                   20147: 
                   20148:    mv -f "$cfgfile" "$ofile" ||
                   20149:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20150:   chmod +x "$ofile"
                   20151: 
                   20152: 
                   20153:     cat <<_LT_EOF >> "$ofile"
                   20154: 
                   20155: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20156: 
                   20157: # The linker used to build libraries.
                   20158: LD=$lt_LD_CXX
                   20159: 
                   20160: # How to create reloadable object files.
                   20161: reload_flag=$lt_reload_flag_CXX
                   20162: reload_cmds=$lt_reload_cmds_CXX
                   20163: 
                   20164: # Commands used to build an old-style archive.
                   20165: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20166: 
                   20167: # A language specific compiler.
                   20168: CC=$lt_compiler_CXX
                   20169: 
                   20170: # Is the compiler the GNU compiler?
                   20171: with_gcc=$GCC_CXX
                   20172: 
                   20173: # Compiler flag to turn off builtin functions.
                   20174: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20175: 
                   20176: # Additional compiler flags for building library objects.
                   20177: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20178: 
                   20179: # How to pass a linker flag through the compiler.
                   20180: wl=$lt_lt_prog_compiler_wl_CXX
                   20181: 
                   20182: # Compiler flag to prevent dynamic linking.
                   20183: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20184: 
                   20185: # Does compiler simultaneously support -c and -o options?
                   20186: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20187: 
                   20188: # Whether or not to add -lc for building shared libraries.
                   20189: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20190: 
                   20191: # Whether or not to disallow shared libs when runtime libs are static.
                   20192: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20193: 
                   20194: # Compiler flag to allow reflexive dlopens.
                   20195: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20196: 
                   20197: # Compiler flag to generate shared objects directly from archives.
                   20198: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20199: 
                   20200: # Whether the compiler copes with passing no objects directly.
                   20201: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20202: 
                   20203: # Create an old-style archive from a shared archive.
                   20204: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20205: 
                   20206: # Create a temporary old-style archive to link instead of a shared archive.
                   20207: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20208: 
                   20209: # Commands used to build a shared archive.
                   20210: archive_cmds=$lt_archive_cmds_CXX
                   20211: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20212: 
                   20213: # Commands used to build a loadable module if different from building
                   20214: # a shared archive.
                   20215: module_cmds=$lt_module_cmds_CXX
                   20216: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20217: 
                   20218: # Whether we are building with GNU ld or not.
                   20219: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20220: 
                   20221: # Flag that allows shared libraries with undefined symbols to be built.
                   20222: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20223: 
                   20224: # Flag that enforces no undefined symbols.
                   20225: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20226: 
                   20227: # Flag to hardcode \$libdir into a binary during linking.
                   20228: # This must work even if \$libdir does not exist
                   20229: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20230: 
                   20231: # Whether we need a single "-rpath" flag with a separated argument.
                   20232: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20233: 
                   20234: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20235: # DIR into the resulting binary.
                   20236: hardcode_direct=$hardcode_direct_CXX
                   20237: 
                   20238: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20239: # DIR into the resulting binary and the resulting library dependency is
                   20240: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20241: # library is relocated.
                   20242: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20243: 
                   20244: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20245: # into the resulting binary.
                   20246: hardcode_minus_L=$hardcode_minus_L_CXX
                   20247: 
                   20248: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20249: # into the resulting binary.
                   20250: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20251: 
                   20252: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20253: # into the library and all subsequent libraries and executables linked
                   20254: # against it.
                   20255: hardcode_automatic=$hardcode_automatic_CXX
                   20256: 
                   20257: # Set to yes if linker adds runtime paths of dependent libraries
                   20258: # to runtime path list.
                   20259: inherit_rpath=$inherit_rpath_CXX
                   20260: 
                   20261: # Whether libtool must link a program against all its dependency libraries.
                   20262: link_all_deplibs=$link_all_deplibs_CXX
                   20263: 
                   20264: # Set to "yes" if exported symbols are required.
                   20265: always_export_symbols=$always_export_symbols_CXX
                   20266: 
                   20267: # The commands to list exported symbols.
                   20268: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20269: 
                   20270: # Symbols that should not be listed in the preloaded symbols.
                   20271: exclude_expsyms=$lt_exclude_expsyms_CXX
                   20272: 
                   20273: # Symbols that must always be exported.
                   20274: include_expsyms=$lt_include_expsyms_CXX
                   20275: 
                   20276: # Commands necessary for linking programs (against libraries) with templates.
                   20277: prelink_cmds=$lt_prelink_cmds_CXX
                   20278: 
                   20279: # Commands necessary for finishing linking programs.
                   20280: postlink_cmds=$lt_postlink_cmds_CXX
                   20281: 
                   20282: # Specify filename containing input files.
                   20283: file_list_spec=$lt_file_list_spec_CXX
                   20284: 
                   20285: # How to hardcode a shared library path into an executable.
                   20286: hardcode_action=$hardcode_action_CXX
                   20287: 
                   20288: # The directories searched by this compiler when creating a shared library.
                   20289: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   20290: 
                   20291: # Dependencies to place before and after the objects being linked to
                   20292: # create a shared library.
                   20293: predep_objects=$lt_predep_objects_CXX
                   20294: postdep_objects=$lt_postdep_objects_CXX
                   20295: predeps=$lt_predeps_CXX
                   20296: postdeps=$lt_postdeps_CXX
                   20297: 
                   20298: # The library search path used internally by the compiler when linking
                   20299: # a shared library.
                   20300: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   20301: 
                   20302: # ### END LIBTOOL TAG CONFIG: CXX
                   20303: _LT_EOF
1.1       misha    20304: 
                   20305:  ;;
                   20306:   esac
1.11      moko     20307: done
                   20308: _ACEOF
1.1       misha    20309: 
1.11      moko     20310: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       misha    20311: 
1.11      moko     20312: { (exit 0); exit 0; }
1.1       misha    20313: _ACEOF
1.11      moko     20314: chmod +x $CONFIG_STATUS
1.1       misha    20315: ac_clean_files=$ac_clean_files_save
                   20316: 
                   20317: 
                   20318: # configure is writing to config.log, and then calls config.status.
                   20319: # config.status does its own redirection, appending to config.log.
                   20320: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20321: # by configure, so config.status won't be able to write to it; its
                   20322: # output is simply discarded.  So we exec the FD to /dev/null,
                   20323: # effectively closing config.log, so it can be properly (re)opened and
                   20324: # appended to by config.status.  When coming back to configure, we
                   20325: # need to make the FD available again.
                   20326: if test "$no_create" != yes; then
                   20327:   ac_cs_success=:
                   20328:   ac_config_status_args=
                   20329:   test "$silent" = yes &&
                   20330:     ac_config_status_args="$ac_config_status_args --quiet"
                   20331:   exec 5>/dev/null
                   20332:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20333:   exec 5>>config.log
                   20334:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20335:   # would make configure fail if this is the last instruction.
1.11      moko     20336:   $ac_cs_success || { (exit 1); exit 1; }
1.1       misha    20337: fi
                   20338: 
                   20339: #
                   20340: # CONFIG_SUBDIRS section.
                   20341: #
                   20342: if test "$no_recursion" != yes; then
                   20343: 
1.11      moko     20344:   # Remove --cache-file and --srcdir arguments so they do not pile up.
1.1       misha    20345:   ac_sub_configure_args=
                   20346:   ac_prev=
1.11      moko     20347:   for ac_arg in $ac_configure_args; do
1.1       misha    20348:     if test -n "$ac_prev"; then
                   20349:       ac_prev=
                   20350:       continue
                   20351:     fi
                   20352:     case $ac_arg in
                   20353:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20354:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20355:       ac_prev=cache_file ;;
                   20356:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   20357:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20358:     | --c=*)
                   20359:       ;;
                   20360:     --config-cache | -C)
                   20361:       ;;
                   20362:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20363:       ac_prev=srcdir ;;
                   20364:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20365:       ;;
                   20366:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20367:       ac_prev=prefix ;;
                   20368:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20369:       ;;
1.11      moko     20370:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
1.1       misha    20371:     esac
                   20372:   done
                   20373: 
                   20374:   # Always prepend --prefix to ensure using the same prefix
                   20375:   # in subdir configurations.
1.11      moko     20376:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
1.1       misha    20377: 
                   20378:   ac_popdir=`pwd`
                   20379:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
                   20380: 
                   20381:     # Do not complain, so a configure script can configure whichever
                   20382:     # parts of a large source tree are present.
1.11      moko     20383:     test -d $srcdir/$ac_dir || continue
                   20384: 
                   20385:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   20386: echo "$as_me: configuring in $ac_dir" >&6;}
                   20387:     { if $as_mkdir_p; then
                   20388:     mkdir -p "$ac_dir"
                   20389:   else
                   20390:     as_dir="$ac_dir"
                   20391:     as_dirs=
                   20392:     while test ! -d "$as_dir"; do
                   20393:       as_dirs="$as_dir $as_dirs"
                   20394:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   20395: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20396:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   20397:         X"$as_dir" : 'X\(//\)$' \| \
                   20398:         X"$as_dir" : 'X\(/\)' \| \
                   20399:         .     : '\(.\)' 2>/dev/null ||
                   20400: echo X"$as_dir" |
                   20401:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   20402:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   20403:          /^X\(\/\/\)$/{ s//\1/; q; }
                   20404:          /^X\(\/\).*/{ s//\1/; q; }
                   20405:          s/.*/./; q'`
                   20406:     done
                   20407:     test ! -n "$as_dirs" || mkdir $as_dirs
                   20408:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   20409: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   20410:    { (exit 1); exit 1; }; }; }
1.1       misha    20411: 
                   20412:     ac_builddir=.
                   20413: 
1.11      moko     20414: if test "$ac_dir" != .; then
                   20415:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   20416:   # A "../" for each directory in $ac_dir_suffix.
                   20417:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   20418: else
                   20419:   ac_dir_suffix= ac_top_builddir=
                   20420: fi
1.1       misha    20421: 
                   20422: case $srcdir in
1.11      moko     20423:   .)  # No --srcdir option.  We are building in place.
1.1       misha    20424:     ac_srcdir=.
1.11      moko     20425:     if test -z "$ac_top_builddir"; then
                   20426:        ac_top_srcdir=.
                   20427:     else
                   20428:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   20429:     fi ;;
                   20430:   [\\/]* | ?:[\\/]* )  # Absolute path.
1.1       misha    20431:     ac_srcdir=$srcdir$ac_dir_suffix;
1.11      moko     20432:     ac_top_srcdir=$srcdir ;;
                   20433:   *) # Relative path.
                   20434:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   20435:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   20436: esac
                   20437: 
                   20438: # Do not use `cd foo && pwd` to compute absolute paths, because
                   20439: # the directories may not exist.
                   20440: case `pwd` in
                   20441: .) ac_abs_builddir="$ac_dir";;
                   20442: *)
                   20443:   case "$ac_dir" in
                   20444:   .) ac_abs_builddir=`pwd`;;
                   20445:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   20446:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   20447:   esac;;
                   20448: esac
                   20449: case $ac_abs_builddir in
                   20450: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   20451: *)
                   20452:   case ${ac_top_builddir}. in
                   20453:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   20454:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   20455:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   20456:   esac;;
                   20457: esac
                   20458: case $ac_abs_builddir in
                   20459: .) ac_abs_srcdir=$ac_srcdir;;
                   20460: *)
                   20461:   case $ac_srcdir in
                   20462:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   20463:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   20464:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   20465:   esac;;
                   20466: esac
                   20467: case $ac_abs_builddir in
                   20468: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   20469: *)
                   20470:   case $ac_top_srcdir in
                   20471:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   20472:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   20473:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   20474:   esac;;
1.1       misha    20475: esac
                   20476: 
                   20477: 
1.11      moko     20478:     cd $ac_dir
1.1       misha    20479: 
                   20480:     # Check for guested configure; otherwise get Cygnus style configure.
1.11      moko     20481:     if test -f $ac_srcdir/configure.gnu; then
                   20482:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   20483:     elif test -f $ac_srcdir/configure; then
                   20484:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   20485:     elif test -f $ac_srcdir/configure.in; then
                   20486:       ac_sub_configure=$ac_configure
1.1       misha    20487:     else
1.11      moko     20488:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   20489: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       misha    20490:       ac_sub_configure=
                   20491:     fi
                   20492: 
                   20493:     # The recursion is here.
                   20494:     if test -n "$ac_sub_configure"; then
                   20495:       # Make the cache file name correct relative to the subdirectory.
                   20496:       case $cache_file in
                   20497:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.11      moko     20498:       *) # Relative path.
                   20499:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       misha    20500:       esac
                   20501: 
1.11      moko     20502:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   20503: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       misha    20504:       # The eval makes quoting arguments work.
1.11      moko     20505:       eval $ac_sub_configure $ac_sub_configure_args \
                   20506:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   20507:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
                   20508: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   20509:    { (exit 1); exit 1; }; }
1.1       misha    20510:     fi
                   20511: 
1.11      moko     20512:     cd $ac_popdir
1.1       misha    20513:   done
                   20514: fi
                   20515: 

E-mail: