Annotation of sql/pgsql/configure, revision 1.30

1.1       parser      1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.23      moko        3: # Generated by GNU Autoconf 2.59 for parser3pgsql.C 10.3.
1.1       parser      4: #
1.16      paf         5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1       parser      6: # This configure script is free software; the Free Software Foundation
                      7: # gives unlimited permission to copy, distribute and modify it.
1.10      paf         8: ## --------------------- ##
                      9: ## M4sh Initialization.  ##
                     10: ## --------------------- ##
                     11: 
                     12: # Be Bourne compatible
                     13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     14:   emulate sh
                     15:   NULLCMD=:
                     16:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     17:   # is contrary to our usage.  Disable this feature.
                     18:   alias -g '${1+"$@"}'='"$@"'
                     19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     20:   set -o posix
                     21: fi
1.16      paf        22: DUALCASE=1; export DUALCASE # for MKS sh
1.10      paf        23: 
                     24: # Support unset when possible.
1.16      paf        25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.10      paf        26:   as_unset=unset
                     27: else
                     28:   as_unset=false
                     29: fi
                     30: 
                     31: 
                     32: # Work around bugs in pre-3.0 UWIN ksh.
                     33: $as_unset ENV MAIL MAILPATH
                     34: PS1='$ '
                     35: PS2='> '
                     36: PS4='+ '
                     37: 
                     38: # NLS nuisances.
                     39: for as_var in \
                     40:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                     41:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                     42:   LC_TELEPHONE LC_TIME
                     43: do
1.16      paf        44:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.10      paf        45:     eval $as_var=C; export $as_var
                     46:   else
                     47:     $as_unset $as_var
                     48:   fi
                     49: done
                     50: 
                     51: # Required to use basename.
                     52: if expr a : '\(a\)' >/dev/null 2>&1; then
                     53:   as_expr=expr
                     54: else
                     55:   as_expr=false
                     56: fi
                     57: 
                     58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                     59:   as_basename=basename
                     60: else
                     61:   as_basename=false
                     62: fi
                     63: 
                     64: 
                     65: # Name of the executable.
                     66: as_me=`$as_basename "$0" ||
                     67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                     68:         X"$0" : 'X\(//\)$' \| \
                     69:         X"$0" : 'X\(/\)$' \| \
                     70:         .     : '\(.\)' 2>/dev/null ||
                     71: echo X/"$0" |
                     72:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                     73:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                     74:          /^X\/\(\/\).*/{ s//\1/; q; }
                     75:          s/.*/./; q'`
                     76: 
                     77: 
                     78: # PATH needs CR, and LINENO needs CR and PATH.
                     79: # Avoid depending upon Character Ranges.
                     80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                     81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                     82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                     83: as_cr_digits='0123456789'
                     84: as_cr_alnum=$as_cr_Letters$as_cr_digits
                     85: 
                     86: # The user is always right.
                     87: if test "${PATH_SEPARATOR+set}" != set; then
                     88:   echo "#! /bin/sh" >conf$$.sh
                     89:   echo  "exit 0"   >>conf$$.sh
                     90:   chmod +x conf$$.sh
                     91:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                     92:     PATH_SEPARATOR=';'
                     93:   else
                     94:     PATH_SEPARATOR=:
                     95:   fi
                     96:   rm -f conf$$.sh
                     97: fi
                     98: 
                     99: 
                    100:   as_lineno_1=$LINENO
                    101:   as_lineno_2=$LINENO
                    102:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    103:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    104:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                    105:   # Find who we are.  Look in the path if we contain no path at all
                    106:   # relative or not.
                    107:   case $0 in
                    108:     *[\\/]* ) as_myself=$0 ;;
                    109:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    110: for as_dir in $PATH
                    111: do
                    112:   IFS=$as_save_IFS
                    113:   test -z "$as_dir" && as_dir=.
                    114:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    115: done
                    116: 
                    117:        ;;
                    118:   esac
                    119:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                    120:   # in which case we are not to be found in the path.
                    121:   if test "x$as_myself" = x; then
                    122:     as_myself=$0
                    123:   fi
                    124:   if test ! -f "$as_myself"; then
                    125:     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
                    126:    { (exit 1); exit 1; }; }
                    127:   fi
                    128:   case $CONFIG_SHELL in
                    129:   '')
                    130:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    132: do
                    133:   IFS=$as_save_IFS
                    134:   test -z "$as_dir" && as_dir=.
                    135:   for as_base in sh bash ksh sh5; do
                    136:         case $as_dir in
                    137:         /*)
                    138:           if ("$as_dir/$as_base" -c '
                    139:   as_lineno_1=$LINENO
                    140:   as_lineno_2=$LINENO
                    141:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    142:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    143:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                    144:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                    145:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                    146:             CONFIG_SHELL=$as_dir/$as_base
                    147:             export CONFIG_SHELL
                    148:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                    149:           fi;;
                    150:         esac
                    151:        done
                    152: done
                    153: ;;
                    154:   esac
                    155: 
                    156:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    157:   # uniformly replaced by the line number.  The first 'sed' inserts a
                    158:   # line-number line before each line; the second 'sed' does the real
                    159:   # work.  The second script uses 'N' to pair each line-number line
                    160:   # with the numbered line, and appends trailing '-' during
                    161:   # substitution so that $LINENO is not a special case at line end.
                    162:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                    163:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                    164:   sed '=' <$as_myself |
                    165:     sed '
                    166:       N
                    167:       s,$,-,
                    168:       : loop
                    169:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                    170:       t loop
                    171:       s,-$,,
                    172:       s,^['$as_cr_digits']*\n,,
                    173:     ' >$as_me.lineno &&
                    174:   chmod +x $as_me.lineno ||
                    175:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    176:    { (exit 1); exit 1; }; }
                    177: 
                    178:   # Don't try to exec as it changes $[0], causing all sort of problems
                    179:   # (the dirname of $[0] is not the place where we might find the
                    180:   # original and so on.  Autoconf is especially sensible to this).
                    181:   . ./$as_me.lineno
                    182:   # Exit status is that of the last command.
                    183:   exit
                    184: }
                    185: 
                    186: 
                    187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                    188:   *c*,-n*) ECHO_N= ECHO_C='
                    189: ' ECHO_T='     ' ;;
                    190:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                    191:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                    192: esac
                    193: 
                    194: if expr a : '\(a\)' >/dev/null 2>&1; then
                    195:   as_expr=expr
                    196: else
                    197:   as_expr=false
                    198: fi
                    199: 
                    200: rm -f conf$$ conf$$.exe conf$$.file
                    201: echo >conf$$.file
                    202: if ln -s conf$$.file conf$$ 2>/dev/null; then
                    203:   # We could just check for DJGPP; but this test a) works b) is more generic
                    204:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                    205:   if test -f conf$$.exe; then
                    206:     # Don't use ln at all; we don't have any links
                    207:     as_ln_s='cp -p'
                    208:   else
                    209:     as_ln_s='ln -s'
                    210:   fi
                    211: elif ln conf$$.file conf$$ 2>/dev/null; then
                    212:   as_ln_s=ln
                    213: else
                    214:   as_ln_s='cp -p'
                    215: fi
                    216: rm -f conf$$ conf$$.exe conf$$.file
                    217: 
                    218: if mkdir -p . 2>/dev/null; then
                    219:   as_mkdir_p=:
                    220: else
1.16      paf       221:   test -d ./-p && rmdir ./-p
1.10      paf       222:   as_mkdir_p=false
                    223: fi
                    224: 
                    225: as_executable_p="test -f"
                    226: 
                    227: # Sed expression to map a string onto a valid CPP name.
1.16      paf       228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.10      paf       229: 
                    230: # Sed expression to map a string onto a valid variable name.
1.16      paf       231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.10      paf       232: 
                    233: 
                    234: # IFS
                    235: # We need space, tab and new line, in precisely that order.
                    236: as_nl='
                    237: '
                    238: IFS="  $as_nl"
                    239: 
                    240: # CDPATH.
                    241: $as_unset CDPATH
                    242: 
1.23      moko      243: lt_ltdl_dir='libltdl'
1.10      paf       244: 
                    245: SHELL=${CONFIG_SHELL-/bin/sh}
                    246: 
1.23      moko      247: lt_dlopen_dir="$lt_ltdl_dir"
1.10      paf       248: 
                    249: 
                    250: # Name of the host.
                    251: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    252: # so uname gets run too.
                    253: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1.1       parser    254: 
1.10      paf       255: exec 6>&1
                    256: 
                    257: #
                    258: # Initializations.
                    259: #
1.1       parser    260: ac_default_prefix=/usr/local
1.10      paf       261: ac_config_libobj_dir=.
                    262: cross_compiling=no
                    263: subdirs=
                    264: MFLAGS=
                    265: MAKEFLAGS=
                    266: SHELL=${CONFIG_SHELL-/bin/sh}
                    267: 
                    268: # Maximum number of lines to put in a shell here document.
                    269: # This variable seems obsolete.  It should probably be removed, and
                    270: # only ac_max_sed_lines should be used.
                    271: : ${ac_max_here_lines=38}
                    272: 
                    273: # Identity of this package.
1.23      moko      274: PACKAGE_NAME='parser3pgsql.C'
                    275: PACKAGE_TARNAME='parser3pgsql-c'
                    276: PACKAGE_VERSION='10.3'
                    277: PACKAGE_STRING='parser3pgsql.C 10.3'
                    278: PACKAGE_BUGREPORT=''
1.10      paf       279: 
                    280: ac_unique_file="parser3pgsql.C"
                    281: # Factoring default headers for most tests.
                    282: ac_includes_default="\
                    283: #include <stdio.h>
                    284: #if HAVE_SYS_TYPES_H
                    285: # include <sys/types.h>
                    286: #endif
                    287: #if HAVE_SYS_STAT_H
                    288: # include <sys/stat.h>
                    289: #endif
                    290: #if STDC_HEADERS
                    291: # include <stdlib.h>
                    292: # include <stddef.h>
                    293: #else
                    294: # if HAVE_STDLIB_H
                    295: #  include <stdlib.h>
                    296: # endif
                    297: #endif
                    298: #if HAVE_STRING_H
                    299: # if !STDC_HEADERS && HAVE_MEMORY_H
                    300: #  include <memory.h>
                    301: # endif
                    302: # include <string.h>
                    303: #endif
                    304: #if HAVE_STRINGS_H
                    305: # include <strings.h>
                    306: #endif
                    307: #if HAVE_INTTYPES_H
                    308: # include <inttypes.h>
                    309: #else
                    310: # if HAVE_STDINT_H
                    311: #  include <stdint.h>
                    312: # endif
                    313: #endif
                    314: #if HAVE_UNISTD_H
                    315: # include <unistd.h>
                    316: #endif"
                    317: 
                    318: ac_subdirs_all="$ac_subdirs_all libltdl"
1.28      moko      319: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar PGSQL_INC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP 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 AR ac_ct_AR RANLIB ac_ct_RANLIB MANIFEST_TOOL ac_ct_MANIFEST_TOOL DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CXXCPP LIBLTDL LTDLDEPS LTDLINCL INCLTDL LT_DLLOADERS LIBADD_DLOPEN LIBADD_SHL_LOAD LIBADD_DLD_LINK LT_DLPREOPEN LIBADD_DL sys_symbol_underscore ARGZ_H INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE subdirs LT_CONFIG_H LTDLOPEN LIBOBJS LTLIBOBJS ltdl_LIBOBJS ltdl_LTLIBOBJS'
1.10      paf       320: ac_subst_files=''
1.1       parser    321: 
                    322: # Initialize some variables set by options.
1.10      paf       323: ac_init_help=
                    324: ac_init_version=false
1.1       parser    325: # The variables have the same names as the options, with
                    326: # dashes changed to underlines.
1.10      paf       327: cache_file=/dev/null
1.1       parser    328: exec_prefix=NONE
                    329: no_create=
                    330: no_recursion=
                    331: prefix=NONE
                    332: program_prefix=NONE
                    333: program_suffix=NONE
                    334: program_transform_name=s,x,x,
                    335: silent=
                    336: site=
                    337: srcdir=
                    338: verbose=
                    339: x_includes=NONE
                    340: x_libraries=NONE
1.10      paf       341: 
                    342: # Installation directory options.
                    343: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    344: # and all the variables that are supposed to be based on exec_prefix
                    345: # by default will actually change.
                    346: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       parser    347: bindir='${exec_prefix}/bin'
                    348: sbindir='${exec_prefix}/sbin'
                    349: libexecdir='${exec_prefix}/libexec'
                    350: datadir='${prefix}/share'
                    351: sysconfdir='${prefix}/etc'
                    352: sharedstatedir='${prefix}/com'
                    353: localstatedir='${prefix}/var'
                    354: libdir='${exec_prefix}/lib'
                    355: includedir='${prefix}/include'
                    356: oldincludedir='/usr/include'
                    357: infodir='${prefix}/info'
                    358: mandir='${prefix}/man'
                    359: 
                    360: ac_prev=
                    361: for ac_option
                    362: do
                    363:   # If the previous option needs an argument, assign it.
                    364:   if test -n "$ac_prev"; then
                    365:     eval "$ac_prev=\$ac_option"
                    366:     ac_prev=
                    367:     continue
                    368:   fi
                    369: 
1.10      paf       370:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       parser    371: 
                    372:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    373: 
1.10      paf       374:   case $ac_option in
1.1       parser    375: 
                    376:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    377:     ac_prev=bindir ;;
                    378:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.10      paf       379:     bindir=$ac_optarg ;;
1.1       parser    380: 
                    381:   -build | --build | --buil | --bui | --bu)
1.10      paf       382:     ac_prev=build_alias ;;
1.1       parser    383:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.10      paf       384:     build_alias=$ac_optarg ;;
1.1       parser    385: 
                    386:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    387:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    388:     ac_prev=cache_file ;;
                    389:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    390:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.10      paf       391:     cache_file=$ac_optarg ;;
                    392: 
                    393:   --config-cache | -C)
                    394:     cache_file=config.cache ;;
1.1       parser    395: 
                    396:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    397:     ac_prev=datadir ;;
                    398:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    399:   | --da=*)
1.10      paf       400:     datadir=$ac_optarg ;;
1.1       parser    401: 
                    402:   -disable-* | --disable-*)
1.10      paf       403:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       parser    404:     # Reject names that are not valid shell variable names.
1.10      paf       405:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    406:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    407:    { (exit 1); exit 1; }; }
                    408:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    409:     eval "enable_$ac_feature=no" ;;
1.1       parser    410: 
                    411:   -enable-* | --enable-*)
1.10      paf       412:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       parser    413:     # Reject names that are not valid shell variable names.
1.10      paf       414:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    415:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    416:    { (exit 1); exit 1; }; }
                    417:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    418:     case $ac_option in
                    419:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       parser    420:       *) ac_optarg=yes ;;
                    421:     esac
1.10      paf       422:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       parser    423: 
                    424:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    425:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    426:   | --exec | --exe | --ex)
                    427:     ac_prev=exec_prefix ;;
                    428:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    429:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    430:   | --exec=* | --exe=* | --ex=*)
1.10      paf       431:     exec_prefix=$ac_optarg ;;
1.1       parser    432: 
                    433:   -gas | --gas | --ga | --g)
                    434:     # Obsolete; use --with-gas.
                    435:     with_gas=yes ;;
                    436: 
1.10      paf       437:   -help | --help | --hel | --he | -h)
                    438:     ac_init_help=long ;;
                    439:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    440:     ac_init_help=recursive ;;
                    441:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    442:     ac_init_help=short ;;
1.1       parser    443: 
                    444:   -host | --host | --hos | --ho)
1.10      paf       445:     ac_prev=host_alias ;;
1.1       parser    446:   -host=* | --host=* | --hos=* | --ho=*)
1.10      paf       447:     host_alias=$ac_optarg ;;
1.1       parser    448: 
                    449:   -includedir | --includedir | --includedi | --included | --include \
                    450:   | --includ | --inclu | --incl | --inc)
                    451:     ac_prev=includedir ;;
                    452:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    453:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.10      paf       454:     includedir=$ac_optarg ;;
1.1       parser    455: 
                    456:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    457:     ac_prev=infodir ;;
                    458:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.10      paf       459:     infodir=$ac_optarg ;;
1.1       parser    460: 
                    461:   -libdir | --libdir | --libdi | --libd)
                    462:     ac_prev=libdir ;;
                    463:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.10      paf       464:     libdir=$ac_optarg ;;
1.1       parser    465: 
                    466:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    467:   | --libexe | --libex | --libe)
                    468:     ac_prev=libexecdir ;;
                    469:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    470:   | --libexe=* | --libex=* | --libe=*)
1.10      paf       471:     libexecdir=$ac_optarg ;;
1.1       parser    472: 
                    473:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    474:   | --localstate | --localstat | --localsta | --localst \
                    475:   | --locals | --local | --loca | --loc | --lo)
                    476:     ac_prev=localstatedir ;;
                    477:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    478:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    479:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.10      paf       480:     localstatedir=$ac_optarg ;;
1.1       parser    481: 
                    482:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    483:     ac_prev=mandir ;;
                    484:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.10      paf       485:     mandir=$ac_optarg ;;
1.1       parser    486: 
                    487:   -nfp | --nfp | --nf)
                    488:     # Obsolete; use --without-fp.
                    489:     with_fp=no ;;
                    490: 
                    491:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.10      paf       492:   | --no-cr | --no-c | -n)
1.1       parser    493:     no_create=yes ;;
                    494: 
                    495:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    496:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    497:     no_recursion=yes ;;
                    498: 
                    499:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    500:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    501:   | --oldin | --oldi | --old | --ol | --o)
                    502:     ac_prev=oldincludedir ;;
                    503:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    504:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    505:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.10      paf       506:     oldincludedir=$ac_optarg ;;
1.1       parser    507: 
                    508:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    509:     ac_prev=prefix ;;
                    510:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.10      paf       511:     prefix=$ac_optarg ;;
1.1       parser    512: 
                    513:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    514:   | --program-pre | --program-pr | --program-p)
                    515:     ac_prev=program_prefix ;;
                    516:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    517:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.10      paf       518:     program_prefix=$ac_optarg ;;
1.1       parser    519: 
                    520:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    521:   | --program-suf | --program-su | --program-s)
                    522:     ac_prev=program_suffix ;;
                    523:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    524:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.10      paf       525:     program_suffix=$ac_optarg ;;
1.1       parser    526: 
                    527:   -program-transform-name | --program-transform-name \
                    528:   | --program-transform-nam | --program-transform-na \
                    529:   | --program-transform-n | --program-transform- \
                    530:   | --program-transform | --program-transfor \
                    531:   | --program-transfo | --program-transf \
                    532:   | --program-trans | --program-tran \
                    533:   | --progr-tra | --program-tr | --program-t)
                    534:     ac_prev=program_transform_name ;;
                    535:   -program-transform-name=* | --program-transform-name=* \
                    536:   | --program-transform-nam=* | --program-transform-na=* \
                    537:   | --program-transform-n=* | --program-transform-=* \
                    538:   | --program-transform=* | --program-transfor=* \
                    539:   | --program-transfo=* | --program-transf=* \
                    540:   | --program-trans=* | --program-tran=* \
                    541:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.10      paf       542:     program_transform_name=$ac_optarg ;;
1.1       parser    543: 
                    544:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    545:   | -silent | --silent | --silen | --sile | --sil)
                    546:     silent=yes ;;
                    547: 
                    548:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    549:     ac_prev=sbindir ;;
                    550:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    551:   | --sbi=* | --sb=*)
1.10      paf       552:     sbindir=$ac_optarg ;;
1.1       parser    553: 
                    554:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    555:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    556:   | --sharedst | --shareds | --shared | --share | --shar \
                    557:   | --sha | --sh)
                    558:     ac_prev=sharedstatedir ;;
                    559:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    560:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    561:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    562:   | --sha=* | --sh=*)
1.10      paf       563:     sharedstatedir=$ac_optarg ;;
1.1       parser    564: 
                    565:   -site | --site | --sit)
                    566:     ac_prev=site ;;
                    567:   -site=* | --site=* | --sit=*)
1.10      paf       568:     site=$ac_optarg ;;
1.1       parser    569: 
                    570:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    571:     ac_prev=srcdir ;;
                    572:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.10      paf       573:     srcdir=$ac_optarg ;;
1.1       parser    574: 
                    575:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    576:   | --syscon | --sysco | --sysc | --sys | --sy)
                    577:     ac_prev=sysconfdir ;;
                    578:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    579:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.10      paf       580:     sysconfdir=$ac_optarg ;;
1.1       parser    581: 
                    582:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.10      paf       583:     ac_prev=target_alias ;;
1.1       parser    584:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.10      paf       585:     target_alias=$ac_optarg ;;
1.1       parser    586: 
                    587:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    588:     verbose=yes ;;
                    589: 
1.10      paf       590:   -version | --version | --versio | --versi | --vers | -V)
                    591:     ac_init_version=: ;;
1.1       parser    592: 
                    593:   -with-* | --with-*)
1.10      paf       594:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       parser    595:     # Reject names that are not valid shell variable names.
1.10      paf       596:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    597:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    598:    { (exit 1); exit 1; }; }
1.1       parser    599:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.10      paf       600:     case $ac_option in
                    601:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       parser    602:       *) ac_optarg=yes ;;
                    603:     esac
1.10      paf       604:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       parser    605: 
                    606:   -without-* | --without-*)
1.10      paf       607:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       parser    608:     # Reject names that are not valid shell variable names.
1.10      paf       609:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    610:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    611:    { (exit 1); exit 1; }; }
                    612:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    613:     eval "with_$ac_package=no" ;;
1.1       parser    614: 
                    615:   --x)
                    616:     # Obsolete; use --with-x.
                    617:     with_x=yes ;;
                    618: 
                    619:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    620:   | --x-incl | --x-inc | --x-in | --x-i)
                    621:     ac_prev=x_includes ;;
                    622:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    623:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.10      paf       624:     x_includes=$ac_optarg ;;
1.1       parser    625: 
                    626:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    627:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    628:     ac_prev=x_libraries ;;
                    629:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    630:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.10      paf       631:     x_libraries=$ac_optarg ;;
1.1       parser    632: 
1.10      paf       633:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    634: Try \`$0 --help' for more information." >&2
                    635:    { (exit 1); exit 1; }; }
1.1       parser    636:     ;;
                    637: 
1.10      paf       638:   *=*)
                    639:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    640:     # Reject names that are not valid shell variable names.
                    641:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    642:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    643:    { (exit 1); exit 1; }; }
                    644:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    645:     eval "$ac_envvar='$ac_optarg'"
                    646:     export $ac_envvar ;;
                    647: 
1.1       parser    648:   *)
1.10      paf       649:     # FIXME: should be removed in autoconf 3.0.
                    650:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    651:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    652:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    653:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       parser    654:     ;;
                    655: 
                    656:   esac
                    657: done
                    658: 
                    659: if test -n "$ac_prev"; then
1.10      paf       660:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    661:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    662:    { (exit 1); exit 1; }; }
1.1       parser    663: fi
                    664: 
1.10      paf       665: # Be sure to have absolute paths.
                    666: for ac_var in exec_prefix prefix
                    667: do
                    668:   eval ac_val=$`echo $ac_var`
                    669:   case $ac_val in
                    670:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    671:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    672:    { (exit 1); exit 1; }; };;
                    673:   esac
                    674: done
1.1       parser    675: 
1.10      paf       676: # Be sure to have absolute paths.
                    677: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.16      paf       678:              localstatedir libdir includedir oldincludedir infodir mandir
1.1       parser    679: do
1.10      paf       680:   eval ac_val=$`echo $ac_var`
                    681:   case $ac_val in
                    682:     [\\/$]* | ?:[\\/]* ) ;;
                    683:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    684:    { (exit 1); exit 1; }; };;
1.1       parser    685:   esac
                    686: done
                    687: 
1.10      paf       688: # There might be people who depend on the old broken behavior: `$host'
                    689: # used to hold the argument of --host etc.
                    690: # FIXME: To remove some day.
                    691: build=$build_alias
                    692: host=$host_alias
                    693: target=$target_alias
                    694: 
                    695: # FIXME: To remove some day.
                    696: if test "x$host_alias" != x; then
                    697:   if test "x$build_alias" = x; then
                    698:     cross_compiling=maybe
                    699:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    700:     If a cross compiler is detected then cross compile mode will be used." >&2
                    701:   elif test "x$build_alias" != "x$host_alias"; then
                    702:     cross_compiling=yes
                    703:   fi
                    704: fi
                    705: 
                    706: ac_tool_prefix=
                    707: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       parser    708: 
1.10      paf       709: test "$silent" = yes && exec 6>/dev/null
1.1       parser    710: 
                    711: 
                    712: # Find the source files, if location was not specified.
                    713: if test -z "$srcdir"; then
                    714:   ac_srcdir_defaulted=yes
                    715:   # Try the directory containing this script, then its parent.
1.10      paf       716:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    717: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.16      paf       718:         X"$0" : 'X\(//\)[^/]' \| \
                    719:         X"$0" : 'X\(//\)$' \| \
                    720:         X"$0" : 'X\(/\)' \| \
                    721:         .     : '\(.\)' 2>/dev/null ||
1.10      paf       722: echo X"$0" |
                    723:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    724:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    725:          /^X\(\/\/\)$/{ s//\1/; q; }
                    726:          /^X\(\/\).*/{ s//\1/; q; }
                    727:          s/.*/./; q'`
1.1       parser    728:   srcdir=$ac_confdir
                    729:   if test ! -r $srcdir/$ac_unique_file; then
                    730:     srcdir=..
                    731:   fi
                    732: else
                    733:   ac_srcdir_defaulted=no
                    734: fi
                    735: if test ! -r $srcdir/$ac_unique_file; then
                    736:   if test "$ac_srcdir_defaulted" = yes; then
1.10      paf       737:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    738:    { (exit 1); exit 1; }; }
1.1       parser    739:   else
1.10      paf       740:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    741:    { (exit 1); exit 1; }; }
1.1       parser    742:   fi
                    743: fi
1.10      paf       744: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
                    745:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
                    746:    { (exit 1); exit 1; }; }
                    747: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    748: ac_env_build_alias_set=${build_alias+set}
                    749: ac_env_build_alias_value=$build_alias
                    750: ac_cv_env_build_alias_set=${build_alias+set}
                    751: ac_cv_env_build_alias_value=$build_alias
                    752: ac_env_host_alias_set=${host_alias+set}
                    753: ac_env_host_alias_value=$host_alias
                    754: ac_cv_env_host_alias_set=${host_alias+set}
                    755: ac_cv_env_host_alias_value=$host_alias
                    756: ac_env_target_alias_set=${target_alias+set}
                    757: ac_env_target_alias_value=$target_alias
                    758: ac_cv_env_target_alias_set=${target_alias+set}
                    759: ac_cv_env_target_alias_value=$target_alias
                    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
1.15      paf       784: ac_env_CPP_set=${CPP+set}
                    785: ac_env_CPP_value=$CPP
                    786: ac_cv_env_CPP_set=${CPP+set}
                    787: ac_cv_env_CPP_value=$CPP
1.23      moko      788: ac_env_CXXCPP_set=${CXXCPP+set}
                    789: ac_env_CXXCPP_value=$CXXCPP
                    790: ac_cv_env_CXXCPP_set=${CXXCPP+set}
                    791: ac_cv_env_CXXCPP_value=$CXXCPP
1.10      paf       792: 
                    793: #
                    794: # Report the --help message.
                    795: #
                    796: if test "$ac_init_help" = "long"; then
                    797:   # Omit some internal or obsolete options to make the list less imposing.
                    798:   # This message is too long to be a string in the A/UX 3.1 sh.
                    799:   cat <<_ACEOF
1.23      moko      800: \`configure' configures parser3pgsql.C 10.3 to adapt to many kinds of systems.
1.10      paf       801: 
                    802: Usage: $0 [OPTION]... [VAR=VALUE]...
                    803: 
                    804: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    805: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    806: 
                    807: Defaults for the options are specified in brackets.
                    808: 
                    809: Configuration:
                    810:   -h, --help              display this help and exit
                    811:       --help=short        display options specific to this package
                    812:       --help=recursive    display the short help of all the included packages
                    813:   -V, --version           display version information and exit
                    814:   -q, --quiet, --silent   do not print \`checking...' messages
                    815:       --cache-file=FILE   cache test results in FILE [disabled]
                    816:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    817:   -n, --no-create         do not create output files
                    818:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    819: 
                    820: _ACEOF
                    821: 
                    822:   cat <<_ACEOF
                    823: Installation directories:
                    824:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.16      paf       825:                          [$ac_default_prefix]
1.10      paf       826:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.16      paf       827:                          [PREFIX]
1.10      paf       828: 
                    829: By default, \`make install' will install all the files in
                    830: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    831: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    832: for instance \`--prefix=\$HOME'.
                    833: 
                    834: For better control, use the options below.
                    835: 
                    836: Fine tuning of the installation directories:
                    837:   --bindir=DIR           user executables [EPREFIX/bin]
                    838:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    839:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    840:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    841:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    842:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    843:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    844:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    845:   --includedir=DIR       C header files [PREFIX/include]
                    846:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    847:   --infodir=DIR          info documentation [PREFIX/info]
                    848:   --mandir=DIR           man documentation [PREFIX/man]
                    849: _ACEOF
                    850: 
                    851:   cat <<\_ACEOF
                    852: 
                    853: Program names:
                    854:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                    855:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                    856:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                    857: 
                    858: System types:
                    859:   --build=BUILD     configure for building on BUILD [guessed]
                    860:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                    861: _ACEOF
                    862: fi
                    863: 
                    864: if test -n "$ac_init_help"; then
1.23      moko      865:   case $ac_init_help in
                    866:      short | recursive ) echo "Configuration of parser3pgsql.C 10.3:";;
                    867:    esac
1.10      paf       868:   cat <<\_ACEOF
                    869: 
                    870: Optional Features:
                    871:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    872:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.16      paf       873:   --disable-dependency-tracking  speeds up one-time build
                    874:   --enable-dependency-tracking   do not reject slow dependency extractors
1.30    ! moko      875:   --enable-static[=PKGS]
        !           876:                           build static libraries [default=no]
1.23      moko      877:   --enable-shared[=PKGS]
                    878:                           build shared libraries [default=yes]
                    879:   --enable-fast-install[=PKGS]
                    880:                           optimize for fast installation [default=yes]
1.10      paf       881:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.23      moko      882:   --enable-ltdl-install   install libltdl
1.10      paf       883: 
                    884: Optional Packages:
                    885:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    886:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.23      moko      887:   --with-pgsql-inc=DIR        DIR is the PgSql includes directory
                    888:   --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
                    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.10      paf       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>
                    902:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    903:               headers in a nonstandard directory <include dir>
                    904:   CC          C compiler command
                    905:   CFLAGS      C compiler flags
1.15      paf       906:   CPP         C preprocessor
1.23      moko      907:   CXXCPP      C++ preprocessor
1.10      paf       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.
                    917:   ac_popdir=`pwd`
                    918:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    919:     test -d $ac_dir || continue
                    920:     ac_builddir=.
                    921: 
                    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
                    929: 
                    930: case $srcdir in
                    931:   .)  # No --srcdir option.  We are building in place.
                    932:     ac_srcdir=.
                    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.
                    939:     ac_srcdir=$srcdir$ac_dir_suffix;
                    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
1.16      paf       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;;
                    983: esac
1.10      paf       984: 
                    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 ||
1.16      paf       994:           test -f $ac_srcdir/configure.in; then
1.10      paf       995:       echo
                    996:       $ac_configure --help
                    997:     else
                    998:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                    999:     fi
                   1000:     cd $ac_popdir
                   1001:   done
                   1002: fi
1.1       parser   1003: 
1.10      paf      1004: test -n "$ac_init_help" && exit 0
                   1005: if $ac_init_version; then
                   1006:   cat <<\_ACEOF
1.23      moko     1007: parser3pgsql.C configure 10.3
                   1008: generated by GNU Autoconf 2.59
1.10      paf      1009: 
1.16      paf      1010: Copyright (C) 2003 Free Software Foundation, Inc.
1.10      paf      1011: This configure script is free software; the Free Software Foundation
                   1012: gives unlimited permission to copy, distribute and modify it.
                   1013: _ACEOF
                   1014:   exit 0
                   1015: fi
                   1016: exec 5>config.log
                   1017: cat >&5 <<_ACEOF
                   1018: This file contains any messages produced by compilers while
                   1019: running configure, to aid debugging if configure makes a mistake.
                   1020: 
1.23      moko     1021: It was created by parser3pgsql.C $as_me 10.3, which was
1.16      paf      1022: generated by GNU Autoconf 2.59.  Invocation command line was
1.10      paf      1023: 
                   1024:   $ $0 $@
                   1025: 
                   1026: _ACEOF
                   1027: {
                   1028: cat <<_ASUNAME
                   1029: ## --------- ##
                   1030: ## Platform. ##
                   1031: ## --------- ##
                   1032: 
                   1033: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1034: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1035: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1036: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1037: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1038: 
                   1039: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1040: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1041: 
                   1042: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1043: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1044: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1045: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1046: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1047: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1048: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1049: 
                   1050: _ASUNAME
                   1051: 
                   1052: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1053: for as_dir in $PATH
                   1054: do
                   1055:   IFS=$as_save_IFS
                   1056:   test -z "$as_dir" && as_dir=.
                   1057:   echo "PATH: $as_dir"
                   1058: done
                   1059: 
                   1060: } >&5
                   1061: 
                   1062: cat >&5 <<_ACEOF
                   1063: 
                   1064: 
                   1065: ## ----------- ##
                   1066: ## Core tests. ##
                   1067: ## ----------- ##
                   1068: 
                   1069: _ACEOF
                   1070: 
                   1071: 
                   1072: # Keep a trace of the command line.
                   1073: # Strip out --no-create and --no-recursion so they do not pile up.
                   1074: # Strip out --silent because we don't want to record it for future runs.
                   1075: # Also quote any args containing shell meta-characters.
                   1076: # Make two passes to allow for proper duplicate-argument suppression.
                   1077: ac_configure_args=
                   1078: ac_configure_args0=
                   1079: ac_configure_args1=
                   1080: ac_sep=
                   1081: ac_must_keep_next=false
                   1082: for ac_pass in 1 2
                   1083: do
                   1084:   for ac_arg
                   1085:   do
                   1086:     case $ac_arg in
                   1087:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1088:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1089:     | -silent | --silent | --silen | --sile | --sil)
                   1090:       continue ;;
                   1091:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1092:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1093:     esac
                   1094:     case $ac_pass in
                   1095:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1096:     2)
                   1097:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1098:       if test $ac_must_keep_next = true; then
1.16      paf      1099:        ac_must_keep_next=false # Got value, back to normal.
1.10      paf      1100:       else
1.16      paf      1101:        case $ac_arg in
                   1102:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1103:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1104:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1105:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1106:            case "$ac_configure_args0 " in
                   1107:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1108:            esac
                   1109:            ;;
                   1110:          -* ) ac_must_keep_next=true ;;
                   1111:        esac
1.10      paf      1112:       fi
                   1113:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1114:       # Get rid of the leading space.
                   1115:       ac_sep=" "
                   1116:       ;;
                   1117:     esac
                   1118:   done
                   1119: done
                   1120: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1121: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1122: 
                   1123: # When interrupted or exit'd, cleanup temporary files, and complete
                   1124: # config.log.  We remove comments because anyway the quotes in there
                   1125: # would cause problems or look ugly.
                   1126: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1127: # such as our DU 5.0 friend, will then `close' the trap.
                   1128: trap 'exit_status=$?
                   1129:   # Save into config.log some information that might help in debugging.
                   1130:   {
                   1131:     echo
                   1132: 
                   1133:     cat <<\_ASBOX
                   1134: ## ---------------- ##
                   1135: ## Cache variables. ##
                   1136: ## ---------------- ##
                   1137: _ASBOX
                   1138:     echo
                   1139:     # The following way of writing the cache mishandles newlines in values,
                   1140: {
                   1141:   (set) 2>&1 |
                   1142:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1143:     *ac_space=\ *)
                   1144:       sed -n \
1.16      paf      1145:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1146:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.10      paf      1147:       ;;
                   1148:     *)
                   1149:       sed -n \
1.16      paf      1150:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.10      paf      1151:       ;;
                   1152:     esac;
                   1153: }
                   1154:     echo
                   1155: 
                   1156:     cat <<\_ASBOX
                   1157: ## ----------------- ##
                   1158: ## Output variables. ##
                   1159: ## ----------------- ##
                   1160: _ASBOX
                   1161:     echo
                   1162:     for ac_var in $ac_subst_vars
                   1163:     do
                   1164:       eval ac_val=$`echo $ac_var`
                   1165:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1166:     done | sort
                   1167:     echo
                   1168: 
                   1169:     if test -n "$ac_subst_files"; then
                   1170:       cat <<\_ASBOX
                   1171: ## ------------- ##
                   1172: ## Output files. ##
                   1173: ## ------------- ##
                   1174: _ASBOX
                   1175:       echo
                   1176:       for ac_var in $ac_subst_files
                   1177:       do
                   1178:        eval ac_val=$`echo $ac_var`
1.16      paf      1179:        echo "$ac_var='"'"'$ac_val'"'"'"
1.10      paf      1180:       done | sort
                   1181:       echo
                   1182:     fi
                   1183: 
                   1184:     if test -s confdefs.h; then
                   1185:       cat <<\_ASBOX
                   1186: ## ----------- ##
                   1187: ## confdefs.h. ##
                   1188: ## ----------- ##
                   1189: _ASBOX
                   1190:       echo
                   1191:       sed "/^$/d" confdefs.h | sort
                   1192:       echo
                   1193:     fi
                   1194:     test "$ac_signal" != 0 &&
                   1195:       echo "$as_me: caught signal $ac_signal"
                   1196:     echo "$as_me: exit $exit_status"
                   1197:   } >&5
1.16      paf      1198:   rm -f core *.core &&
1.10      paf      1199:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1200:     exit $exit_status
                   1201:      ' 0
                   1202: for ac_signal in 1 2 13 15; do
                   1203:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1204: done
                   1205: ac_signal=0
                   1206: 
                   1207: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1208: rm -rf conftest* confdefs.h
                   1209: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1210: echo >confdefs.h
                   1211: 
                   1212: # Predefined preprocessor variables.
                   1213: 
                   1214: cat >>confdefs.h <<_ACEOF
                   1215: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1216: _ACEOF
                   1217: 
                   1218: 
                   1219: cat >>confdefs.h <<_ACEOF
                   1220: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1221: _ACEOF
                   1222: 
                   1223: 
                   1224: cat >>confdefs.h <<_ACEOF
                   1225: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1226: _ACEOF
                   1227: 
                   1228: 
                   1229: cat >>confdefs.h <<_ACEOF
                   1230: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1231: _ACEOF
                   1232: 
                   1233: 
                   1234: cat >>confdefs.h <<_ACEOF
                   1235: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1236: _ACEOF
                   1237: 
                   1238: 
                   1239: # Let the site file select an alternate cache file if it wants to.
1.1       parser   1240: # Prefer explicitly selected file to automatically selected ones.
                   1241: if test -z "$CONFIG_SITE"; then
                   1242:   if test "x$prefix" != xNONE; then
                   1243:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1244:   else
                   1245:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1246:   fi
                   1247: fi
                   1248: for ac_site_file in $CONFIG_SITE; do
                   1249:   if test -r "$ac_site_file"; then
1.10      paf      1250:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1251: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1252:     sed 's/^/| /' "$ac_site_file" >&5
1.1       parser   1253:     . "$ac_site_file"
                   1254:   fi
                   1255: done
                   1256: 
                   1257: if test -r "$cache_file"; then
1.10      paf      1258:   # Some versions of bash will fail to source /dev/null (special
                   1259:   # files actually), so we avoid doing that.
                   1260:   if test -f "$cache_file"; then
                   1261:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1262: echo "$as_me: loading cache $cache_file" >&6;}
                   1263:     case $cache_file in
                   1264:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1265:       *)                      . ./$cache_file;;
                   1266:     esac
                   1267:   fi
1.1       parser   1268: else
1.10      paf      1269:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1270: echo "$as_me: creating cache $cache_file" >&6;}
                   1271:   >$cache_file
                   1272: fi
                   1273: 
                   1274: # Check that the precious variables saved in the cache have kept the same
                   1275: # value.
                   1276: ac_cache_corrupted=false
                   1277: for ac_var in `(set) 2>&1 |
1.16      paf      1278:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.10      paf      1279:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1280:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1281:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1282:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1283:   case $ac_old_set,$ac_new_set in
                   1284:     set,)
                   1285:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1286: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1287:       ac_cache_corrupted=: ;;
                   1288:     ,set)
                   1289:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1290: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1291:       ac_cache_corrupted=: ;;
                   1292:     ,);;
                   1293:     *)
                   1294:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.16      paf      1295:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.10      paf      1296: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.16      paf      1297:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.10      paf      1298: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.16      paf      1299:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.10      paf      1300: echo "$as_me:   current value: $ac_new_val" >&2;}
1.16      paf      1301:        ac_cache_corrupted=:
1.10      paf      1302:       fi;;
                   1303:   esac
                   1304:   # Pass precious variables to config.status.
                   1305:   if test "$ac_new_set" = set; then
                   1306:     case $ac_new_val in
                   1307:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1308:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1309:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1310:     esac
                   1311:     case " $ac_configure_args " in
                   1312:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1313:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1314:     esac
                   1315:   fi
                   1316: done
                   1317: if $ac_cache_corrupted; then
                   1318:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1319: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1320:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1321: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1322:    { (exit 1); exit 1; }; }
1.1       parser   1323: fi
                   1324: 
                   1325: ac_ext=c
                   1326: ac_cpp='$CPP $CPPFLAGS'
1.10      paf      1327: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1328: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1329: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       parser   1330: 
                   1331: 
1.10      paf      1332: 
                   1333: 
                   1334: 
                   1335: 
                   1336: 
                   1337: 
                   1338: 
                   1339: 
                   1340: 
                   1341: 
                   1342: 
                   1343: 
                   1344: 
                   1345: 
                   1346: 
                   1347: 
                   1348: 
1.23      moko     1349: 
                   1350: 
                   1351: 
                   1352: 
                   1353: 
                   1354: 
                   1355: 
                   1356: 
                   1357: 
                   1358:           ac_config_headers="$ac_config_headers config_auto.h"
                   1359: 
                   1360: 
1.16      paf      1361: am__api_version="1.9"
1.1       parser   1362: ac_aux_dir=
                   1363: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1364:   if test -f $ac_dir/install-sh; then
                   1365:     ac_aux_dir=$ac_dir
                   1366:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1367:     break
                   1368:   elif test -f $ac_dir/install.sh; then
                   1369:     ac_aux_dir=$ac_dir
                   1370:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1371:     break
1.10      paf      1372:   elif test -f $ac_dir/shtool; then
                   1373:     ac_aux_dir=$ac_dir
                   1374:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1375:     break
1.1       parser   1376:   fi
                   1377: done
                   1378: if test -z "$ac_aux_dir"; then
1.10      paf      1379:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1380: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1381:    { (exit 1); exit 1; }; }
                   1382: fi
                   1383: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1384: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1385: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       parser   1386: 
                   1387: # Find a good install program.  We prefer a C program (faster),
                   1388: # so one script is as good as another.  But avoid the broken or
                   1389: # incompatible versions:
                   1390: # SysV /etc/install, /usr/sbin/install
                   1391: # SunOS /usr/etc/install
                   1392: # IRIX /sbin/install
                   1393: # AIX /bin/install
1.10      paf      1394: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1395: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1396: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1397: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.16      paf      1398: # OS/2's system install, which has a completely different semantic
1.1       parser   1399: # ./install, which can be erroneously created by make from ./install.sh.
1.10      paf      1400: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1401: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1402: if test -z "$INSTALL"; then
1.10      paf      1403: if test "${ac_cv_path_install+set}" = set; then
                   1404:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1405: else
1.10      paf      1406:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1407: for as_dir in $PATH
                   1408: do
                   1409:   IFS=$as_save_IFS
                   1410:   test -z "$as_dir" && as_dir=.
                   1411:   # Account for people who put trailing slashes in PATH elements.
                   1412: case $as_dir/ in
                   1413:   ./ | .// | /cC/* | \
                   1414:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.16      paf      1415:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.10      paf      1416:   /usr/ucb/* ) ;;
                   1417:   *)
                   1418:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1419:     # Don't use installbsd from OSF since it installs stuff as root
                   1420:     # by default.
                   1421:     for ac_prog in ginstall scoinst install; do
                   1422:       for ac_exec_ext in '' $ac_executable_extensions; do
1.16      paf      1423:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1424:          if test $ac_prog = install &&
                   1425:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1426:            # AIX install.  It has an incompatible calling convention.
                   1427:            :
                   1428:          elif test $ac_prog = install &&
                   1429:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1430:            # program-specific install script used by HP pwplus--don't use.
                   1431:            :
                   1432:          else
                   1433:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1434:            break 3
                   1435:          fi
                   1436:        fi
1.1       parser   1437:       done
1.10      paf      1438:     done
                   1439:     ;;
                   1440: esac
                   1441: done
                   1442: 
1.1       parser   1443: 
                   1444: fi
                   1445:   if test "${ac_cv_path_install+set}" = set; then
1.10      paf      1446:     INSTALL=$ac_cv_path_install
1.1       parser   1447:   else
                   1448:     # As a last resort, use the slow shell script.  We don't cache a
                   1449:     # path for INSTALL within a source directory, because that will
                   1450:     # break other packages using the cache if that directory is
                   1451:     # removed, or if the path is relative.
1.10      paf      1452:     INSTALL=$ac_install_sh
1.1       parser   1453:   fi
                   1454: fi
1.10      paf      1455: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1456: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1457: 
                   1458: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1459: # It thinks the first close brace ends the variable substitution.
                   1460: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1461: 
1.10      paf      1462: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1463: 
                   1464: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1465: 
1.10      paf      1466: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1467: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       parser   1468: # Just in case
                   1469: sleep 1
1.10      paf      1470: echo timestamp > conftest.file
1.1       parser   1471: # Do `set' in a subshell so we don't clobber the current shell's
                   1472: # arguments.  Must try -L first in case configure is actually a
                   1473: # symlink; some systems play weird games with the mod time of symlinks
                   1474: # (eg FreeBSD returns the mod time of the symlink's containing
                   1475: # directory).
                   1476: if (
1.10      paf      1477:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       parser   1478:    if test "$*" = "X"; then
                   1479:       # -L didn't work.
1.10      paf      1480:       set X `ls -t $srcdir/configure conftest.file`
1.1       parser   1481:    fi
1.10      paf      1482:    rm -f conftest.file
                   1483:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1484:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       parser   1485: 
                   1486:       # If neither matched, then we have a broken ls.  This can happen
                   1487:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1488:       # broken ls alias from the environment.  This has actually
                   1489:       # happened.  Such a system could not be considered "sane".
1.10      paf      1490:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1491: alias in your environment" >&5
                   1492: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1493: alias in your environment" >&2;}
                   1494:    { (exit 1); exit 1; }; }
1.1       parser   1495:    fi
                   1496: 
1.10      paf      1497:    test "$2" = conftest.file
1.1       parser   1498:    )
                   1499: then
                   1500:    # Ok.
                   1501:    :
                   1502: else
1.10      paf      1503:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1504: Check your system clock" >&5
                   1505: echo "$as_me: error: newly created file is older than distributed files!
                   1506: Check your system clock" >&2;}
                   1507:    { (exit 1); exit 1; }; }
1.1       parser   1508: fi
1.10      paf      1509: echo "$as_me:$LINENO: result: yes" >&5
                   1510: echo "${ECHO_T}yes" >&6
1.1       parser   1511: test "$program_prefix" != NONE &&
1.10      paf      1512:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       parser   1513: # Use a double $ so make ignores it.
                   1514: test "$program_suffix" != NONE &&
1.10      paf      1515:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1516: # Double any \ or $.  echo might interpret backslashes.
                   1517: # By default was `s,x,x', remove it if useless.
                   1518: cat <<\_ACEOF >conftest.sed
                   1519: s/[\\$]/&&/g;s/;s,x,x,$//
                   1520: _ACEOF
                   1521: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1522: rm conftest.sed
                   1523: 
                   1524: # expand $ac_aux_dir to an absolute path
                   1525: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1526: 
                   1527: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1528: # Use eval to expand $SHELL
                   1529: if eval "$MISSING --run true"; then
                   1530:   am_missing_run="$MISSING --run "
                   1531: else
                   1532:   am_missing_run=
                   1533:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1534: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1535: fi
                   1536: 
1.16      paf      1537: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
                   1538:   # We used to keeping the `.' as first argument, in order to
                   1539:   # allow $(mkdir_p) to be used without argument.  As in
                   1540:   #   $(mkdir_p) $(somedir)
                   1541:   # where $(somedir) is conditionally defined.  However this is wrong
                   1542:   # for two reasons:
                   1543:   #  1. if the package is installed by a user who cannot write `.'
                   1544:   #     make install will fail,
                   1545:   #  2. the above comment should most certainly read
                   1546:   #     $(mkdir_p) $(DESTDIR)$(somedir)
                   1547:   #     so it does not work when $(somedir) is undefined and
                   1548:   #     $(DESTDIR) is not.
                   1549:   #  To support the latter case, we have to write
                   1550:   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
                   1551:   #  so the `.' trick is pointless.
                   1552:   mkdir_p='mkdir -p --'
                   1553: else
                   1554:   # On NextStep and OpenStep, the `mkdir' command does not
                   1555:   # recognize any option.  It will interpret all options as
                   1556:   # directories to create, and then abort because `.' already
                   1557:   # exists.
                   1558:   for d in ./-p ./--version;
                   1559:   do
                   1560:     test -d $d && rmdir $d
                   1561:   done
                   1562:   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
                   1563:   if test -f "$ac_aux_dir/mkinstalldirs"; then
                   1564:     mkdir_p='$(mkinstalldirs)'
                   1565:   else
                   1566:     mkdir_p='$(install_sh) -d'
                   1567:   fi
                   1568: fi
                   1569: 
1.10      paf      1570: for ac_prog in gawk mawk nawk awk
                   1571: do
                   1572:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1573: set dummy $ac_prog; ac_word=$2
                   1574: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1575: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1576: if test "${ac_cv_prog_AWK+set}" = set; then
                   1577:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1578: else
                   1579:   if test -n "$AWK"; then
                   1580:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1581: else
                   1582: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1583: for as_dir in $PATH
                   1584: do
                   1585:   IFS=$as_save_IFS
                   1586:   test -z "$as_dir" && as_dir=.
                   1587:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1588:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1589:     ac_cv_prog_AWK="$ac_prog"
                   1590:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1591:     break 2
                   1592:   fi
                   1593: done
                   1594: done
                   1595: 
                   1596: fi
                   1597: fi
                   1598: AWK=$ac_cv_prog_AWK
                   1599: if test -n "$AWK"; then
                   1600:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1601: echo "${ECHO_T}$AWK" >&6
                   1602: else
                   1603:   echo "$as_me:$LINENO: result: no" >&5
                   1604: echo "${ECHO_T}no" >&6
                   1605: fi
1.1       parser   1606: 
1.10      paf      1607:   test -n "$AWK" && break
                   1608: done
1.1       parser   1609: 
1.10      paf      1610: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1611: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.16      paf      1612: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.10      paf      1613: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1614:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1615: else
1.10      paf      1616:   cat >conftest.make <<\_ACEOF
1.1       parser   1617: all:
1.10      paf      1618:        @echo 'ac_maketemp="$(MAKE)"'
                   1619: _ACEOF
1.1       parser   1620: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.10      paf      1621: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       parser   1622: if test -n "$ac_maketemp"; then
                   1623:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1624: else
                   1625:   eval ac_cv_prog_make_${ac_make}_set=no
                   1626: fi
1.10      paf      1627: rm -f conftest.make
1.1       parser   1628: fi
                   1629: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.10      paf      1630:   echo "$as_me:$LINENO: result: yes" >&5
                   1631: echo "${ECHO_T}yes" >&6
1.1       parser   1632:   SET_MAKE=
                   1633: else
1.10      paf      1634:   echo "$as_me:$LINENO: result: no" >&5
                   1635: echo "${ECHO_T}no" >&6
1.1       parser   1636:   SET_MAKE="MAKE=${MAKE-make}"
                   1637: fi
                   1638: 
1.16      paf      1639: rm -rf .tst 2>/dev/null
                   1640: mkdir .tst 2>/dev/null
                   1641: if test -d .tst; then
                   1642:   am__leading_dot=.
                   1643: else
                   1644:   am__leading_dot=_
                   1645: fi
                   1646: rmdir .tst 2>/dev/null
                   1647: 
                   1648: # test to see if srcdir already configured
1.10      paf      1649: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1650:    test -f $srcdir/config.status; then
                   1651:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1652: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1653:    { (exit 1); exit 1; }; }
                   1654: fi
                   1655: 
                   1656: # test whether we have cygpath
                   1657: if test -z "$CYGPATH_W"; then
                   1658:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1659:     CYGPATH_W='cygpath -w'
                   1660:   else
                   1661:     CYGPATH_W=echo
                   1662:   fi
                   1663: fi
                   1664: 
                   1665: 
                   1666: # Define the identity of the package.
1.23      moko     1667:  PACKAGE='parser3pgsql-c'
                   1668:  VERSION='10.3'
                   1669: 
                   1670: 
                   1671: cat >>confdefs.h <<_ACEOF
                   1672: #define PACKAGE "$PACKAGE"
                   1673: _ACEOF
                   1674: 
1.1       parser   1675: 
1.23      moko     1676: cat >>confdefs.h <<_ACEOF
                   1677: #define VERSION "$VERSION"
                   1678: _ACEOF
1.1       parser   1679: 
1.10      paf      1680: # Some tools Automake needs.
                   1681: 
                   1682: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1683: 
                   1684: 
                   1685: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1686: 
                   1687: 
                   1688: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1689: 
                   1690: 
                   1691: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1692: 
                   1693: 
                   1694: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       parser   1695: 
1.10      paf      1696: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       parser   1697: 
1.10      paf      1698: # Installed binaries are usually stripped using `strip' when the user
                   1699: # run `make install-strip'.  However `strip' might not be the right
                   1700: # tool to use in cross-compilation environments, therefore Automake
                   1701: # will honor the `STRIP' environment variable to overrule this program.
                   1702: if test "$cross_compiling" != no; then
                   1703:   if test -n "$ac_tool_prefix"; then
                   1704:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1705: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1706: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1707: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1708: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1709:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1710: else
1.10      paf      1711:   if test -n "$STRIP"; then
                   1712:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1713: else
                   1714: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1715: for as_dir in $PATH
                   1716: do
                   1717:   IFS=$as_save_IFS
                   1718:   test -z "$as_dir" && as_dir=.
                   1719:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1720:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1721:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1722:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1723:     break 2
                   1724:   fi
                   1725: done
                   1726: done
                   1727: 
                   1728: fi
                   1729: fi
                   1730: STRIP=$ac_cv_prog_STRIP
                   1731: if test -n "$STRIP"; then
                   1732:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1733: echo "${ECHO_T}$STRIP" >&6
                   1734: else
                   1735:   echo "$as_me:$LINENO: result: no" >&5
                   1736: echo "${ECHO_T}no" >&6
1.1       parser   1737: fi
                   1738: 
1.10      paf      1739: fi
                   1740: if test -z "$ac_cv_prog_STRIP"; then
                   1741:   ac_ct_STRIP=$STRIP
                   1742:   # Extract the first word of "strip", so it can be a program name with args.
                   1743: set dummy strip; ac_word=$2
                   1744: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1745: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1746: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1747:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1748: else
                   1749:   if test -n "$ac_ct_STRIP"; then
                   1750:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       parser   1751: else
1.10      paf      1752: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1753: for as_dir in $PATH
                   1754: do
                   1755:   IFS=$as_save_IFS
                   1756:   test -z "$as_dir" && as_dir=.
                   1757:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1758:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1759:     ac_cv_prog_ac_ct_STRIP="strip"
                   1760:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1761:     break 2
                   1762:   fi
                   1763: done
                   1764: done
                   1765: 
                   1766:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1767: fi
1.1       parser   1768: fi
1.10      paf      1769: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1770: if test -n "$ac_ct_STRIP"; then
                   1771:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1772: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       parser   1773: else
1.10      paf      1774:   echo "$as_me:$LINENO: result: no" >&5
                   1775: echo "${ECHO_T}no" >&6
1.1       parser   1776: fi
                   1777: 
1.10      paf      1778:   STRIP=$ac_ct_STRIP
1.1       parser   1779: else
1.10      paf      1780:   STRIP="$ac_cv_prog_STRIP"
1.1       parser   1781: fi
                   1782: 
                   1783: fi
1.10      paf      1784: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.1       parser   1785: 
1.10      paf      1786: # We need awk for the "check" target.  The system "awk" is bad on
                   1787: # some platforms.
1.16      paf      1788: # Always define AMTAR for backward compatibility.
                   1789: 
                   1790: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1791: 
                   1792: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   1793: 
                   1794: 
1.1       parser   1795: 
                   1796: 
                   1797: 
                   1798: 
1.23      moko     1799: 
1.10      paf      1800: 
1.1       parser   1801: 
1.2       parser   1802: # Check whether --with-pgsql-inc or --without-pgsql-inc was given.
1.1       parser   1803: if test "${with_pgsql_inc+set}" = set; then
                   1804:   withval="$with_pgsql_inc"
1.10      paf      1805: 
1.23      moko     1806:        if test -r "$withval/libpq-fe.h"; then
                   1807:                PGSQL_INC=$withval
                   1808:        fi
                   1809: 
                   1810: 
                   1811:        if test -z "$PGSQL_INC"; then
                   1812:                { { echo "$as_me:$LINENO: error: $PGSQL_INC does not seem to be valid PgSql includes directory" >&5
                   1813: echo "$as_me: error: $PGSQL_INC does not seem to be valid PgSql includes directory" >&2;}
                   1814:    { (exit 1); exit 1; }; }
                   1815:        fi
                   1816: 
1.1       parser   1817: else
1.23      moko     1818:   echo "$as_me:$LINENO: checking for PGSQL_INC directory" >&5
                   1819: echo $ECHO_N "checking for PGSQL_INC directory... $ECHO_C" >&6
                   1820:        for d in \
                   1821:                /usr/local/include/postgresql \
                   1822:                /usr/include/postgresql \
                   1823:                /usr/local/pgsql/include ; do
1.1       parser   1824: 
1.23      moko     1825:        if test -r "$d/libpq-fe.h"; then
                   1826:                PGSQL_INC=$d
                   1827:        fi
1.1       parser   1828: 
1.23      moko     1829:        done
1.1       parser   1830: 
1.23      moko     1831:        if test -z "$PGSQL_INC"; then
                   1832:                { { echo "$as_me:$LINENO: error: use --with-pgsql-inc=DIR to specify PgSql includes directory" >&5
                   1833: echo "$as_me: error: use --with-pgsql-inc=DIR to specify PgSql includes directory" >&2;}
1.10      paf      1834:    { (exit 1); exit 1; }; }
1.23      moko     1835:        fi
                   1836: 
                   1837:        echo "$as_me:$LINENO: result: $PGSQL_INC" >&5
                   1838: echo "${ECHO_T}$PGSQL_INC" >&6
                   1839: 
                   1840: fi;
                   1841: 
1.1       parser   1842: 
1.21      misha    1843: 
1.1       parser   1844: # Find a good install program.  We prefer a C program (faster),
                   1845: # so one script is as good as another.  But avoid the broken or
                   1846: # incompatible versions:
                   1847: # SysV /etc/install, /usr/sbin/install
                   1848: # SunOS /usr/etc/install
                   1849: # IRIX /sbin/install
                   1850: # AIX /bin/install
1.10      paf      1851: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1852: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1853: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1854: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.16      paf      1855: # OS/2's system install, which has a completely different semantic
1.1       parser   1856: # ./install, which can be erroneously created by make from ./install.sh.
1.10      paf      1857: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1858: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1859: if test -z "$INSTALL"; then
1.10      paf      1860: if test "${ac_cv_path_install+set}" = set; then
                   1861:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1862: else
1.10      paf      1863:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1864: for as_dir in $PATH
                   1865: do
                   1866:   IFS=$as_save_IFS
                   1867:   test -z "$as_dir" && as_dir=.
                   1868:   # Account for people who put trailing slashes in PATH elements.
                   1869: case $as_dir/ in
                   1870:   ./ | .// | /cC/* | \
                   1871:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.16      paf      1872:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.10      paf      1873:   /usr/ucb/* ) ;;
                   1874:   *)
                   1875:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1876:     # Don't use installbsd from OSF since it installs stuff as root
                   1877:     # by default.
                   1878:     for ac_prog in ginstall scoinst install; do
                   1879:       for ac_exec_ext in '' $ac_executable_extensions; do
1.16      paf      1880:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1881:          if test $ac_prog = install &&
                   1882:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1883:            # AIX install.  It has an incompatible calling convention.
                   1884:            :
                   1885:          elif test $ac_prog = install &&
                   1886:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1887:            # program-specific install script used by HP pwplus--don't use.
                   1888:            :
                   1889:          else
                   1890:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1891:            break 3
                   1892:          fi
                   1893:        fi
1.1       parser   1894:       done
1.10      paf      1895:     done
                   1896:     ;;
                   1897: esac
                   1898: done
                   1899: 
1.1       parser   1900: 
                   1901: fi
                   1902:   if test "${ac_cv_path_install+set}" = set; then
1.10      paf      1903:     INSTALL=$ac_cv_path_install
1.1       parser   1904:   else
                   1905:     # As a last resort, use the slow shell script.  We don't cache a
                   1906:     # path for INSTALL within a source directory, because that will
                   1907:     # break other packages using the cache if that directory is
                   1908:     # removed, or if the path is relative.
1.10      paf      1909:     INSTALL=$ac_install_sh
1.1       parser   1910:   fi
                   1911: fi
1.10      paf      1912: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1913: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1914: 
                   1915: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1916: # It thinks the first close brace ends the variable substitution.
                   1917: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1918: 
1.10      paf      1919: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1920: 
                   1921: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1922: 
1.10      paf      1923: ac_ext=cc
                   1924: ac_cpp='$CXXCPP $CPPFLAGS'
                   1925: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1926: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1927: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   1928: if test -n "$ac_tool_prefix"; then
                   1929:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   1930:   do
                   1931:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   1932: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   1933: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1934: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1935: if test "${ac_cv_prog_CXX+set}" = set; then
                   1936:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1937: else
                   1938:   if test -n "$CXX"; then
                   1939:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   1940: else
1.10      paf      1941: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1942: for as_dir in $PATH
                   1943: do
                   1944:   IFS=$as_save_IFS
                   1945:   test -z "$as_dir" && as_dir=.
                   1946:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1947:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1948:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   1949:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1950:     break 2
                   1951:   fi
                   1952: done
                   1953: done
                   1954: 
1.1       parser   1955: fi
                   1956: fi
1.10      paf      1957: CXX=$ac_cv_prog_CXX
1.1       parser   1958: if test -n "$CXX"; then
1.10      paf      1959:   echo "$as_me:$LINENO: result: $CXX" >&5
                   1960: echo "${ECHO_T}$CXX" >&6
1.1       parser   1961: else
1.10      paf      1962:   echo "$as_me:$LINENO: result: no" >&5
                   1963: echo "${ECHO_T}no" >&6
1.1       parser   1964: fi
                   1965: 
1.10      paf      1966:     test -n "$CXX" && break
                   1967:   done
                   1968: fi
                   1969: if test -z "$CXX"; then
                   1970:   ac_ct_CXX=$CXX
                   1971:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   1972: do
                   1973:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1974: set dummy $ac_prog; ac_word=$2
                   1975: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1976: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1977: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
                   1978:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1979: else
                   1980:   if test -n "$ac_ct_CXX"; then
                   1981:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   1982: else
                   1983: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1984: for as_dir in $PATH
                   1985: do
                   1986:   IFS=$as_save_IFS
                   1987:   test -z "$as_dir" && as_dir=.
                   1988:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1989:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1990:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   1991:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1992:     break 2
                   1993:   fi
                   1994: done
1.1       parser   1995: done
                   1996: 
1.10      paf      1997: fi
                   1998: fi
                   1999: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2000: if test -n "$ac_ct_CXX"; then
                   2001:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2002: echo "${ECHO_T}$ac_ct_CXX" >&6
                   2003: else
                   2004:   echo "$as_me:$LINENO: result: no" >&5
                   2005: echo "${ECHO_T}no" >&6
                   2006: fi
1.1       parser   2007: 
1.10      paf      2008:   test -n "$ac_ct_CXX" && break
                   2009: done
                   2010: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1       parser   2011: 
1.10      paf      2012:   CXX=$ac_ct_CXX
                   2013: fi
1.1       parser   2014: 
                   2015: 
1.10      paf      2016: # Provide some information about the compiler.
                   2017: echo "$as_me:$LINENO:" \
                   2018:      "checking for C++ compiler version" >&5
                   2019: ac_compiler=`set X $ac_compile; echo $2`
                   2020: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2021:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2022:   ac_status=$?
                   2023:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2024:   (exit $ac_status); }
                   2025: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2026:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2027:   ac_status=$?
                   2028:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2029:   (exit $ac_status); }
                   2030: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2031:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2032:   ac_status=$?
                   2033:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2034:   (exit $ac_status); }
                   2035: 
                   2036: cat >conftest.$ac_ext <<_ACEOF
                   2037: /* confdefs.h.  */
                   2038: _ACEOF
                   2039: cat confdefs.h >>conftest.$ac_ext
                   2040: cat >>conftest.$ac_ext <<_ACEOF
                   2041: /* end confdefs.h.  */
                   2042: 
                   2043: int
                   2044: main ()
                   2045: {
                   2046: 
                   2047:   ;
                   2048:   return 0;
                   2049: }
                   2050: _ACEOF
                   2051: ac_clean_files_save=$ac_clean_files
                   2052: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2053: # Try to create an executable without -o first, disregard a.out.
                   2054: # It will help us diagnose broken compilers, and finding out an intuition
                   2055: # of exeext.
1.16      paf      2056: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2057: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.10      paf      2058: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2059: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2060:   (eval $ac_link_default) 2>&5
                   2061:   ac_status=$?
                   2062:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2063:   (exit $ac_status); }; then
                   2064:   # Find the output, starting from the most likely.  This scheme is
                   2065: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2066: # resort.
                   2067: 
                   2068: # Be careful to initialize this variable, since it used to be cached.
                   2069: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2070: ac_cv_exeext=
                   2071: # b.out is created by i960 compilers.
                   2072: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
                   2073: do
                   2074:   test -f "$ac_file" || continue
                   2075:   case $ac_file in
                   2076:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.16      paf      2077:        ;;
1.10      paf      2078:     conftest.$ac_ext )
1.16      paf      2079:        # This is the source file.
                   2080:        ;;
1.10      paf      2081:     [ab].out )
1.16      paf      2082:        # We found the default executable, but exeext='' is most
                   2083:        # certainly right.
                   2084:        break;;
1.10      paf      2085:     *.* )
1.16      paf      2086:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2087:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2088:        # but it would be cool to find out if it's true.  Does anybody
                   2089:        # maintain Libtool? --akim.
                   2090:        export ac_cv_exeext
                   2091:        break;;
1.10      paf      2092:     * )
1.16      paf      2093:        break;;
1.10      paf      2094:   esac
                   2095: done
                   2096: else
                   2097:   echo "$as_me: failed program was:" >&5
                   2098: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2099: 
1.10      paf      2100: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2101: See \`config.log' for more details." >&5
                   2102: echo "$as_me: error: C++ compiler cannot create executables
                   2103: See \`config.log' for more details." >&2;}
                   2104:    { (exit 77); exit 77; }; }
                   2105: fi
                   2106: 
                   2107: ac_exeext=$ac_cv_exeext
                   2108: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2109: echo "${ECHO_T}$ac_file" >&6
                   2110: 
                   2111: # Check the compiler produces executables we can run.  If not, either
                   2112: # the compiler is broken, or we cross compile.
                   2113: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2114: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2115: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2116: # If not cross compiling, check that we can run a simple program.
                   2117: if test "$cross_compiling" != yes; then
                   2118:   if { ac_try='./$ac_file'
                   2119:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2120:   (eval $ac_try) 2>&5
                   2121:   ac_status=$?
                   2122:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2123:   (exit $ac_status); }; }; then
                   2124:     cross_compiling=no
                   2125:   else
                   2126:     if test "$cross_compiling" = maybe; then
                   2127:        cross_compiling=yes
                   2128:     else
                   2129:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2130: If you meant to cross compile, use \`--host'.
                   2131: See \`config.log' for more details." >&5
                   2132: echo "$as_me: error: cannot run C++ compiled programs.
                   2133: If you meant to cross compile, use \`--host'.
                   2134: See \`config.log' for more details." >&2;}
                   2135:    { (exit 1); exit 1; }; }
                   2136:     fi
1.1       parser   2137:   fi
1.10      paf      2138: fi
                   2139: echo "$as_me:$LINENO: result: yes" >&5
                   2140: echo "${ECHO_T}yes" >&6
                   2141: 
                   2142: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2143: ac_clean_files=$ac_clean_files_save
                   2144: # Check the compiler produces executables we can run.  If not, either
                   2145: # the compiler is broken, or we cross compile.
                   2146: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2147: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2148: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2149: echo "${ECHO_T}$cross_compiling" >&6
                   2150: 
                   2151: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2152: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2153: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2154:   (eval $ac_link) 2>&5
                   2155:   ac_status=$?
                   2156:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2157:   (exit $ac_status); }; then
                   2158:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2159: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2160: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2161: # `rm'.
                   2162: for ac_file in conftest.exe conftest conftest.*; do
                   2163:   test -f "$ac_file" || continue
                   2164:   case $ac_file in
                   2165:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2166:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.16      paf      2167:          export ac_cv_exeext
                   2168:          break;;
1.10      paf      2169:     * ) break;;
                   2170:   esac
                   2171: done
1.1       parser   2172: else
1.10      paf      2173:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2174: See \`config.log' for more details." >&5
                   2175: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2176: See \`config.log' for more details." >&2;}
                   2177:    { (exit 1); exit 1; }; }
                   2178: fi
                   2179: 
                   2180: rm -f conftest$ac_cv_exeext
                   2181: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2182: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2183: 
                   2184: rm -f conftest.$ac_ext
                   2185: EXEEXT=$ac_cv_exeext
                   2186: ac_exeext=$EXEEXT
                   2187: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2188: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2189: if test "${ac_cv_objext+set}" = set; then
                   2190:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2191: else
                   2192:   cat >conftest.$ac_ext <<_ACEOF
                   2193: /* confdefs.h.  */
                   2194: _ACEOF
                   2195: cat confdefs.h >>conftest.$ac_ext
                   2196: cat >>conftest.$ac_ext <<_ACEOF
                   2197: /* end confdefs.h.  */
                   2198: 
                   2199: int
                   2200: main ()
                   2201: {
                   2202: 
                   2203:   ;
                   2204:   return 0;
                   2205: }
                   2206: _ACEOF
                   2207: rm -f conftest.o conftest.obj
                   2208: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2209:   (eval $ac_compile) 2>&5
                   2210:   ac_status=$?
                   2211:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2212:   (exit $ac_status); }; then
                   2213:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2214:   case $ac_file in
                   2215:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2216:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2217:        break;;
                   2218:   esac
                   2219: done
1.1       parser   2220: else
1.10      paf      2221:   echo "$as_me: failed program was:" >&5
                   2222: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2223: 
1.10      paf      2224: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2225: See \`config.log' for more details." >&5
                   2226: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2227: See \`config.log' for more details." >&2;}
                   2228:    { (exit 1); exit 1; }; }
                   2229: fi
                   2230: 
                   2231: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2232: fi
                   2233: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2234: echo "${ECHO_T}$ac_cv_objext" >&6
                   2235: OBJEXT=$ac_cv_objext
                   2236: ac_objext=$OBJEXT
                   2237: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2238: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2239: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
                   2240:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2241: else
                   2242:   cat >conftest.$ac_ext <<_ACEOF
                   2243: /* confdefs.h.  */
                   2244: _ACEOF
                   2245: cat confdefs.h >>conftest.$ac_ext
                   2246: cat >>conftest.$ac_ext <<_ACEOF
                   2247: /* end confdefs.h.  */
                   2248: 
                   2249: int
                   2250: main ()
                   2251: {
                   2252: #ifndef __GNUC__
                   2253:        choke me
                   2254: #endif
1.1       parser   2255: 
1.10      paf      2256:   ;
                   2257:   return 0;
                   2258: }
                   2259: _ACEOF
                   2260: rm -f conftest.$ac_objext
                   2261: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      2262:   (eval $ac_compile) 2>conftest.er1
1.10      paf      2263:   ac_status=$?
1.16      paf      2264:   grep -v '^ *+' conftest.er1 >conftest.err
                   2265:   rm -f conftest.er1
                   2266:   cat conftest.err >&5
1.10      paf      2267:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2268:   (exit $ac_status); } &&
1.16      paf      2269:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2270:                         || test ! -s conftest.err'
                   2271:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2272:   (eval $ac_try) 2>&5
                   2273:   ac_status=$?
                   2274:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2275:   (exit $ac_status); }; } &&
                   2276:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      2277:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2278:   (eval $ac_try) 2>&5
                   2279:   ac_status=$?
                   2280:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2281:   (exit $ac_status); }; }; then
                   2282:   ac_compiler_gnu=yes
                   2283: else
                   2284:   echo "$as_me: failed program was:" >&5
                   2285: sed 's/^/| /' conftest.$ac_ext >&5
                   2286: 
                   2287: ac_compiler_gnu=no
                   2288: fi
1.16      paf      2289: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      2290: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   2291: 
                   2292: fi
                   2293: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2294: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2295: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2296: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2297: ac_save_CXXFLAGS=$CXXFLAGS
                   2298: CXXFLAGS="-g"
                   2299: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2300: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2301: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2302:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2303: else
                   2304:   cat >conftest.$ac_ext <<_ACEOF
                   2305: /* confdefs.h.  */
                   2306: _ACEOF
                   2307: cat confdefs.h >>conftest.$ac_ext
                   2308: cat >>conftest.$ac_ext <<_ACEOF
                   2309: /* end confdefs.h.  */
                   2310: 
                   2311: int
                   2312: main ()
                   2313: {
                   2314: 
                   2315:   ;
                   2316:   return 0;
                   2317: }
                   2318: _ACEOF
                   2319: rm -f conftest.$ac_objext
                   2320: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      2321:   (eval $ac_compile) 2>conftest.er1
1.10      paf      2322:   ac_status=$?
1.16      paf      2323:   grep -v '^ *+' conftest.er1 >conftest.err
                   2324:   rm -f conftest.er1
                   2325:   cat conftest.err >&5
1.10      paf      2326:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2327:   (exit $ac_status); } &&
1.16      paf      2328:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2329:                         || test ! -s conftest.err'
                   2330:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2331:   (eval $ac_try) 2>&5
                   2332:   ac_status=$?
                   2333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2334:   (exit $ac_status); }; } &&
                   2335:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      2336:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2337:   (eval $ac_try) 2>&5
                   2338:   ac_status=$?
                   2339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2340:   (exit $ac_status); }; }; then
                   2341:   ac_cv_prog_cxx_g=yes
1.1       parser   2342: else
1.10      paf      2343:   echo "$as_me: failed program was:" >&5
                   2344: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2345: 
1.10      paf      2346: ac_cv_prog_cxx_g=no
1.1       parser   2347: fi
1.16      paf      2348: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       parser   2349: fi
1.10      paf      2350: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2351: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.1       parser   2352: if test "$ac_test_CXXFLAGS" = set; then
1.10      paf      2353:   CXXFLAGS=$ac_save_CXXFLAGS
1.1       parser   2354: elif test $ac_cv_prog_cxx_g = yes; then
                   2355:   if test "$GXX" = yes; then
                   2356:     CXXFLAGS="-g -O2"
                   2357:   else
                   2358:     CXXFLAGS="-g"
                   2359:   fi
                   2360: else
                   2361:   if test "$GXX" = yes; then
                   2362:     CXXFLAGS="-O2"
                   2363:   else
                   2364:     CXXFLAGS=
                   2365:   fi
                   2366: fi
1.10      paf      2367: for ac_declaration in \
1.16      paf      2368:    '' \
1.10      paf      2369:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2370:    'extern "C" void std::exit (int); using std::exit;' \
                   2371:    'extern "C" void exit (int) throw ();' \
                   2372:    'extern "C" void exit (int);' \
                   2373:    'void exit (int);'
                   2374: do
                   2375:   cat >conftest.$ac_ext <<_ACEOF
                   2376: /* confdefs.h.  */
                   2377: _ACEOF
                   2378: cat confdefs.h >>conftest.$ac_ext
                   2379: cat >>conftest.$ac_ext <<_ACEOF
                   2380: /* end confdefs.h.  */
1.16      paf      2381: $ac_declaration
1.10      paf      2382: #include <stdlib.h>
                   2383: int
                   2384: main ()
                   2385: {
                   2386: exit (42);
                   2387:   ;
                   2388:   return 0;
                   2389: }
                   2390: _ACEOF
                   2391: rm -f conftest.$ac_objext
                   2392: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      2393:   (eval $ac_compile) 2>conftest.er1
1.10      paf      2394:   ac_status=$?
1.16      paf      2395:   grep -v '^ *+' conftest.er1 >conftest.err
                   2396:   rm -f conftest.er1
                   2397:   cat conftest.err >&5
1.10      paf      2398:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2399:   (exit $ac_status); } &&
1.16      paf      2400:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2401:                         || test ! -s conftest.err'
                   2402:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2403:   (eval $ac_try) 2>&5
                   2404:   ac_status=$?
                   2405:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2406:   (exit $ac_status); }; } &&
                   2407:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      2408:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2409:   (eval $ac_try) 2>&5
                   2410:   ac_status=$?
                   2411:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2412:   (exit $ac_status); }; }; then
                   2413:   :
                   2414: else
                   2415:   echo "$as_me: failed program was:" >&5
                   2416: sed 's/^/| /' conftest.$ac_ext >&5
                   2417: 
                   2418: continue
                   2419: fi
1.16      paf      2420: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      2421:   cat >conftest.$ac_ext <<_ACEOF
                   2422: /* confdefs.h.  */
                   2423: _ACEOF
                   2424: cat confdefs.h >>conftest.$ac_ext
                   2425: cat >>conftest.$ac_ext <<_ACEOF
                   2426: /* end confdefs.h.  */
                   2427: $ac_declaration
                   2428: int
                   2429: main ()
                   2430: {
                   2431: exit (42);
                   2432:   ;
                   2433:   return 0;
                   2434: }
                   2435: _ACEOF
                   2436: rm -f conftest.$ac_objext
                   2437: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      2438:   (eval $ac_compile) 2>conftest.er1
1.10      paf      2439:   ac_status=$?
1.16      paf      2440:   grep -v '^ *+' conftest.er1 >conftest.err
                   2441:   rm -f conftest.er1
                   2442:   cat conftest.err >&5
1.10      paf      2443:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2444:   (exit $ac_status); } &&
1.16      paf      2445:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2446:                         || test ! -s conftest.err'
                   2447:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2448:   (eval $ac_try) 2>&5
                   2449:   ac_status=$?
                   2450:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2451:   (exit $ac_status); }; } &&
                   2452:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      2453:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2454:   (eval $ac_try) 2>&5
                   2455:   ac_status=$?
                   2456:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2457:   (exit $ac_status); }; }; then
                   2458:   break
                   2459: else
                   2460:   echo "$as_me: failed program was:" >&5
                   2461: sed 's/^/| /' conftest.$ac_ext >&5
                   2462: 
                   2463: fi
1.16      paf      2464: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      2465: done
                   2466: rm -f conftest*
                   2467: if test -n "$ac_declaration"; then
                   2468:   echo '#ifdef __cplusplus' >>confdefs.h
                   2469:   echo $ac_declaration      >>confdefs.h
                   2470:   echo '#endif'             >>confdefs.h
                   2471: fi
                   2472: 
1.15      paf      2473: ac_ext=c
                   2474: ac_cpp='$CPP $CPPFLAGS'
                   2475: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2476: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2477: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.16      paf      2478: DEPDIR="${am__leading_dot}deps"
1.10      paf      2479: 
                   2480:           ac_config_commands="$ac_config_commands depfiles"
                   2481: 
                   2482: 
                   2483: am_make=${MAKE-make}
                   2484: cat > confinc << 'END'
1.16      paf      2485: am__doit:
1.10      paf      2486:        @echo done
1.16      paf      2487: .PHONY: am__doit
1.10      paf      2488: END
                   2489: # If we don't find an include directive, just comment out the code.
                   2490: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2491: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2492: am__include="#"
                   2493: am__quote=
                   2494: _am_result=none
                   2495: # First try GNU make style include.
                   2496: echo "include confinc" > confmf
                   2497: # We grep out `Entering directory' and `Leaving directory'
                   2498: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2499: # In particular we don't look at `^make:' because GNU make might
                   2500: # be invoked under some other name (usually "gmake"), in which
                   2501: # case it prints its new name instead of `make'.
                   2502: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2503:    am__include=include
                   2504:    am__quote=
                   2505:    _am_result=GNU
                   2506: fi
                   2507: # Now try BSD make style include.
                   2508: if test "$am__include" = "#"; then
                   2509:    echo '.include "confinc"' > confmf
                   2510:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2511:       am__include=.include
                   2512:       am__quote="\""
                   2513:       _am_result=BSD
                   2514:    fi
                   2515: fi
                   2516: 
                   2517: 
                   2518: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2519: echo "${ECHO_T}$_am_result" >&6
                   2520: rm -f confinc confmf
                   2521: 
                   2522: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2523: if test "${enable_dependency_tracking+set}" = set; then
                   2524:   enableval="$enable_dependency_tracking"
                   2525: 
                   2526: fi;
                   2527: if test "x$enable_dependency_tracking" != xno; then
                   2528:   am_depcomp="$ac_aux_dir/depcomp"
                   2529:   AMDEPBACKSLASH='\'
                   2530: fi
                   2531: 
                   2532: 
                   2533: if test "x$enable_dependency_tracking" != xno; then
                   2534:   AMDEP_TRUE=
                   2535:   AMDEP_FALSE='#'
                   2536: else
                   2537:   AMDEP_TRUE='#'
                   2538:   AMDEP_FALSE=
                   2539: fi
                   2540: 
                   2541: 
                   2542: 
                   2543: 
                   2544: depcc="$CXX"  am_compiler_list=
                   2545: 
                   2546: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2547: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2548: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
                   2549:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2550: else
                   2551:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2552:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2553:   # making bogus files that we don't know about and never remove.  For
                   2554:   # instance it was reported that on HP-UX the gcc test will end up
                   2555:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2556:   # in D'.
                   2557:   mkdir conftest.dir
                   2558:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2559:   # using a relative directory.
                   2560:   cp "$am_depcomp" conftest.dir
                   2561:   cd conftest.dir
1.16      paf      2562:   # We will build objects and dependencies in a subdirectory because
                   2563:   # it helps to detect inapplicable dependency modes.  For instance
                   2564:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2565:   # side effect of compilation, but ICC will put the dependencies in
                   2566:   # the current directory while Tru64 will put them in the object
                   2567:   # directory.
                   2568:   mkdir sub
1.10      paf      2569: 
                   2570:   am_cv_CXX_dependencies_compiler_type=none
                   2571:   if test "$am_compiler_list" = ""; then
                   2572:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2573:   fi
                   2574:   for depmode in $am_compiler_list; do
1.16      paf      2575:     # Setup a source with many dependencies, because some compilers
                   2576:     # like to wrap large dependency lists on column 80 (with \), and
                   2577:     # we should not choose a depcomp mode which is confused by this.
                   2578:     #
1.10      paf      2579:     # We need to recreate these files for each test, as the compiler may
                   2580:     # overwrite some of them when testing with obscure command lines.
                   2581:     # This happens at least with the AIX C compiler.
1.16      paf      2582:     : > sub/conftest.c
                   2583:     for i in 1 2 3 4 5 6; do
                   2584:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2585:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2586:       # Solaris 8's {/usr,}/bin/sh.
                   2587:       touch sub/conftst$i.h
                   2588:     done
                   2589:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.10      paf      2590: 
                   2591:     case $depmode in
                   2592:     nosideeffect)
                   2593:       # after this tag, mechanisms are not by side-effect, so they'll
                   2594:       # only be used when explicitly requested
                   2595:       if test "x$enable_dependency_tracking" = xyes; then
                   2596:        continue
                   2597:       else
                   2598:        break
                   2599:       fi
                   2600:       ;;
                   2601:     none) break ;;
                   2602:     esac
                   2603:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2604:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2605:     # handle `-M -o', and we need to detect this.
                   2606:     if depmode=$depmode \
1.16      paf      2607:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2608:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2609:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2610:          >/dev/null 2>conftest.err &&
                   2611:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2612:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.10      paf      2613:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.16      paf      2614:       # icc doesn't choke on unknown options, it will just issue warnings
                   2615:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2616:       # that says an option was ignored or not supported.
                   2617:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2618:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2619:       # The diagnosis changed in icc 8.0:
                   2620:       #   icc: Command line remark: option '-MP' not supported
                   2621:       if (grep 'ignoring option' conftest.err ||
                   2622:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2623:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2624:         break
                   2625:       fi
1.10      paf      2626:     fi
                   2627:   done
                   2628: 
                   2629:   cd ..
                   2630:   rm -rf conftest.dir
                   2631: else
                   2632:   am_cv_CXX_dependencies_compiler_type=none
                   2633: fi
                   2634: 
                   2635: fi
                   2636: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2637: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2638: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2639: 
                   2640: 
                   2641: 
                   2642: if
                   2643:   test "x$enable_dependency_tracking" != xno \
                   2644:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2645:   am__fastdepCXX_TRUE=
                   2646:   am__fastdepCXX_FALSE='#'
                   2647: else
                   2648:   am__fastdepCXX_TRUE='#'
                   2649:   am__fastdepCXX_FALSE=
                   2650: fi
                   2651: 
1.1       parser   2652: 
1.10      paf      2653: ac_ext=c
                   2654: ac_cpp='$CPP $CPPFLAGS'
                   2655: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2656: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2657: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2658: if test -n "$ac_tool_prefix"; then
                   2659:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2660: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2661: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2662: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2663: if test "${ac_cv_prog_CC+set}" = set; then
                   2664:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2665: else
                   2666:   if test -n "$CC"; then
                   2667:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2668: else
                   2669: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2670: for as_dir in $PATH
                   2671: do
                   2672:   IFS=$as_save_IFS
                   2673:   test -z "$as_dir" && as_dir=.
                   2674:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2675:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2676:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2677:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2678:     break 2
                   2679:   fi
                   2680: done
                   2681: done
1.1       parser   2682: 
1.10      paf      2683: fi
                   2684: fi
                   2685: CC=$ac_cv_prog_CC
                   2686: if test -n "$CC"; then
                   2687:   echo "$as_me:$LINENO: result: $CC" >&5
                   2688: echo "${ECHO_T}$CC" >&6
                   2689: else
                   2690:   echo "$as_me:$LINENO: result: no" >&5
                   2691: echo "${ECHO_T}no" >&6
                   2692: fi
1.1       parser   2693: 
1.10      paf      2694: fi
                   2695: if test -z "$ac_cv_prog_CC"; then
                   2696:   ac_ct_CC=$CC
                   2697:   # Extract the first word of "gcc", so it can be a program name with args.
                   2698: set dummy gcc; ac_word=$2
                   2699: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2700: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2701: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2702:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2703: else
1.10      paf      2704:   if test -n "$ac_ct_CC"; then
                   2705:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       parser   2706: else
1.10      paf      2707: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2708: for as_dir in $PATH
                   2709: do
                   2710:   IFS=$as_save_IFS
                   2711:   test -z "$as_dir" && as_dir=.
                   2712:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2713:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2714:     ac_cv_prog_ac_ct_CC="gcc"
                   2715:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2716:     break 2
                   2717:   fi
                   2718: done
                   2719: done
                   2720: 
                   2721: fi
1.1       parser   2722: fi
1.10      paf      2723: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2724: if test -n "$ac_ct_CC"; then
                   2725:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2726: echo "${ECHO_T}$ac_ct_CC" >&6
                   2727: else
                   2728:   echo "$as_me:$LINENO: result: no" >&5
                   2729: echo "${ECHO_T}no" >&6
1.1       parser   2730: fi
1.10      paf      2731: 
                   2732:   CC=$ac_ct_CC
1.1       parser   2733: else
1.10      paf      2734:   CC="$ac_cv_prog_CC"
1.1       parser   2735: fi
                   2736: 
1.10      paf      2737: if test -z "$CC"; then
                   2738:   if test -n "$ac_tool_prefix"; then
                   2739:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2740: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2741: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2742: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2743: if test "${ac_cv_prog_CC+set}" = set; then
                   2744:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2745: else
                   2746:   if test -n "$CC"; then
                   2747:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2748: else
1.10      paf      2749: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2750: for as_dir in $PATH
                   2751: do
                   2752:   IFS=$as_save_IFS
                   2753:   test -z "$as_dir" && as_dir=.
                   2754:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2755:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2756:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2757:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2758:     break 2
                   2759:   fi
                   2760: done
                   2761: done
                   2762: 
1.1       parser   2763: fi
                   2764: fi
1.10      paf      2765: CC=$ac_cv_prog_CC
1.1       parser   2766: if test -n "$CC"; then
1.10      paf      2767:   echo "$as_me:$LINENO: result: $CC" >&5
                   2768: echo "${ECHO_T}$CC" >&6
                   2769: else
                   2770:   echo "$as_me:$LINENO: result: no" >&5
                   2771: echo "${ECHO_T}no" >&6
                   2772: fi
                   2773: 
                   2774: fi
                   2775: if test -z "$ac_cv_prog_CC"; then
                   2776:   ac_ct_CC=$CC
                   2777:   # Extract the first word of "cc", so it can be a program name with args.
                   2778: set dummy cc; ac_word=$2
                   2779: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2780: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2781: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2782:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2783: else
                   2784:   if test -n "$ac_ct_CC"; then
                   2785:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2786: else
                   2787: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2788: for as_dir in $PATH
                   2789: do
                   2790:   IFS=$as_save_IFS
                   2791:   test -z "$as_dir" && as_dir=.
                   2792:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2793:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2794:     ac_cv_prog_ac_ct_CC="cc"
                   2795:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2796:     break 2
                   2797:   fi
                   2798: done
                   2799: done
                   2800: 
                   2801: fi
                   2802: fi
                   2803: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2804: if test -n "$ac_ct_CC"; then
                   2805:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2806: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       parser   2807: else
1.10      paf      2808:   echo "$as_me:$LINENO: result: no" >&5
                   2809: echo "${ECHO_T}no" >&6
1.1       parser   2810: fi
                   2811: 
1.10      paf      2812:   CC=$ac_ct_CC
                   2813: else
                   2814:   CC="$ac_cv_prog_CC"
                   2815: fi
                   2816: 
                   2817: fi
1.1       parser   2818: if test -z "$CC"; then
                   2819:   # Extract the first word of "cc", so it can be a program name with args.
                   2820: set dummy cc; ac_word=$2
1.10      paf      2821: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2822: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2823: if test "${ac_cv_prog_CC+set}" = set; then
                   2824:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2825: else
                   2826:   if test -n "$CC"; then
                   2827:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2828: else
                   2829:   ac_prog_rejected=no
1.10      paf      2830: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2831: for as_dir in $PATH
                   2832: do
                   2833:   IFS=$as_save_IFS
                   2834:   test -z "$as_dir" && as_dir=.
                   2835:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2836:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2837:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2838:        ac_prog_rejected=yes
                   2839:        continue
                   2840:      fi
                   2841:     ac_cv_prog_CC="cc"
                   2842:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2843:     break 2
                   2844:   fi
                   2845: done
                   2846: done
                   2847: 
1.1       parser   2848: if test $ac_prog_rejected = yes; then
                   2849:   # We found a bogon in the path, so make sure we never use it.
                   2850:   set dummy $ac_cv_prog_CC
                   2851:   shift
1.10      paf      2852:   if test $# != 0; then
1.1       parser   2853:     # We chose a different compiler from the bogus one.
                   2854:     # However, it has the same basename, so the bogon will be chosen
                   2855:     # first if we set CC to just the basename; use the full file name.
                   2856:     shift
1.10      paf      2857:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       parser   2858:   fi
                   2859: fi
                   2860: fi
                   2861: fi
1.10      paf      2862: CC=$ac_cv_prog_CC
1.1       parser   2863: if test -n "$CC"; then
1.10      paf      2864:   echo "$as_me:$LINENO: result: $CC" >&5
                   2865: echo "${ECHO_T}$CC" >&6
1.1       parser   2866: else
1.10      paf      2867:   echo "$as_me:$LINENO: result: no" >&5
                   2868: echo "${ECHO_T}no" >&6
1.1       parser   2869: fi
                   2870: 
1.10      paf      2871: fi
                   2872: if test -z "$CC"; then
                   2873:   if test -n "$ac_tool_prefix"; then
                   2874:   for ac_prog in cl
                   2875:   do
                   2876:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2877: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2878: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2879: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2880: if test "${ac_cv_prog_CC+set}" = set; then
                   2881:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2882: else
                   2883:   if test -n "$CC"; then
                   2884:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2885: else
1.10      paf      2886: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2887: for as_dir in $PATH
                   2888: do
                   2889:   IFS=$as_save_IFS
                   2890:   test -z "$as_dir" && as_dir=.
                   2891:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2892:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2893:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   2894:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2895:     break 2
                   2896:   fi
                   2897: done
                   2898: done
                   2899: 
1.1       parser   2900: fi
                   2901: fi
1.10      paf      2902: CC=$ac_cv_prog_CC
1.1       parser   2903: if test -n "$CC"; then
1.10      paf      2904:   echo "$as_me:$LINENO: result: $CC" >&5
                   2905: echo "${ECHO_T}$CC" >&6
1.1       parser   2906: else
1.10      paf      2907:   echo "$as_me:$LINENO: result: no" >&5
                   2908: echo "${ECHO_T}no" >&6
                   2909: fi
                   2910: 
                   2911:     test -n "$CC" && break
                   2912:   done
1.1       parser   2913: fi
1.10      paf      2914: if test -z "$CC"; then
                   2915:   ac_ct_CC=$CC
                   2916:   for ac_prog in cl
                   2917: do
                   2918:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2919: set dummy $ac_prog; ac_word=$2
                   2920: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2921: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2922: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2923:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2924: else
                   2925:   if test -n "$ac_ct_CC"; then
                   2926:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2927: else
                   2928: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2929: for as_dir in $PATH
                   2930: do
                   2931:   IFS=$as_save_IFS
                   2932:   test -z "$as_dir" && as_dir=.
                   2933:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2934:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2935:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   2936:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2937:     break 2
1.1       parser   2938:   fi
1.10      paf      2939: done
                   2940: done
                   2941: 
                   2942: fi
                   2943: fi
                   2944: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2945: if test -n "$ac_ct_CC"; then
                   2946:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2947: echo "${ECHO_T}$ac_ct_CC" >&6
                   2948: else
                   2949:   echo "$as_me:$LINENO: result: no" >&5
                   2950: echo "${ECHO_T}no" >&6
1.1       parser   2951: fi
                   2952: 
1.10      paf      2953:   test -n "$ac_ct_CC" && break
                   2954: done
1.1       parser   2955: 
1.10      paf      2956:   CC=$ac_ct_CC
                   2957: fi
1.1       parser   2958: 
1.10      paf      2959: fi
1.1       parser   2960: 
                   2961: 
1.10      paf      2962: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   2963: See \`config.log' for more details." >&5
                   2964: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   2965: See \`config.log' for more details." >&2;}
                   2966:    { (exit 1); exit 1; }; }
                   2967: 
                   2968: # Provide some information about the compiler.
                   2969: echo "$as_me:$LINENO:" \
                   2970:      "checking for C compiler version" >&5
                   2971: ac_compiler=`set X $ac_compile; echo $2`
                   2972: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2973:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2974:   ac_status=$?
                   2975:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2976:   (exit $ac_status); }
                   2977: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2978:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2979:   ac_status=$?
                   2980:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2981:   (exit $ac_status); }
                   2982: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2983:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2984:   ac_status=$?
                   2985:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2986:   (exit $ac_status); }
                   2987: 
                   2988: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   2989: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   2990: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   2991:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2992: else
                   2993:   cat >conftest.$ac_ext <<_ACEOF
                   2994: /* confdefs.h.  */
                   2995: _ACEOF
                   2996: cat confdefs.h >>conftest.$ac_ext
                   2997: cat >>conftest.$ac_ext <<_ACEOF
                   2998: /* end confdefs.h.  */
                   2999: 
                   3000: int
                   3001: main ()
                   3002: {
                   3003: #ifndef __GNUC__
                   3004:        choke me
1.1       parser   3005: #endif
                   3006: 
1.10      paf      3007:   ;
                   3008:   return 0;
                   3009: }
                   3010: _ACEOF
                   3011: rm -f conftest.$ac_objext
                   3012: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      3013:   (eval $ac_compile) 2>conftest.er1
1.10      paf      3014:   ac_status=$?
1.16      paf      3015:   grep -v '^ *+' conftest.er1 >conftest.err
                   3016:   rm -f conftest.er1
                   3017:   cat conftest.err >&5
1.10      paf      3018:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3019:   (exit $ac_status); } &&
1.16      paf      3020:         { ac_try='test -z "$ac_c_werror_flag"
                   3021:                         || test ! -s conftest.err'
                   3022:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3023:   (eval $ac_try) 2>&5
                   3024:   ac_status=$?
                   3025:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3026:   (exit $ac_status); }; } &&
                   3027:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      3028:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3029:   (eval $ac_try) 2>&5
                   3030:   ac_status=$?
                   3031:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3032:   (exit $ac_status); }; }; then
                   3033:   ac_compiler_gnu=yes
                   3034: else
                   3035:   echo "$as_me: failed program was:" >&5
                   3036: sed 's/^/| /' conftest.$ac_ext >&5
                   3037: 
                   3038: ac_compiler_gnu=no
                   3039: fi
1.16      paf      3040: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      3041: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3042: 
                   3043: fi
                   3044: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3045: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3046: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3047: ac_test_CFLAGS=${CFLAGS+set}
                   3048: ac_save_CFLAGS=$CFLAGS
                   3049: CFLAGS="-g"
                   3050: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3051: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3052: if test "${ac_cv_prog_cc_g+set}" = set; then
                   3053:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3054: else
                   3055:   cat >conftest.$ac_ext <<_ACEOF
                   3056: /* confdefs.h.  */
                   3057: _ACEOF
                   3058: cat confdefs.h >>conftest.$ac_ext
                   3059: cat >>conftest.$ac_ext <<_ACEOF
                   3060: /* end confdefs.h.  */
                   3061: 
                   3062: int
                   3063: main ()
                   3064: {
                   3065: 
                   3066:   ;
                   3067:   return 0;
                   3068: }
                   3069: _ACEOF
                   3070: rm -f conftest.$ac_objext
                   3071: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      3072:   (eval $ac_compile) 2>conftest.er1
1.10      paf      3073:   ac_status=$?
1.16      paf      3074:   grep -v '^ *+' conftest.er1 >conftest.err
                   3075:   rm -f conftest.er1
                   3076:   cat conftest.err >&5
1.10      paf      3077:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3078:   (exit $ac_status); } &&
1.16      paf      3079:         { ac_try='test -z "$ac_c_werror_flag"
                   3080:                         || test ! -s conftest.err'
                   3081:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3082:   (eval $ac_try) 2>&5
                   3083:   ac_status=$?
                   3084:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3085:   (exit $ac_status); }; } &&
                   3086:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      3087:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3088:   (eval $ac_try) 2>&5
                   3089:   ac_status=$?
                   3090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3091:   (exit $ac_status); }; }; then
                   3092:   ac_cv_prog_cc_g=yes
1.1       parser   3093: else
1.10      paf      3094:   echo "$as_me: failed program was:" >&5
                   3095: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3096: 
1.10      paf      3097: ac_cv_prog_cc_g=no
1.1       parser   3098: fi
1.16      paf      3099: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       parser   3100: fi
1.10      paf      3101: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3102: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       parser   3103: if test "$ac_test_CFLAGS" = set; then
1.10      paf      3104:   CFLAGS=$ac_save_CFLAGS
1.1       parser   3105: elif test $ac_cv_prog_cc_g = yes; then
                   3106:   if test "$GCC" = yes; then
                   3107:     CFLAGS="-g -O2"
                   3108:   else
                   3109:     CFLAGS="-g"
                   3110:   fi
                   3111: else
                   3112:   if test "$GCC" = yes; then
                   3113:     CFLAGS="-O2"
                   3114:   else
                   3115:     CFLAGS=
                   3116:   fi
                   3117: fi
1.10      paf      3118: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3119: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3120: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3121:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3122: else
                   3123:   ac_cv_prog_cc_stdc=no
                   3124: ac_save_CC=$CC
                   3125: cat >conftest.$ac_ext <<_ACEOF
                   3126: /* confdefs.h.  */
                   3127: _ACEOF
                   3128: cat confdefs.h >>conftest.$ac_ext
                   3129: cat >>conftest.$ac_ext <<_ACEOF
                   3130: /* end confdefs.h.  */
                   3131: #include <stdarg.h>
                   3132: #include <stdio.h>
                   3133: #include <sys/types.h>
                   3134: #include <sys/stat.h>
                   3135: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3136: struct buf { int x; };
                   3137: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3138: static char *e (p, i)
                   3139:      char **p;
                   3140:      int i;
                   3141: {
                   3142:   return p[i];
                   3143: }
                   3144: static char *f (char * (*g) (char **, int), char **p, ...)
                   3145: {
                   3146:   char *s;
                   3147:   va_list v;
                   3148:   va_start (v,p);
                   3149:   s = g (p, va_arg (v,int));
                   3150:   va_end (v);
                   3151:   return s;
                   3152: }
1.16      paf      3153: 
                   3154: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3155:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3156:    These don't provoke an error unfortunately, instead are silently treated
                   3157:    as 'x'.  The following induces an error, until -std1 is added to get
                   3158:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3159:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3160:    that's true only with -std1.  */
                   3161: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3162: 
1.10      paf      3163: int test (int i, double x);
                   3164: struct s1 {int (*f) (int a);};
                   3165: struct s2 {int (*f) (double a);};
                   3166: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3167: int argc;
                   3168: char **argv;
                   3169: int
                   3170: main ()
                   3171: {
                   3172: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3173:   ;
                   3174:   return 0;
                   3175: }
                   3176: _ACEOF
                   3177: # Don't try gcc -ansi; that turns off useful extensions and
                   3178: # breaks some systems' header files.
                   3179: # AIX                  -qlanglvl=ansi
                   3180: # Ultrix and OSF/1     -std1
                   3181: # HP-UX 10.20 and later        -Ae
                   3182: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3183: # SVR4                 -Xc -D__EXTENSIONS__
                   3184: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3185: do
                   3186:   CC="$ac_save_CC $ac_arg"
                   3187:   rm -f conftest.$ac_objext
                   3188: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      3189:   (eval $ac_compile) 2>conftest.er1
1.10      paf      3190:   ac_status=$?
1.16      paf      3191:   grep -v '^ *+' conftest.er1 >conftest.err
                   3192:   rm -f conftest.er1
                   3193:   cat conftest.err >&5
1.10      paf      3194:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3195:   (exit $ac_status); } &&
1.16      paf      3196:         { ac_try='test -z "$ac_c_werror_flag"
                   3197:                         || test ! -s conftest.err'
                   3198:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3199:   (eval $ac_try) 2>&5
                   3200:   ac_status=$?
                   3201:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3202:   (exit $ac_status); }; } &&
                   3203:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      3204:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3205:   (eval $ac_try) 2>&5
                   3206:   ac_status=$?
                   3207:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3208:   (exit $ac_status); }; }; then
                   3209:   ac_cv_prog_cc_stdc=$ac_arg
                   3210: break
                   3211: else
                   3212:   echo "$as_me: failed program was:" >&5
                   3213: sed 's/^/| /' conftest.$ac_ext >&5
                   3214: 
                   3215: fi
1.16      paf      3216: rm -f conftest.err conftest.$ac_objext
1.10      paf      3217: done
                   3218: rm -f conftest.$ac_ext conftest.$ac_objext
                   3219: CC=$ac_save_CC
                   3220: 
                   3221: fi
                   3222: 
                   3223: case "x$ac_cv_prog_cc_stdc" in
                   3224:   x|xno)
                   3225:     echo "$as_me:$LINENO: result: none needed" >&5
                   3226: echo "${ECHO_T}none needed" >&6 ;;
                   3227:   *)
                   3228:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3229: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3230:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3231: esac
                   3232: 
                   3233: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3234: # in C++ we need to declare it.  In case someone uses the same compiler
                   3235: # for both compiling C and C++ we need to have the C++ compiler decide
                   3236: # the declaration of exit, since it's the most demanding environment.
                   3237: cat >conftest.$ac_ext <<_ACEOF
                   3238: #ifndef __cplusplus
                   3239:   choke me
                   3240: #endif
                   3241: _ACEOF
                   3242: rm -f conftest.$ac_objext
                   3243: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      3244:   (eval $ac_compile) 2>conftest.er1
1.10      paf      3245:   ac_status=$?
1.16      paf      3246:   grep -v '^ *+' conftest.er1 >conftest.err
                   3247:   rm -f conftest.er1
                   3248:   cat conftest.err >&5
1.10      paf      3249:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3250:   (exit $ac_status); } &&
1.16      paf      3251:         { ac_try='test -z "$ac_c_werror_flag"
                   3252:                         || test ! -s conftest.err'
                   3253:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3254:   (eval $ac_try) 2>&5
                   3255:   ac_status=$?
                   3256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3257:   (exit $ac_status); }; } &&
                   3258:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      3259:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3260:   (eval $ac_try) 2>&5
                   3261:   ac_status=$?
                   3262:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3263:   (exit $ac_status); }; }; then
                   3264:   for ac_declaration in \
1.16      paf      3265:    '' \
1.10      paf      3266:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3267:    'extern "C" void std::exit (int); using std::exit;' \
                   3268:    'extern "C" void exit (int) throw ();' \
                   3269:    'extern "C" void exit (int);' \
                   3270:    'void exit (int);'
                   3271: do
                   3272:   cat >conftest.$ac_ext <<_ACEOF
                   3273: /* confdefs.h.  */
                   3274: _ACEOF
                   3275: cat confdefs.h >>conftest.$ac_ext
                   3276: cat >>conftest.$ac_ext <<_ACEOF
                   3277: /* end confdefs.h.  */
1.16      paf      3278: $ac_declaration
1.10      paf      3279: #include <stdlib.h>
                   3280: int
                   3281: main ()
                   3282: {
                   3283: exit (42);
                   3284:   ;
                   3285:   return 0;
                   3286: }
                   3287: _ACEOF
                   3288: rm -f conftest.$ac_objext
                   3289: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      3290:   (eval $ac_compile) 2>conftest.er1
1.10      paf      3291:   ac_status=$?
1.16      paf      3292:   grep -v '^ *+' conftest.er1 >conftest.err
                   3293:   rm -f conftest.er1
                   3294:   cat conftest.err >&5
1.10      paf      3295:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3296:   (exit $ac_status); } &&
1.16      paf      3297:         { ac_try='test -z "$ac_c_werror_flag"
                   3298:                         || test ! -s conftest.err'
                   3299:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3300:   (eval $ac_try) 2>&5
                   3301:   ac_status=$?
                   3302:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3303:   (exit $ac_status); }; } &&
                   3304:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      3305:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3306:   (eval $ac_try) 2>&5
                   3307:   ac_status=$?
                   3308:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3309:   (exit $ac_status); }; }; then
                   3310:   :
                   3311: else
                   3312:   echo "$as_me: failed program was:" >&5
                   3313: sed 's/^/| /' conftest.$ac_ext >&5
                   3314: 
                   3315: continue
                   3316: fi
1.16      paf      3317: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      3318:   cat >conftest.$ac_ext <<_ACEOF
                   3319: /* confdefs.h.  */
                   3320: _ACEOF
                   3321: cat confdefs.h >>conftest.$ac_ext
                   3322: cat >>conftest.$ac_ext <<_ACEOF
                   3323: /* end confdefs.h.  */
                   3324: $ac_declaration
                   3325: int
                   3326: main ()
                   3327: {
                   3328: exit (42);
                   3329:   ;
                   3330:   return 0;
                   3331: }
                   3332: _ACEOF
                   3333: rm -f conftest.$ac_objext
                   3334: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      3335:   (eval $ac_compile) 2>conftest.er1
1.10      paf      3336:   ac_status=$?
1.16      paf      3337:   grep -v '^ *+' conftest.er1 >conftest.err
                   3338:   rm -f conftest.er1
                   3339:   cat conftest.err >&5
1.10      paf      3340:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3341:   (exit $ac_status); } &&
1.16      paf      3342:         { ac_try='test -z "$ac_c_werror_flag"
                   3343:                         || test ! -s conftest.err'
                   3344:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3345:   (eval $ac_try) 2>&5
                   3346:   ac_status=$?
                   3347:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3348:   (exit $ac_status); }; } &&
                   3349:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      3350:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3351:   (eval $ac_try) 2>&5
                   3352:   ac_status=$?
                   3353:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3354:   (exit $ac_status); }; }; then
                   3355:   break
                   3356: else
                   3357:   echo "$as_me: failed program was:" >&5
                   3358: sed 's/^/| /' conftest.$ac_ext >&5
                   3359: 
                   3360: fi
1.16      paf      3361: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      3362: done
                   3363: rm -f conftest*
                   3364: if test -n "$ac_declaration"; then
                   3365:   echo '#ifdef __cplusplus' >>confdefs.h
                   3366:   echo $ac_declaration      >>confdefs.h
                   3367:   echo '#endif'             >>confdefs.h
                   3368: fi
                   3369: 
                   3370: else
                   3371:   echo "$as_me: failed program was:" >&5
                   3372: sed 's/^/| /' conftest.$ac_ext >&5
                   3373: 
                   3374: fi
1.16      paf      3375: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      3376: ac_ext=c
                   3377: ac_cpp='$CPP $CPPFLAGS'
                   3378: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3379: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3380: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      paf      3381: 
                   3382: depcc="$CC"   am_compiler_list=
                   3383: 
                   3384: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3385: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   3386: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   3387:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3388: else
                   3389:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3390:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3391:   # making bogus files that we don't know about and never remove.  For
                   3392:   # instance it was reported that on HP-UX the gcc test will end up
                   3393:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3394:   # in D'.
                   3395:   mkdir conftest.dir
                   3396:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3397:   # using a relative directory.
                   3398:   cp "$am_depcomp" conftest.dir
                   3399:   cd conftest.dir
1.16      paf      3400:   # We will build objects and dependencies in a subdirectory because
                   3401:   # it helps to detect inapplicable dependency modes.  For instance
                   3402:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3403:   # side effect of compilation, but ICC will put the dependencies in
                   3404:   # the current directory while Tru64 will put them in the object
                   3405:   # directory.
                   3406:   mkdir sub
1.10      paf      3407: 
                   3408:   am_cv_CC_dependencies_compiler_type=none
                   3409:   if test "$am_compiler_list" = ""; then
                   3410:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3411:   fi
                   3412:   for depmode in $am_compiler_list; do
1.16      paf      3413:     # Setup a source with many dependencies, because some compilers
                   3414:     # like to wrap large dependency lists on column 80 (with \), and
                   3415:     # we should not choose a depcomp mode which is confused by this.
                   3416:     #
1.10      paf      3417:     # We need to recreate these files for each test, as the compiler may
                   3418:     # overwrite some of them when testing with obscure command lines.
                   3419:     # This happens at least with the AIX C compiler.
1.16      paf      3420:     : > sub/conftest.c
                   3421:     for i in 1 2 3 4 5 6; do
                   3422:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3423:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3424:       # Solaris 8's {/usr,}/bin/sh.
                   3425:       touch sub/conftst$i.h
                   3426:     done
                   3427:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.10      paf      3428: 
                   3429:     case $depmode in
                   3430:     nosideeffect)
                   3431:       # after this tag, mechanisms are not by side-effect, so they'll
                   3432:       # only be used when explicitly requested
                   3433:       if test "x$enable_dependency_tracking" = xyes; then
                   3434:        continue
                   3435:       else
                   3436:        break
                   3437:       fi
                   3438:       ;;
                   3439:     none) break ;;
                   3440:     esac
                   3441:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3442:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3443:     # handle `-M -o', and we need to detect this.
                   3444:     if depmode=$depmode \
1.16      paf      3445:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3446:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3447:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3448:          >/dev/null 2>conftest.err &&
                   3449:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3450:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.10      paf      3451:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.16      paf      3452:       # icc doesn't choke on unknown options, it will just issue warnings
                   3453:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3454:       # that says an option was ignored or not supported.
                   3455:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3456:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3457:       # The diagnosis changed in icc 8.0:
                   3458:       #   icc: Command line remark: option '-MP' not supported
                   3459:       if (grep 'ignoring option' conftest.err ||
                   3460:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3461:         am_cv_CC_dependencies_compiler_type=$depmode
                   3462:         break
                   3463:       fi
1.10      paf      3464:     fi
                   3465:   done
                   3466: 
                   3467:   cd ..
                   3468:   rm -rf conftest.dir
                   3469: else
                   3470:   am_cv_CC_dependencies_compiler_type=none
                   3471: fi
                   3472: 
                   3473: fi
                   3474: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3475: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3476: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3477: 
                   3478: 
                   3479: 
                   3480: if
                   3481:   test "x$enable_dependency_tracking" != xno \
                   3482:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3483:   am__fastdepCC_TRUE=
                   3484:   am__fastdepCC_FALSE='#'
                   3485: else
                   3486:   am__fastdepCC_TRUE='#'
                   3487:   am__fastdepCC_FALSE=
                   3488: fi
                   3489: 
                   3490: 
1.15      paf      3491: 
                   3492: 
                   3493: 
                   3494: 
                   3495: 
                   3496: 
                   3497: 
1.23      moko     3498: 
                   3499: case `pwd` in
                   3500:   *\ * | *\    *)
                   3501:     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   3502: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.15      paf      3503: esac
                   3504: 
1.23      moko     3505: 
                   3506: 
                   3507: macro_version='2.4.2'
                   3508: macro_revision='1.3337'
                   3509: 
                   3510: 
                   3511: 
                   3512: 
                   3513: 
                   3514: 
                   3515: 
                   3516: 
                   3517: 
                   3518: 
                   3519: 
                   3520: 
                   3521: 
                   3522: ltmain="$ac_aux_dir/ltmain.sh"
                   3523: 
1.15      paf      3524: # Make sure we can run config.sub.
                   3525: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   3526:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   3527: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   3528:    { (exit 1); exit 1; }; }
                   3529: 
                   3530: echo "$as_me:$LINENO: checking build system type" >&5
                   3531: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   3532: if test "${ac_cv_build+set}" = set; then
                   3533:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3534: else
                   3535:   ac_cv_build_alias=$build_alias
                   3536: test -z "$ac_cv_build_alias" &&
                   3537:   ac_cv_build_alias=`$ac_config_guess`
                   3538: test -z "$ac_cv_build_alias" &&
                   3539:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   3540: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   3541:    { (exit 1); exit 1; }; }
                   3542: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   3543:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   3544: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   3545:    { (exit 1); exit 1; }; }
                   3546: 
                   3547: fi
                   3548: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   3549: echo "${ECHO_T}$ac_cv_build" >&6
                   3550: build=$ac_cv_build
                   3551: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3552: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3553: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   3554: 
                   3555: 
                   3556: echo "$as_me:$LINENO: checking host system type" >&5
                   3557: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   3558: if test "${ac_cv_host+set}" = set; then
                   3559:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3560: else
                   3561:   ac_cv_host_alias=$host_alias
                   3562: test -z "$ac_cv_host_alias" &&
                   3563:   ac_cv_host_alias=$ac_cv_build_alias
                   3564: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   3565:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   3566: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   3567:    { (exit 1); exit 1; }; }
                   3568: 
                   3569: fi
                   3570: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   3571: echo "${ECHO_T}$ac_cv_host" >&6
                   3572: host=$ac_cv_host
                   3573: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3574: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3575: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   3576: 
                   3577: 
1.23      moko     3578: # Backslashify metacharacters that are still active within
                   3579: # double-quoted strings.
                   3580: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   3581: 
                   3582: # Same as above, but do not quote variable references.
                   3583: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   3584: 
                   3585: # Sed substitution to delay expansion of an escaped shell variable in a
                   3586: # double_quote_subst'ed string.
                   3587: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   3588: 
                   3589: # Sed substitution to delay expansion of an escaped single quote.
                   3590: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
                   3591: 
                   3592: # Sed substitution to avoid accidental globbing in evaled expressions
                   3593: no_glob_subst='s/\*/\\\*/g'
                   3594: 
                   3595: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   3596: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   3597: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   3598: 
                   3599: echo "$as_me:$LINENO: checking how to print strings" >&5
                   3600: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
                   3601: # Test print first, because it will be a builtin if present.
                   3602: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   3603:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3604:   ECHO='print -r --'
                   3605: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3606:   ECHO='printf %s\n'
                   3607: else
                   3608:   # Use this function as a fallback that always works.
                   3609:   func_fallback_echo ()
                   3610:   {
                   3611:     eval 'cat <<_LTECHO_EOF
                   3612: $1
                   3613: _LTECHO_EOF'
                   3614:   }
                   3615:   ECHO='func_fallback_echo'
1.10      paf      3616: fi
                   3617: 
1.23      moko     3618: # func_echo_all arg...
                   3619: # Invoke $ECHO with all args, space-separated.
                   3620: func_echo_all ()
                   3621: {
                   3622:     $ECHO ""
                   3623: }
                   3624: 
                   3625: case "$ECHO" in
                   3626:   printf*) echo "$as_me:$LINENO: result: printf" >&5
                   3627: echo "${ECHO_T}printf" >&6 ;;
                   3628:   print*) echo "$as_me:$LINENO: result: print -r" >&5
                   3629: echo "${ECHO_T}print -r" >&6 ;;
                   3630:   *) echo "$as_me:$LINENO: result: cat" >&5
                   3631: echo "${ECHO_T}cat" >&6 ;;
                   3632: esac
                   3633: 
                   3634: 
                   3635: 
                   3636: 
                   3637: 
                   3638: 
                   3639: 
                   3640: 
                   3641: 
                   3642: 
                   3643: 
                   3644: 
                   3645: 
                   3646: 
                   3647: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   3648: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   3649: if test "${lt_cv_path_SED+set}" = set; then
                   3650:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3651: else
                   3652:   # Loop through the user's path and test for sed and gsed.
                   3653: # Then use that list of sed's as ones to test for truncation.
                   3654: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3655: for as_dir in $PATH
                   3656: do
                   3657:   IFS=$as_save_IFS
                   3658:   test -z "$as_dir" && as_dir=.
                   3659:   for lt_ac_prog in sed gsed; do
                   3660:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3661:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
                   3662:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
                   3663:       fi
                   3664:     done
                   3665:   done
                   3666: done
                   3667: IFS=$as_save_IFS
                   3668: lt_ac_max=0
                   3669: lt_ac_count=0
                   3670: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   3671: # along with /bin/sed that truncates output.
                   3672: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
                   3673:   test ! -f $lt_ac_sed && continue
                   3674:   cat /dev/null > conftest.in
                   3675:   lt_ac_count=0
                   3676:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
                   3677:   # Check for GNU sed and select it if it is found.
                   3678:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
                   3679:     lt_cv_path_SED=$lt_ac_sed
                   3680:     break
                   3681:   fi
                   3682:   while true; do
                   3683:     cat conftest.in conftest.in >conftest.tmp
                   3684:     mv conftest.tmp conftest.in
                   3685:     cp conftest.in conftest.nl
                   3686:     echo >>conftest.nl
                   3687:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
                   3688:     cmp -s conftest.out conftest.nl || break
                   3689:     # 10000 chars as input seems more than enough
                   3690:     test $lt_ac_count -gt 10 && break
                   3691:     lt_ac_count=`expr $lt_ac_count + 1`
                   3692:     if test $lt_ac_count -gt $lt_ac_max; then
                   3693:       lt_ac_max=$lt_ac_count
                   3694:       lt_cv_path_SED=$lt_ac_sed
                   3695:     fi
                   3696:   done
                   3697: done
                   3698: 
                   3699: fi
                   3700: 
                   3701: SED=$lt_cv_path_SED
                   3702: 
                   3703: echo "$as_me:$LINENO: result: $SED" >&5
                   3704: echo "${ECHO_T}$SED" >&6
                   3705: 
                   3706: test -z "$SED" && SED=sed
                   3707: Xsed="$SED -e 1s/^X//"
                   3708: 
                   3709: 
                   3710: 
                   3711: 
                   3712: 
                   3713: 
                   3714: 
                   3715: 
                   3716: 
                   3717: 
                   3718: 
                   3719: echo "$as_me:$LINENO: checking for egrep" >&5
                   3720: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   3721: if test "${ac_cv_prog_egrep+set}" = set; then
                   3722:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3723: else
                   3724:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   3725:     then ac_cv_prog_egrep='grep -E'
                   3726:     else ac_cv_prog_egrep='egrep'
                   3727:     fi
                   3728: fi
                   3729: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   3730: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   3731:  EGREP=$ac_cv_prog_egrep
                   3732: 
                   3733: 
                   3734: echo "$as_me:$LINENO: checking for fgrep" >&5
                   3735: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
                   3736: if test "${ac_cv_prog_fgrep+set}" = set; then
                   3737:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3738: else
                   3739:   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
                   3740:     then ac_cv_prog_fgrep='grep -F'
                   3741:     else ac_cv_prog_fgrep='fgrep'
                   3742:     fi
                   3743: fi
                   3744: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
                   3745: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
                   3746:  FGREP=$ac_cv_prog_fgrep
                   3747: 
                   3748: 
                   3749: test -z "$GREP" && GREP=grep
                   3750: 
                   3751: 
                   3752: 
                   3753: 
                   3754: 
                   3755: 
                   3756: 
                   3757: 
                   3758: 
                   3759: 
                   3760: 
                   3761: 
                   3762: 
                   3763: 
                   3764: 
                   3765: 
                   3766: 
                   3767: 
1.1       parser   3768: 
                   3769: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   3770: if test "${with_gnu_ld+set}" = set; then
                   3771:   withval="$with_gnu_ld"
                   3772:   test "$withval" = no || with_gnu_ld=yes
                   3773: else
                   3774:   with_gnu_ld=no
1.10      paf      3775: fi;
1.1       parser   3776: ac_prog=ld
1.10      paf      3777: if test "$GCC" = yes; then
1.1       parser   3778:   # Check if gcc -print-prog-name=ld gives a path.
1.23      moko     3779:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   3780: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
1.10      paf      3781:   case $host in
                   3782:   *-*-mingw*)
                   3783:     # gcc leaves a trailing carriage return which upsets mingw
                   3784:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3785:   *)
                   3786:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3787:   esac
                   3788:   case $ac_prog in
1.1       parser   3789:     # Accept absolute paths.
1.23      moko     3790:     [\\/]* | ?:[\\/]*)
1.1       parser   3791:       re_direlt='/[^/][^/]*/\.\./'
1.23      moko     3792:       # Canonicalize the pathname of ld
                   3793:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   3794:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   3795:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1.1       parser   3796:       done
                   3797:       test -z "$LD" && LD="$ac_prog"
                   3798:       ;;
                   3799:   "")
                   3800:     # If it fails, then pretend we aren't using GCC.
                   3801:     ac_prog=ld
                   3802:     ;;
                   3803:   *)
                   3804:     # If it is relative, then search for the first ld in PATH.
                   3805:     with_gnu_ld=unknown
                   3806:     ;;
                   3807:   esac
                   3808: elif test "$with_gnu_ld" = yes; then
1.10      paf      3809:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   3810: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.1       parser   3811: else
1.10      paf      3812:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   3813: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.1       parser   3814: fi
1.10      paf      3815: if test "${lt_cv_path_LD+set}" = set; then
                   3816:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3817: else
                   3818:   if test -z "$LD"; then
1.23      moko     3819:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   3820:   for ac_dir in $PATH; do
1.23      moko     3821:     IFS="$lt_save_ifs"
1.1       parser   3822:     test -z "$ac_dir" && ac_dir=.
                   3823:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.10      paf      3824:       lt_cv_path_LD="$ac_dir/$ac_prog"
1.1       parser   3825:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.23      moko     3826:       # but apparently some variants of GNU ld only accept -v.
1.1       parser   3827:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.23      moko     3828:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   3829:       *GNU* | *'with BFD'*)
1.1       parser   3830:        test "$with_gnu_ld" != no && break
1.23      moko     3831:        ;;
                   3832:       *)
1.1       parser   3833:        test "$with_gnu_ld" != yes && break
1.23      moko     3834:        ;;
                   3835:       esac
1.1       parser   3836:     fi
                   3837:   done
1.23      moko     3838:   IFS="$lt_save_ifs"
1.1       parser   3839: else
1.10      paf      3840:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1       parser   3841: fi
                   3842: fi
                   3843: 
1.10      paf      3844: LD="$lt_cv_path_LD"
1.1       parser   3845: if test -n "$LD"; then
1.10      paf      3846:   echo "$as_me:$LINENO: result: $LD" >&5
                   3847: echo "${ECHO_T}$LD" >&6
1.1       parser   3848: else
1.10      paf      3849:   echo "$as_me:$LINENO: result: no" >&5
                   3850: echo "${ECHO_T}no" >&6
1.1       parser   3851: fi
1.10      paf      3852: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   3853: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   3854:    { (exit 1); exit 1; }; }
                   3855: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   3856: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   3857: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   3858:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3859: else
1.23      moko     3860:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   3861: case `$LD -v 2>&1 </dev/null` in
                   3862: *GNU* | *'with BFD'*)
1.10      paf      3863:   lt_cv_prog_gnu_ld=yes
1.23      moko     3864:   ;;
                   3865: *)
1.10      paf      3866:   lt_cv_prog_gnu_ld=no
1.23      moko     3867:   ;;
                   3868: esac
1.1       parser   3869: fi
1.10      paf      3870: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   3871: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   3872: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       parser   3873: 
                   3874: 
                   3875: 
1.23      moko     3876: 
                   3877: 
                   3878: 
                   3879: 
                   3880: 
                   3881: 
                   3882: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
                   3883: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
1.10      paf      3884: if test "${lt_cv_path_NM+set}" = set; then
                   3885:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3886: else
                   3887:   if test -n "$NM"; then
                   3888:   # Let the user override the test.
1.10      paf      3889:   lt_cv_path_NM="$NM"
1.1       parser   3890: else
1.23      moko     3891:   lt_nm_to_check="${ac_tool_prefix}nm"
                   3892:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   3893:     lt_nm_to_check="$lt_nm_to_check nm"
                   3894:   fi
                   3895:   for lt_tmp_nm in $lt_nm_to_check; do
                   3896:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   3897:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   3898:       IFS="$lt_save_ifs"
                   3899:       test -z "$ac_dir" && ac_dir=.
                   3900:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   3901:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   3902:        # Check to see if the nm accepts a BSD-compat flag.
                   3903:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   3904:        #   nm: unknown option "B" ignored
                   3905:        # Tru64's nm complains that /dev/null is an invalid object file
                   3906:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   3907:        */dev/null* | *'Invalid file or object type'*)
                   3908:          lt_cv_path_NM="$tmp_nm -B"
                   3909:          break
                   3910:          ;;
                   3911:        *)
                   3912:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   3913:          */dev/null*)
                   3914:            lt_cv_path_NM="$tmp_nm -p"
                   3915:            break
                   3916:            ;;
                   3917:          *)
                   3918:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   3919:            continue # so that we can try to find one that supports BSD flags
                   3920:            ;;
                   3921:          esac
                   3922:          ;;
                   3923:        esac
1.1       parser   3924:       fi
1.23      moko     3925:     done
                   3926:     IFS="$lt_save_ifs"
1.1       parser   3927:   done
1.23      moko     3928:   : ${lt_cv_path_NM=no}
1.1       parser   3929: fi
                   3930: fi
1.23      moko     3931: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
                   3932: echo "${ECHO_T}$lt_cv_path_NM" >&6
                   3933: if test "$lt_cv_path_NM" != "no"; then
                   3934:   NM="$lt_cv_path_NM"
                   3935: else
                   3936:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   3937:   if test -n "$DUMPBIN"; then :
                   3938:     # Let the user override the test.
                   3939:   else
                   3940:     if test -n "$ac_tool_prefix"; then
                   3941:   for ac_prog in dumpbin "link -dump"
                   3942:   do
                   3943:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3944: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3945: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3946: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3947: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
                   3948:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3949: else
                   3950:   if test -n "$DUMPBIN"; then
                   3951:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   3952: else
                   3953: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3954: for as_dir in $PATH
                   3955: do
                   3956:   IFS=$as_save_IFS
                   3957:   test -z "$as_dir" && as_dir=.
                   3958:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3959:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3960:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   3961:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3962:     break 2
                   3963:   fi
                   3964: done
                   3965: done
1.1       parser   3966: 
1.23      moko     3967: fi
                   3968: fi
                   3969: DUMPBIN=$ac_cv_prog_DUMPBIN
                   3970: if test -n "$DUMPBIN"; then
                   3971:   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
                   3972: echo "${ECHO_T}$DUMPBIN" >&6
                   3973: else
                   3974:   echo "$as_me:$LINENO: result: no" >&5
                   3975: echo "${ECHO_T}no" >&6
                   3976: fi
1.1       parser   3977: 
1.23      moko     3978:     test -n "$DUMPBIN" && break
                   3979:   done
                   3980: fi
                   3981: if test -z "$DUMPBIN"; then
                   3982:   ac_ct_DUMPBIN=$DUMPBIN
                   3983:   for ac_prog in dumpbin "link -dump"
                   3984: do
                   3985:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3986: set dummy $ac_prog; ac_word=$2
                   3987: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3988: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3989: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
1.10      paf      3990:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3991: else
1.23      moko     3992:   if test -n "$ac_ct_DUMPBIN"; then
                   3993:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   3994: else
1.10      paf      3995: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3996: for as_dir in $PATH
                   3997: do
                   3998:   IFS=$as_save_IFS
                   3999:   test -z "$as_dir" && as_dir=.
1.23      moko     4000:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4001:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4002:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4003:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4004:     break 2
                   4005:   fi
                   4006: done
                   4007: done
                   4008: 
                   4009: fi
                   4010: fi
                   4011: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4012: if test -n "$ac_ct_DUMPBIN"; then
                   4013:   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
                   4014: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
                   4015: else
                   4016:   echo "$as_me:$LINENO: result: no" >&5
                   4017: echo "${ECHO_T}no" >&6
                   4018: fi
                   4019: 
                   4020:   test -n "$ac_ct_DUMPBIN" && break
1.10      paf      4021: done
1.23      moko     4022: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
1.10      paf      4023: 
1.23      moko     4024:   DUMPBIN=$ac_ct_DUMPBIN
                   4025: fi
1.10      paf      4026: 
1.23      moko     4027:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4028:     *COFF*)
                   4029:       DUMPBIN="$DUMPBIN -symbols"
                   4030:       ;;
                   4031:     *)
                   4032:       DUMPBIN=:
                   4033:       ;;
                   4034:     esac
                   4035:   fi
1.10      paf      4036: 
1.23      moko     4037:   if test "$DUMPBIN" != ":"; then
                   4038:     NM="$DUMPBIN"
                   4039:   fi
1.1       parser   4040: fi
1.23      moko     4041: test -z "$NM" && NM=nm
                   4042: 
1.1       parser   4043: 
1.23      moko     4044: 
                   4045: 
                   4046: 
                   4047: 
                   4048: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
                   4049: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
                   4050: if test "${lt_cv_nm_interface+set}" = set; then
                   4051:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.6       paf      4052: else
1.23      moko     4053:   lt_cv_nm_interface="BSD nm"
                   4054:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4055:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4056:   (eval "$ac_compile" 2>conftest.err)
                   4057:   cat conftest.err >&5
                   4058:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4059:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4060:   cat conftest.err >&5
                   4061:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4062:   cat conftest.out >&5
                   4063:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4064:     lt_cv_nm_interface="MS dumpbin"
                   4065:   fi
                   4066:   rm -f conftest*
1.6       paf      4067: fi
1.23      moko     4068: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
                   4069: echo "${ECHO_T}$lt_cv_nm_interface" >&6
1.10      paf      4070: 
                   4071: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4072: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   4073: LN_S=$as_ln_s
                   4074: if test "$LN_S" = "ln -s"; then
                   4075:   echo "$as_me:$LINENO: result: yes" >&5
                   4076: echo "${ECHO_T}yes" >&6
                   4077: else
                   4078:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4079: echo "${ECHO_T}no, using $LN_S" >&6
                   4080: fi
                   4081: 
1.23      moko     4082: # find the maximum length of command line arguments
                   4083: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
                   4084: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
                   4085: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
1.10      paf      4086:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4087: else
1.23      moko     4088:     i=0
                   4089:   teststring="ABCD"
1.10      paf      4090: 
1.23      moko     4091:   case $build_os in
                   4092:   msdosdjgpp*)
                   4093:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4094:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4095:     # during glob expansion).  Even if it were fixed, the result of this
                   4096:     # check would be larger than it should be.
                   4097:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4098:     ;;
1.6       paf      4099: 
1.23      moko     4100:   gnu*)
                   4101:     # Under GNU Hurd, this test is not required because there is
                   4102:     # no limit to the length of command line arguments.
                   4103:     # Libtool will interpret -1 as no limit whatsoever
                   4104:     lt_cv_sys_max_cmd_len=-1;
                   4105:     ;;
1.1       parser   4106: 
1.23      moko     4107:   cygwin* | mingw* | cegcc*)
                   4108:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4109:     # about 5 minutes as the teststring grows exponentially.
                   4110:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4111:     # you end up with a "frozen" computer, even though with patience
                   4112:     # the test eventually succeeds (with a max line length of 256k).
                   4113:     # Instead, let's just punt: use the minimum linelength reported by
                   4114:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4115:     lt_cv_sys_max_cmd_len=8192;
                   4116:     ;;
1.1       parser   4117: 
1.23      moko     4118:   mint*)
                   4119:     # On MiNT this can take a long time and run out of memory.
                   4120:     lt_cv_sys_max_cmd_len=8192;
                   4121:     ;;
1.1       parser   4122: 
1.23      moko     4123:   amigaos*)
                   4124:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4125:     # So we just punt and use a minimum line length of 8192.
                   4126:     lt_cv_sys_max_cmd_len=8192;
1.10      paf      4127:     ;;
1.23      moko     4128: 
                   4129:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4130:     # This has been around since 386BSD, at least.  Likely further.
                   4131:     if test -x /sbin/sysctl; then
                   4132:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4133:     elif test -x /usr/sbin/sysctl; then
                   4134:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4135:     else
                   4136:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4137:     fi
                   4138:     # And add a safety zone
                   4139:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4140:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4141:     ;;
                   4142: 
                   4143:   interix*)
                   4144:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4145:     lt_cv_sys_max_cmd_len=196608
                   4146:     ;;
                   4147: 
                   4148:   os2*)
                   4149:     # The test takes a long time on OS/2.
                   4150:     lt_cv_sys_max_cmd_len=8192
                   4151:     ;;
                   4152: 
                   4153:   osf*)
                   4154:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4155:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4156:     # nice to cause kernel panics so lets avoid the loop below.
                   4157:     # First set a reasonable default.
                   4158:     lt_cv_sys_max_cmd_len=16384
                   4159:     #
                   4160:     if test -x /sbin/sysconfig; then
                   4161:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4162:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4163:       esac
                   4164:     fi
                   4165:     ;;
                   4166:   sco3.2v5*)
                   4167:     lt_cv_sys_max_cmd_len=102400
                   4168:     ;;
                   4169:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4170:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4171:     if test -n "$kargmax"; then
                   4172:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4173:     else
                   4174:       lt_cv_sys_max_cmd_len=32768
                   4175:     fi
                   4176:     ;;
                   4177:   *)
                   4178:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4179:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4180:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4181:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4182:     else
                   4183:       # Make teststring a little bigger before we do anything with it.
                   4184:       # a 1K string should be a reasonable start.
                   4185:       for i in 1 2 3 4 5 6 7 8 ; do
                   4186:         teststring=$teststring$teststring
                   4187:       done
                   4188:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4189:       # If test is not a shell built-in, we'll probably end up computing a
                   4190:       # maximum length that is only half of the actual maximum length, but
                   4191:       # we can't tell.
                   4192:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4193:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4194:              test $i != 17 # 1/2 MB should be enough
                   4195:       do
                   4196:         i=`expr $i + 1`
                   4197:         teststring=$teststring$teststring
                   4198:       done
                   4199:       # Only check the string length outside the loop.
                   4200:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4201:       teststring=
                   4202:       # Add a significant safety factor because C++ compilers can tack on
                   4203:       # massive amounts of additional arguments before passing them to the
                   4204:       # linker.  It appears as though 1/2 is a usable value.
                   4205:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4206:     fi
1.10      paf      4207:     ;;
                   4208:   esac
1.23      moko     4209: 
                   4210: fi
                   4211: 
                   4212: if test -n $lt_cv_sys_max_cmd_len ; then
                   4213:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
                   4214: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
                   4215: else
                   4216:   echo "$as_me:$LINENO: result: none" >&5
                   4217: echo "${ECHO_T}none" >&6
                   4218: fi
                   4219: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4220: 
                   4221: 
                   4222: 
                   4223: 
                   4224: 
                   4225: 
                   4226: : ${CP="cp -f"}
                   4227: : ${MV="mv -f"}
                   4228: : ${RM="rm -f"}
                   4229: 
                   4230: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
                   4231: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
                   4232: # Try some XSI features
                   4233: xsi_shell=no
                   4234: ( _lt_dummy="a/b/c"
                   4235:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4236:       = c,a/b,b/c, \
                   4237:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4238:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4239:   && xsi_shell=yes
                   4240: echo "$as_me:$LINENO: result: $xsi_shell" >&5
                   4241: echo "${ECHO_T}$xsi_shell" >&6
                   4242: 
                   4243: 
                   4244: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
                   4245: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
                   4246: lt_shell_append=no
                   4247: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4248:     >/dev/null 2>&1 \
                   4249:   && lt_shell_append=yes
                   4250: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
                   4251: echo "${ECHO_T}$lt_shell_append" >&6
                   4252: 
                   4253: 
                   4254: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4255:   lt_unset=unset
                   4256: else
                   4257:   lt_unset=false
                   4258: fi
                   4259: 
                   4260: 
                   4261: 
                   4262: 
                   4263: 
                   4264: # test EBCDIC or ASCII
                   4265: case `echo X|tr X '\101'` in
                   4266:  A) # ASCII based system
                   4267:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4268:   lt_SP2NL='tr \040 \012'
                   4269:   lt_NL2SP='tr \015\012 \040\040'
                   4270:   ;;
                   4271:  *) # EBCDIC based system
                   4272:   lt_SP2NL='tr \100 \n'
                   4273:   lt_NL2SP='tr \r\n \100\100'
                   4274:   ;;
                   4275: esac
                   4276: 
                   4277: 
                   4278: 
                   4279: 
                   4280: 
                   4281: 
                   4282: 
                   4283: 
                   4284: 
                   4285: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
                   4286: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
                   4287: if test "${lt_cv_to_host_file_cmd+set}" = set; then
                   4288:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4289: else
                   4290:   case $host in
                   4291:   *-*-mingw* )
                   4292:     case $build in
                   4293:       *-*-mingw* ) # actually msys
                   4294:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4295:         ;;
                   4296:       *-*-cygwin* )
                   4297:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4298:         ;;
                   4299:       * ) # otherwise, assume *nix
                   4300:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4301:         ;;
                   4302:     esac
                   4303:     ;;
                   4304:   *-*-cygwin* )
                   4305:     case $build in
                   4306:       *-*-mingw* ) # actually msys
                   4307:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4308:         ;;
                   4309:       *-*-cygwin* )
                   4310:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4311:         ;;
                   4312:       * ) # otherwise, assume *nix
                   4313:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4314:         ;;
                   4315:     esac
                   4316:     ;;
                   4317:   * ) # unhandled hosts (and "normal" native builds)
                   4318:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4319:     ;;
                   4320: esac
                   4321: 
                   4322: fi
                   4323: 
                   4324: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   4325: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
                   4326: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
                   4327: 
                   4328: 
                   4329: 
                   4330: 
                   4331: 
                   4332: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
                   4333: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
                   4334: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
                   4335:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4336: else
                   4337:   #assume ordinary cross tools, or native build.
                   4338: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   4339: case $host in
                   4340:   *-*-mingw* )
                   4341:     case $build in
                   4342:       *-*-mingw* ) # actually msys
                   4343:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   4344:         ;;
                   4345:     esac
                   4346:     ;;
                   4347: esac
                   4348: 
                   4349: fi
                   4350: 
                   4351: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   4352: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
                   4353: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
                   4354: 
                   4355: 
                   4356: 
                   4357: 
                   4358: 
                   4359: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   4360: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   4361: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   4362:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4363: else
                   4364:   lt_cv_ld_reload_flag='-r'
                   4365: fi
                   4366: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   4367: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   4368: reload_flag=$lt_cv_ld_reload_flag
                   4369: case $reload_flag in
                   4370: "" | " "*) ;;
                   4371: *) reload_flag=" $reload_flag" ;;
                   4372: esac
                   4373: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4374: case $host_os in
                   4375:   cygwin* | mingw* | pw32* | cegcc*)
                   4376:     if test "$GCC" != yes; then
                   4377:       reload_cmds=false
                   4378:     fi
                   4379:     ;;
                   4380:   darwin*)
                   4381:     if test "$GCC" = yes; then
                   4382:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   4383:     else
                   4384:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4385:     fi
                   4386:     ;;
                   4387: esac
                   4388: 
                   4389: 
                   4390: 
                   4391: 
                   4392: 
                   4393: 
                   4394: 
                   4395: 
                   4396: 
                   4397: if test -n "$ac_tool_prefix"; then
                   4398:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   4399: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   4400: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4401: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4402: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   4403:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4404: else
                   4405:   if test -n "$OBJDUMP"; then
                   4406:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   4407: else
                   4408: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4409: for as_dir in $PATH
                   4410: do
                   4411:   IFS=$as_save_IFS
                   4412:   test -z "$as_dir" && as_dir=.
                   4413:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4414:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4415:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   4416:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4417:     break 2
                   4418:   fi
                   4419: done
                   4420: done
                   4421: 
                   4422: fi
                   4423: fi
                   4424: OBJDUMP=$ac_cv_prog_OBJDUMP
                   4425: if test -n "$OBJDUMP"; then
                   4426:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   4427: echo "${ECHO_T}$OBJDUMP" >&6
                   4428: else
                   4429:   echo "$as_me:$LINENO: result: no" >&5
                   4430: echo "${ECHO_T}no" >&6
                   4431: fi
                   4432: 
                   4433: fi
                   4434: if test -z "$ac_cv_prog_OBJDUMP"; then
                   4435:   ac_ct_OBJDUMP=$OBJDUMP
                   4436:   # Extract the first word of "objdump", so it can be a program name with args.
                   4437: set dummy objdump; ac_word=$2
                   4438: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4439: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4440: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   4441:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4442: else
                   4443:   if test -n "$ac_ct_OBJDUMP"; then
                   4444:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   4445: else
                   4446: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4447: for as_dir in $PATH
                   4448: do
                   4449:   IFS=$as_save_IFS
                   4450:   test -z "$as_dir" && as_dir=.
                   4451:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4452:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4453:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   4454:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4455:     break 2
                   4456:   fi
                   4457: done
                   4458: done
                   4459: 
                   4460:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   4461: fi
                   4462: fi
                   4463: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   4464: if test -n "$ac_ct_OBJDUMP"; then
                   4465:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   4466: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   4467: else
                   4468:   echo "$as_me:$LINENO: result: no" >&5
                   4469: echo "${ECHO_T}no" >&6
                   4470: fi
                   4471: 
                   4472:   OBJDUMP=$ac_ct_OBJDUMP
                   4473: else
                   4474:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   4475: fi
                   4476: 
                   4477: test -z "$OBJDUMP" && OBJDUMP=objdump
                   4478: 
                   4479: 
                   4480: 
                   4481: 
                   4482: 
                   4483: 
                   4484: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
                   4485: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
                   4486: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   4487:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4488: else
                   4489:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   4490: lt_cv_file_magic_test_file=
                   4491: lt_cv_deplibs_check_method='unknown'
                   4492: # Need to set the preceding variable on all platforms that support
                   4493: # interlibrary dependencies.
                   4494: # 'none' -- dependencies not supported.
                   4495: # `unknown' -- same as none, but documents that we really don't know.
                   4496: # 'pass_all' -- all dependencies passed with no checks.
                   4497: # 'test_compile' -- check by making test program.
                   4498: # 'file_magic [[regex]]' -- check by looking for files in library path
                   4499: # which responds to the $file_magic_cmd with a given extended regex.
                   4500: # If you have `file' or equivalent on your system and you're not sure
                   4501: # whether `pass_all' will *always* work, you probably want this one.
                   4502: 
                   4503: case $host_os in
                   4504: aix[4-9]*)
                   4505:   lt_cv_deplibs_check_method=pass_all
                   4506:   ;;
                   4507: 
                   4508: beos*)
                   4509:   lt_cv_deplibs_check_method=pass_all
                   4510:   ;;
                   4511: 
                   4512: bsdi[45]*)
                   4513:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   4514:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   4515:   lt_cv_file_magic_test_file=/shlib/libc.so
                   4516:   ;;
                   4517: 
                   4518: cygwin*)
                   4519:   # func_win32_libid is a shell function defined in ltmain.sh
                   4520:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4521:   lt_cv_file_magic_cmd='func_win32_libid'
                   4522:   ;;
                   4523: 
                   4524: mingw* | pw32*)
                   4525:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   4526:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   4527:   # unless we find 'file', for example because we are cross-compiling.
                   4528:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   4529:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   4530:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4531:     lt_cv_file_magic_cmd='func_win32_libid'
                   4532:   else
                   4533:     # Keep this pattern in sync with the one in func_win32_libid.
                   4534:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   4535:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4536:   fi
                   4537:   ;;
                   4538: 
                   4539: cegcc*)
                   4540:   # use the weaker test based on 'objdump'. See mingw*.
                   4541:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   4542:   lt_cv_file_magic_cmd='$OBJDUMP -f'
1.10      paf      4543:   ;;
1.1       parser   4544: 
1.23      moko     4545: darwin* | rhapsody*)
                   4546:   lt_cv_deplibs_check_method=pass_all
                   4547:   ;;
                   4548: 
                   4549: freebsd* | dragonfly*)
                   4550:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.10      paf      4551:     case $host_cpu in
                   4552:     i*86 )
                   4553:       # Not sure whether the presence of OpenBSD here was a mistake.
                   4554:       # Let's accept both of them until this is cleared up.
1.23      moko     4555:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.10      paf      4556:       lt_cv_file_magic_cmd=/usr/bin/file
                   4557:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1       parser   4558:       ;;
                   4559:     esac
1.10      paf      4560:   else
                   4561:     lt_cv_deplibs_check_method=pass_all
1.1       parser   4562:   fi
                   4563:   ;;
                   4564: 
1.10      paf      4565: gnu*)
                   4566:   lt_cv_deplibs_check_method=pass_all
                   4567:   ;;
                   4568: 
1.23      moko     4569: haiku*)
                   4570:   lt_cv_deplibs_check_method=pass_all
1.10      paf      4571:   ;;
1.1       parser   4572: 
1.23      moko     4573: hpux10.20* | hpux11*)
                   4574:   lt_cv_file_magic_cmd=/usr/bin/file
                   4575:   case $host_cpu in
                   4576:   ia64*)
                   4577:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   4578:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   4579:     ;;
                   4580:   hppa*64*)
                   4581:     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]'
                   4582:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.10      paf      4583:     ;;
                   4584:   *)
1.23      moko     4585:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   4586:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.10      paf      4587:     ;;
                   4588:   esac
1.23      moko     4589:   ;;
                   4590: 
                   4591: interix[3-9]*)
                   4592:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   4593:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   4594:   ;;
                   4595: 
                   4596: irix5* | irix6* | nonstopux*)
                   4597:   case $LD in
                   4598:   *-32|*"-32 ") libmagic=32-bit;;
                   4599:   *-n32|*"-n32 ") libmagic=N32;;
                   4600:   *-64|*"-64 ") libmagic=64-bit;;
                   4601:   *) libmagic=never-match;;
                   4602:   esac
1.10      paf      4603:   lt_cv_deplibs_check_method=pass_all
                   4604:   ;;
1.1       parser   4605: 
1.23      moko     4606: # This must be glibc/ELF.
                   4607: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   4608:   lt_cv_deplibs_check_method=pass_all
1.10      paf      4609:   ;;
                   4610: 
                   4611: netbsd*)
1.23      moko     4612:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   4613:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.10      paf      4614:   else
1.23      moko     4615:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.10      paf      4616:   fi
                   4617:   ;;
                   4618: 
                   4619: newos6*)
                   4620:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   4621:   lt_cv_file_magic_cmd=/usr/bin/file
                   4622:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   4623:   ;;
1.1       parser   4624: 
1.23      moko     4625: *nto* | *qnx*)
                   4626:   lt_cv_deplibs_check_method=pass_all
                   4627:   ;;
                   4628: 
1.10      paf      4629: openbsd*)
1.23      moko     4630:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   4631:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.10      paf      4632:   else
1.23      moko     4633:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       parser   4634:   fi
                   4635:   ;;
                   4636: 
1.10      paf      4637: osf3* | osf4* | osf5*)
                   4638:   lt_cv_deplibs_check_method=pass_all
                   4639:   ;;
                   4640: 
1.23      moko     4641: rdos*)
1.10      paf      4642:   lt_cv_deplibs_check_method=pass_all
                   4643:   ;;
                   4644: 
                   4645: solaris*)
                   4646:   lt_cv_deplibs_check_method=pass_all
                   4647:   ;;
                   4648: 
1.23      moko     4649: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.10      paf      4650:   lt_cv_deplibs_check_method=pass_all
                   4651:   ;;
                   4652: 
1.23      moko     4653: sysv4 | sysv4.3*)
1.10      paf      4654:   case $host_vendor in
                   4655:   motorola)
                   4656:     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]'
                   4657:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   4658:     ;;
                   4659:   ncr)
                   4660:     lt_cv_deplibs_check_method=pass_all
                   4661:     ;;
                   4662:   sequent)
                   4663:     lt_cv_file_magic_cmd='/bin/file'
                   4664:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   4665:     ;;
                   4666:   sni)
                   4667:     lt_cv_file_magic_cmd='/bin/file'
                   4668:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   4669:     lt_cv_file_magic_test_file=/lib/libc.so
                   4670:     ;;
                   4671:   siemens)
                   4672:     lt_cv_deplibs_check_method=pass_all
                   4673:     ;;
1.23      moko     4674:   pc)
                   4675:     lt_cv_deplibs_check_method=pass_all
                   4676:     ;;
1.10      paf      4677:   esac
                   4678:   ;;
1.23      moko     4679: 
                   4680: tpf*)
                   4681:   lt_cv_deplibs_check_method=pass_all
                   4682:   ;;
                   4683: esac
1.10      paf      4684: 
                   4685: fi
                   4686: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   4687: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
1.23      moko     4688: 
                   4689: file_magic_glob=
                   4690: want_nocaseglob=no
                   4691: if test "$build" = "$host"; then
                   4692:   case $host_os in
                   4693:   mingw* | pw32*)
                   4694:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   4695:       want_nocaseglob=yes
                   4696:     else
                   4697:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   4698:     fi
                   4699:     ;;
                   4700:   esac
                   4701: fi
                   4702: 
1.10      paf      4703: file_magic_cmd=$lt_cv_file_magic_cmd
                   4704: deplibs_check_method=$lt_cv_deplibs_check_method
1.23      moko     4705: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   4706: 
                   4707: 
                   4708: 
1.10      paf      4709: 
                   4710: 
                   4711: 
                   4712: 
                   4713: 
                   4714: 
                   4715: 
                   4716: 
1.23      moko     4717: 
                   4718: 
                   4719: 
                   4720: 
                   4721: 
                   4722: 
                   4723: 
                   4724: 
                   4725: 
                   4726: 
                   4727: 
                   4728: if test -n "$ac_tool_prefix"; then
                   4729:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   4730: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   4731: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4732: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4733: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   4734:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4735: else
                   4736:   if test -n "$DLLTOOL"; then
                   4737:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   4738: else
                   4739: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4740: for as_dir in $PATH
                   4741: do
                   4742:   IFS=$as_save_IFS
                   4743:   test -z "$as_dir" && as_dir=.
                   4744:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4745:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4746:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   4747:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4748:     break 2
                   4749:   fi
                   4750: done
                   4751: done
                   4752: 
                   4753: fi
                   4754: fi
                   4755: DLLTOOL=$ac_cv_prog_DLLTOOL
                   4756: if test -n "$DLLTOOL"; then
                   4757:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   4758: echo "${ECHO_T}$DLLTOOL" >&6
                   4759: else
                   4760:   echo "$as_me:$LINENO: result: no" >&5
                   4761: echo "${ECHO_T}no" >&6
                   4762: fi
                   4763: 
                   4764: fi
                   4765: if test -z "$ac_cv_prog_DLLTOOL"; then
                   4766:   ac_ct_DLLTOOL=$DLLTOOL
                   4767:   # Extract the first word of "dlltool", so it can be a program name with args.
                   4768: set dummy dlltool; ac_word=$2
                   4769: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4770: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4771: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.10      paf      4772:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.6       paf      4773: else
1.23      moko     4774:   if test -n "$ac_ct_DLLTOOL"; then
                   4775:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   4776: else
                   4777: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4778: for as_dir in $PATH
                   4779: do
                   4780:   IFS=$as_save_IFS
                   4781:   test -z "$as_dir" && as_dir=.
                   4782:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4783:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4784:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   4785:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4786:     break 2
                   4787:   fi
                   4788: done
                   4789: done
                   4790: 
                   4791:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   4792: fi
                   4793: fi
                   4794: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   4795: if test -n "$ac_ct_DLLTOOL"; then
                   4796:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   4797: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   4798: else
                   4799:   echo "$as_me:$LINENO: result: no" >&5
                   4800: echo "${ECHO_T}no" >&6
                   4801: fi
                   4802: 
                   4803:   DLLTOOL=$ac_ct_DLLTOOL
                   4804: else
                   4805:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   4806: fi
                   4807: 
                   4808: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   4809: 
1.10      paf      4810: 
                   4811: 
                   4812: 
                   4813: 
                   4814: 
                   4815: 
1.23      moko     4816: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
                   4817: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
                   4818: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
                   4819:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4820: else
                   4821:   lt_cv_sharedlib_from_linklib_cmd='unknown'
1.10      paf      4822: 
                   4823: case $host_os in
1.23      moko     4824: cygwin* | mingw* | pw32* | cegcc*)
                   4825:   # two different shell functions defined in ltmain.sh
                   4826:   # decide which to use based on capabilities of $DLLTOOL
                   4827:   case `$DLLTOOL --help 2>&1` in
                   4828:   *--identify-strict*)
                   4829:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   4830:     ;;
                   4831:   *)
                   4832:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   4833:     ;;
                   4834:   esac
1.10      paf      4835:   ;;
1.23      moko     4836: *)
                   4837:   # fallback: assume linklib IS sharedlib
                   4838:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.10      paf      4839:   ;;
                   4840: esac
                   4841: 
                   4842: fi
1.23      moko     4843: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   4844: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
                   4845: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   4846: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.10      paf      4847: 
                   4848: 
                   4849: 
                   4850: 
                   4851: 
                   4852: 
                   4853: 
                   4854: 
1.23      moko     4855: if test -n "$ac_tool_prefix"; then
                   4856:   for ac_prog in ar
                   4857:   do
                   4858:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4859: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4860: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4861: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4862: if test "${ac_cv_prog_AR+set}" = set; then
                   4863:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4864: else
                   4865:   if test -n "$AR"; then
                   4866:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   4867: else
                   4868: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4869: for as_dir in $PATH
                   4870: do
                   4871:   IFS=$as_save_IFS
                   4872:   test -z "$as_dir" && as_dir=.
                   4873:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4874:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4875:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   4876:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4877:     break 2
1.10      paf      4878:   fi
                   4879: done
1.23      moko     4880: done
1.10      paf      4881: 
1.6       paf      4882: fi
                   4883: fi
1.23      moko     4884: AR=$ac_cv_prog_AR
                   4885: if test -n "$AR"; then
                   4886:   echo "$as_me:$LINENO: result: $AR" >&5
                   4887: echo "${ECHO_T}$AR" >&6
1.6       paf      4888: else
1.23      moko     4889:   echo "$as_me:$LINENO: result: no" >&5
                   4890: echo "${ECHO_T}no" >&6
1.6       paf      4891: fi
                   4892: 
1.23      moko     4893:     test -n "$AR" && break
                   4894:   done
1.15      paf      4895: fi
1.23      moko     4896: if test -z "$AR"; then
                   4897:   ac_ct_AR=$AR
                   4898:   for ac_prog in ar
                   4899: do
                   4900:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4901: set dummy $ac_prog; ac_word=$2
                   4902: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4903: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4904: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1.10      paf      4905:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.6       paf      4906: else
1.23      moko     4907:   if test -n "$ac_ct_AR"; then
                   4908:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   4909: else
                   4910: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4911: for as_dir in $PATH
1.10      paf      4912: do
1.23      moko     4913:   IFS=$as_save_IFS
                   4914:   test -z "$as_dir" && as_dir=.
                   4915:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4916:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4917:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   4918:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4919:     break 2
1.10      paf      4920:   fi
1.23      moko     4921: done
                   4922: done
1.10      paf      4923: 
1.6       paf      4924: fi
                   4925: fi
1.23      moko     4926: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   4927: if test -n "$ac_ct_AR"; then
                   4928:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
                   4929: echo "${ECHO_T}$ac_ct_AR" >&6
1.10      paf      4930: else
1.23      moko     4931:   echo "$as_me:$LINENO: result: no" >&5
                   4932: echo "${ECHO_T}no" >&6
1.6       paf      4933: fi
1.10      paf      4934: 
1.23      moko     4935:   test -n "$ac_ct_AR" && break
1.10      paf      4936: done
1.23      moko     4937: test -n "$ac_ct_AR" || ac_ct_AR="false"
                   4938: 
                   4939:   AR=$ac_ct_AR
1.6       paf      4940: fi
                   4941: 
1.23      moko     4942: : ${AR=ar}
                   4943: : ${AR_FLAGS=cru}
                   4944: 
1.10      paf      4945: 
                   4946: 
1.6       paf      4947: 
1.10      paf      4948: 
1.6       paf      4949: 
                   4950: 
1.10      paf      4951: 
                   4952: 
                   4953: 
                   4954: 
1.23      moko     4955: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
                   4956: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
                   4957: if test "${lt_cv_ar_at_file+set}" = set; then
1.10      paf      4958:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4959: else
1.23      moko     4960:   lt_cv_ar_at_file=no
                   4961:    cat >conftest.$ac_ext <<_ACEOF
1.10      paf      4962: /* confdefs.h.  */
                   4963: _ACEOF
                   4964: cat confdefs.h >>conftest.$ac_ext
                   4965: cat >>conftest.$ac_ext <<_ACEOF
                   4966: /* end confdefs.h.  */
                   4967: 
                   4968: int
                   4969: main ()
                   4970: {
                   4971: 
                   4972:   ;
                   4973:   return 0;
                   4974: }
                   4975: _ACEOF
                   4976: rm -f conftest.$ac_objext
                   4977: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.16      paf      4978:   (eval $ac_compile) 2>conftest.er1
1.10      paf      4979:   ac_status=$?
1.16      paf      4980:   grep -v '^ *+' conftest.er1 >conftest.err
                   4981:   rm -f conftest.er1
                   4982:   cat conftest.err >&5
1.10      paf      4983:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4984:   (exit $ac_status); } &&
1.16      paf      4985:         { ac_try='test -z "$ac_c_werror_flag"
                   4986:                         || test ! -s conftest.err'
                   4987:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4988:   (eval $ac_try) 2>&5
                   4989:   ac_status=$?
                   4990:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4991:   (exit $ac_status); }; } &&
                   4992:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      4993:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4994:   (eval $ac_try) 2>&5
                   4995:   ac_status=$?
                   4996:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4997:   (exit $ac_status); }; }; then
1.23      moko     4998:   echo conftest.$ac_objext > conftest.lst
                   4999:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5000:       { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5001:   (eval $lt_ar_try) 2>&5
                   5002:   ac_status=$?
                   5003:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5004:   (exit $ac_status); }
                   5005:       if test "$ac_status" -eq 0; then
                   5006:        # Ensure the archiver fails upon bogus file names.
                   5007:        rm -f conftest.$ac_objext libconftest.a
                   5008:        { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5009:   (eval $lt_ar_try) 2>&5
                   5010:   ac_status=$?
                   5011:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5012:   (exit $ac_status); }
                   5013:        if test "$ac_status" -ne 0; then
                   5014:           lt_cv_ar_at_file=@
                   5015:         fi
                   5016:       fi
                   5017:       rm -f conftest.* libconftest.a
                   5018: 
1.6       paf      5019: else
1.10      paf      5020:   echo "$as_me: failed program was:" >&5
                   5021: sed 's/^/| /' conftest.$ac_ext >&5
                   5022: 
1.6       paf      5023: fi
1.16      paf      5024: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.6       paf      5025: 
1.23      moko     5026: fi
                   5027: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
                   5028: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
1.6       paf      5029: 
1.23      moko     5030: if test "x$lt_cv_ar_at_file" = xno; then
                   5031:   archiver_list_spec=
1.6       paf      5032: else
1.23      moko     5033:   archiver_list_spec=$lt_cv_ar_at_file
1.6       paf      5034: fi
1.10      paf      5035: 
                   5036: 
                   5037: 
1.23      moko     5038: 
                   5039: 
                   5040: 
                   5041: 
                   5042: if test -n "$ac_tool_prefix"; then
                   5043:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5044: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5045: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5046: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5047: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5048:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5049: else
                   5050:   if test -n "$STRIP"; then
                   5051:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5052: else
                   5053: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5054: for as_dir in $PATH
                   5055: do
                   5056:   IFS=$as_save_IFS
                   5057:   test -z "$as_dir" && as_dir=.
                   5058:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5059:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5060:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5061:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5062:     break 2
                   5063:   fi
                   5064: done
                   5065: done
                   5066: 
                   5067: fi
                   5068: fi
                   5069: STRIP=$ac_cv_prog_STRIP
                   5070: if test -n "$STRIP"; then
                   5071:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5072: echo "${ECHO_T}$STRIP" >&6
1.6       paf      5073: else
1.23      moko     5074:   echo "$as_me:$LINENO: result: no" >&5
                   5075: echo "${ECHO_T}no" >&6
1.6       paf      5076: fi
                   5077: 
                   5078: fi
1.23      moko     5079: if test -z "$ac_cv_prog_STRIP"; then
                   5080:   ac_ct_STRIP=$STRIP
                   5081:   # Extract the first word of "strip", so it can be a program name with args.
                   5082: set dummy strip; ac_word=$2
                   5083: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5084: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5085: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5086:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.10      paf      5087: else
1.23      moko     5088:   if test -n "$ac_ct_STRIP"; then
                   5089:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       parser   5090: else
1.23      moko     5091: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5092: for as_dir in $PATH
                   5093: do
                   5094:   IFS=$as_save_IFS
                   5095:   test -z "$as_dir" && as_dir=.
                   5096:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5097:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5098:     ac_cv_prog_ac_ct_STRIP="strip"
                   5099:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5100:     break 2
                   5101:   fi
                   5102: done
                   5103: done
1.10      paf      5104: 
1.23      moko     5105:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.10      paf      5106: fi
                   5107: fi
1.23      moko     5108: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5109: if test -n "$ac_ct_STRIP"; then
                   5110:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5111: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5112: else
                   5113:   echo "$as_me:$LINENO: result: no" >&5
                   5114: echo "${ECHO_T}no" >&6
1.1       parser   5115: fi
                   5116: 
1.23      moko     5117:   STRIP=$ac_ct_STRIP
                   5118: else
                   5119:   STRIP="$ac_cv_prog_STRIP"
1.10      paf      5120: fi
1.1       parser   5121: 
1.23      moko     5122: test -z "$STRIP" && STRIP=:
1.1       parser   5123: 
                   5124: 
                   5125: 
                   5126: 
                   5127: 
                   5128: 
1.23      moko     5129: if test -n "$ac_tool_prefix"; then
                   5130:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5131: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5132: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5133: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5134: if test "${ac_cv_prog_RANLIB+set}" = set; then
1.10      paf      5135:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5136: else
1.23      moko     5137:   if test -n "$RANLIB"; then
                   5138:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.10      paf      5139: else
1.23      moko     5140: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5141: for as_dir in $PATH
                   5142: do
                   5143:   IFS=$as_save_IFS
                   5144:   test -z "$as_dir" && as_dir=.
                   5145:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5146:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5147:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5148:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5149:     break 2
                   5150:   fi
                   5151: done
                   5152: done
1.10      paf      5153: 
                   5154: fi
                   5155: fi
1.23      moko     5156: RANLIB=$ac_cv_prog_RANLIB
                   5157: if test -n "$RANLIB"; then
                   5158:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5159: echo "${ECHO_T}$RANLIB" >&6
                   5160: else
                   5161:   echo "$as_me:$LINENO: result: no" >&5
                   5162: echo "${ECHO_T}no" >&6
                   5163: fi
1.1       parser   5164: 
1.10      paf      5165: fi
1.23      moko     5166: if test -z "$ac_cv_prog_RANLIB"; then
                   5167:   ac_ct_RANLIB=$RANLIB
                   5168:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5169: set dummy ranlib; ac_word=$2
                   5170: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5171: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5172: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5173:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5174: else
                   5175:   if test -n "$ac_ct_RANLIB"; then
                   5176:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5177: else
                   5178: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5179: for as_dir in $PATH
                   5180: do
                   5181:   IFS=$as_save_IFS
                   5182:   test -z "$as_dir" && as_dir=.
                   5183:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5184:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5185:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5186:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5187:     break 2
                   5188:   fi
                   5189: done
1.10      paf      5190: done
                   5191: 
1.23      moko     5192:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5193: fi
                   5194: fi
                   5195: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5196: if test -n "$ac_ct_RANLIB"; then
                   5197:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5198: echo "${ECHO_T}$ac_ct_RANLIB" >&6
1.10      paf      5199: else
1.23      moko     5200:   echo "$as_me:$LINENO: result: no" >&5
                   5201: echo "${ECHO_T}no" >&6
1.10      paf      5202: fi
                   5203: 
1.23      moko     5204:   RANLIB=$ac_ct_RANLIB
1.10      paf      5205: else
1.23      moko     5206:   RANLIB="$ac_cv_prog_RANLIB"
1.10      paf      5207: fi
                   5208: 
1.23      moko     5209: test -z "$RANLIB" && RANLIB=:
                   5210: 
                   5211: 
                   5212: 
                   5213: 
                   5214: 
                   5215: 
                   5216: # Determine commands to create old-style static archives.
                   5217: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5218: old_postinstall_cmds='chmod 644 $oldlib'
                   5219: old_postuninstall_cmds=
1.10      paf      5220: 
1.23      moko     5221: if test -n "$RANLIB"; then
                   5222:   case $host_os in
                   5223:   openbsd*)
                   5224:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.10      paf      5225:     ;;
1.23      moko     5226:   *)
                   5227:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.10      paf      5228:     ;;
1.23      moko     5229:   esac
                   5230:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.10      paf      5231: fi
                   5232: 
1.23      moko     5233: case $host_os in
                   5234:   darwin*)
                   5235:     lock_old_archive_extraction=yes ;;
                   5236:   *)
                   5237:     lock_old_archive_extraction=no ;;
                   5238: esac
1.10      paf      5239: 
                   5240: 
                   5241: 
                   5242: 
                   5243: 
                   5244: 
                   5245: 
                   5246: 
                   5247: 
                   5248: 
                   5249: 
                   5250: 
                   5251: 
                   5252: 
                   5253: 
                   5254: 
1.1       parser   5255: 
                   5256: 
1.10      paf      5257: 
                   5258: 
                   5259: 
                   5260: 
                   5261: 
1.1       parser   5262: 
1.10      paf      5263: 
1.1       parser   5264: 
                   5265: 
1.10      paf      5266: 
                   5267: 
                   5268: 
                   5269: 
                   5270: 
                   5271: 
1.1       parser   5272: 
1.10      paf      5273: 
                   5274: 
                   5275: 
                   5276: 
                   5277: 
1.23      moko     5278: # If no C compiler was specified, use CC.
                   5279: LTCC=${LTCC-"$CC"}
1.1       parser   5280: 
1.23      moko     5281: # If no C compiler flags were specified, use CFLAGS.
                   5282: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.10      paf      5283: 
1.23      moko     5284: # Allow CC to be a program name with arguments.
                   5285: compiler=$CC
1.10      paf      5286: 
1.1       parser   5287: 
1.23      moko     5288: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5289: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
                   5290: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
                   5291: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   5292:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5293: else
                   5294: 
                   5295: # These are sane defaults that work on at least a few old systems.
                   5296: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.10      paf      5297: 
1.23      moko     5298: # Character class describing NM global symbol codes.
                   5299: symcode='[BCDEGRST]'
1.10      paf      5300: 
1.23      moko     5301: # Regexp to match symbols that can be accessed directly from C.
                   5302: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.10      paf      5303: 
1.23      moko     5304: # Define system-specific variables.
                   5305: case $host_os in
                   5306: aix*)
                   5307:   symcode='[BCDT]'
                   5308:   ;;
                   5309: cygwin* | mingw* | pw32* | cegcc*)
                   5310:   symcode='[ABCDGISTW]'
                   5311:   ;;
                   5312: hpux*)
                   5313:   if test "$host_cpu" = ia64; then
                   5314:     symcode='[ABCDEGRST]'
                   5315:   fi
                   5316:   ;;
                   5317: irix* | nonstopux*)
                   5318:   symcode='[BCDEGRST]'
                   5319:   ;;
                   5320: osf*)
                   5321:   symcode='[BCDEGQRST]'
                   5322:   ;;
                   5323: solaris*)
                   5324:   symcode='[BDRT]'
                   5325:   ;;
                   5326: sco3.2v5*)
                   5327:   symcode='[DT]'
                   5328:   ;;
                   5329: sysv4.2uw2*)
                   5330:   symcode='[DT]'
                   5331:   ;;
                   5332: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   5333:   symcode='[ABDT]'
                   5334:   ;;
                   5335: sysv4)
                   5336:   symcode='[DFNSTU]'
                   5337:   ;;
                   5338: esac
1.10      paf      5339: 
1.23      moko     5340: # If we're using GNU nm, then use its standard symbol codes.
                   5341: case `$NM -V 2>&1` in
                   5342: *GNU* | *'with BFD'*)
                   5343:   symcode='[ABCDGIRSTW]' ;;
                   5344: esac
1.10      paf      5345: 
1.23      moko     5346: # Transform an extracted symbol line into a proper C declaration.
                   5347: # Some systems (esp. on ia64) link data and code symbols differently,
                   5348: # so use this general approach.
                   5349: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.10      paf      5350: 
1.23      moko     5351: # Transform an extracted symbol line into symbol name and symbol address
                   5352: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   5353: 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'"
1.10      paf      5354: 
1.23      moko     5355: # Handle CRLF in mingw tool chain
                   5356: opt_cr=
                   5357: case $build_os in
                   5358: mingw*)
                   5359:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   5360:   ;;
                   5361: esac
1.10      paf      5362: 
1.23      moko     5363: # Try without a prefix underscore, then with it.
                   5364: for ac_symprfx in "" "_"; do
1.1       parser   5365: 
1.23      moko     5366:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   5367:   symxfrm="\\1 $ac_symprfx\\2 \\2"
1.10      paf      5368: 
1.23      moko     5369:   # Write the raw and C identifiers.
                   5370:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5371:     # Fake it for dumpbin and say T for any non-static function
                   5372:     # and D for any global variable.
                   5373:     # Also find C++ and __fastcall symbols from MSVC++,
                   5374:     # which start with @ or ?.
                   5375:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   5376: "     {last_section=section; section=\$ 3};"\
                   5377: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   5378: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   5379: "     \$ 0!~/External *\|/{next};"\
                   5380: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   5381: "     {if(hide[section]) next};"\
                   5382: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   5383: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   5384: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   5385: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   5386: "     ' prfx=^$ac_symprfx"
                   5387:   else
                   5388:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.10      paf      5389:   fi
1.23      moko     5390:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.10      paf      5391: 
1.23      moko     5392:   # Check to see that the pipe works correctly.
                   5393:   pipe_works=no
1.10      paf      5394: 
1.23      moko     5395:   rm -f conftest*
                   5396:   cat > conftest.$ac_ext <<_LT_EOF
                   5397: #ifdef __cplusplus
                   5398: extern "C" {
                   5399: #endif
                   5400: char nm_test_var;
                   5401: void nm_test_func(void);
                   5402: void nm_test_func(void){}
                   5403: #ifdef __cplusplus
                   5404: }
                   5405: #endif
                   5406: int main(){nm_test_var='a';nm_test_func();return(0);}
                   5407: _LT_EOF
1.1       parser   5408: 
1.23      moko     5409:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5410:   (eval $ac_compile) 2>&5
                   5411:   ac_status=$?
                   5412:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5413:   (exit $ac_status); }; then
                   5414:     # Now try to grab the symbols.
                   5415:     nlist=conftest.nm
                   5416:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
                   5417:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   5418:   ac_status=$?
                   5419:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5420:   (exit $ac_status); } && test -s "$nlist"; then
                   5421:       # Try sorting and uniquifying the output.
                   5422:       if sort "$nlist" | uniq > "$nlist"T; then
                   5423:        mv -f "$nlist"T "$nlist"
                   5424:       else
                   5425:        rm -f "$nlist"T
                   5426:       fi
1.10      paf      5427: 
1.23      moko     5428:       # Make sure that we snagged all the symbols we need.
                   5429:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   5430:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   5431:          cat <<_LT_EOF > conftest.$ac_ext
                   5432: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   5433: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   5434: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   5435:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   5436: # define LT_DLSYM_CONST
                   5437: #elif defined(__osf__)
                   5438: /* This system does not cope well with relocations in const data.  */
                   5439: # define LT_DLSYM_CONST
                   5440: #else
                   5441: # define LT_DLSYM_CONST const
                   5442: #endif
1.10      paf      5443: 
1.23      moko     5444: #ifdef __cplusplus
                   5445: extern "C" {
                   5446: #endif
1.10      paf      5447: 
1.23      moko     5448: _LT_EOF
                   5449:          # Now generate the symbol file.
                   5450:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
1.10      paf      5451: 
1.23      moko     5452:          cat <<_LT_EOF >> conftest.$ac_ext
1.10      paf      5453: 
1.23      moko     5454: /* The mapping between symbol names and symbols.  */
                   5455: LT_DLSYM_CONST struct {
                   5456:   const char *name;
                   5457:   void       *address;
                   5458: }
                   5459: lt__PROGRAM__LTX_preloaded_symbols[] =
                   5460: {
                   5461:   { "@PROGRAM@", (void *) 0 },
                   5462: _LT_EOF
                   5463:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   5464:          cat <<\_LT_EOF >> conftest.$ac_ext
                   5465:   {0, (void *) 0}
                   5466: };
1.10      paf      5467: 
1.23      moko     5468: /* This works around a problem in FreeBSD linker */
                   5469: #ifdef FREEBSD_WORKAROUND
                   5470: static const void *lt_preloaded_setup() {
                   5471:   return lt__PROGRAM__LTX_preloaded_symbols;
                   5472: }
                   5473: #endif
1.1       parser   5474: 
1.23      moko     5475: #ifdef __cplusplus
                   5476: }
                   5477: #endif
                   5478: _LT_EOF
                   5479:          # Now try linking the two files.
                   5480:          mv conftest.$ac_objext conftstm.$ac_objext
                   5481:          lt_globsym_save_LIBS=$LIBS
                   5482:          lt_globsym_save_CFLAGS=$CFLAGS
                   5483:          LIBS="conftstm.$ac_objext"
                   5484:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   5485:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5486:   (eval $ac_link) 2>&5
                   5487:   ac_status=$?
                   5488:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5489:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
                   5490:            pipe_works=yes
                   5491:          fi
                   5492:          LIBS=$lt_globsym_save_LIBS
                   5493:          CFLAGS=$lt_globsym_save_CFLAGS
                   5494:        else
                   5495:          echo "cannot find nm_test_func in $nlist" >&5
                   5496:        fi
                   5497:       else
                   5498:        echo "cannot find nm_test_var in $nlist" >&5
1.10      paf      5499:       fi
1.23      moko     5500:     else
                   5501:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   5502:     fi
                   5503:   else
                   5504:     echo "$progname: failed program was:" >&5
                   5505:     cat conftest.$ac_ext >&5
                   5506:   fi
                   5507:   rm -rf conftest* conftst*
                   5508: 
                   5509:   # Do not use the global_symbol_pipe unless it works.
                   5510:   if test "$pipe_works" = yes; then
                   5511:     break
1.10      paf      5512:   else
1.23      moko     5513:     lt_cv_sys_global_symbol_pipe=
                   5514:   fi
                   5515: done
                   5516: 
                   5517: fi
1.10      paf      5518: 
1.23      moko     5519: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   5520:   lt_cv_sys_global_symbol_to_cdecl=
                   5521: fi
                   5522: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   5523:   echo "$as_me:$LINENO: result: failed" >&5
                   5524: echo "${ECHO_T}failed" >&6
                   5525: else
                   5526:   echo "$as_me:$LINENO: result: ok" >&5
                   5527: echo "${ECHO_T}ok" >&6
                   5528: fi
1.10      paf      5529: 
1.23      moko     5530: # Response file support.
                   5531: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5532:   nm_file_list_spec='@'
                   5533: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   5534:   nm_file_list_spec='@'
                   5535: fi
1.10      paf      5536: 
                   5537: 
                   5538: 
                   5539: 
                   5540: 
                   5541: 
                   5542: 
                   5543: 
                   5544: 
                   5545: 
                   5546: 
                   5547: 
1.23      moko     5548: 
                   5549: 
                   5550: 
                   5551: 
                   5552: 
                   5553: 
                   5554: 
                   5555: 
                   5556: 
                   5557: 
                   5558: 
                   5559: 
                   5560: 
                   5561: 
                   5562: 
                   5563: echo "$as_me:$LINENO: checking for sysroot" >&5
                   5564: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
                   5565: 
                   5566: # Check whether --with-sysroot or --without-sysroot was given.
                   5567: if test "${with_sysroot+set}" = set; then
                   5568:   withval="$with_sysroot"
                   5569: 
1.10      paf      5570: else
1.23      moko     5571:   with_sysroot=no
                   5572: fi;
                   5573: 
                   5574: lt_sysroot=
                   5575: case ${with_sysroot} in #(
                   5576:  yes)
                   5577:    if test "$GCC" = yes; then
                   5578:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   5579:    fi
                   5580:    ;; #(
                   5581:  /*)
                   5582:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   5583:    ;; #(
                   5584:  no|'')
                   5585:    ;; #(
                   5586:  *)
                   5587:    echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
                   5588: echo "${ECHO_T}${with_sysroot}" >&6
                   5589:    { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
                   5590: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
                   5591:    { (exit 1); exit 1; }; }
                   5592:    ;;
                   5593: esac
                   5594: 
                   5595:  echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
                   5596: echo "${ECHO_T}${lt_sysroot:-no}" >&6
                   5597: 
                   5598: 
1.10      paf      5599: 
                   5600: 
                   5601: 
1.23      moko     5602: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   5603: if test "${enable_libtool_lock+set}" = set; then
                   5604:   enableval="$enable_libtool_lock"
                   5605: 
                   5606: fi;
                   5607: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   5608: 
                   5609: # Some flags need to be propagated to the compiler or linker for good
                   5610: # libtool support.
                   5611: case $host in
                   5612: ia64-*-hpux*)
                   5613:   # Find out which ABI we are using.
                   5614:   echo 'int i;' > conftest.$ac_ext
                   5615:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5616:   (eval $ac_compile) 2>&5
1.10      paf      5617:   ac_status=$?
                   5618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.23      moko     5619:   (exit $ac_status); }; then
                   5620:     case `/usr/bin/file conftest.$ac_objext` in
                   5621:       *ELF-32*)
                   5622:        HPUX_IA64_MODE="32"
                   5623:        ;;
                   5624:       *ELF-64*)
                   5625:        HPUX_IA64_MODE="64"
                   5626:        ;;
                   5627:     esac
                   5628:   fi
                   5629:   rm -rf conftest*
                   5630:   ;;
                   5631: *-*-irix6*)
                   5632:   # Find out which ABI we are using.
                   5633:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   5634:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5635:   (eval $ac_compile) 2>&5
1.16      paf      5636:   ac_status=$?
                   5637:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.23      moko     5638:   (exit $ac_status); }; then
                   5639:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   5640:       case `/usr/bin/file conftest.$ac_objext` in
                   5641:        *32-bit*)
                   5642:          LD="${LD-ld} -melf32bsmip"
                   5643:          ;;
                   5644:        *N32*)
                   5645:          LD="${LD-ld} -melf32bmipn32"
                   5646:          ;;
                   5647:        *64-bit*)
                   5648:          LD="${LD-ld} -melf64bmip"
                   5649:        ;;
                   5650:       esac
                   5651:     else
                   5652:       case `/usr/bin/file conftest.$ac_objext` in
                   5653:        *32-bit*)
                   5654:          LD="${LD-ld} -32"
                   5655:          ;;
                   5656:        *N32*)
                   5657:          LD="${LD-ld} -n32"
                   5658:          ;;
                   5659:        *64-bit*)
                   5660:          LD="${LD-ld} -64"
                   5661:          ;;
                   5662:       esac
                   5663:     fi
                   5664:   fi
                   5665:   rm -rf conftest*
                   5666:   ;;
                   5667: 
                   5668: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   5669: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   5670:   # Find out which ABI we are using.
                   5671:   echo 'int i;' > conftest.$ac_ext
                   5672:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5673:   (eval $ac_compile) 2>&5
1.10      paf      5674:   ac_status=$?
                   5675:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.23      moko     5676:   (exit $ac_status); }; then
                   5677:     case `/usr/bin/file conftest.o` in
                   5678:       *32-bit*)
                   5679:        case $host in
                   5680:          x86_64-*kfreebsd*-gnu)
                   5681:            LD="${LD-ld} -m elf_i386_fbsd"
                   5682:            ;;
                   5683:          x86_64-*linux*)
                   5684:            LD="${LD-ld} -m elf_i386"
                   5685:            ;;
                   5686:          ppc64-*linux*|powerpc64-*linux*)
                   5687:            LD="${LD-ld} -m elf32ppclinux"
                   5688:            ;;
                   5689:          s390x-*linux*)
                   5690:            LD="${LD-ld} -m elf_s390"
                   5691:            ;;
                   5692:          sparc64-*linux*)
                   5693:            LD="${LD-ld} -m elf32_sparc"
                   5694:            ;;
                   5695:        esac
1.10      paf      5696:        ;;
1.23      moko     5697:       *64-bit*)
                   5698:        case $host in
                   5699:          x86_64-*kfreebsd*-gnu)
                   5700:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   5701:            ;;
                   5702:          x86_64-*linux*)
                   5703:            LD="${LD-ld} -m elf_x86_64"
                   5704:            ;;
                   5705:          ppc*-*linux*|powerpc*-*linux*)
                   5706:            LD="${LD-ld} -m elf64ppc"
                   5707:            ;;
                   5708:          s390*-*linux*|s390*-*tpf*)
                   5709:            LD="${LD-ld} -m elf64_s390"
                   5710:            ;;
                   5711:          sparc*-*linux*)
                   5712:            LD="${LD-ld} -m elf64_sparc"
                   5713:            ;;
                   5714:        esac
1.10      paf      5715:        ;;
1.23      moko     5716:     esac
1.10      paf      5717:   fi
1.23      moko     5718:   rm -rf conftest*
                   5719:   ;;
1.10      paf      5720: 
1.23      moko     5721: *-*-sco3.2v5*)
                   5722:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   5723:   SAVE_CFLAGS="$CFLAGS"
                   5724:   CFLAGS="$CFLAGS -belf"
                   5725:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   5726: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   5727: if test "${lt_cv_cc_needs_belf+set}" = set; then
1.10      paf      5728:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5729: else
1.23      moko     5730:   ac_ext=c
                   5731: ac_cpp='$CPP $CPPFLAGS'
                   5732: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5733: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5734: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5735: 
                   5736:      cat >conftest.$ac_ext <<_ACEOF
1.10      paf      5737: /* confdefs.h.  */
                   5738: _ACEOF
                   5739: cat confdefs.h >>conftest.$ac_ext
                   5740: cat >>conftest.$ac_ext <<_ACEOF
                   5741: /* end confdefs.h.  */
                   5742: 
                   5743: int
                   5744: main ()
                   5745: {
                   5746: 
                   5747:   ;
                   5748:   return 0;
                   5749: }
                   5750: _ACEOF
                   5751: rm -f conftest.$ac_objext conftest$ac_exeext
                   5752: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.16      paf      5753:   (eval $ac_link) 2>conftest.er1
1.10      paf      5754:   ac_status=$?
1.16      paf      5755:   grep -v '^ *+' conftest.er1 >conftest.err
                   5756:   rm -f conftest.er1
                   5757:   cat conftest.err >&5
1.10      paf      5758:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5759:   (exit $ac_status); } &&
1.16      paf      5760:         { ac_try='test -z "$ac_c_werror_flag"
                   5761:                         || test ! -s conftest.err'
                   5762:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5763:   (eval $ac_try) 2>&5
                   5764:   ac_status=$?
                   5765:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5766:   (exit $ac_status); }; } &&
                   5767:         { ac_try='test -s conftest$ac_exeext'
1.10      paf      5768:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5769:   (eval $ac_try) 2>&5
                   5770:   ac_status=$?
                   5771:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5772:   (exit $ac_status); }; }; then
1.23      moko     5773:   lt_cv_cc_needs_belf=yes
1.10      paf      5774: else
                   5775:   echo "$as_me: failed program was:" >&5
                   5776: sed 's/^/| /' conftest.$ac_ext >&5
                   5777: 
1.23      moko     5778: lt_cv_cc_needs_belf=no
1.10      paf      5779: fi
1.16      paf      5780: rm -f conftest.err conftest.$ac_objext \
                   5781:       conftest$ac_exeext conftest.$ac_ext
1.23      moko     5782:      ac_ext=c
                   5783: ac_cpp='$CPP $CPPFLAGS'
                   5784: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5785: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5786: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      paf      5787: 
                   5788: fi
1.23      moko     5789: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   5790: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   5791:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   5792:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   5793:     CFLAGS="$SAVE_CFLAGS"
                   5794:   fi
                   5795:   ;;
                   5796: *-*solaris*)
                   5797:   # Find out which ABI we are using.
                   5798:   echo 'int i;' > conftest.$ac_ext
                   5799:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5800:   (eval $ac_compile) 2>&5
                   5801:   ac_status=$?
                   5802:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5803:   (exit $ac_status); }; then
                   5804:     case `/usr/bin/file conftest.o` in
                   5805:     *64-bit*)
                   5806:       case $lt_cv_prog_gnu_ld in
                   5807:       yes*)
                   5808:         case $host in
                   5809:         i?86-*-solaris*)
                   5810:           LD="${LD-ld} -m elf_x86_64"
                   5811:           ;;
                   5812:         sparc*-*-solaris*)
                   5813:           LD="${LD-ld} -m elf64_sparc"
                   5814:           ;;
                   5815:         esac
                   5816:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   5817:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   5818:           LD="${LD-ld}_sol2"
                   5819:         fi
                   5820:         ;;
                   5821:       *)
                   5822:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   5823:          LD="${LD-ld} -64"
                   5824:        fi
                   5825:        ;;
                   5826:       esac
                   5827:       ;;
                   5828:     esac
                   5829:   fi
                   5830:   rm -rf conftest*
                   5831:   ;;
                   5832: esac
1.10      paf      5833: 
1.23      moko     5834: need_locks="$enable_libtool_lock"
1.10      paf      5835: 
1.23      moko     5836: if test -n "$ac_tool_prefix"; then
                   5837:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   5838: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   5839: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5840: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5841: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
                   5842:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5843: else
                   5844:   if test -n "$MANIFEST_TOOL"; then
                   5845:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   5846: else
                   5847: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5848: for as_dir in $PATH
                   5849: do
                   5850:   IFS=$as_save_IFS
                   5851:   test -z "$as_dir" && as_dir=.
                   5852:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5853:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5854:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   5855:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5856:     break 2
                   5857:   fi
                   5858: done
                   5859: done
1.10      paf      5860: 
1.23      moko     5861: fi
                   5862: fi
                   5863: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   5864: if test -n "$MANIFEST_TOOL"; then
                   5865:   echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
                   5866: echo "${ECHO_T}$MANIFEST_TOOL" >&6
                   5867: else
                   5868:   echo "$as_me:$LINENO: result: no" >&5
                   5869: echo "${ECHO_T}no" >&6
                   5870: fi
1.10      paf      5871: 
1.23      moko     5872: fi
                   5873: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   5874:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   5875:   # Extract the first word of "mt", so it can be a program name with args.
                   5876: set dummy mt; ac_word=$2
                   5877: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5878: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5879: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
1.10      paf      5880:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5881: else
1.23      moko     5882:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   5883:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   5884: else
                   5885: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5886: for as_dir in $PATH
                   5887: do
                   5888:   IFS=$as_save_IFS
                   5889:   test -z "$as_dir" && as_dir=.
                   5890:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5891:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5892:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   5893:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5894:     break 2
                   5895:   fi
                   5896: done
                   5897: done
1.10      paf      5898: 
1.23      moko     5899:   test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
                   5900: fi
                   5901: fi
                   5902: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   5903: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   5904:   echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
                   5905: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
1.10      paf      5906: else
1.23      moko     5907:   echo "$as_me:$LINENO: result: no" >&5
                   5908: echo "${ECHO_T}no" >&6
1.10      paf      5909: fi
                   5910: 
1.23      moko     5911:   MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   5912: else
                   5913:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
1.10      paf      5914: fi
                   5915: 
1.23      moko     5916: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   5917: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   5918: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
                   5919: if test "${lt_cv_path_mainfest_tool+set}" = set; then
1.10      paf      5920:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5921: else
1.23      moko     5922:   lt_cv_path_mainfest_tool=no
                   5923:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   5924:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   5925:   cat conftest.err >&5
                   5926:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   5927:     lt_cv_path_mainfest_tool=yes
                   5928:   fi
                   5929:   rm -f conftest*
                   5930: fi
                   5931: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
                   5932: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
                   5933: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   5934:   MANIFEST_TOOL=:
                   5935: fi
                   5936: 
                   5937: 
                   5938: 
                   5939: 
1.10      paf      5940: 
                   5941: 
1.23      moko     5942:   case $host_os in
                   5943:     rhapsody* | darwin*)
                   5944:     if test -n "$ac_tool_prefix"; then
                   5945:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   5946: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   5947: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5948: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5949: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
                   5950:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5951: else
                   5952:   if test -n "$DSYMUTIL"; then
                   5953:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   5954: else
                   5955: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5956: for as_dir in $PATH
                   5957: do
                   5958:   IFS=$as_save_IFS
                   5959:   test -z "$as_dir" && as_dir=.
                   5960:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5961:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5962:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   5963:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5964:     break 2
                   5965:   fi
                   5966: done
                   5967: done
1.10      paf      5968: 
1.23      moko     5969: fi
                   5970: fi
                   5971: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   5972: if test -n "$DSYMUTIL"; then
                   5973:   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
                   5974: echo "${ECHO_T}$DSYMUTIL" >&6
1.10      paf      5975: else
1.23      moko     5976:   echo "$as_me:$LINENO: result: no" >&5
                   5977: echo "${ECHO_T}no" >&6
                   5978: fi
1.10      paf      5979: 
                   5980: fi
1.23      moko     5981: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   5982:   ac_ct_DSYMUTIL=$DSYMUTIL
                   5983:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   5984: set dummy dsymutil; ac_word=$2
                   5985: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5986: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5987: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
                   5988:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5989: else
                   5990:   if test -n "$ac_ct_DSYMUTIL"; then
                   5991:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   5992: else
                   5993: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5994: for as_dir in $PATH
                   5995: do
                   5996:   IFS=$as_save_IFS
                   5997:   test -z "$as_dir" && as_dir=.
                   5998:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5999:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6000:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6001:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6002:     break 2
                   6003:   fi
                   6004: done
                   6005: done
1.10      paf      6006: 
1.23      moko     6007:   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
                   6008: fi
                   6009: fi
                   6010: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6011: if test -n "$ac_ct_DSYMUTIL"; then
                   6012:   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
                   6013: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
                   6014: else
                   6015:   echo "$as_me:$LINENO: result: no" >&5
                   6016: echo "${ECHO_T}no" >&6
1.10      paf      6017: fi
                   6018: 
1.23      moko     6019:   DSYMUTIL=$ac_ct_DSYMUTIL
1.10      paf      6020: else
1.23      moko     6021:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.10      paf      6022: fi
                   6023: 
1.23      moko     6024:     if test -n "$ac_tool_prefix"; then
                   6025:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6026: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6027: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6028: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6029: if test "${ac_cv_prog_NMEDIT+set}" = set; then
                   6030:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6031: else
                   6032:   if test -n "$NMEDIT"; then
                   6033:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6034: else
                   6035: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6036: for as_dir in $PATH
                   6037: do
                   6038:   IFS=$as_save_IFS
                   6039:   test -z "$as_dir" && as_dir=.
                   6040:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6041:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6042:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6043:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6044:     break 2
1.10      paf      6045:   fi
1.23      moko     6046: done
                   6047: done
                   6048: 
                   6049: fi
                   6050: fi
                   6051: NMEDIT=$ac_cv_prog_NMEDIT
                   6052: if test -n "$NMEDIT"; then
                   6053:   echo "$as_me:$LINENO: result: $NMEDIT" >&5
                   6054: echo "${ECHO_T}$NMEDIT" >&6
1.10      paf      6055: else
1.23      moko     6056:   echo "$as_me:$LINENO: result: no" >&5
                   6057: echo "${ECHO_T}no" >&6
1.10      paf      6058: fi
                   6059: 
1.23      moko     6060: fi
                   6061: if test -z "$ac_cv_prog_NMEDIT"; then
                   6062:   ac_ct_NMEDIT=$NMEDIT
                   6063:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6064: set dummy nmedit; ac_word=$2
                   6065: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6066: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6067: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
                   6068:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6069: else
                   6070:   if test -n "$ac_ct_NMEDIT"; then
                   6071:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6072: else
                   6073: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6074: for as_dir in $PATH
                   6075: do
                   6076:   IFS=$as_save_IFS
                   6077:   test -z "$as_dir" && as_dir=.
                   6078:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6079:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6080:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6081:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6082:     break 2
                   6083:   fi
                   6084: done
                   6085: done
1.10      paf      6086: 
1.23      moko     6087:   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
                   6088: fi
                   6089: fi
                   6090: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6091: if test -n "$ac_ct_NMEDIT"; then
                   6092:   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
                   6093: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
                   6094: else
                   6095:   echo "$as_me:$LINENO: result: no" >&5
                   6096: echo "${ECHO_T}no" >&6
                   6097: fi
1.10      paf      6098: 
1.23      moko     6099:   NMEDIT=$ac_ct_NMEDIT
1.10      paf      6100: else
1.23      moko     6101:   NMEDIT="$ac_cv_prog_NMEDIT"
1.10      paf      6102: fi
                   6103: 
1.23      moko     6104:     if test -n "$ac_tool_prefix"; then
                   6105:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6106: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6107: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6108: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6109: if test "${ac_cv_prog_LIPO+set}" = set; then
                   6110:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6111: else
                   6112:   if test -n "$LIPO"; then
                   6113:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6114: else
                   6115: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6116: for as_dir in $PATH
                   6117: do
                   6118:   IFS=$as_save_IFS
                   6119:   test -z "$as_dir" && as_dir=.
                   6120:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6121:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6122:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6123:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6124:     break 2
1.10      paf      6125:   fi
1.23      moko     6126: done
                   6127: done
                   6128: 
                   6129: fi
                   6130: fi
                   6131: LIPO=$ac_cv_prog_LIPO
                   6132: if test -n "$LIPO"; then
                   6133:   echo "$as_me:$LINENO: result: $LIPO" >&5
                   6134: echo "${ECHO_T}$LIPO" >&6
                   6135: else
                   6136:   echo "$as_me:$LINENO: result: no" >&5
                   6137: echo "${ECHO_T}no" >&6
1.10      paf      6138: fi
                   6139: 
1.23      moko     6140: fi
                   6141: if test -z "$ac_cv_prog_LIPO"; then
                   6142:   ac_ct_LIPO=$LIPO
                   6143:   # Extract the first word of "lipo", so it can be a program name with args.
                   6144: set dummy lipo; ac_word=$2
                   6145: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6146: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6147: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
                   6148:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6149: else
                   6150:   if test -n "$ac_ct_LIPO"; then
                   6151:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6152: else
                   6153: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6154: for as_dir in $PATH
                   6155: do
                   6156:   IFS=$as_save_IFS
                   6157:   test -z "$as_dir" && as_dir=.
                   6158:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6159:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6160:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6161:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6162:     break 2
1.10      paf      6163:   fi
1.23      moko     6164: done
                   6165: done
1.10      paf      6166: 
1.23      moko     6167:   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
                   6168: fi
                   6169: fi
                   6170: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6171: if test -n "$ac_ct_LIPO"; then
                   6172:   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
                   6173: echo "${ECHO_T}$ac_ct_LIPO" >&6
                   6174: else
                   6175:   echo "$as_me:$LINENO: result: no" >&5
                   6176: echo "${ECHO_T}no" >&6
                   6177: fi
1.10      paf      6178: 
1.23      moko     6179:   LIPO=$ac_ct_LIPO
                   6180: else
                   6181:   LIPO="$ac_cv_prog_LIPO"
                   6182: fi
1.10      paf      6183: 
1.23      moko     6184:     if test -n "$ac_tool_prefix"; then
                   6185:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6186: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6187: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6188: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6189: if test "${ac_cv_prog_OTOOL+set}" = set; then
                   6190:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6191: else
                   6192:   if test -n "$OTOOL"; then
                   6193:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6194: else
                   6195: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6196: for as_dir in $PATH
                   6197: do
                   6198:   IFS=$as_save_IFS
                   6199:   test -z "$as_dir" && as_dir=.
                   6200:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6201:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6202:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6203:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6204:     break 2
                   6205:   fi
                   6206: done
                   6207: done
1.10      paf      6208: 
1.23      moko     6209: fi
                   6210: fi
                   6211: OTOOL=$ac_cv_prog_OTOOL
                   6212: if test -n "$OTOOL"; then
                   6213:   echo "$as_me:$LINENO: result: $OTOOL" >&5
                   6214: echo "${ECHO_T}$OTOOL" >&6
                   6215: else
                   6216:   echo "$as_me:$LINENO: result: no" >&5
                   6217: echo "${ECHO_T}no" >&6
                   6218: fi
1.10      paf      6219: 
1.23      moko     6220: fi
                   6221: if test -z "$ac_cv_prog_OTOOL"; then
                   6222:   ac_ct_OTOOL=$OTOOL
                   6223:   # Extract the first word of "otool", so it can be a program name with args.
                   6224: set dummy otool; ac_word=$2
                   6225: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6226: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6227: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
                   6228:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6229: else
                   6230:   if test -n "$ac_ct_OTOOL"; then
                   6231:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6232: else
                   6233: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6234: for as_dir in $PATH
                   6235: do
                   6236:   IFS=$as_save_IFS
                   6237:   test -z "$as_dir" && as_dir=.
                   6238:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6239:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6240:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6241:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6242:     break 2
                   6243:   fi
                   6244: done
                   6245: done
1.10      paf      6246: 
1.23      moko     6247:   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
                   6248: fi
                   6249: fi
                   6250: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6251: if test -n "$ac_ct_OTOOL"; then
                   6252:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
                   6253: echo "${ECHO_T}$ac_ct_OTOOL" >&6
                   6254: else
                   6255:   echo "$as_me:$LINENO: result: no" >&5
                   6256: echo "${ECHO_T}no" >&6
                   6257: fi
1.10      paf      6258: 
1.23      moko     6259:   OTOOL=$ac_ct_OTOOL
                   6260: else
                   6261:   OTOOL="$ac_cv_prog_OTOOL"
                   6262: fi
1.10      paf      6263: 
1.23      moko     6264:     if test -n "$ac_tool_prefix"; then
                   6265:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6266: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6267: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6268: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6269: if test "${ac_cv_prog_OTOOL64+set}" = set; then
                   6270:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6271: else
                   6272:   if test -n "$OTOOL64"; then
                   6273:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6274: else
                   6275: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6276: for as_dir in $PATH
                   6277: do
                   6278:   IFS=$as_save_IFS
                   6279:   test -z "$as_dir" && as_dir=.
                   6280:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6281:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6282:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6283:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6284:     break 2
                   6285:   fi
                   6286: done
                   6287: done
1.10      paf      6288: 
1.23      moko     6289: fi
                   6290: fi
                   6291: OTOOL64=$ac_cv_prog_OTOOL64
                   6292: if test -n "$OTOOL64"; then
                   6293:   echo "$as_me:$LINENO: result: $OTOOL64" >&5
                   6294: echo "${ECHO_T}$OTOOL64" >&6
                   6295: else
                   6296:   echo "$as_me:$LINENO: result: no" >&5
                   6297: echo "${ECHO_T}no" >&6
                   6298: fi
1.10      paf      6299: 
1.23      moko     6300: fi
                   6301: if test -z "$ac_cv_prog_OTOOL64"; then
                   6302:   ac_ct_OTOOL64=$OTOOL64
                   6303:   # Extract the first word of "otool64", so it can be a program name with args.
                   6304: set dummy otool64; ac_word=$2
                   6305: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6306: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6307: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
                   6308:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6309: else
                   6310:   if test -n "$ac_ct_OTOOL64"; then
                   6311:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6312: else
                   6313: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6314: for as_dir in $PATH
                   6315: do
                   6316:   IFS=$as_save_IFS
                   6317:   test -z "$as_dir" && as_dir=.
                   6318:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6319:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6320:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   6321:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6322:     break 2
                   6323:   fi
                   6324: done
                   6325: done
1.10      paf      6326: 
1.23      moko     6327:   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
                   6328: fi
                   6329: fi
                   6330: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6331: if test -n "$ac_ct_OTOOL64"; then
                   6332:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
                   6333: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
                   6334: else
                   6335:   echo "$as_me:$LINENO: result: no" >&5
                   6336: echo "${ECHO_T}no" >&6
                   6337: fi
1.10      paf      6338: 
1.23      moko     6339:   OTOOL64=$ac_ct_OTOOL64
                   6340: else
                   6341:   OTOOL64="$ac_cv_prog_OTOOL64"
                   6342: fi
1.10      paf      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: 
                   6369: 
1.23      moko     6370:     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
                   6371: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
                   6372: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
                   6373:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6374: else
                   6375:   lt_cv_apple_cc_single_mod=no
                   6376:       if test -z "${LT_MULTI_MODULE}"; then
                   6377:        # By default we will add the -single_module flag. You can override
                   6378:        # by either setting the environment variable LT_MULTI_MODULE
                   6379:        # non-empty at configure time, or by adding -multi_module to the
                   6380:        # link flags.
                   6381:        rm -rf libconftest.dylib*
                   6382:        echo "int foo(void){return 1;}" > conftest.c
                   6383:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6384: -dynamiclib -Wl,-single_module conftest.c" >&5
                   6385:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6386:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   6387:         _lt_result=$?
                   6388:        # If there is a non-empty error log, and "single_module"
                   6389:        # appears in it, assume the flag caused a linker warning
                   6390:         if test -s conftest.err && $GREP single_module conftest.err; then
                   6391:          cat conftest.err >&5
                   6392:        # Otherwise, if the output was created with a 0 exit code from
                   6393:        # the compiler, it worked.
                   6394:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   6395:          lt_cv_apple_cc_single_mod=yes
                   6396:        else
                   6397:          cat conftest.err >&5
                   6398:        fi
                   6399:        rm -rf libconftest.dylib*
                   6400:        rm -f conftest.*
                   6401:       fi
                   6402: fi
                   6403: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
                   6404: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
1.10      paf      6405: 
1.23      moko     6406:     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
                   6407: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
                   6408: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
                   6409:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6410: else
                   6411:   lt_cv_ld_exported_symbols_list=no
                   6412:       save_LDFLAGS=$LDFLAGS
                   6413:       echo "_main" > conftest.sym
                   6414:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   6415:       cat >conftest.$ac_ext <<_ACEOF
                   6416: /* confdefs.h.  */
                   6417: _ACEOF
                   6418: cat confdefs.h >>conftest.$ac_ext
                   6419: cat >>conftest.$ac_ext <<_ACEOF
                   6420: /* end confdefs.h.  */
1.10      paf      6421: 
1.23      moko     6422: int
                   6423: main ()
                   6424: {
1.10      paf      6425: 
1.23      moko     6426:   ;
                   6427:   return 0;
                   6428: }
                   6429: _ACEOF
                   6430: rm -f conftest.$ac_objext conftest$ac_exeext
                   6431: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6432:   (eval $ac_link) 2>conftest.er1
                   6433:   ac_status=$?
                   6434:   grep -v '^ *+' conftest.er1 >conftest.err
                   6435:   rm -f conftest.er1
                   6436:   cat conftest.err >&5
                   6437:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6438:   (exit $ac_status); } &&
                   6439:         { ac_try='test -z "$ac_c_werror_flag"
                   6440:                         || test ! -s conftest.err'
                   6441:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6442:   (eval $ac_try) 2>&5
                   6443:   ac_status=$?
                   6444:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6445:   (exit $ac_status); }; } &&
                   6446:         { ac_try='test -s conftest$ac_exeext'
                   6447:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6448:   (eval $ac_try) 2>&5
                   6449:   ac_status=$?
                   6450:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6451:   (exit $ac_status); }; }; then
                   6452:   lt_cv_ld_exported_symbols_list=yes
                   6453: else
                   6454:   echo "$as_me: failed program was:" >&5
                   6455: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      6456: 
1.23      moko     6457: lt_cv_ld_exported_symbols_list=no
                   6458: fi
                   6459: rm -f conftest.err conftest.$ac_objext \
                   6460:       conftest$ac_exeext conftest.$ac_ext
                   6461:        LDFLAGS="$save_LDFLAGS"
1.10      paf      6462: 
1.23      moko     6463: fi
                   6464: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
                   6465: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
1.10      paf      6466: 
1.23      moko     6467:     echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
                   6468: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
                   6469: if test "${lt_cv_ld_force_load+set}" = set; then
                   6470:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6471: else
                   6472:   lt_cv_ld_force_load=no
                   6473:       cat > conftest.c << _LT_EOF
                   6474: int forced_loaded() { return 2;}
                   6475: _LT_EOF
                   6476:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   6477:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   6478:       echo "$AR cru libconftest.a conftest.o" >&5
                   6479:       $AR cru libconftest.a conftest.o 2>&5
                   6480:       echo "$RANLIB libconftest.a" >&5
                   6481:       $RANLIB libconftest.a 2>&5
                   6482:       cat > conftest.c << _LT_EOF
                   6483: int main() { return 0;}
                   6484: _LT_EOF
                   6485:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   6486:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   6487:       _lt_result=$?
                   6488:       if test -s conftest.err && $GREP force_load conftest.err; then
                   6489:        cat conftest.err >&5
                   6490:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   6491:        lt_cv_ld_force_load=yes
                   6492:       else
                   6493:        cat conftest.err >&5
                   6494:       fi
                   6495:         rm -f conftest.err libconftest.a conftest conftest.c
                   6496:         rm -rf conftest.dSYM
1.10      paf      6497: 
1.23      moko     6498: fi
                   6499: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
                   6500: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
                   6501:     case $host_os in
                   6502:     rhapsody* | darwin1.[012])
                   6503:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   6504:     darwin1.*)
                   6505:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6506:     darwin*) # darwin 5.x on
                   6507:       # if running on 10.5 or later, the deployment target defaults
                   6508:       # to the OS version, if on x86, and 10.4, the deployment
                   6509:       # target defaults to 10.4. Don't you love it?
                   6510:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   6511:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   6512:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6513:        10.[012]*)
                   6514:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6515:        10.*)
                   6516:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6517:       esac
1.10      paf      6518:     ;;
1.23      moko     6519:   esac
                   6520:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   6521:       _lt_dar_single_mod='$single_module'
                   6522:     fi
                   6523:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   6524:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   6525:     else
                   6526:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.10      paf      6527:     fi
1.23      moko     6528:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   6529:       _lt_dsymutil='~$DSYMUTIL $lib || :'
1.10      paf      6530:     else
1.23      moko     6531:       _lt_dsymutil=
1.10      paf      6532:     fi
                   6533:     ;;
1.23      moko     6534:   esac
1.10      paf      6535: 
1.23      moko     6536: ac_ext=c
                   6537: ac_cpp='$CPP $CPPFLAGS'
                   6538: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6539: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6540: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6541: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   6542: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   6543: # On Suns, sometimes $CPP names a directory.
                   6544: if test -n "$CPP" && test -d "$CPP"; then
                   6545:   CPP=
                   6546: fi
                   6547: if test -z "$CPP"; then
                   6548:   if test "${ac_cv_prog_CPP+set}" = set; then
                   6549:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6550: else
                   6551:       # Double quotes because CPP needs to be expanded
                   6552:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   6553:     do
                   6554:       ac_preproc_ok=false
                   6555: for ac_c_preproc_warn_flag in '' yes
                   6556: do
                   6557:   # Use a header file that comes with gcc, so configuring glibc
                   6558:   # with a fresh cross-compiler works.
                   6559:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6560:   # <limits.h> exists even on freestanding compilers.
                   6561:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   6562:   # not just through cpp. "Syntax error" is here to catch this case.
                   6563:   cat >conftest.$ac_ext <<_ACEOF
                   6564: /* confdefs.h.  */
                   6565: _ACEOF
                   6566: cat confdefs.h >>conftest.$ac_ext
                   6567: cat >>conftest.$ac_ext <<_ACEOF
                   6568: /* end confdefs.h.  */
                   6569: #ifdef __STDC__
                   6570: # include <limits.h>
                   6571: #else
                   6572: # include <assert.h>
                   6573: #endif
                   6574:                     Syntax error
                   6575: _ACEOF
                   6576: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6577:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6578:   ac_status=$?
                   6579:   grep -v '^ *+' conftest.er1 >conftest.err
                   6580:   rm -f conftest.er1
                   6581:   cat conftest.err >&5
                   6582:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6583:   (exit $ac_status); } >/dev/null; then
                   6584:   if test -s conftest.err; then
                   6585:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6586:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6587:   else
                   6588:     ac_cpp_err=
                   6589:   fi
                   6590: else
                   6591:   ac_cpp_err=yes
1.10      paf      6592: fi
1.23      moko     6593: if test -z "$ac_cpp_err"; then
                   6594:   :
                   6595: else
                   6596:   echo "$as_me: failed program was:" >&5
                   6597: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      6598: 
1.23      moko     6599:   # Broken: fails on valid input.
                   6600: continue
                   6601: fi
                   6602: rm -f conftest.err conftest.$ac_ext
1.10      paf      6603: 
1.23      moko     6604:   # OK, works on sane cases.  Now check whether non-existent headers
                   6605:   # can be detected and how.
                   6606:   cat >conftest.$ac_ext <<_ACEOF
                   6607: /* confdefs.h.  */
                   6608: _ACEOF
                   6609: cat confdefs.h >>conftest.$ac_ext
                   6610: cat >>conftest.$ac_ext <<_ACEOF
                   6611: /* end confdefs.h.  */
                   6612: #include <ac_nonexistent.h>
                   6613: _ACEOF
                   6614: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6615:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6616:   ac_status=$?
                   6617:   grep -v '^ *+' conftest.er1 >conftest.err
                   6618:   rm -f conftest.er1
                   6619:   cat conftest.err >&5
                   6620:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6621:   (exit $ac_status); } >/dev/null; then
                   6622:   if test -s conftest.err; then
                   6623:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6624:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.10      paf      6625:   else
1.23      moko     6626:     ac_cpp_err=
1.10      paf      6627:   fi
                   6628: else
1.23      moko     6629:   ac_cpp_err=yes
1.10      paf      6630: fi
1.23      moko     6631: if test -z "$ac_cpp_err"; then
                   6632:   # Broken: success on invalid input.
                   6633: continue
                   6634: else
                   6635:   echo "$as_me: failed program was:" >&5
                   6636: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      6637: 
1.23      moko     6638:   # Passes both tests.
                   6639: ac_preproc_ok=:
                   6640: break
1.10      paf      6641: fi
1.23      moko     6642: rm -f conftest.err conftest.$ac_ext
1.10      paf      6643: 
1.23      moko     6644: done
                   6645: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   6646: rm -f conftest.err conftest.$ac_ext
                   6647: if $ac_preproc_ok; then
                   6648:   break
                   6649: fi
1.10      paf      6650: 
1.23      moko     6651:     done
                   6652:     ac_cv_prog_CPP=$CPP
1.10      paf      6653: 
1.23      moko     6654: fi
                   6655:   CPP=$ac_cv_prog_CPP
                   6656: else
                   6657:   ac_cv_prog_CPP=$CPP
                   6658: fi
                   6659: echo "$as_me:$LINENO: result: $CPP" >&5
                   6660: echo "${ECHO_T}$CPP" >&6
                   6661: ac_preproc_ok=false
                   6662: for ac_c_preproc_warn_flag in '' yes
                   6663: do
                   6664:   # Use a header file that comes with gcc, so configuring glibc
                   6665:   # with a fresh cross-compiler works.
                   6666:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6667:   # <limits.h> exists even on freestanding compilers.
                   6668:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   6669:   # not just through cpp. "Syntax error" is here to catch this case.
                   6670:   cat >conftest.$ac_ext <<_ACEOF
                   6671: /* confdefs.h.  */
                   6672: _ACEOF
                   6673: cat confdefs.h >>conftest.$ac_ext
                   6674: cat >>conftest.$ac_ext <<_ACEOF
                   6675: /* end confdefs.h.  */
                   6676: #ifdef __STDC__
                   6677: # include <limits.h>
                   6678: #else
                   6679: # include <assert.h>
                   6680: #endif
                   6681:                     Syntax error
                   6682: _ACEOF
                   6683: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6684:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6685:   ac_status=$?
                   6686:   grep -v '^ *+' conftest.er1 >conftest.err
                   6687:   rm -f conftest.er1
                   6688:   cat conftest.err >&5
                   6689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6690:   (exit $ac_status); } >/dev/null; then
                   6691:   if test -s conftest.err; then
                   6692:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6693:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6694:   else
                   6695:     ac_cpp_err=
                   6696:   fi
                   6697: else
                   6698:   ac_cpp_err=yes
                   6699: fi
                   6700: if test -z "$ac_cpp_err"; then
                   6701:   :
                   6702: else
                   6703:   echo "$as_me: failed program was:" >&5
                   6704: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      6705: 
1.23      moko     6706:   # Broken: fails on valid input.
                   6707: continue
                   6708: fi
                   6709: rm -f conftest.err conftest.$ac_ext
1.10      paf      6710: 
1.23      moko     6711:   # OK, works on sane cases.  Now check whether non-existent headers
                   6712:   # can be detected and how.
                   6713:   cat >conftest.$ac_ext <<_ACEOF
                   6714: /* confdefs.h.  */
                   6715: _ACEOF
                   6716: cat confdefs.h >>conftest.$ac_ext
                   6717: cat >>conftest.$ac_ext <<_ACEOF
                   6718: /* end confdefs.h.  */
                   6719: #include <ac_nonexistent.h>
                   6720: _ACEOF
                   6721: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6722:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6723:   ac_status=$?
                   6724:   grep -v '^ *+' conftest.er1 >conftest.err
                   6725:   rm -f conftest.er1
                   6726:   cat conftest.err >&5
                   6727:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6728:   (exit $ac_status); } >/dev/null; then
                   6729:   if test -s conftest.err; then
                   6730:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6731:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.10      paf      6732:   else
1.23      moko     6733:     ac_cpp_err=
1.10      paf      6734:   fi
1.23      moko     6735: else
                   6736:   ac_cpp_err=yes
                   6737: fi
                   6738: if test -z "$ac_cpp_err"; then
                   6739:   # Broken: success on invalid input.
                   6740: continue
                   6741: else
                   6742:   echo "$as_me: failed program was:" >&5
                   6743: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      6744: 
1.23      moko     6745:   # Passes both tests.
                   6746: ac_preproc_ok=:
                   6747: break
                   6748: fi
                   6749: rm -f conftest.err conftest.$ac_ext
1.10      paf      6750: 
1.23      moko     6751: done
                   6752: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   6753: rm -f conftest.err conftest.$ac_ext
                   6754: if $ac_preproc_ok; then
                   6755:   :
                   6756: else
                   6757:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   6758: See \`config.log' for more details." >&5
                   6759: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   6760: See \`config.log' for more details." >&2;}
                   6761:    { (exit 1); exit 1; }; }
                   6762: fi
1.10      paf      6763: 
1.23      moko     6764: ac_ext=c
                   6765: ac_cpp='$CPP $CPPFLAGS'
                   6766: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6767: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6768: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      paf      6769: 
                   6770: 
1.23      moko     6771: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   6772: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   6773: if test "${ac_cv_header_stdc+set}" = set; then
                   6774:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6775: else
                   6776:   cat >conftest.$ac_ext <<_ACEOF
                   6777: /* confdefs.h.  */
                   6778: _ACEOF
                   6779: cat confdefs.h >>conftest.$ac_ext
                   6780: cat >>conftest.$ac_ext <<_ACEOF
                   6781: /* end confdefs.h.  */
                   6782: #include <stdlib.h>
                   6783: #include <stdarg.h>
                   6784: #include <string.h>
                   6785: #include <float.h>
1.10      paf      6786: 
1.23      moko     6787: int
                   6788: main ()
                   6789: {
1.10      paf      6790: 
1.23      moko     6791:   ;
                   6792:   return 0;
                   6793: }
                   6794: _ACEOF
                   6795: rm -f conftest.$ac_objext
                   6796: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6797:   (eval $ac_compile) 2>conftest.er1
                   6798:   ac_status=$?
                   6799:   grep -v '^ *+' conftest.er1 >conftest.err
                   6800:   rm -f conftest.er1
                   6801:   cat conftest.err >&5
                   6802:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6803:   (exit $ac_status); } &&
                   6804:         { ac_try='test -z "$ac_c_werror_flag"
                   6805:                         || test ! -s conftest.err'
                   6806:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6807:   (eval $ac_try) 2>&5
                   6808:   ac_status=$?
                   6809:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6810:   (exit $ac_status); }; } &&
                   6811:         { ac_try='test -s conftest.$ac_objext'
                   6812:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6813:   (eval $ac_try) 2>&5
                   6814:   ac_status=$?
                   6815:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6816:   (exit $ac_status); }; }; then
                   6817:   ac_cv_header_stdc=yes
                   6818: else
                   6819:   echo "$as_me: failed program was:" >&5
                   6820: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      6821: 
1.23      moko     6822: ac_cv_header_stdc=no
                   6823: fi
                   6824: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      6825: 
1.23      moko     6826: if test $ac_cv_header_stdc = yes; then
                   6827:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   6828:   cat >conftest.$ac_ext <<_ACEOF
                   6829: /* confdefs.h.  */
                   6830: _ACEOF
                   6831: cat confdefs.h >>conftest.$ac_ext
                   6832: cat >>conftest.$ac_ext <<_ACEOF
                   6833: /* end confdefs.h.  */
                   6834: #include <string.h>
1.10      paf      6835: 
1.23      moko     6836: _ACEOF
                   6837: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6838:   $EGREP "memchr" >/dev/null 2>&1; then
                   6839:   :
                   6840: else
                   6841:   ac_cv_header_stdc=no
                   6842: fi
                   6843: rm -f conftest*
                   6844: 
                   6845: fi
1.10      paf      6846: 
1.23      moko     6847: if test $ac_cv_header_stdc = yes; then
                   6848:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   6849:   cat >conftest.$ac_ext <<_ACEOF
                   6850: /* confdefs.h.  */
                   6851: _ACEOF
                   6852: cat confdefs.h >>conftest.$ac_ext
                   6853: cat >>conftest.$ac_ext <<_ACEOF
                   6854: /* end confdefs.h.  */
                   6855: #include <stdlib.h>
1.10      paf      6856: 
1.23      moko     6857: _ACEOF
                   6858: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6859:   $EGREP "free" >/dev/null 2>&1; then
                   6860:   :
                   6861: else
                   6862:   ac_cv_header_stdc=no
                   6863: fi
                   6864: rm -f conftest*
1.10      paf      6865: 
1.23      moko     6866: fi
1.10      paf      6867: 
1.23      moko     6868: if test $ac_cv_header_stdc = yes; then
                   6869:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   6870:   if test "$cross_compiling" = yes; then
                   6871:   :
                   6872: else
                   6873:   cat >conftest.$ac_ext <<_ACEOF
                   6874: /* confdefs.h.  */
                   6875: _ACEOF
                   6876: cat confdefs.h >>conftest.$ac_ext
                   6877: cat >>conftest.$ac_ext <<_ACEOF
                   6878: /* end confdefs.h.  */
                   6879: #include <ctype.h>
                   6880: #if ((' ' & 0x0FF) == 0x020)
                   6881: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   6882: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   6883: #else
                   6884: # define ISLOWER(c) \
                   6885:                   (('a' <= (c) && (c) <= 'i') \
                   6886:                     || ('j' <= (c) && (c) <= 'r') \
                   6887:                     || ('s' <= (c) && (c) <= 'z'))
                   6888: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   6889: #endif
1.10      paf      6890: 
1.23      moko     6891: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   6892: int
                   6893: main ()
                   6894: {
                   6895:   int i;
                   6896:   for (i = 0; i < 256; i++)
                   6897:     if (XOR (islower (i), ISLOWER (i))
                   6898:        || toupper (i) != TOUPPER (i))
                   6899:       exit(2);
                   6900:   exit (0);
                   6901: }
                   6902: _ACEOF
                   6903: rm -f conftest$ac_exeext
                   6904: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6905:   (eval $ac_link) 2>&5
                   6906:   ac_status=$?
                   6907:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6908:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   6909:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6910:   (eval $ac_try) 2>&5
                   6911:   ac_status=$?
                   6912:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6913:   (exit $ac_status); }; }; then
                   6914:   :
                   6915: else
                   6916:   echo "$as_me: program exited with status $ac_status" >&5
                   6917: echo "$as_me: failed program was:" >&5
                   6918: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      6919: 
1.23      moko     6920: ( exit $ac_status )
                   6921: ac_cv_header_stdc=no
                   6922: fi
                   6923: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   6924: fi
                   6925: fi
                   6926: fi
                   6927: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   6928: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   6929: if test $ac_cv_header_stdc = yes; then
1.10      paf      6930: 
1.23      moko     6931: cat >>confdefs.h <<\_ACEOF
                   6932: #define STDC_HEADERS 1
                   6933: _ACEOF
1.10      paf      6934: 
1.23      moko     6935: fi
1.10      paf      6936: 
1.23      moko     6937: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.10      paf      6938: 
                   6939: 
                   6940: 
                   6941: 
                   6942: 
                   6943: 
                   6944: 
                   6945: 
                   6946: 
1.23      moko     6947: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   6948:                  inttypes.h stdint.h unistd.h
                   6949: do
                   6950: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6951: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6952: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6953: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6954:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6955: else
                   6956:   cat >conftest.$ac_ext <<_ACEOF
                   6957: /* confdefs.h.  */
                   6958: _ACEOF
                   6959: cat confdefs.h >>conftest.$ac_ext
                   6960: cat >>conftest.$ac_ext <<_ACEOF
                   6961: /* end confdefs.h.  */
                   6962: $ac_includes_default
1.10      paf      6963: 
1.23      moko     6964: #include <$ac_header>
                   6965: _ACEOF
                   6966: rm -f conftest.$ac_objext
                   6967: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6968:   (eval $ac_compile) 2>conftest.er1
1.10      paf      6969:   ac_status=$?
1.16      paf      6970:   grep -v '^ *+' conftest.er1 >conftest.err
                   6971:   rm -f conftest.er1
                   6972:   cat conftest.err >&5
1.10      paf      6973:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6974:   (exit $ac_status); } &&
1.16      paf      6975:         { ac_try='test -z "$ac_c_werror_flag"
                   6976:                         || test ! -s conftest.err'
                   6977:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6978:   (eval $ac_try) 2>&5
                   6979:   ac_status=$?
                   6980:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6981:   (exit $ac_status); }; } &&
1.23      moko     6982:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      6983:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6984:   (eval $ac_try) 2>&5
                   6985:   ac_status=$?
                   6986:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6987:   (exit $ac_status); }; }; then
1.23      moko     6988:   eval "$as_ac_Header=yes"
1.10      paf      6989: else
                   6990:   echo "$as_me: failed program was:" >&5
                   6991: sed 's/^/| /' conftest.$ac_ext >&5
                   6992: 
1.23      moko     6993: eval "$as_ac_Header=no"
                   6994: fi
                   6995: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      6996: fi
1.23      moko     6997: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6998: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6999: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7000:   cat >>confdefs.h <<_ACEOF
                   7001: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7002: _ACEOF
                   7003: 
1.10      paf      7004: fi
1.23      moko     7005: 
                   7006: done
                   7007: 
                   7008: 
                   7009: 
                   7010: for ac_header in dlfcn.h
                   7011: do
                   7012: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7013: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7014: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7015: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.10      paf      7016:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7017: else
1.23      moko     7018:   cat >conftest.$ac_ext <<_ACEOF
1.10      paf      7019: /* confdefs.h.  */
                   7020: _ACEOF
                   7021: cat confdefs.h >>conftest.$ac_ext
                   7022: cat >>conftest.$ac_ext <<_ACEOF
                   7023: /* end confdefs.h.  */
1.23      moko     7024: $ac_includes_default
1.10      paf      7025: 
1.23      moko     7026: #include <$ac_header>
1.10      paf      7027: _ACEOF
1.23      moko     7028: rm -f conftest.$ac_objext
                   7029: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7030:   (eval $ac_compile) 2>conftest.er1
1.10      paf      7031:   ac_status=$?
1.16      paf      7032:   grep -v '^ *+' conftest.er1 >conftest.err
                   7033:   rm -f conftest.er1
                   7034:   cat conftest.err >&5
1.10      paf      7035:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7036:   (exit $ac_status); } &&
1.16      paf      7037:         { ac_try='test -z "$ac_c_werror_flag"
                   7038:                         || test ! -s conftest.err'
                   7039:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7040:   (eval $ac_try) 2>&5
                   7041:   ac_status=$?
                   7042:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7043:   (exit $ac_status); }; } &&
1.23      moko     7044:         { ac_try='test -s conftest.$ac_objext'
1.10      paf      7045:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7046:   (eval $ac_try) 2>&5
                   7047:   ac_status=$?
                   7048:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7049:   (exit $ac_status); }; }; then
1.23      moko     7050:   eval "$as_ac_Header=yes"
1.10      paf      7051: else
                   7052:   echo "$as_me: failed program was:" >&5
                   7053: sed 's/^/| /' conftest.$ac_ext >&5
                   7054: 
1.23      moko     7055: eval "$as_ac_Header=no"
1.10      paf      7056: fi
1.23      moko     7057: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.10      paf      7058: fi
1.23      moko     7059: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7060: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7061: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7062:   cat >>confdefs.h <<_ACEOF
                   7063: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.10      paf      7064: _ACEOF
1.16      paf      7065: 
1.23      moko     7066: fi
                   7067: 
                   7068: done
                   7069: 
1.16      paf      7070: 
                   7071: 
                   7072: 
1.23      moko     7073: func_stripname_cnf ()
1.10      paf      7074: {
1.23      moko     7075:   case ${2} in
                   7076:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7077:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7078:   esac
                   7079: } # func_stripname_cnf
                   7080: 
                   7081: 
                   7082: 
                   7083: 
                   7084: 
                   7085: # Set options
1.30    ! moko     7086: # Check whether --enable-static or --disable-static was given.
        !          7087: if test "${enable_static+set}" = set; then
        !          7088:   enableval="$enable_static"
        !          7089:   p=${PACKAGE-default}
        !          7090:     case $enableval in
        !          7091:     yes) enable_static=yes ;;
        !          7092:     no) enable_static=no ;;
        !          7093:     *)
        !          7094:      enable_static=no
        !          7095:       # Look at the argument we got.  We use all the common list separators.
        !          7096:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          7097:       for pkg in $enableval; do
        !          7098:        IFS="$lt_save_ifs"
        !          7099:        if test "X$pkg" = "X$p"; then
        !          7100:          enable_static=yes
        !          7101:        fi
        !          7102:       done
        !          7103:       IFS="$lt_save_ifs"
        !          7104:       ;;
        !          7105:     esac
        !          7106: else
        !          7107:   enable_static=no
        !          7108: fi;
        !          7109: 
        !          7110: 
        !          7111: 
        !          7112: 
        !          7113: 
        !          7114: 
1.23      moko     7115: enable_dlopen=yes
                   7116: enable_win32_dll=yes
1.10      paf      7117: 
1.23      moko     7118: case $host in
                   7119: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7120:   if test -n "$ac_tool_prefix"; then
                   7121:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7122: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7123: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7124: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7125: if test "${ac_cv_prog_AS+set}" = set; then
                   7126:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7127: else
                   7128:   if test -n "$AS"; then
                   7129:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7130: else
                   7131: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7132: for as_dir in $PATH
                   7133: do
                   7134:   IFS=$as_save_IFS
                   7135:   test -z "$as_dir" && as_dir=.
                   7136:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7137:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7138:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7139:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7140:     break 2
                   7141:   fi
                   7142: done
                   7143: done
                   7144: 
                   7145: fi
                   7146: fi
                   7147: AS=$ac_cv_prog_AS
                   7148: if test -n "$AS"; then
                   7149:   echo "$as_me:$LINENO: result: $AS" >&5
                   7150: echo "${ECHO_T}$AS" >&6
                   7151: else
                   7152:   echo "$as_me:$LINENO: result: no" >&5
                   7153: echo "${ECHO_T}no" >&6
                   7154: fi
                   7155: 
                   7156: fi
                   7157: if test -z "$ac_cv_prog_AS"; then
                   7158:   ac_ct_AS=$AS
                   7159:   # Extract the first word of "as", so it can be a program name with args.
                   7160: set dummy as; ac_word=$2
                   7161: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7162: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7163: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   7164:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7165: else
                   7166:   if test -n "$ac_ct_AS"; then
                   7167:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
1.10      paf      7168: else
1.23      moko     7169: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7170: for as_dir in $PATH
                   7171: do
                   7172:   IFS=$as_save_IFS
                   7173:   test -z "$as_dir" && as_dir=.
                   7174:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7175:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7176:     ac_cv_prog_ac_ct_AS="as"
                   7177:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7178:     break 2
                   7179:   fi
                   7180: done
                   7181: done
1.10      paf      7182: 
1.23      moko     7183:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
                   7184: fi
1.10      paf      7185: fi
1.23      moko     7186: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7187: if test -n "$ac_ct_AS"; then
                   7188:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   7189: echo "${ECHO_T}$ac_ct_AS" >&6
                   7190: else
                   7191:   echo "$as_me:$LINENO: result: no" >&5
                   7192: echo "${ECHO_T}no" >&6
1.10      paf      7193: fi
1.23      moko     7194: 
                   7195:   AS=$ac_ct_AS
1.10      paf      7196: else
1.23      moko     7197:   AS="$ac_cv_prog_AS"
                   7198: fi
                   7199: 
                   7200:   if test -n "$ac_tool_prefix"; then
                   7201:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7202: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7203: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7204: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7205: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
1.10      paf      7206:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7207: else
1.23      moko     7208:   if test -n "$DLLTOOL"; then
                   7209:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.10      paf      7210: else
1.23      moko     7211: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7212: for as_dir in $PATH
                   7213: do
                   7214:   IFS=$as_save_IFS
                   7215:   test -z "$as_dir" && as_dir=.
                   7216:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7217:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7218:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7219:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7220:     break 2
                   7221:   fi
                   7222: done
                   7223: done
1.10      paf      7224: 
                   7225: fi
                   7226: fi
1.23      moko     7227: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7228: if test -n "$DLLTOOL"; then
                   7229:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   7230: echo "${ECHO_T}$DLLTOOL" >&6
1.10      paf      7231: else
1.23      moko     7232:   echo "$as_me:$LINENO: result: no" >&5
                   7233: echo "${ECHO_T}no" >&6
                   7234: fi
                   7235: 
                   7236: fi
                   7237: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7238:   ac_ct_DLLTOOL=$DLLTOOL
                   7239:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7240: set dummy dlltool; ac_word=$2
                   7241: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7242: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7243: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.10      paf      7244:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7245: else
1.23      moko     7246:   if test -n "$ac_ct_DLLTOOL"; then
                   7247:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1.10      paf      7248: else
1.23      moko     7249: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7250: for as_dir in $PATH
                   7251: do
                   7252:   IFS=$as_save_IFS
                   7253:   test -z "$as_dir" && as_dir=.
                   7254:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7255:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7256:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7257:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7258:     break 2
                   7259:   fi
                   7260: done
                   7261: done
1.10      paf      7262: 
1.23      moko     7263:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   7264: fi
1.10      paf      7265: fi
1.23      moko     7266: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7267: if test -n "$ac_ct_DLLTOOL"; then
                   7268:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   7269: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   7270: else
                   7271:   echo "$as_me:$LINENO: result: no" >&5
                   7272: echo "${ECHO_T}no" >&6
1.10      paf      7273: fi
1.23      moko     7274: 
                   7275:   DLLTOOL=$ac_ct_DLLTOOL
1.10      paf      7276: else
1.23      moko     7277:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7278: fi
                   7279: 
                   7280:   if test -n "$ac_tool_prefix"; then
                   7281:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7282: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7283: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7284: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7285: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
1.10      paf      7286:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7287: else
1.23      moko     7288:   if test -n "$OBJDUMP"; then
                   7289:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7290: else
                   7291: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7292: for as_dir in $PATH
                   7293: do
                   7294:   IFS=$as_save_IFS
                   7295:   test -z "$as_dir" && as_dir=.
                   7296:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7297:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7298:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7299:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7300:     break 2
                   7301:   fi
                   7302: done
                   7303: done
                   7304: 
                   7305: fi
                   7306: fi
                   7307: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7308: if test -n "$OBJDUMP"; then
                   7309:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   7310: echo "${ECHO_T}$OBJDUMP" >&6
                   7311: else
                   7312:   echo "$as_me:$LINENO: result: no" >&5
                   7313: echo "${ECHO_T}no" >&6
                   7314: fi
1.10      paf      7315: 
1.23      moko     7316: fi
                   7317: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7318:   ac_ct_OBJDUMP=$OBJDUMP
                   7319:   # Extract the first word of "objdump", so it can be a program name with args.
                   7320: set dummy objdump; ac_word=$2
                   7321: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7322: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7323: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   7324:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7325: else
                   7326:   if test -n "$ac_ct_OBJDUMP"; then
                   7327:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
1.10      paf      7328: else
1.23      moko     7329: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7330: for as_dir in $PATH
                   7331: do
                   7332:   IFS=$as_save_IFS
                   7333:   test -z "$as_dir" && as_dir=.
                   7334:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7335:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7336:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7337:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7338:     break 2
                   7339:   fi
                   7340: done
                   7341: done
1.10      paf      7342: 
1.23      moko     7343:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   7344: fi
1.10      paf      7345: fi
1.23      moko     7346: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7347: if test -n "$ac_ct_OBJDUMP"; then
                   7348:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   7349: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   7350: else
                   7351:   echo "$as_me:$LINENO: result: no" >&5
                   7352: echo "${ECHO_T}no" >&6
1.10      paf      7353: fi
1.23      moko     7354: 
                   7355:   OBJDUMP=$ac_ct_OBJDUMP
                   7356: else
                   7357:   OBJDUMP="$ac_cv_prog_OBJDUMP"
1.10      paf      7358: fi
                   7359: 
1.23      moko     7360:   ;;
                   7361: esac
                   7362: 
                   7363: test -z "$AS" && AS=as
                   7364: 
                   7365: 
                   7366: 
                   7367: 
1.10      paf      7368: 
1.23      moko     7369: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.10      paf      7370: 
                   7371: 
                   7372: 
                   7373: 
                   7374: 
1.23      moko     7375: test -z "$OBJDUMP" && OBJDUMP=objdump
1.10      paf      7376: 
                   7377: 
                   7378: 
                   7379: 
                   7380: 
                   7381: 
                   7382: 
                   7383: 
                   7384: 
1.23      moko     7385:             # Check whether --enable-shared or --disable-shared was given.
                   7386: if test "${enable_shared+set}" = set; then
                   7387:   enableval="$enable_shared"
                   7388:   p=${PACKAGE-default}
                   7389:     case $enableval in
                   7390:     yes) enable_shared=yes ;;
                   7391:     no) enable_shared=no ;;
                   7392:     *)
                   7393:       enable_shared=no
                   7394:       # Look at the argument we got.  We use all the common list separators.
                   7395:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7396:       for pkg in $enableval; do
                   7397:        IFS="$lt_save_ifs"
                   7398:        if test "X$pkg" = "X$p"; then
                   7399:          enable_shared=yes
                   7400:        fi
                   7401:       done
                   7402:       IFS="$lt_save_ifs"
                   7403:       ;;
                   7404:     esac
1.10      paf      7405: else
1.23      moko     7406:   enable_shared=yes
                   7407: fi;
1.10      paf      7408: 
                   7409: 
                   7410: 
                   7411: 
                   7412: 
                   7413: 
                   7414: 
                   7415: 
                   7416: 
                   7417: 
1.23      moko     7418: # Check whether --with-pic or --without-pic was given.
                   7419: if test "${with_pic+set}" = set; then
                   7420:   withval="$with_pic"
                   7421:   lt_p=${PACKAGE-default}
                   7422:     case $withval in
                   7423:     yes|no) pic_mode=$withval ;;
                   7424:     *)
                   7425:       pic_mode=default
                   7426:       # Look at the argument we got.  We use all the common list separators.
                   7427:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7428:       for lt_pkg in $withval; do
                   7429:        IFS="$lt_save_ifs"
                   7430:        if test "X$lt_pkg" = "X$lt_p"; then
                   7431:          pic_mode=yes
                   7432:        fi
                   7433:       done
                   7434:       IFS="$lt_save_ifs"
                   7435:       ;;
1.10      paf      7436:     esac
1.23      moko     7437: else
                   7438:   pic_mode=default
                   7439: fi;
1.10      paf      7440: 
1.23      moko     7441: test -z "$pic_mode" && pic_mode=default
1.10      paf      7442: 
                   7443: 
                   7444: 
                   7445: 
                   7446: 
                   7447: 
                   7448: 
1.23      moko     7449:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   7450: if test "${enable_fast_install+set}" = set; then
                   7451:   enableval="$enable_fast_install"
                   7452:   p=${PACKAGE-default}
                   7453:     case $enableval in
                   7454:     yes) enable_fast_install=yes ;;
                   7455:     no) enable_fast_install=no ;;
1.10      paf      7456:     *)
1.23      moko     7457:       enable_fast_install=no
                   7458:       # Look at the argument we got.  We use all the common list separators.
                   7459:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7460:       for pkg in $enableval; do
                   7461:        IFS="$lt_save_ifs"
                   7462:        if test "X$pkg" = "X$p"; then
                   7463:          enable_fast_install=yes
                   7464:        fi
                   7465:       done
                   7466:       IFS="$lt_save_ifs"
1.10      paf      7467:       ;;
                   7468:     esac
1.23      moko     7469: else
                   7470:   enable_fast_install=yes
                   7471: fi;
1.10      paf      7472: 
                   7473: 
                   7474: 
                   7475: 
                   7476: 
                   7477: 
                   7478: 
                   7479: 
                   7480: 
                   7481: 
1.23      moko     7482: # This can be used to rebuild libtool when needed
                   7483: LIBTOOL_DEPS="$ltmain"
1.10      paf      7484: 
1.23      moko     7485: # Always use our own libtool.
                   7486: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.10      paf      7487: 
                   7488: 
                   7489: 
                   7490: 
                   7491: 
                   7492: 
                   7493: 
                   7494: 
                   7495: 
                   7496: 
                   7497: 
                   7498: 
                   7499: 
                   7500: 
                   7501: 
                   7502: 
                   7503: 
                   7504: 
                   7505: 
                   7506: 
                   7507: 
                   7508: 
                   7509: 
                   7510: 
                   7511: 
                   7512: 
                   7513: 
                   7514: 
                   7515: 
                   7516: 
1.23      moko     7517: test -z "$LN_S" && LN_S="ln -s"
1.10      paf      7518: 
                   7519: 
                   7520: 
                   7521: 
                   7522: 
                   7523: 
                   7524: 
                   7525: 
                   7526: 
                   7527: 
                   7528: 
                   7529: 
                   7530: 
                   7531: 
1.23      moko     7532: if test -n "${ZSH_VERSION+set}" ; then
                   7533:    setopt NO_GLOB_SUBST
                   7534: fi
1.10      paf      7535: 
1.23      moko     7536: echo "$as_me:$LINENO: checking for objdir" >&5
                   7537: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   7538: if test "${lt_cv_objdir+set}" = set; then
                   7539:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7540: else
                   7541:   rm -f .libs 2>/dev/null
                   7542: mkdir .libs 2>/dev/null
                   7543: if test -d .libs; then
                   7544:   lt_cv_objdir=.libs
                   7545: else
                   7546:   # MS-DOS does not allow filenames that begin with a dot.
                   7547:   lt_cv_objdir=_libs
                   7548: fi
                   7549: rmdir .libs 2>/dev/null
                   7550: fi
                   7551: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   7552: echo "${ECHO_T}$lt_cv_objdir" >&6
                   7553: objdir=$lt_cv_objdir
1.10      paf      7554: 
                   7555: 
                   7556: 
                   7557: 
                   7558: 
1.23      moko     7559: cat >>confdefs.h <<_ACEOF
                   7560: #define LT_OBJDIR "$lt_cv_objdir/"
                   7561: _ACEOF
1.10      paf      7562: 
                   7563: 
                   7564: 
                   7565: 
1.23      moko     7566: case $host_os in
                   7567: aix3*)
                   7568:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7569:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7570:   # vanish in a puff of smoke.
                   7571:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7572:     COLLECT_NAMES=
                   7573:     export COLLECT_NAMES
                   7574:   fi
                   7575:   ;;
                   7576: esac
1.10      paf      7577: 
1.23      moko     7578: # Global variables:
                   7579: ofile=libtool
                   7580: can_build_shared=yes
1.10      paf      7581: 
1.23      moko     7582: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7583: # which needs '.lib').
                   7584: libext=a
1.10      paf      7585: 
1.23      moko     7586: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.10      paf      7587: 
1.23      moko     7588: old_CC="$CC"
                   7589: old_CFLAGS="$CFLAGS"
1.10      paf      7590: 
1.23      moko     7591: # Set sane defaults for various variables
                   7592: test -z "$CC" && CC=cc
                   7593: test -z "$LTCC" && LTCC=$CC
                   7594: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7595: test -z "$LD" && LD=ld
                   7596: test -z "$ac_objext" && ac_objext=o
1.10      paf      7597: 
1.23      moko     7598: for cc_temp in $compiler""; do
                   7599:   case $cc_temp in
                   7600:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7601:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7602:     \-*) ;;
                   7603:     *) break;;
                   7604:   esac
                   7605: done
                   7606: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.10      paf      7607: 
                   7608: 
1.23      moko     7609: # Only perform the check for file, if the check method requires it
                   7610: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7611: case $deplibs_check_method in
                   7612: file_magic*)
                   7613:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   7614:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   7615: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   7616: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   7617:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7618: else
                   7619:   case $MAGIC_CMD in
                   7620: [\\/*] |  ?:[\\/]*)
                   7621:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7622:   ;;
                   7623: *)
                   7624:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7625:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7626:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7627:   for ac_dir in $ac_dummy; do
                   7628:     IFS="$lt_save_ifs"
                   7629:     test -z "$ac_dir" && ac_dir=.
                   7630:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7631:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7632:       if test -n "$file_magic_test_file"; then
                   7633:        case $deplibs_check_method in
                   7634:        "file_magic "*)
                   7635:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7636:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7637:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7638:            $EGREP "$file_magic_regex" > /dev/null; then
                   7639:            :
                   7640:          else
                   7641:            cat <<_LT_EOF 1>&2
1.10      paf      7642: 
1.23      moko     7643: *** Warning: the command libtool uses to detect shared libraries,
                   7644: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7645: *** The result is that libtool may fail to recognize shared libraries
                   7646: *** as such.  This will affect the creation of libtool libraries that
                   7647: *** depend on shared libraries, but programs linked with such libtool
                   7648: *** libraries will work regardless of this problem.  Nevertheless, you
                   7649: *** may want to report the problem to your system manager and/or to
                   7650: *** bug-libtool@gnu.org
1.10      paf      7651: 
1.23      moko     7652: _LT_EOF
                   7653:          fi ;;
                   7654:        esac
                   7655:       fi
                   7656:       break
                   7657:     fi
                   7658:   done
                   7659:   IFS="$lt_save_ifs"
                   7660:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7661:   ;;
                   7662: esac
                   7663: fi
1.10      paf      7664: 
1.23      moko     7665: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7666: if test -n "$MAGIC_CMD"; then
                   7667:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   7668: echo "${ECHO_T}$MAGIC_CMD" >&6
                   7669: else
                   7670:   echo "$as_me:$LINENO: result: no" >&5
                   7671: echo "${ECHO_T}no" >&6
                   7672: fi
1.10      paf      7673: 
                   7674: 
                   7675: 
                   7676: 
                   7677: 
1.23      moko     7678: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7679:   if test -n "$ac_tool_prefix"; then
                   7680:     echo "$as_me:$LINENO: checking for file" >&5
                   7681: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   7682: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   7683:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7684: else
                   7685:   case $MAGIC_CMD in
                   7686: [\\/*] |  ?:[\\/]*)
                   7687:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7688:   ;;
                   7689: *)
                   7690:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7691:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7692:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7693:   for ac_dir in $ac_dummy; do
                   7694:     IFS="$lt_save_ifs"
                   7695:     test -z "$ac_dir" && ac_dir=.
                   7696:     if test -f $ac_dir/file; then
                   7697:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7698:       if test -n "$file_magic_test_file"; then
                   7699:        case $deplibs_check_method in
                   7700:        "file_magic "*)
                   7701:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7702:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7703:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7704:            $EGREP "$file_magic_regex" > /dev/null; then
                   7705:            :
                   7706:          else
                   7707:            cat <<_LT_EOF 1>&2
1.10      paf      7708: 
1.23      moko     7709: *** Warning: the command libtool uses to detect shared libraries,
                   7710: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7711: *** The result is that libtool may fail to recognize shared libraries
                   7712: *** as such.  This will affect the creation of libtool libraries that
                   7713: *** depend on shared libraries, but programs linked with such libtool
                   7714: *** libraries will work regardless of this problem.  Nevertheless, you
                   7715: *** may want to report the problem to your system manager and/or to
                   7716: *** bug-libtool@gnu.org
1.10      paf      7717: 
1.23      moko     7718: _LT_EOF
                   7719:          fi ;;
                   7720:        esac
                   7721:       fi
                   7722:       break
                   7723:     fi
                   7724:   done
                   7725:   IFS="$lt_save_ifs"
                   7726:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7727:   ;;
                   7728: esac
                   7729: fi
1.10      paf      7730: 
1.23      moko     7731: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7732: if test -n "$MAGIC_CMD"; then
                   7733:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   7734: echo "${ECHO_T}$MAGIC_CMD" >&6
                   7735: else
                   7736:   echo "$as_me:$LINENO: result: no" >&5
                   7737: echo "${ECHO_T}no" >&6
1.10      paf      7738: fi
                   7739: 
                   7740: 
1.23      moko     7741:   else
                   7742:     MAGIC_CMD=:
                   7743:   fi
1.10      paf      7744: fi
                   7745: 
1.23      moko     7746:   fi
                   7747:   ;;
                   7748: esac
1.10      paf      7749: 
1.23      moko     7750: # Use C for the default configuration in the libtool script
1.10      paf      7751: 
1.23      moko     7752: lt_save_CC="$CC"
                   7753: ac_ext=c
                   7754: ac_cpp='$CPP $CPPFLAGS'
                   7755: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7756: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7757: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      paf      7758: 
                   7759: 
1.23      moko     7760: # Source file extension for C test sources.
                   7761: ac_ext=c
1.10      paf      7762: 
1.23      moko     7763: # Object file extension for compiled C test sources.
                   7764: objext=o
                   7765: objext=$objext
1.10      paf      7766: 
1.23      moko     7767: # Code to be used in simple compile tests
                   7768: lt_simple_compile_test_code="int some_variable = 0;"
1.10      paf      7769: 
1.23      moko     7770: # Code to be used in simple link tests
                   7771: lt_simple_link_test_code='int main(){return(0);}'
1.10      paf      7772: 
                   7773: 
                   7774: 
                   7775: 
                   7776: 
                   7777: 
                   7778: 
1.23      moko     7779: # If no C compiler was specified, use CC.
                   7780: LTCC=${LTCC-"$CC"}
1.10      paf      7781: 
1.23      moko     7782: # If no C compiler flags were specified, use CFLAGS.
                   7783: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.10      paf      7784: 
1.23      moko     7785: # Allow CC to be a program name with arguments.
                   7786: compiler=$CC
1.10      paf      7787: 
1.23      moko     7788: # Save the default compiler, since it gets overwritten when the other
                   7789: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   7790: compiler_DEFAULT=$CC
                   7791: 
                   7792: # save warnings/boilerplate of simple test code
                   7793: ac_outfile=conftest.$ac_objext
                   7794: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   7795: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7796: _lt_compiler_boilerplate=`cat conftest.err`
                   7797: $RM conftest*
                   7798: 
                   7799: ac_outfile=conftest.$ac_objext
                   7800: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   7801: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7802: _lt_linker_boilerplate=`cat conftest.err`
                   7803: $RM -r conftest*
                   7804: 
                   7805: 
                   7806: ## CAVEAT EMPTOR:
                   7807: ## There is no encapsulation within the following macros, do not change
                   7808: ## the running order or otherwise move them around unless you know exactly
                   7809: ## what you are doing...
                   7810: if test -n "$compiler"; then
1.10      paf      7811: 
1.23      moko     7812: lt_prog_compiler_no_builtin_flag=
1.13      paf      7813: 
1.23      moko     7814: if test "$GCC" = yes; then
                   7815:   case $cc_basename in
                   7816:   nvcc*)
                   7817:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   7818:   *)
                   7819:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   7820:   esac
1.10      paf      7821: 
1.23      moko     7822:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   7823: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   7824: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.10      paf      7825:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7826: else
1.23      moko     7827:   lt_cv_prog_compiler_rtti_exceptions=no
                   7828:    ac_outfile=conftest.$ac_objext
                   7829:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7830:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   7831:    # Insert the option either (1) after the last *FLAGS variable, or
                   7832:    # (2) before a word containing "conftest.", or (3) at the end.
                   7833:    # Note that $ac_compile itself does not contain backslashes and begins
                   7834:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7835:    # The option is referenced via a variable to avoid confusing sed.
                   7836:    lt_compile=`echo "$ac_compile" | $SED \
                   7837:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7838:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7839:    -e 's:$: $lt_compiler_flag:'`
                   7840:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   7841:    (eval "$lt_compile" 2>conftest.err)
                   7842:    ac_status=$?
                   7843:    cat conftest.err >&5
                   7844:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7845:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7846:      # The compiler can only warn and ignore the option if not recognized
                   7847:      # So say no if there are warnings other than the usual output.
                   7848:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   7849:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7850:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7851:        lt_cv_prog_compiler_rtti_exceptions=yes
                   7852:      fi
                   7853:    fi
                   7854:    $RM conftest*
1.10      paf      7855: 
                   7856: fi
1.23      moko     7857: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   7858: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.10      paf      7859: 
1.23      moko     7860: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   7861:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.10      paf      7862: else
1.23      moko     7863:     :
1.10      paf      7864: fi
                   7865: 
                   7866: fi
                   7867: 
1.23      moko     7868: 
                   7869: 
                   7870: 
                   7871: 
                   7872: 
                   7873:   lt_prog_compiler_wl=
                   7874: lt_prog_compiler_pic=
                   7875: lt_prog_compiler_static=
                   7876: 
                   7877: 
                   7878:   if test "$GCC" = yes; then
                   7879:     lt_prog_compiler_wl='-Wl,'
                   7880:     lt_prog_compiler_static='-static'
                   7881: 
                   7882:     case $host_os in
                   7883:       aix*)
                   7884:       # All AIX code is PIC.
                   7885:       if test "$host_cpu" = ia64; then
                   7886:        # AIX 5 now supports IA64 processor
                   7887:        lt_prog_compiler_static='-Bstatic'
                   7888:       fi
                   7889:       ;;
                   7890: 
                   7891:     amigaos*)
                   7892:       case $host_cpu in
                   7893:       powerpc)
                   7894:             # see comment about AmigaOS4 .so support
                   7895:             lt_prog_compiler_pic='-fPIC'
                   7896:         ;;
                   7897:       m68k)
                   7898:             # FIXME: we need at least 68020 code to build shared libraries, but
                   7899:             # adding the `-m68020' flag to GCC prevents building anything better,
                   7900:             # like `-m68040'.
                   7901:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   7902:         ;;
                   7903:       esac
                   7904:       ;;
                   7905: 
                   7906:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   7907:       # PIC is the default for these OSes.
                   7908:       ;;
                   7909: 
                   7910:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7911:       # This hack is so that the source file can tell whether it is being
                   7912:       # built for inclusion in a dll (and should export symbols for example).
                   7913:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   7914:       # (--disable-auto-import) libraries
                   7915:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7916:       ;;
                   7917: 
                   7918:     darwin* | rhapsody*)
                   7919:       # PIC is the default on this platform
                   7920:       # Common symbols not allowed in MH_DYLIB files
                   7921:       lt_prog_compiler_pic='-fno-common'
                   7922:       ;;
                   7923: 
                   7924:     haiku*)
                   7925:       # PIC is the default for Haiku.
                   7926:       # The "-static" flag exists, but is broken.
                   7927:       lt_prog_compiler_static=
                   7928:       ;;
                   7929: 
                   7930:     hpux*)
                   7931:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   7932:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   7933:       # sets the default TLS model and affects inlining.
                   7934:       case $host_cpu in
                   7935:       hppa*64*)
                   7936:        # +Z the default
                   7937:        ;;
                   7938:       *)
                   7939:        lt_prog_compiler_pic='-fPIC'
                   7940:        ;;
                   7941:       esac
                   7942:       ;;
                   7943: 
                   7944:     interix[3-9]*)
                   7945:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   7946:       # Instead, we relocate shared libraries at runtime.
                   7947:       ;;
                   7948: 
                   7949:     msdosdjgpp*)
                   7950:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   7951:       # on systems that don't support them.
                   7952:       lt_prog_compiler_can_build_shared=no
                   7953:       enable_shared=no
                   7954:       ;;
                   7955: 
                   7956:     *nto* | *qnx*)
                   7957:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   7958:       # it will coredump.
                   7959:       lt_prog_compiler_pic='-fPIC -shared'
                   7960:       ;;
                   7961: 
                   7962:     sysv4*MP*)
                   7963:       if test -d /usr/nec; then
                   7964:        lt_prog_compiler_pic=-Kconform_pic
                   7965:       fi
                   7966:       ;;
                   7967: 
                   7968:     *)
                   7969:       lt_prog_compiler_pic='-fPIC'
                   7970:       ;;
                   7971:     esac
                   7972: 
                   7973:     case $cc_basename in
                   7974:     nvcc*) # Cuda Compiler Driver 2.2
                   7975:       lt_prog_compiler_wl='-Xlinker '
                   7976:       if test -n "$lt_prog_compiler_pic"; then
                   7977:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   7978:       fi
                   7979:       ;;
                   7980:     esac
                   7981:   else
                   7982:     # PORTME Check for flag to pass linker flags through the system compiler.
                   7983:     case $host_os in
                   7984:     aix*)
                   7985:       lt_prog_compiler_wl='-Wl,'
                   7986:       if test "$host_cpu" = ia64; then
                   7987:        # AIX 5 now supports IA64 processor
                   7988:        lt_prog_compiler_static='-Bstatic'
                   7989:       else
                   7990:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   7991:       fi
                   7992:       ;;
                   7993: 
                   7994:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7995:       # This hack is so that the source file can tell whether it is being
                   7996:       # built for inclusion in a dll (and should export symbols for example).
                   7997:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7998:       ;;
                   7999: 
                   8000:     hpux9* | hpux10* | hpux11*)
                   8001:       lt_prog_compiler_wl='-Wl,'
                   8002:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8003:       # not for PA HP-UX.
                   8004:       case $host_cpu in
                   8005:       hppa*64*|ia64*)
                   8006:        # +Z the default
                   8007:        ;;
                   8008:       *)
                   8009:        lt_prog_compiler_pic='+Z'
                   8010:        ;;
                   8011:       esac
                   8012:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8013:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8014:       ;;
                   8015: 
                   8016:     irix5* | irix6* | nonstopux*)
                   8017:       lt_prog_compiler_wl='-Wl,'
                   8018:       # PIC (with -KPIC) is the default.
                   8019:       lt_prog_compiler_static='-non_shared'
                   8020:       ;;
                   8021: 
                   8022:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8023:       case $cc_basename in
                   8024:       # old Intel for x86_64 which still supported -KPIC.
                   8025:       ecc*)
                   8026:        lt_prog_compiler_wl='-Wl,'
                   8027:        lt_prog_compiler_pic='-KPIC'
                   8028:        lt_prog_compiler_static='-static'
                   8029:         ;;
                   8030:       # icc used to be incompatible with GCC.
                   8031:       # ICC 10 doesn't accept -KPIC any more.
                   8032:       icc* | ifort*)
                   8033:        lt_prog_compiler_wl='-Wl,'
                   8034:        lt_prog_compiler_pic='-fPIC'
                   8035:        lt_prog_compiler_static='-static'
                   8036:         ;;
                   8037:       # Lahey Fortran 8.1.
                   8038:       lf95*)
                   8039:        lt_prog_compiler_wl='-Wl,'
                   8040:        lt_prog_compiler_pic='--shared'
                   8041:        lt_prog_compiler_static='--static'
                   8042:        ;;
                   8043:       nagfor*)
                   8044:        # NAG Fortran compiler
                   8045:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8046:        lt_prog_compiler_pic='-PIC'
                   8047:        lt_prog_compiler_static='-Bstatic'
                   8048:        ;;
                   8049:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8050:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8051:        # which looks to be a dead project)
                   8052:        lt_prog_compiler_wl='-Wl,'
                   8053:        lt_prog_compiler_pic='-fpic'
                   8054:        lt_prog_compiler_static='-Bstatic'
                   8055:         ;;
                   8056:       ccc*)
                   8057:         lt_prog_compiler_wl='-Wl,'
                   8058:         # All Alpha code is PIC.
                   8059:         lt_prog_compiler_static='-non_shared'
                   8060:         ;;
                   8061:       xl* | bgxl* | bgf* | mpixl*)
                   8062:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8063:        lt_prog_compiler_wl='-Wl,'
                   8064:        lt_prog_compiler_pic='-qpic'
                   8065:        lt_prog_compiler_static='-qstaticlink'
                   8066:        ;;
                   8067:       *)
                   8068:        case `$CC -V 2>&1 | sed 5q` in
                   8069:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8070:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8071:          lt_prog_compiler_pic='-KPIC'
                   8072:          lt_prog_compiler_static='-Bstatic'
                   8073:          lt_prog_compiler_wl=''
                   8074:          ;;
                   8075:        *Sun\ F* | *Sun*Fortran*)
                   8076:          lt_prog_compiler_pic='-KPIC'
                   8077:          lt_prog_compiler_static='-Bstatic'
                   8078:          lt_prog_compiler_wl='-Qoption ld '
                   8079:          ;;
                   8080:        *Sun\ C*)
                   8081:          # Sun C 5.9
                   8082:          lt_prog_compiler_pic='-KPIC'
                   8083:          lt_prog_compiler_static='-Bstatic'
                   8084:          lt_prog_compiler_wl='-Wl,'
                   8085:          ;;
                   8086:         *Intel*\ [CF]*Compiler*)
                   8087:          lt_prog_compiler_wl='-Wl,'
                   8088:          lt_prog_compiler_pic='-fPIC'
                   8089:          lt_prog_compiler_static='-static'
                   8090:          ;;
                   8091:        *Portland\ Group*)
                   8092:          lt_prog_compiler_wl='-Wl,'
                   8093:          lt_prog_compiler_pic='-fpic'
                   8094:          lt_prog_compiler_static='-Bstatic'
                   8095:          ;;
                   8096:        esac
                   8097:        ;;
                   8098:       esac
                   8099:       ;;
                   8100: 
                   8101:     newsos6)
                   8102:       lt_prog_compiler_pic='-KPIC'
                   8103:       lt_prog_compiler_static='-Bstatic'
                   8104:       ;;
                   8105: 
                   8106:     *nto* | *qnx*)
                   8107:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8108:       # it will coredump.
                   8109:       lt_prog_compiler_pic='-fPIC -shared'
                   8110:       ;;
                   8111: 
                   8112:     osf3* | osf4* | osf5*)
                   8113:       lt_prog_compiler_wl='-Wl,'
                   8114:       # All OSF/1 code is PIC.
                   8115:       lt_prog_compiler_static='-non_shared'
                   8116:       ;;
                   8117: 
                   8118:     rdos*)
                   8119:       lt_prog_compiler_static='-non_shared'
                   8120:       ;;
                   8121: 
                   8122:     solaris*)
                   8123:       lt_prog_compiler_pic='-KPIC'
                   8124:       lt_prog_compiler_static='-Bstatic'
                   8125:       case $cc_basename in
                   8126:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8127:        lt_prog_compiler_wl='-Qoption ld ';;
                   8128:       *)
                   8129:        lt_prog_compiler_wl='-Wl,';;
                   8130:       esac
                   8131:       ;;
                   8132: 
                   8133:     sunos4*)
                   8134:       lt_prog_compiler_wl='-Qoption ld '
                   8135:       lt_prog_compiler_pic='-PIC'
                   8136:       lt_prog_compiler_static='-Bstatic'
                   8137:       ;;
                   8138: 
                   8139:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8140:       lt_prog_compiler_wl='-Wl,'
                   8141:       lt_prog_compiler_pic='-KPIC'
                   8142:       lt_prog_compiler_static='-Bstatic'
                   8143:       ;;
                   8144: 
                   8145:     sysv4*MP*)
                   8146:       if test -d /usr/nec ;then
                   8147:        lt_prog_compiler_pic='-Kconform_pic'
                   8148:        lt_prog_compiler_static='-Bstatic'
                   8149:       fi
                   8150:       ;;
                   8151: 
                   8152:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8153:       lt_prog_compiler_wl='-Wl,'
                   8154:       lt_prog_compiler_pic='-KPIC'
                   8155:       lt_prog_compiler_static='-Bstatic'
                   8156:       ;;
                   8157: 
                   8158:     unicos*)
                   8159:       lt_prog_compiler_wl='-Wl,'
                   8160:       lt_prog_compiler_can_build_shared=no
                   8161:       ;;
                   8162: 
                   8163:     uts4*)
                   8164:       lt_prog_compiler_pic='-pic'
                   8165:       lt_prog_compiler_static='-Bstatic'
                   8166:       ;;
                   8167: 
                   8168:     *)
                   8169:       lt_prog_compiler_can_build_shared=no
                   8170:       ;;
                   8171:     esac
                   8172:   fi
                   8173: 
                   8174: case $host_os in
                   8175:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8176:   *djgpp*)
                   8177:     lt_prog_compiler_pic=
1.10      paf      8178:     ;;
1.23      moko     8179:   *)
                   8180:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
1.10      paf      8181:     ;;
                   8182: esac
1.23      moko     8183: 
                   8184: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   8185: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   8186: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   8187:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8188: else
                   8189:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8190: fi
                   8191: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   8192: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
                   8193: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8194: 
                   8195: #
                   8196: # Check to make sure the PIC flag actually works.
                   8197: #
                   8198: if test -n "$lt_prog_compiler_pic"; then
                   8199:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8200: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   8201: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
1.10      paf      8202:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8203: else
1.23      moko     8204:   lt_cv_prog_compiler_pic_works=no
                   8205:    ac_outfile=conftest.$ac_objext
                   8206:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8207:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8208:    # Insert the option either (1) after the last *FLAGS variable, or
                   8209:    # (2) before a word containing "conftest.", or (3) at the end.
                   8210:    # Note that $ac_compile itself does not contain backslashes and begins
                   8211:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8212:    # The option is referenced via a variable to avoid confusing sed.
                   8213:    lt_compile=`echo "$ac_compile" | $SED \
                   8214:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8215:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8216:    -e 's:$: $lt_compiler_flag:'`
                   8217:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8218:    (eval "$lt_compile" 2>conftest.err)
                   8219:    ac_status=$?
                   8220:    cat conftest.err >&5
                   8221:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8222:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8223:      # The compiler can only warn and ignore the option if not recognized
                   8224:      # So say no if there are warnings other than the usual output.
                   8225:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8226:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8227:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8228:        lt_cv_prog_compiler_pic_works=yes
                   8229:      fi
                   8230:    fi
                   8231:    $RM conftest*
                   8232: 
1.1       parser   8233: fi
1.23      moko     8234: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   8235: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
1.10      paf      8236: 
1.23      moko     8237: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8238:     case $lt_prog_compiler_pic in
                   8239:      "" | " "*) ;;
                   8240:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8241:      esac
                   8242: else
                   8243:     lt_prog_compiler_pic=
                   8244:      lt_prog_compiler_can_build_shared=no
1.1       parser   8245: fi
                   8246: 
                   8247: fi
                   8248: 
1.10      paf      8249: 
1.1       parser   8250: 
                   8251: 
1.10      paf      8252: 
1.1       parser   8253: 
                   8254: 
                   8255: 
                   8256: 
                   8257: 
                   8258: 
1.23      moko     8259: #
                   8260: # Check to make sure the static flag actually works.
                   8261: #
                   8262: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8263: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8264: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8265: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8266:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8267: else
                   8268:   lt_cv_prog_compiler_static_works=no
                   8269:    save_LDFLAGS="$LDFLAGS"
                   8270:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8271:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8272:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8273:      # The linker can only warn and ignore the option if not recognized
                   8274:      # So say no if there are warnings
                   8275:      if test -s conftest.err; then
                   8276:        # Append any errors to the config.log.
                   8277:        cat conftest.err 1>&5
                   8278:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8279:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8280:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8281:          lt_cv_prog_compiler_static_works=yes
                   8282:        fi
                   8283:      else
                   8284:        lt_cv_prog_compiler_static_works=yes
                   8285:      fi
                   8286:    fi
                   8287:    $RM -r conftest*
                   8288:    LDFLAGS="$save_LDFLAGS"
1.10      paf      8289: 
1.23      moko     8290: fi
                   8291: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8292: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
1.10      paf      8293: 
1.23      moko     8294: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8295:     :
                   8296: else
                   8297:     lt_prog_compiler_static=
1.1       parser   8298: fi
                   8299: 
                   8300: 
                   8301: 
1.10      paf      8302: 
                   8303: 
                   8304: 
1.1       parser   8305: 
1.23      moko     8306:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8307: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8308: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8309:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8310: else
                   8311:   lt_cv_prog_compiler_c_o=no
                   8312:    $RM -r conftest 2>/dev/null
                   8313:    mkdir conftest
                   8314:    cd conftest
                   8315:    mkdir out
                   8316:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8317: 
                   8318:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8319:    # Insert the option either (1) after the last *FLAGS variable, or
                   8320:    # (2) before a word containing "conftest.", or (3) at the end.
                   8321:    # Note that $ac_compile itself does not contain backslashes and begins
                   8322:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8323:    lt_compile=`echo "$ac_compile" | $SED \
                   8324:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8325:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8326:    -e 's:$: $lt_compiler_flag:'`
                   8327:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8328:    (eval "$lt_compile" 2>out/conftest.err)
                   8329:    ac_status=$?
                   8330:    cat out/conftest.err >&5
                   8331:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8332:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8333:    then
                   8334:      # The compiler can only warn and ignore the option if not recognized
                   8335:      # So say no if there are warnings
                   8336:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8337:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8338:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8339:        lt_cv_prog_compiler_c_o=yes
                   8340:      fi
                   8341:    fi
                   8342:    chmod u+w . 2>&5
                   8343:    $RM conftest*
                   8344:    # SGI C++ compiler will create directory out/ii_files/ for
                   8345:    # template instantiation
                   8346:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8347:    $RM out/* && rmdir out
                   8348:    cd ..
                   8349:    $RM -r conftest
                   8350:    $RM conftest*
                   8351: 
1.10      paf      8352: fi
1.23      moko     8353: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8354: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   8355: 
1.1       parser   8356: 
1.10      paf      8357: 
                   8358: 
                   8359: 
                   8360: 
1.23      moko     8361:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8362: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8363: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8364:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.10      paf      8365: else
1.23      moko     8366:   lt_cv_prog_compiler_c_o=no
                   8367:    $RM -r conftest 2>/dev/null
                   8368:    mkdir conftest
                   8369:    cd conftest
                   8370:    mkdir out
                   8371:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8372: 
                   8373:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8374:    # Insert the option either (1) after the last *FLAGS variable, or
                   8375:    # (2) before a word containing "conftest.", or (3) at the end.
                   8376:    # Note that $ac_compile itself does not contain backslashes and begins
                   8377:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8378:    lt_compile=`echo "$ac_compile" | $SED \
                   8379:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8380:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8381:    -e 's:$: $lt_compiler_flag:'`
                   8382:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8383:    (eval "$lt_compile" 2>out/conftest.err)
                   8384:    ac_status=$?
                   8385:    cat out/conftest.err >&5
                   8386:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8387:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8388:    then
                   8389:      # The compiler can only warn and ignore the option if not recognized
                   8390:      # So say no if there are warnings
                   8391:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8392:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8393:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8394:        lt_cv_prog_compiler_c_o=yes
                   8395:      fi
                   8396:    fi
                   8397:    chmod u+w . 2>&5
                   8398:    $RM conftest*
                   8399:    # SGI C++ compiler will create directory out/ii_files/ for
                   8400:    # template instantiation
                   8401:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8402:    $RM out/* && rmdir out
                   8403:    cd ..
                   8404:    $RM -r conftest
                   8405:    $RM conftest*
                   8406: 
1.10      paf      8407: fi
1.23      moko     8408: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8409: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   8410: 
1.10      paf      8411: 
                   8412: 
                   8413: 
1.23      moko     8414: hard_links="nottested"
                   8415: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8416:   # do not overwrite the value of need_locks provided by the user
                   8417:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   8418: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   8419:   hard_links=yes
                   8420:   $RM conftest*
                   8421:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8422:   touch conftest.a
                   8423:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8424:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8425:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   8426: echo "${ECHO_T}$hard_links" >&6
                   8427:   if test "$hard_links" = no; then
                   8428:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8429: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8430:     need_locks=warn
1.10      paf      8431:   fi
                   8432: else
1.23      moko     8433:   need_locks=no
1.10      paf      8434: fi
                   8435: 
                   8436: 
                   8437: 
                   8438: 
                   8439: 
                   8440: 
1.23      moko     8441:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8442: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   8443: 
                   8444:   runpath_var=
                   8445:   allow_undefined_flag=
                   8446:   always_export_symbols=no
                   8447:   archive_cmds=
                   8448:   archive_expsym_cmds=
                   8449:   compiler_needs_object=no
                   8450:   enable_shared_with_static_runtimes=no
                   8451:   export_dynamic_flag_spec=
                   8452:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8453:   hardcode_automatic=no
                   8454:   hardcode_direct=no
                   8455:   hardcode_direct_absolute=no
                   8456:   hardcode_libdir_flag_spec=
                   8457:   hardcode_libdir_separator=
                   8458:   hardcode_minus_L=no
                   8459:   hardcode_shlibpath_var=unsupported
                   8460:   inherit_rpath=no
                   8461:   link_all_deplibs=unknown
                   8462:   module_cmds=
                   8463:   module_expsym_cmds=
                   8464:   old_archive_from_new_cmds=
                   8465:   old_archive_from_expsyms_cmds=
                   8466:   thread_safe_flag_spec=
                   8467:   whole_archive_flag_spec=
                   8468:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8469:   # included in the symbol list
                   8470:   include_expsyms=
                   8471:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8472:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8473:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8474:   # as well as any symbol that contains `d'.
                   8475:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8476:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8477:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8478:   # the symbol is explicitly referenced.  Since portable code cannot
                   8479:   # rely on this symbol name, it's probably fine to never include it in
                   8480:   # preloaded symbol tables.
                   8481:   # Exclude shared library initialization/finalization symbols.
                   8482:   extract_expsyms_cmds=
                   8483: 
                   8484:   case $host_os in
                   8485:   cygwin* | mingw* | pw32* | cegcc*)
                   8486:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8487:     # When not using gcc, we currently assume that we are using
                   8488:     # Microsoft Visual C++.
                   8489:     if test "$GCC" != yes; then
                   8490:       with_gnu_ld=no
                   8491:     fi
                   8492:     ;;
                   8493:   interix*)
                   8494:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8495:     with_gnu_ld=yes
                   8496:     ;;
                   8497:   openbsd*)
                   8498:     with_gnu_ld=no
                   8499:     ;;
                   8500:   esac
                   8501: 
                   8502:   ld_shlibs=yes
                   8503: 
                   8504:   # On some targets, GNU ld is compatible enough with the native linker
                   8505:   # that we're better off using the native interface for both.
                   8506:   lt_use_gnu_ld_interface=no
                   8507:   if test "$with_gnu_ld" = yes; then
                   8508:     case $host_os in
                   8509:       aix*)
                   8510:        # The AIX port of GNU ld has always aspired to compatibility
                   8511:        # with the native linker.  However, as the warning in the GNU ld
                   8512:        # block says, versions before 2.19.5* couldn't really create working
                   8513:        # shared libraries, regardless of the interface used.
                   8514:        case `$LD -v 2>&1` in
                   8515:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   8516:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   8517:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   8518:          *)
                   8519:            lt_use_gnu_ld_interface=yes
                   8520:            ;;
                   8521:        esac
                   8522:        ;;
                   8523:       *)
                   8524:        lt_use_gnu_ld_interface=yes
                   8525:        ;;
                   8526:     esac
1.10      paf      8527:   fi
                   8528: 
1.23      moko     8529:   if test "$lt_use_gnu_ld_interface" = yes; then
                   8530:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8531:     wlarc='${wl}'
                   8532: 
                   8533:     # Set some defaults for GNU ld with shared library support. These
                   8534:     # are reset later if shared libraries are not supported. Putting them
                   8535:     # here allows them to be overridden if necessary.
                   8536:     runpath_var=LD_RUN_PATH
                   8537:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8538:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8539:     # ancient GNU ld didn't support --whole-archive et. al.
                   8540:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8541:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8542:     else
                   8543:       whole_archive_flag_spec=
                   8544:     fi
                   8545:     supports_anon_versioning=no
                   8546:     case `$LD -v 2>&1` in
                   8547:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8548:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8549:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8550:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8551:       *\ 2.11.*) ;; # other 2.11 versions
                   8552:       *) supports_anon_versioning=yes ;;
                   8553:     esac
                   8554: 
                   8555:     # See if GNU ld supports shared libraries.
                   8556:     case $host_os in
                   8557:     aix[3-9]*)
                   8558:       # On AIX/PPC, the GNU linker is very broken
                   8559:       if test "$host_cpu" != ia64; then
                   8560:        ld_shlibs=no
                   8561:        cat <<_LT_EOF 1>&2
1.10      paf      8562: 
1.23      moko     8563: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   8564: *** to be unable to reliably create shared libraries on AIX.
                   8565: *** Therefore, libtool is disabling shared libraries support.  If you
                   8566: *** really care for shared libraries, you may want to install binutils
                   8567: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   8568: *** You will then need to restart the configuration process.
1.10      paf      8569: 
1.23      moko     8570: _LT_EOF
                   8571:       fi
                   8572:       ;;
1.10      paf      8573: 
1.23      moko     8574:     amigaos*)
                   8575:       case $host_cpu in
                   8576:       powerpc)
                   8577:             # see comment about AmigaOS4 .so support
                   8578:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8579:             archive_expsym_cmds=''
                   8580:         ;;
                   8581:       m68k)
                   8582:             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)'
                   8583:             hardcode_libdir_flag_spec='-L$libdir'
                   8584:             hardcode_minus_L=yes
                   8585:         ;;
                   8586:       esac
                   8587:       ;;
1.10      paf      8588: 
1.23      moko     8589:     beos*)
                   8590:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8591:        allow_undefined_flag=unsupported
                   8592:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8593:        # support --undefined.  This deserves some investigation.  FIXME
                   8594:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8595:       else
                   8596:        ld_shlibs=no
                   8597:       fi
                   8598:       ;;
1.10      paf      8599: 
1.23      moko     8600:     cygwin* | mingw* | pw32* | cegcc*)
                   8601:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8602:       # as there is no search path for DLLs.
                   8603:       hardcode_libdir_flag_spec='-L$libdir'
                   8604:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   8605:       allow_undefined_flag=unsupported
                   8606:       always_export_symbols=no
                   8607:       enable_shared_with_static_runtimes=yes
                   8608:       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'
                   8609:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   8610: 
                   8611:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8612:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8613:        # If the export-symbols file already is a .def file (1st line
                   8614:        # is EXPORTS), use it as is; otherwise, prepend...
                   8615:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8616:          cp $export_symbols $output_objdir/$soname.def;
                   8617:        else
                   8618:          echo EXPORTS > $output_objdir/$soname.def;
                   8619:          cat $export_symbols >> $output_objdir/$soname.def;
                   8620:        fi~
                   8621:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8622:       else
                   8623:        ld_shlibs=no
                   8624:       fi
                   8625:       ;;
1.10      paf      8626: 
1.23      moko     8627:     haiku*)
                   8628:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8629:       link_all_deplibs=yes
                   8630:       ;;
1.10      paf      8631: 
1.23      moko     8632:     interix[3-9]*)
                   8633:       hardcode_direct=no
                   8634:       hardcode_shlibpath_var=no
                   8635:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8636:       export_dynamic_flag_spec='${wl}-E'
                   8637:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8638:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8639:       # default) and relocated if they conflict, which is a slow very memory
                   8640:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8641:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8642:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8643:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8644:       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'
                   8645:       ;;
1.10      paf      8646: 
1.23      moko     8647:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8648:       tmp_diet=no
                   8649:       if test "$host_os" = linux-dietlibc; then
                   8650:        case $cc_basename in
                   8651:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8652:        esac
                   8653:       fi
                   8654:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8655:         && test "$tmp_diet" = no
                   8656:       then
                   8657:        tmp_addflag=' $pic_flag'
                   8658:        tmp_sharedflag='-shared'
                   8659:        case $cc_basename,$host_cpu in
                   8660:         pgcc*)                         # Portland Group C compiler
                   8661:          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'
                   8662:          tmp_addflag=' $pic_flag'
                   8663:          ;;
                   8664:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   8665:                                        # Portland Group f77 and f90 compilers
                   8666:          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'
                   8667:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8668:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8669:          tmp_addflag=' -i_dynamic' ;;
                   8670:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8671:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8672:        ifc* | ifort*)                  # Intel Fortran compiler
                   8673:          tmp_addflag=' -nofor_main' ;;
                   8674:        lf95*)                          # Lahey Fortran 8.1
                   8675:          whole_archive_flag_spec=
                   8676:          tmp_sharedflag='--shared' ;;
                   8677:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   8678:          tmp_sharedflag='-qmkshrobj'
                   8679:          tmp_addflag= ;;
                   8680:        nvcc*)  # Cuda Compiler Driver 2.2
                   8681:          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'
                   8682:          compiler_needs_object=yes
                   8683:          ;;
                   8684:        esac
                   8685:        case `$CC -V 2>&1 | sed 5q` in
                   8686:        *Sun\ C*)                       # Sun C 5.9
                   8687:          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'
                   8688:          compiler_needs_object=yes
                   8689:          tmp_sharedflag='-G' ;;
                   8690:        *Sun\ F*)                       # Sun Fortran 8.3
                   8691:          tmp_sharedflag='-G' ;;
                   8692:        esac
                   8693:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10      paf      8694: 
1.23      moko     8695:         if test "x$supports_anon_versioning" = xyes; then
                   8696:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8697:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8698:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8699:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8700:         fi
                   8701: 
                   8702:        case $cc_basename in
                   8703:        xlf* | bgf* | bgxlf* | mpixlf*)
                   8704:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8705:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8706:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8707:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   8708:          if test "x$supports_anon_versioning" = xyes; then
                   8709:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8710:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8711:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   8712:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   8713:          fi
                   8714:          ;;
                   8715:        esac
                   8716:       else
                   8717:         ld_shlibs=no
                   8718:       fi
                   8719:       ;;
1.10      paf      8720: 
1.23      moko     8721:     netbsd*)
                   8722:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8723:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8724:        wlarc=
                   8725:       else
                   8726:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8727:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8728:       fi
                   8729:       ;;
1.10      paf      8730: 
1.23      moko     8731:     solaris*)
                   8732:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8733:        ld_shlibs=no
                   8734:        cat <<_LT_EOF 1>&2
1.10      paf      8735: 
1.23      moko     8736: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8737: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8738: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8739: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8740: *** your PATH or compiler configuration so that the native linker is
                   8741: *** used, and then restart.
1.10      paf      8742: 
1.23      moko     8743: _LT_EOF
                   8744:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8745:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8746:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8747:       else
                   8748:        ld_shlibs=no
                   8749:       fi
                   8750:       ;;
1.10      paf      8751: 
1.23      moko     8752:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8753:       case `$LD -v 2>&1` in
                   8754:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8755:        ld_shlibs=no
                   8756:        cat <<_LT_EOF 1>&2
1.10      paf      8757: 
1.23      moko     8758: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8759: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8760: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8761: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8762: *** your PATH or compiler configuration so that the native linker is
                   8763: *** used, and then restart.
1.10      paf      8764: 
1.23      moko     8765: _LT_EOF
                   8766:        ;;
                   8767:        *)
                   8768:          # For security reasons, it is highly recommended that you always
                   8769:          # use absolute paths for naming shared libraries, and exclude the
                   8770:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8771:          # requires that you compile everything twice, which is a pain.
                   8772:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8773:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8774:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8775:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8776:          else
                   8777:            ld_shlibs=no
                   8778:          fi
                   8779:        ;;
                   8780:       esac
                   8781:       ;;
1.10      paf      8782: 
1.23      moko     8783:     sunos4*)
                   8784:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8785:       wlarc=
                   8786:       hardcode_direct=yes
                   8787:       hardcode_shlibpath_var=no
                   8788:       ;;
1.10      paf      8789: 
1.23      moko     8790:     *)
                   8791:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8792:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8793:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8794:       else
                   8795:        ld_shlibs=no
                   8796:       fi
                   8797:       ;;
                   8798:     esac
1.10      paf      8799: 
1.23      moko     8800:     if test "$ld_shlibs" = no; then
                   8801:       runpath_var=
                   8802:       hardcode_libdir_flag_spec=
                   8803:       export_dynamic_flag_spec=
                   8804:       whole_archive_flag_spec=
                   8805:     fi
                   8806:   else
                   8807:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8808:     case $host_os in
                   8809:     aix3*)
                   8810:       allow_undefined_flag=unsupported
                   8811:       always_export_symbols=yes
                   8812:       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'
                   8813:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8814:       # are no directories specified by -L.
                   8815:       hardcode_minus_L=yes
                   8816:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8817:        # Neither direct hardcoding nor static linking is supported with a
                   8818:        # broken collect2.
                   8819:        hardcode_direct=unsupported
                   8820:       fi
                   8821:       ;;
1.10      paf      8822: 
1.23      moko     8823:     aix[4-9]*)
                   8824:       if test "$host_cpu" = ia64; then
                   8825:        # On IA64, the linker does run time linking by default, so we don't
                   8826:        # have to do anything special.
                   8827:        aix_use_runtimelinking=no
                   8828:        exp_sym_flag='-Bexport'
                   8829:        no_entry_flag=""
                   8830:       else
                   8831:        # If we're using GNU nm, then we don't want the "-C" option.
                   8832:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   8833:        # Also, AIX nm treats weak defined symbols like other global
                   8834:        # defined symbols, whereas GNU nm marks them as "W".
                   8835:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   8836:          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'
                   8837:        else
                   8838:          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'
                   8839:        fi
                   8840:        aix_use_runtimelinking=no
1.10      paf      8841: 
1.23      moko     8842:        # Test if we are trying to use run time linking or normal
                   8843:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   8844:        # need to do runtime linking.
                   8845:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   8846:          for ld_flag in $LDFLAGS; do
                   8847:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   8848:            aix_use_runtimelinking=yes
                   8849:            break
                   8850:          fi
                   8851:          done
                   8852:          ;;
                   8853:        esac
1.10      paf      8854: 
1.23      moko     8855:        exp_sym_flag='-bexport'
                   8856:        no_entry_flag='-bnoentry'
                   8857:       fi
1.10      paf      8858: 
1.23      moko     8859:       # When large executables or shared objects are built, AIX ld can
                   8860:       # have problems creating the table of contents.  If linking a library
                   8861:       # or program results in "error TOC overflow" add -mminimal-toc to
                   8862:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   8863:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   8864: 
                   8865:       archive_cmds=''
                   8866:       hardcode_direct=yes
                   8867:       hardcode_direct_absolute=yes
                   8868:       hardcode_libdir_separator=':'
                   8869:       link_all_deplibs=yes
                   8870:       file_list_spec='${wl}-f,'
                   8871: 
                   8872:       if test "$GCC" = yes; then
                   8873:        case $host_os in aix4.[012]|aix4.[012].*)
                   8874:        # We only want to do this on AIX 4.2 and lower, the check
                   8875:        # below for broken collect2 doesn't work under 4.3+
                   8876:          collect2name=`${CC} -print-prog-name=collect2`
                   8877:          if test -f "$collect2name" &&
                   8878:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   8879:          then
                   8880:          # We have reworked collect2
                   8881:          :
                   8882:          else
                   8883:          # We have old collect2
                   8884:          hardcode_direct=unsupported
                   8885:          # It fails to find uninstalled libraries when the uninstalled
                   8886:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   8887:          # to unsupported forces relinking
                   8888:          hardcode_minus_L=yes
                   8889:          hardcode_libdir_flag_spec='-L$libdir'
                   8890:          hardcode_libdir_separator=
                   8891:          fi
                   8892:          ;;
                   8893:        esac
                   8894:        shared_flag='-shared'
                   8895:        if test "$aix_use_runtimelinking" = yes; then
                   8896:          shared_flag="$shared_flag "'${wl}-G'
                   8897:        fi
                   8898:       else
                   8899:        # not using gcc
                   8900:        if test "$host_cpu" = ia64; then
                   8901:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   8902:        # chokes on -Wl,-G. The following line is correct:
                   8903:          shared_flag='-G'
                   8904:        else
                   8905:          if test "$aix_use_runtimelinking" = yes; then
                   8906:            shared_flag='${wl}-G'
                   8907:          else
                   8908:            shared_flag='${wl}-bM:SRE'
                   8909:          fi
                   8910:        fi
                   8911:       fi
                   8912: 
                   8913:       export_dynamic_flag_spec='${wl}-bexpall'
                   8914:       # It seems that -bexpall does not export symbols beginning with
                   8915:       # underscore (_), so it is better to generate a list of symbols to export.
                   8916:       always_export_symbols=yes
                   8917:       if test "$aix_use_runtimelinking" = yes; then
                   8918:        # Warning - without using the other runtime loading flags (-brtl),
                   8919:        # -berok will link without error, but may produce a broken library.
                   8920:        allow_undefined_flag='-berok'
                   8921:         # Determine the default libpath from the value encoded in an
                   8922:         # empty executable.
                   8923:         if test "${lt_cv_aix_libpath+set}" = set; then
                   8924:   aix_libpath=$lt_cv_aix_libpath
                   8925: else
                   8926:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   8927:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8928: else
                   8929:   cat >conftest.$ac_ext <<_ACEOF
                   8930: /* confdefs.h.  */
                   8931: _ACEOF
                   8932: cat confdefs.h >>conftest.$ac_ext
                   8933: cat >>conftest.$ac_ext <<_ACEOF
                   8934: /* end confdefs.h.  */
1.10      paf      8935: 
1.23      moko     8936: int
                   8937: main ()
                   8938: {
1.10      paf      8939: 
1.23      moko     8940:   ;
                   8941:   return 0;
                   8942: }
                   8943: _ACEOF
                   8944: rm -f conftest.$ac_objext conftest$ac_exeext
                   8945: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8946:   (eval $ac_link) 2>conftest.er1
                   8947:   ac_status=$?
                   8948:   grep -v '^ *+' conftest.er1 >conftest.err
                   8949:   rm -f conftest.er1
                   8950:   cat conftest.err >&5
                   8951:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8952:   (exit $ac_status); } &&
                   8953:         { ac_try='test -z "$ac_c_werror_flag"
                   8954:                         || test ! -s conftest.err'
                   8955:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8956:   (eval $ac_try) 2>&5
                   8957:   ac_status=$?
                   8958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8959:   (exit $ac_status); }; } &&
                   8960:         { ac_try='test -s conftest$ac_exeext'
                   8961:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8962:   (eval $ac_try) 2>&5
                   8963:   ac_status=$?
                   8964:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8965:   (exit $ac_status); }; }; then
1.10      paf      8966: 
1.23      moko     8967:   lt_aix_libpath_sed='
                   8968:       /Import File Strings/,/^$/ {
                   8969:          /^0/ {
                   8970:              s/^0  *\([^ ]*\) *$/\1/
                   8971:              p
                   8972:          }
                   8973:       }'
                   8974:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8975:   # Check for a 64-bit object if we didn't find anything.
                   8976:   if test -z "$lt_cv_aix_libpath_"; then
                   8977:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8978:   fi
                   8979: else
                   8980:   echo "$as_me: failed program was:" >&5
                   8981: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      8982: 
1.23      moko     8983: fi
                   8984: rm -f conftest.err conftest.$ac_objext \
                   8985:       conftest$ac_exeext conftest.$ac_ext
                   8986:   if test -z "$lt_cv_aix_libpath_"; then
                   8987:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   8988:   fi
1.10      paf      8989: 
1.23      moko     8990: fi
1.10      paf      8991: 
1.23      moko     8992:   aix_libpath=$lt_cv_aix_libpath_
                   8993: fi
1.10      paf      8994: 
1.23      moko     8995:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   8996:         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"
                   8997:       else
                   8998:        if test "$host_cpu" = ia64; then
                   8999:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9000:          allow_undefined_flag="-z nodefs"
                   9001:          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"
                   9002:        else
                   9003:         # Determine the default libpath from the value encoded in an
                   9004:         # empty executable.
                   9005:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9006:   aix_libpath=$lt_cv_aix_libpath
                   9007: else
                   9008:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9009:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9010: else
                   9011:   cat >conftest.$ac_ext <<_ACEOF
                   9012: /* confdefs.h.  */
                   9013: _ACEOF
                   9014: cat confdefs.h >>conftest.$ac_ext
                   9015: cat >>conftest.$ac_ext <<_ACEOF
                   9016: /* end confdefs.h.  */
1.10      paf      9017: 
1.23      moko     9018: int
                   9019: main ()
                   9020: {
1.10      paf      9021: 
1.23      moko     9022:   ;
                   9023:   return 0;
                   9024: }
1.10      paf      9025: _ACEOF
1.23      moko     9026: rm -f conftest.$ac_objext conftest$ac_exeext
                   9027: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9028:   (eval $ac_link) 2>conftest.er1
                   9029:   ac_status=$?
                   9030:   grep -v '^ *+' conftest.er1 >conftest.err
                   9031:   rm -f conftest.er1
                   9032:   cat conftest.err >&5
                   9033:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9034:   (exit $ac_status); } &&
                   9035:         { ac_try='test -z "$ac_c_werror_flag"
                   9036:                         || test ! -s conftest.err'
                   9037:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9038:   (eval $ac_try) 2>&5
                   9039:   ac_status=$?
                   9040:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9041:   (exit $ac_status); }; } &&
                   9042:         { ac_try='test -s conftest$ac_exeext'
                   9043:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9044:   (eval $ac_try) 2>&5
                   9045:   ac_status=$?
                   9046:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9047:   (exit $ac_status); }; }; then
                   9048: 
                   9049:   lt_aix_libpath_sed='
                   9050:       /Import File Strings/,/^$/ {
                   9051:          /^0/ {
                   9052:              s/^0  *\([^ ]*\) *$/\1/
                   9053:              p
                   9054:          }
                   9055:       }'
                   9056:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9057:   # Check for a 64-bit object if we didn't find anything.
                   9058:   if test -z "$lt_cv_aix_libpath_"; then
                   9059:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9060:   fi
                   9061: else
                   9062:   echo "$as_me: failed program was:" >&5
                   9063: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      9064: 
1.23      moko     9065: fi
                   9066: rm -f conftest.err conftest.$ac_objext \
                   9067:       conftest$ac_exeext conftest.$ac_ext
                   9068:   if test -z "$lt_cv_aix_libpath_"; then
                   9069:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9070:   fi
1.10      paf      9071: 
1.23      moko     9072: fi
1.10      paf      9073: 
1.23      moko     9074:   aix_libpath=$lt_cv_aix_libpath_
                   9075: fi
1.10      paf      9076: 
1.23      moko     9077:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9078:          # Warning - without using the other run time loading flags,
                   9079:          # -berok will link without error, but may produce a broken library.
                   9080:          no_undefined_flag=' ${wl}-bernotok'
                   9081:          allow_undefined_flag=' ${wl}-berok'
                   9082:          if test "$with_gnu_ld" = yes; then
                   9083:            # We only use this code for GNU lds that support --whole-archive.
                   9084:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9085:          else
                   9086:            # Exported symbols can be pulled into shared objects from archives
                   9087:            whole_archive_flag_spec='$convenience'
                   9088:          fi
                   9089:          archive_cmds_need_lc=yes
                   9090:          # This is similar to how AIX traditionally builds its shared libraries.
                   9091:          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'
                   9092:        fi
                   9093:       fi
                   9094:       ;;
1.10      paf      9095: 
1.23      moko     9096:     amigaos*)
                   9097:       case $host_cpu in
                   9098:       powerpc)
                   9099:             # see comment about AmigaOS4 .so support
                   9100:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9101:             archive_expsym_cmds=''
                   9102:         ;;
                   9103:       m68k)
                   9104:             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)'
                   9105:             hardcode_libdir_flag_spec='-L$libdir'
                   9106:             hardcode_minus_L=yes
                   9107:         ;;
                   9108:       esac
                   9109:       ;;
1.10      paf      9110: 
1.23      moko     9111:     bsdi[45]*)
                   9112:       export_dynamic_flag_spec=-rdynamic
                   9113:       ;;
1.1       parser   9114: 
1.23      moko     9115:     cygwin* | mingw* | pw32* | cegcc*)
                   9116:       # When not using gcc, we currently assume that we are using
                   9117:       # Microsoft Visual C++.
                   9118:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9119:       # no search path for DLLs.
                   9120:       case $cc_basename in
                   9121:       cl*)
                   9122:        # Native MSVC
                   9123:        hardcode_libdir_flag_spec=' '
                   9124:        allow_undefined_flag=unsupported
                   9125:        always_export_symbols=yes
                   9126:        file_list_spec='@'
                   9127:        # Tell ltmain to make .lib files, not .a files.
                   9128:        libext=lib
                   9129:        # Tell ltmain to make .dll files, not .so files.
                   9130:        shrext_cmds=".dll"
                   9131:        # FIXME: Setting linknames here is a bad hack.
                   9132:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9133:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9134:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9135:          else
                   9136:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9137:          fi~
                   9138:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9139:          linknames='
                   9140:        # The linker will not automatically build a static lib if we build a DLL.
                   9141:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9142:        enable_shared_with_static_runtimes=yes
                   9143:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9144:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9145:        # Don't use ranlib
                   9146:        old_postinstall_cmds='chmod 644 $oldlib'
                   9147:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9148:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9149:          case $lt_outputfile in
                   9150:            *.exe|*.EXE) ;;
                   9151:            *)
                   9152:              lt_outputfile="$lt_outputfile.exe"
                   9153:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9154:              ;;
                   9155:          esac~
                   9156:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9157:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9158:            $RM "$lt_outputfile.manifest";
                   9159:          fi'
                   9160:        ;;
                   9161:       *)
                   9162:        # Assume MSVC wrapper
                   9163:        hardcode_libdir_flag_spec=' '
                   9164:        allow_undefined_flag=unsupported
                   9165:        # Tell ltmain to make .lib files, not .a files.
                   9166:        libext=lib
                   9167:        # Tell ltmain to make .dll files, not .so files.
                   9168:        shrext_cmds=".dll"
                   9169:        # FIXME: Setting linknames here is a bad hack.
                   9170:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9171:        # The linker will automatically build a .lib file if we build a DLL.
                   9172:        old_archive_from_new_cmds='true'
                   9173:        # FIXME: Should let the user specify the lib program.
                   9174:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9175:        enable_shared_with_static_runtimes=yes
                   9176:        ;;
                   9177:       esac
                   9178:       ;;
1.10      paf      9179: 
1.23      moko     9180:     darwin* | rhapsody*)
1.10      paf      9181: 
                   9182: 
1.23      moko     9183:   archive_cmds_need_lc=no
                   9184:   hardcode_direct=no
                   9185:   hardcode_automatic=yes
                   9186:   hardcode_shlibpath_var=unsupported
                   9187:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9188:     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\"`'
1.10      paf      9189: 
1.23      moko     9190:   else
                   9191:     whole_archive_flag_spec=''
                   9192:   fi
                   9193:   link_all_deplibs=yes
                   9194:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9195:   case $cc_basename in
                   9196:      ifort*) _lt_dar_can_shared=yes ;;
                   9197:      *) _lt_dar_can_shared=$GCC ;;
                   9198:   esac
                   9199:   if test "$_lt_dar_can_shared" = "yes"; then
                   9200:     output_verbose_link_cmd=func_echo_all
                   9201:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9202:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9203:     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}"
                   9204:     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}"
1.10      paf      9205: 
1.23      moko     9206:   else
                   9207:   ld_shlibs=no
                   9208:   fi
1.1       parser   9209: 
1.23      moko     9210:       ;;
1.10      paf      9211: 
1.23      moko     9212:     dgux*)
                   9213:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9214:       hardcode_libdir_flag_spec='-L$libdir'
                   9215:       hardcode_shlibpath_var=no
                   9216:       ;;
1.10      paf      9217: 
1.23      moko     9218:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9219:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9220:     # does not break anything, and helps significantly (at the cost of a little
                   9221:     # extra space).
                   9222:     freebsd2.2*)
                   9223:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9224:       hardcode_libdir_flag_spec='-R$libdir'
                   9225:       hardcode_direct=yes
                   9226:       hardcode_shlibpath_var=no
                   9227:       ;;
1.10      paf      9228: 
1.23      moko     9229:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9230:     freebsd2.*)
                   9231:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9232:       hardcode_direct=yes
                   9233:       hardcode_minus_L=yes
                   9234:       hardcode_shlibpath_var=no
                   9235:       ;;
1.10      paf      9236: 
1.23      moko     9237:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9238:     freebsd* | dragonfly*)
                   9239:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9240:       hardcode_libdir_flag_spec='-R$libdir'
                   9241:       hardcode_direct=yes
                   9242:       hardcode_shlibpath_var=no
                   9243:       ;;
1.1       parser   9244: 
1.23      moko     9245:     hpux9*)
                   9246:       if test "$GCC" = yes; then
                   9247:        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'
                   9248:       else
                   9249:        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'
                   9250:       fi
                   9251:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9252:       hardcode_libdir_separator=:
                   9253:       hardcode_direct=yes
                   9254: 
                   9255:       # hardcode_minus_L: Not really in the search PATH,
                   9256:       # but as the default location of the library.
                   9257:       hardcode_minus_L=yes
                   9258:       export_dynamic_flag_spec='${wl}-E'
                   9259:       ;;
1.10      paf      9260: 
1.23      moko     9261:     hpux10*)
                   9262:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9263:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9264:       else
                   9265:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9266:       fi
                   9267:       if test "$with_gnu_ld" = no; then
                   9268:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9269:        hardcode_libdir_separator=:
                   9270:        hardcode_direct=yes
                   9271:        hardcode_direct_absolute=yes
                   9272:        export_dynamic_flag_spec='${wl}-E'
                   9273:        # hardcode_minus_L: Not really in the search PATH,
                   9274:        # but as the default location of the library.
                   9275:        hardcode_minus_L=yes
                   9276:       fi
                   9277:       ;;
1.10      paf      9278: 
1.23      moko     9279:     hpux11*)
                   9280:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9281:        case $host_cpu in
                   9282:        hppa*64*)
                   9283:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9284:          ;;
                   9285:        ia64*)
                   9286:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9287:          ;;
                   9288:        *)
                   9289:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9290:          ;;
                   9291:        esac
                   9292:       else
                   9293:        case $host_cpu in
                   9294:        hppa*64*)
                   9295:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9296:          ;;
                   9297:        ia64*)
                   9298:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9299:          ;;
                   9300:        *)
1.10      paf      9301: 
1.23      moko     9302:          # Older versions of the 11.00 compiler do not understand -b yet
                   9303:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9304:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9305: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9306: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9307:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9308: else
                   9309:   lt_cv_prog_compiler__b=no
                   9310:    save_LDFLAGS="$LDFLAGS"
                   9311:    LDFLAGS="$LDFLAGS -b"
                   9312:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9313:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9314:      # The linker can only warn and ignore the option if not recognized
                   9315:      # So say no if there are warnings
                   9316:      if test -s conftest.err; then
                   9317:        # Append any errors to the config.log.
                   9318:        cat conftest.err 1>&5
                   9319:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9320:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9321:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9322:          lt_cv_prog_compiler__b=yes
                   9323:        fi
                   9324:      else
                   9325:        lt_cv_prog_compiler__b=yes
                   9326:      fi
                   9327:    fi
                   9328:    $RM -r conftest*
                   9329:    LDFLAGS="$save_LDFLAGS"
1.10      paf      9330: 
1.23      moko     9331: fi
                   9332: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   9333: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
1.1       parser   9334: 
1.23      moko     9335: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   9336:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9337: else
                   9338:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9339: fi
1.1       parser   9340: 
1.23      moko     9341:          ;;
                   9342:        esac
                   9343:       fi
                   9344:       if test "$with_gnu_ld" = no; then
                   9345:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9346:        hardcode_libdir_separator=:
                   9347: 
                   9348:        case $host_cpu in
                   9349:        hppa*64*|ia64*)
                   9350:          hardcode_direct=no
                   9351:          hardcode_shlibpath_var=no
                   9352:          ;;
                   9353:        *)
                   9354:          hardcode_direct=yes
                   9355:          hardcode_direct_absolute=yes
                   9356:          export_dynamic_flag_spec='${wl}-E'
1.1       parser   9357: 
1.23      moko     9358:          # hardcode_minus_L: Not really in the search PATH,
                   9359:          # but as the default location of the library.
                   9360:          hardcode_minus_L=yes
                   9361:          ;;
                   9362:        esac
                   9363:       fi
                   9364:       ;;
1.1       parser   9365: 
1.23      moko     9366:     irix5* | irix6* | nonstopux*)
                   9367:       if test "$GCC" = yes; then
                   9368:        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'
                   9369:        # Try to use the -exported_symbol ld option, if it does not
                   9370:        # work, assume that -exports_file does not work either and
                   9371:        # implicitly export all symbols.
                   9372:        # This should be the same for all languages, so no per-tag cache variable.
                   9373:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9374: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   9375: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   9376:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9377: else
                   9378:   save_LDFLAGS="$LDFLAGS"
                   9379:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   9380:           cat >conftest.$ac_ext <<_ACEOF
                   9381: /* confdefs.h.  */
                   9382: _ACEOF
                   9383: cat confdefs.h >>conftest.$ac_ext
                   9384: cat >>conftest.$ac_ext <<_ACEOF
                   9385: /* end confdefs.h.  */
                   9386: int foo (void) { return 0; }
1.10      paf      9387: _ACEOF
1.23      moko     9388: rm -f conftest.$ac_objext conftest$ac_exeext
                   9389: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9390:   (eval $ac_link) 2>conftest.er1
                   9391:   ac_status=$?
                   9392:   grep -v '^ *+' conftest.er1 >conftest.err
                   9393:   rm -f conftest.er1
                   9394:   cat conftest.err >&5
                   9395:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9396:   (exit $ac_status); } &&
                   9397:         { ac_try='test -z "$ac_c_werror_flag"
                   9398:                         || test ! -s conftest.err'
                   9399:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9400:   (eval $ac_try) 2>&5
                   9401:   ac_status=$?
                   9402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9403:   (exit $ac_status); }; } &&
                   9404:         { ac_try='test -s conftest$ac_exeext'
                   9405:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9406:   (eval $ac_try) 2>&5
                   9407:   ac_status=$?
                   9408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9409:   (exit $ac_status); }; }; then
                   9410:   lt_cv_irix_exported_symbol=yes
                   9411: else
                   9412:   echo "$as_me: failed program was:" >&5
                   9413: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   9414: 
1.23      moko     9415: lt_cv_irix_exported_symbol=no
                   9416: fi
                   9417: rm -f conftest.err conftest.$ac_objext \
                   9418:       conftest$ac_exeext conftest.$ac_ext
                   9419:            LDFLAGS="$save_LDFLAGS"
                   9420: fi
                   9421: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   9422: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
                   9423:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   9424:           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'
                   9425:        fi
1.10      paf      9426:       else
1.23      moko     9427:        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'
                   9428:        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'
1.10      paf      9429:       fi
1.23      moko     9430:       archive_cmds_need_lc='no'
                   9431:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9432:       hardcode_libdir_separator=:
                   9433:       inherit_rpath=yes
                   9434:       link_all_deplibs=yes
                   9435:       ;;
                   9436: 
                   9437:     netbsd*)
                   9438:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9439:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9440:       else
                   9441:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9442:       fi
                   9443:       hardcode_libdir_flag_spec='-R$libdir'
                   9444:       hardcode_direct=yes
                   9445:       hardcode_shlibpath_var=no
                   9446:       ;;
1.1       parser   9447: 
1.23      moko     9448:     newsos6)
                   9449:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9450:       hardcode_direct=yes
                   9451:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9452:       hardcode_libdir_separator=:
                   9453:       hardcode_shlibpath_var=no
                   9454:       ;;
1.1       parser   9455: 
1.23      moko     9456:     *nto* | *qnx*)
                   9457:       ;;
1.10      paf      9458: 
1.23      moko     9459:     openbsd*)
                   9460:       if test -f /usr/libexec/ld.so; then
                   9461:        hardcode_direct=yes
                   9462:        hardcode_shlibpath_var=no
                   9463:        hardcode_direct_absolute=yes
                   9464:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9465:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9466:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9467:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9468:          export_dynamic_flag_spec='${wl}-E'
                   9469:        else
                   9470:          case $host_os in
                   9471:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9472:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9473:             hardcode_libdir_flag_spec='-R$libdir'
                   9474:             ;;
                   9475:           *)
                   9476:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9477:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9478:             ;;
                   9479:          esac
                   9480:        fi
                   9481:       else
                   9482:        ld_shlibs=no
                   9483:       fi
                   9484:       ;;
1.10      paf      9485: 
1.23      moko     9486:     os2*)
                   9487:       hardcode_libdir_flag_spec='-L$libdir'
                   9488:       hardcode_minus_L=yes
                   9489:       allow_undefined_flag=unsupported
                   9490:       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'
                   9491:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9492:       ;;
1.10      paf      9493: 
1.23      moko     9494:     osf3*)
                   9495:       if test "$GCC" = yes; then
                   9496:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9497:        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'
                   9498:       else
                   9499:        allow_undefined_flag=' -expect_unresolved \*'
                   9500:        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'
                   9501:       fi
                   9502:       archive_cmds_need_lc='no'
                   9503:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9504:       hardcode_libdir_separator=:
                   9505:       ;;
1.16      paf      9506: 
1.23      moko     9507:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9508:       if test "$GCC" = yes; then
                   9509:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9510:        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'
                   9511:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9512:       else
                   9513:        allow_undefined_flag=' -expect_unresolved \*'
                   9514:        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'
                   9515:        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~
                   9516:        $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'
1.10      paf      9517: 
1.23      moko     9518:        # Both c and cxx compiler support -rpath directly
                   9519:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9520:       fi
                   9521:       archive_cmds_need_lc='no'
                   9522:       hardcode_libdir_separator=:
                   9523:       ;;
1.10      paf      9524: 
1.23      moko     9525:     solaris*)
                   9526:       no_undefined_flag=' -z defs'
                   9527:       if test "$GCC" = yes; then
                   9528:        wlarc='${wl}'
                   9529:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9530:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9531:          $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'
                   9532:       else
                   9533:        case `$CC -V 2>&1` in
                   9534:        *"Compilers 5.0"*)
                   9535:          wlarc=''
                   9536:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9537:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9538:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9539:          ;;
                   9540:        *)
                   9541:          wlarc='${wl}'
                   9542:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9543:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9544:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9545:          ;;
                   9546:        esac
                   9547:       fi
                   9548:       hardcode_libdir_flag_spec='-R$libdir'
                   9549:       hardcode_shlibpath_var=no
                   9550:       case $host_os in
                   9551:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9552:       *)
                   9553:        # The compiler driver will combine and reorder linker options,
                   9554:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9555:        # but is careful enough not to reorder.
                   9556:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9557:        if test "$GCC" = yes; then
                   9558:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9559:        else
                   9560:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9561:        fi
                   9562:        ;;
                   9563:       esac
                   9564:       link_all_deplibs=yes
                   9565:       ;;
1.1       parser   9566: 
1.23      moko     9567:     sunos4*)
                   9568:       if test "x$host_vendor" = xsequent; then
                   9569:        # Use $CC to link under sequent, because it throws in some extra .o
                   9570:        # files that make .init and .fini sections work.
                   9571:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9572:       else
                   9573:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9574:       fi
                   9575:       hardcode_libdir_flag_spec='-L$libdir'
                   9576:       hardcode_direct=yes
                   9577:       hardcode_minus_L=yes
                   9578:       hardcode_shlibpath_var=no
                   9579:       ;;
1.10      paf      9580: 
1.23      moko     9581:     sysv4)
                   9582:       case $host_vendor in
                   9583:        sni)
                   9584:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9585:          hardcode_direct=yes # is this really true???
                   9586:        ;;
                   9587:        siemens)
                   9588:          ## LD is ld it makes a PLAMLIB
                   9589:          ## CC just makes a GrossModule.
                   9590:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9591:          reload_cmds='$CC -r -o $output$reload_objs'
                   9592:          hardcode_direct=no
                   9593:         ;;
                   9594:        motorola)
                   9595:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9596:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9597:        ;;
1.10      paf      9598:       esac
1.23      moko     9599:       runpath_var='LD_RUN_PATH'
                   9600:       hardcode_shlibpath_var=no
                   9601:       ;;
                   9602: 
                   9603:     sysv4.3*)
                   9604:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9605:       hardcode_shlibpath_var=no
                   9606:       export_dynamic_flag_spec='-Bexport'
                   9607:       ;;
1.10      paf      9608: 
1.23      moko     9609:     sysv4*MP*)
                   9610:       if test -d /usr/nec; then
                   9611:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9612:        hardcode_shlibpath_var=no
                   9613:        runpath_var=LD_RUN_PATH
                   9614:        hardcode_runpath_var=yes
                   9615:        ld_shlibs=yes
                   9616:       fi
                   9617:       ;;
1.10      paf      9618: 
1.23      moko     9619:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9620:       no_undefined_flag='${wl}-z,text'
                   9621:       archive_cmds_need_lc=no
                   9622:       hardcode_shlibpath_var=no
                   9623:       runpath_var='LD_RUN_PATH'
1.1       parser   9624: 
1.23      moko     9625:       if test "$GCC" = yes; then
                   9626:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9627:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9628:       else
                   9629:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9630:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9631:       fi
                   9632:       ;;
                   9633: 
                   9634:     sysv5* | sco3.2v5* | sco5v6*)
                   9635:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9636:       # link with -lc, and that would cause any symbols used from libc to
                   9637:       # always be unresolved, which means just about no library would
                   9638:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9639:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9640:       # as -z defs.
                   9641:       no_undefined_flag='${wl}-z,text'
                   9642:       allow_undefined_flag='${wl}-z,nodefs'
                   9643:       archive_cmds_need_lc=no
                   9644:       hardcode_shlibpath_var=no
                   9645:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9646:       hardcode_libdir_separator=':'
                   9647:       link_all_deplibs=yes
                   9648:       export_dynamic_flag_spec='${wl}-Bexport'
                   9649:       runpath_var='LD_RUN_PATH'
                   9650: 
                   9651:       if test "$GCC" = yes; then
                   9652:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9653:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9654:       else
                   9655:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9656:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9657:       fi
                   9658:       ;;
1.1       parser   9659: 
1.23      moko     9660:     uts4*)
                   9661:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9662:       hardcode_libdir_flag_spec='-L$libdir'
                   9663:       hardcode_shlibpath_var=no
                   9664:       ;;
1.1       parser   9665: 
1.23      moko     9666:     *)
                   9667:       ld_shlibs=no
                   9668:       ;;
                   9669:     esac
1.1       parser   9670: 
1.23      moko     9671:     if test x$host_vendor = xsni; then
                   9672:       case $host in
                   9673:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9674:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9675:        ;;
1.10      paf      9676:       esac
1.23      moko     9677:     fi
                   9678:   fi
                   9679: 
                   9680: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   9681: echo "${ECHO_T}$ld_shlibs" >&6
                   9682: test "$ld_shlibs" = no && can_build_shared=no
                   9683: 
                   9684: with_gnu_ld=$with_gnu_ld
                   9685: 
                   9686: 
                   9687: 
                   9688: 
                   9689: 
                   9690: 
                   9691: 
                   9692: 
                   9693: 
                   9694: 
                   9695: 
                   9696: 
                   9697: 
1.10      paf      9698: 
                   9699: 
                   9700: #
1.23      moko     9701: # Do we need to explicitly link libc?
                   9702: #
                   9703: case "x$archive_cmds_need_lc" in
                   9704: x|xyes)
                   9705:   # Assume -lc should be added
                   9706:   archive_cmds_need_lc=yes
                   9707: 
                   9708:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9709:     case $archive_cmds in
                   9710:     *'~'*)
                   9711:       # FIXME: we may have to deal with multi-command sequences.
                   9712:       ;;
                   9713:     '$CC '*)
                   9714:       # Test whether the compiler implicitly links with -lc since on some
                   9715:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9716:       # to ld, don't add -lc before -lgcc.
                   9717:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   9718: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   9719: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   9720:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9721: else
                   9722:   $RM conftest*
                   9723:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9724: 
                   9725:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9726:   (eval $ac_compile) 2>&5
                   9727:   ac_status=$?
                   9728:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9729:   (exit $ac_status); } 2>conftest.err; then
                   9730:          soname=conftest
                   9731:          lib=conftest
                   9732:          libobjs=conftest.$ac_objext
                   9733:          deplibs=
                   9734:          wl=$lt_prog_compiler_wl
                   9735:          pic_flag=$lt_prog_compiler_pic
                   9736:          compiler_flags=-v
                   9737:          linker_flags=-v
                   9738:          verstring=
                   9739:          output_objdir=.
                   9740:          libname=conftest
                   9741:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   9742:          allow_undefined_flag=
                   9743:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   9744:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9745:   ac_status=$?
                   9746:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9747:   (exit $ac_status); }
                   9748:          then
                   9749:            lt_cv_archive_cmds_need_lc=no
                   9750:          else
                   9751:            lt_cv_archive_cmds_need_lc=yes
                   9752:          fi
                   9753:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   9754:        else
                   9755:          cat conftest.err 1>&5
                   9756:        fi
                   9757:        $RM conftest*
                   9758: 
                   9759: fi
                   9760: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   9761: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   9762:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   9763:       ;;
                   9764:     esac
                   9765:   fi
                   9766:   ;;
                   9767: esac
                   9768: 
1.1       parser   9769: 
1.10      paf      9770: 
                   9771: 
                   9772: 
                   9773: 
1.23      moko     9774: 
                   9775: 
                   9776: 
                   9777: 
                   9778: 
                   9779: 
                   9780: 
                   9781: 
                   9782: 
                   9783: 
                   9784: 
                   9785: 
                   9786: 
                   9787: 
                   9788: 
                   9789: 
                   9790: 
                   9791: 
                   9792: 
                   9793: 
                   9794: 
                   9795: 
                   9796: 
                   9797: 
                   9798: 
                   9799: 
                   9800: 
                   9801: 
                   9802: 
                   9803: 
                   9804: 
                   9805: 
                   9806: 
                   9807: 
                   9808: 
                   9809: 
                   9810: 
                   9811: 
                   9812: 
                   9813: 
                   9814: 
                   9815: 
                   9816: 
                   9817: 
                   9818: 
                   9819: 
                   9820: 
                   9821: 
                   9822: 
                   9823: 
                   9824: 
                   9825: 
                   9826: 
                   9827: 
                   9828: 
                   9829: 
                   9830: 
                   9831: 
                   9832: 
                   9833: 
                   9834: 
                   9835: 
                   9836: 
                   9837: 
                   9838: 
                   9839: 
                   9840: 
                   9841: 
                   9842: 
                   9843: 
                   9844: 
                   9845: 
                   9846: 
                   9847: 
                   9848: 
                   9849: 
                   9850: 
                   9851: 
                   9852: 
                   9853: 
                   9854: 
                   9855: 
                   9856: 
                   9857: 
                   9858: 
                   9859: 
                   9860: 
                   9861: 
                   9862: 
                   9863: 
                   9864: 
                   9865: 
                   9866: 
                   9867: 
                   9868: 
                   9869: 
                   9870: 
                   9871: 
                   9872: 
                   9873: 
                   9874: 
                   9875: 
                   9876: 
                   9877: 
                   9878: 
                   9879: 
                   9880: 
                   9881: 
                   9882: 
                   9883: 
                   9884: 
                   9885: 
                   9886: 
                   9887: 
                   9888: 
                   9889: 
                   9890: 
                   9891: 
                   9892: 
                   9893: 
                   9894: 
                   9895: 
                   9896: 
                   9897: 
                   9898: 
                   9899: 
                   9900: 
                   9901: 
                   9902: 
                   9903: 
                   9904: 
                   9905: 
                   9906: 
                   9907: 
                   9908: 
                   9909: 
                   9910: 
                   9911: 
                   9912: 
                   9913: 
                   9914: 
                   9915: 
                   9916: 
                   9917: 
                   9918: 
                   9919: 
                   9920:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   9921: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   9922: 
                   9923: if test "$GCC" = yes; then
                   9924:   case $host_os in
                   9925:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   9926:     *) lt_awk_arg="/^libraries:/" ;;
                   9927:   esac
                   9928:   case $host_os in
                   9929:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   9930:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   9931:   esac
                   9932:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   9933:   case $lt_search_path_spec in
                   9934:   *\;*)
                   9935:     # if the path contains ";" then we assume it to be the separator
                   9936:     # otherwise default to the standard path separator (i.e. ":") - it is
                   9937:     # assumed that no part of a normal pathname contains ";" but that should
                   9938:     # okay in the real world where ";" in dirpaths is itself problematic.
                   9939:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   9940:     ;;
                   9941:   *)
                   9942:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   9943:     ;;
                   9944:   esac
                   9945:   # Ok, now we have the path, separated by spaces, we can step through it
                   9946:   # and add multilib dir if necessary.
                   9947:   lt_tmp_lt_search_path_spec=
                   9948:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   9949:   for lt_sys_path in $lt_search_path_spec; do
                   9950:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   9951:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   9952:     else
                   9953:       test -d "$lt_sys_path" && \
                   9954:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1.1       parser   9955:     fi
1.23      moko     9956:   done
                   9957:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   9958: BEGIN {RS=" "; FS="/|\n";} {
                   9959:   lt_foo="";
                   9960:   lt_count=0;
                   9961:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   9962:     if ($lt_i != "" && $lt_i != ".") {
                   9963:       if ($lt_i == "..") {
                   9964:         lt_count++;
                   9965:       } else {
                   9966:         if (lt_count == 0) {
                   9967:           lt_foo="/" $lt_i lt_foo;
                   9968:         } else {
                   9969:           lt_count--;
                   9970:         }
                   9971:       }
                   9972:     }
                   9973:   }
                   9974:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   9975:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   9976: }'`
                   9977:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   9978:   # for these hosts.
                   9979:   case $host_os in
                   9980:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   9981:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   9982:   esac
                   9983:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   9984: else
                   9985:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   9986: fi
                   9987: library_names_spec=
                   9988: libname_spec='lib$name'
                   9989: soname_spec=
                   9990: shrext_cmds=".so"
                   9991: postinstall_cmds=
                   9992: postuninstall_cmds=
                   9993: finish_cmds=
                   9994: finish_eval=
                   9995: shlibpath_var=
                   9996: shlibpath_overrides_runpath=unknown
                   9997: version_type=none
                   9998: dynamic_linker="$host_os ld.so"
                   9999: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10000: need_lib_prefix=unknown
                   10001: hardcode_into_libs=no
                   10002: 
                   10003: # when you set need_version to no, make sure it does not cause -set_version
                   10004: # flags to be left without arguments
                   10005: need_version=unknown
                   10006: 
                   10007: case $host_os in
                   10008: aix3*)
                   10009:   version_type=linux # correct to gnu/linux during the next big refactor
                   10010:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10011:   shlibpath_var=LIBPATH
                   10012: 
                   10013:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10014:   soname_spec='${libname}${release}${shared_ext}$major'
                   10015:   ;;
                   10016: 
                   10017: aix[4-9]*)
                   10018:   version_type=linux # correct to gnu/linux during the next big refactor
                   10019:   need_lib_prefix=no
                   10020:   need_version=no
                   10021:   hardcode_into_libs=yes
                   10022:   if test "$host_cpu" = ia64; then
                   10023:     # AIX 5 supports IA64
                   10024:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10025:     shlibpath_var=LD_LIBRARY_PATH
1.10      paf      10026:   else
1.23      moko     10027:     # With GCC up to 2.95.x, collect2 would create an import file
                   10028:     # for dependence libraries.  The import file would start with
                   10029:     # the line `#! .'.  This would cause the generated library to
                   10030:     # depend on `.', always an invalid library.  This was fixed in
                   10031:     # development snapshots of GCC prior to 3.0.
                   10032:     case $host_os in
                   10033:       aix4 | aix4.[01] | aix4.[01].*)
                   10034:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10035:           echo ' yes '
                   10036:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10037:        :
                   10038:       else
                   10039:        can_build_shared=no
                   10040:       fi
                   10041:       ;;
                   10042:     esac
                   10043:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10044:     # soname into executable. Probably we can add versioning support to
                   10045:     # collect2, so additional links can be useful in future.
                   10046:     if test "$aix_use_runtimelinking" = yes; then
                   10047:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10048:       # instead of lib<name>.a to let people know that these are not
                   10049:       # typical AIX shared libraries.
                   10050:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10051:     else
                   10052:       # We preserve .a as extension for shared libraries through AIX4.2
                   10053:       # and later when we are not doing run time linking.
                   10054:       library_names_spec='${libname}${release}.a $libname.a'
                   10055:       soname_spec='${libname}${release}${shared_ext}$major'
                   10056:     fi
                   10057:     shlibpath_var=LIBPATH
1.1       parser   10058:   fi
1.23      moko     10059:   ;;
                   10060: 
                   10061: amigaos*)
                   10062:   case $host_cpu in
                   10063:   powerpc)
                   10064:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10065:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10066:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10067:     ;;
                   10068:   m68k)
                   10069:     library_names_spec='$libname.ixlibrary $libname.a'
                   10070:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10071:     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'
                   10072:     ;;
1.16      paf      10073:   esac
1.23      moko     10074:   ;;
                   10075: 
                   10076: beos*)
                   10077:   library_names_spec='${libname}${shared_ext}'
                   10078:   dynamic_linker="$host_os ld.so"
                   10079:   shlibpath_var=LIBRARY_PATH
                   10080:   ;;
                   10081: 
                   10082: bsdi[45]*)
                   10083:   version_type=linux # correct to gnu/linux during the next big refactor
                   10084:   need_version=no
                   10085:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10086:   soname_spec='${libname}${release}${shared_ext}$major'
                   10087:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10088:   shlibpath_var=LD_LIBRARY_PATH
                   10089:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10090:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10091:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10092:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10093:   # libtool to hard-code these into programs
                   10094:   ;;
                   10095: 
                   10096: cygwin* | mingw* | pw32* | cegcc*)
                   10097:   version_type=windows
                   10098:   shrext_cmds=".dll"
                   10099:   need_version=no
                   10100:   need_lib_prefix=no
                   10101: 
                   10102:   case $GCC,$cc_basename in
                   10103:   yes,*)
                   10104:     # gcc
                   10105:     library_names_spec='$libname.dll.a'
                   10106:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10107:     postinstall_cmds='base_file=`basename \${file}`~
                   10108:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10109:       dldir=$destdir/`dirname \$dlpath`~
                   10110:       test -d \$dldir || mkdir -p \$dldir~
                   10111:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10112:       chmod a+x \$dldir/$dlname~
                   10113:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10114:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10115:       fi'
                   10116:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10117:       dlpath=$dir/\$dldll~
                   10118:        $RM \$dlpath'
                   10119:     shlibpath_overrides_runpath=yes
                   10120: 
                   10121:     case $host_os in
                   10122:     cygwin*)
                   10123:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10124:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10125: 
                   10126:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10127:       ;;
                   10128:     mingw* | cegcc*)
                   10129:       # MinGW DLLs use traditional 'lib' prefix
                   10130:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10131:       ;;
                   10132:     pw32*)
                   10133:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10134:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10135:       ;;
                   10136:     esac
                   10137:     dynamic_linker='Win32 ld.exe'
                   10138:     ;;
                   10139: 
                   10140:   *,cl*)
                   10141:     # Native MSVC
                   10142:     libname_spec='$name'
                   10143:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10144:     library_names_spec='${libname}.dll.lib'
                   10145: 
                   10146:     case $build_os in
                   10147:     mingw*)
                   10148:       sys_lib_search_path_spec=
                   10149:       lt_save_ifs=$IFS
                   10150:       IFS=';'
                   10151:       for lt_path in $LIB
                   10152:       do
                   10153:         IFS=$lt_save_ifs
                   10154:         # Let DOS variable expansion print the short 8.3 style file name.
                   10155:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10156:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10157:       done
                   10158:       IFS=$lt_save_ifs
                   10159:       # Convert to MSYS style.
                   10160:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10161:       ;;
                   10162:     cygwin*)
                   10163:       # Convert to unix form, then to dos form, then back to unix form
                   10164:       # but this time dos style (no spaces!) so that the unix form looks
                   10165:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10166:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10167:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10168:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10169:       ;;
                   10170:     *)
                   10171:       sys_lib_search_path_spec="$LIB"
                   10172:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10173:         # It is most probably a Windows format PATH.
                   10174:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10175:       else
                   10176:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10177:       fi
                   10178:       # FIXME: find the short name or the path components, as spaces are
                   10179:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10180:       ;;
                   10181:     esac
                   10182: 
                   10183:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10184:     postinstall_cmds='base_file=`basename \${file}`~
                   10185:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10186:       dldir=$destdir/`dirname \$dlpath`~
                   10187:       test -d \$dldir || mkdir -p \$dldir~
                   10188:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10189:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10190:       dlpath=$dir/\$dldll~
                   10191:        $RM \$dlpath'
                   10192:     shlibpath_overrides_runpath=yes
                   10193:     dynamic_linker='Win32 link.exe'
                   10194:     ;;
                   10195: 
                   10196:   *)
                   10197:     # Assume MSVC wrapper
                   10198:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10199:     dynamic_linker='Win32 ld.exe'
                   10200:     ;;
                   10201:   esac
                   10202:   # FIXME: first we should search . and the directory the executable is in
                   10203:   shlibpath_var=PATH
                   10204:   ;;
                   10205: 
                   10206: darwin* | rhapsody*)
                   10207:   dynamic_linker="$host_os dyld"
                   10208:   version_type=darwin
                   10209:   need_lib_prefix=no
                   10210:   need_version=no
                   10211:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10212:   soname_spec='${libname}${release}${major}$shared_ext'
                   10213:   shlibpath_overrides_runpath=yes
                   10214:   shlibpath_var=DYLD_LIBRARY_PATH
                   10215:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10216: 
                   10217:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10218:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10219:   ;;
                   10220: 
                   10221: dgux*)
                   10222:   version_type=linux # correct to gnu/linux during the next big refactor
                   10223:   need_lib_prefix=no
                   10224:   need_version=no
                   10225:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10226:   soname_spec='${libname}${release}${shared_ext}$major'
                   10227:   shlibpath_var=LD_LIBRARY_PATH
                   10228:   ;;
                   10229: 
                   10230: freebsd* | dragonfly*)
                   10231:   # DragonFly does not have aout.  When/if they implement a new
                   10232:   # versioning mechanism, adjust this.
                   10233:   if test -x /usr/bin/objformat; then
                   10234:     objformat=`/usr/bin/objformat`
                   10235:   else
                   10236:     case $host_os in
                   10237:     freebsd[23].*) objformat=aout ;;
                   10238:     *) objformat=elf ;;
                   10239:     esac
                   10240:   fi
                   10241:   version_type=freebsd-$objformat
                   10242:   case $version_type in
                   10243:     freebsd-elf*)
                   10244:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10245:       need_version=no
                   10246:       need_lib_prefix=no
                   10247:       ;;
                   10248:     freebsd-*)
                   10249:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10250:       need_version=yes
                   10251:       ;;
                   10252:   esac
                   10253:   shlibpath_var=LD_LIBRARY_PATH
                   10254:   case $host_os in
                   10255:   freebsd2.*)
                   10256:     shlibpath_overrides_runpath=yes
                   10257:     ;;
                   10258:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10259:     shlibpath_overrides_runpath=yes
                   10260:     hardcode_into_libs=yes
                   10261:     ;;
                   10262:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10263:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10264:     shlibpath_overrides_runpath=no
                   10265:     hardcode_into_libs=yes
                   10266:     ;;
                   10267:   *) # from 4.6 on, and DragonFly
                   10268:     shlibpath_overrides_runpath=yes
                   10269:     hardcode_into_libs=yes
                   10270:     ;;
                   10271:   esac
                   10272:   ;;
                   10273: 
                   10274: gnu*)
                   10275:   version_type=linux # correct to gnu/linux during the next big refactor
                   10276:   need_lib_prefix=no
                   10277:   need_version=no
                   10278:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10279:   soname_spec='${libname}${release}${shared_ext}$major'
                   10280:   shlibpath_var=LD_LIBRARY_PATH
                   10281:   shlibpath_overrides_runpath=no
                   10282:   hardcode_into_libs=yes
                   10283:   ;;
                   10284: 
                   10285: haiku*)
                   10286:   version_type=linux # correct to gnu/linux during the next big refactor
                   10287:   need_lib_prefix=no
                   10288:   need_version=no
                   10289:   dynamic_linker="$host_os runtime_loader"
                   10290:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10291:   soname_spec='${libname}${release}${shared_ext}$major'
                   10292:   shlibpath_var=LIBRARY_PATH
                   10293:   shlibpath_overrides_runpath=yes
                   10294:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10295:   hardcode_into_libs=yes
                   10296:   ;;
                   10297: 
                   10298: hpux9* | hpux10* | hpux11*)
                   10299:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10300:   # link against other versions.
                   10301:   version_type=sunos
                   10302:   need_lib_prefix=no
                   10303:   need_version=no
                   10304:   case $host_cpu in
                   10305:   ia64*)
                   10306:     shrext_cmds='.so'
                   10307:     hardcode_into_libs=yes
                   10308:     dynamic_linker="$host_os dld.so"
                   10309:     shlibpath_var=LD_LIBRARY_PATH
                   10310:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10311:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10312:     soname_spec='${libname}${release}${shared_ext}$major'
                   10313:     if test "X$HPUX_IA64_MODE" = X32; then
                   10314:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10315:     else
                   10316:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10317:     fi
                   10318:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10319:     ;;
                   10320:   hppa*64*)
                   10321:     shrext_cmds='.sl'
                   10322:     hardcode_into_libs=yes
                   10323:     dynamic_linker="$host_os dld.sl"
                   10324:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10325:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10326:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10327:     soname_spec='${libname}${release}${shared_ext}$major'
                   10328:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10329:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10330:     ;;
                   10331:   *)
                   10332:     shrext_cmds='.sl'
                   10333:     dynamic_linker="$host_os dld.sl"
                   10334:     shlibpath_var=SHLIB_PATH
                   10335:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10336:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10337:     soname_spec='${libname}${release}${shared_ext}$major'
                   10338:     ;;
                   10339:   esac
                   10340:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   10341:   postinstall_cmds='chmod 555 $lib'
                   10342:   # or fails outright, so override atomically:
                   10343:   install_override_mode=555
                   10344:   ;;
                   10345: 
                   10346: interix[3-9]*)
                   10347:   version_type=linux # correct to gnu/linux during the next big refactor
                   10348:   need_lib_prefix=no
                   10349:   need_version=no
                   10350:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10351:   soname_spec='${libname}${release}${shared_ext}$major'
                   10352:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10353:   shlibpath_var=LD_LIBRARY_PATH
                   10354:   shlibpath_overrides_runpath=no
                   10355:   hardcode_into_libs=yes
                   10356:   ;;
                   10357: 
                   10358: irix5* | irix6* | nonstopux*)
                   10359:   case $host_os in
                   10360:     nonstopux*) version_type=nonstopux ;;
                   10361:     *)
                   10362:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10363:                version_type=linux # correct to gnu/linux during the next big refactor
                   10364:        else
                   10365:                version_type=irix
                   10366:        fi ;;
                   10367:   esac
                   10368:   need_lib_prefix=no
                   10369:   need_version=no
                   10370:   soname_spec='${libname}${release}${shared_ext}$major'
                   10371:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10372:   case $host_os in
                   10373:   irix5* | nonstopux*)
                   10374:     libsuff= shlibsuff=
                   10375:     ;;
                   10376:   *)
                   10377:     case $LD in # libtool.m4 will add one of these switches to LD
                   10378:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10379:       libsuff= shlibsuff= libmagic=32-bit;;
                   10380:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10381:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10382:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10383:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10384:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10385:     esac
                   10386:     ;;
                   10387:   esac
                   10388:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10389:   shlibpath_overrides_runpath=no
                   10390:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10391:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10392:   hardcode_into_libs=yes
                   10393:   ;;
                   10394: 
                   10395: # No shared lib support for Linux oldld, aout, or coff.
                   10396: linux*oldld* | linux*aout* | linux*coff*)
                   10397:   dynamic_linker=no
                   10398:   ;;
                   10399: 
                   10400: # This must be glibc/ELF.
                   10401: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10402:   version_type=linux # correct to gnu/linux during the next big refactor
                   10403:   need_lib_prefix=no
                   10404:   need_version=no
                   10405:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10406:   soname_spec='${libname}${release}${shared_ext}$major'
                   10407:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10408:   shlibpath_var=LD_LIBRARY_PATH
                   10409:   shlibpath_overrides_runpath=no
                   10410: 
                   10411:   # Some binutils ld are patched to set DT_RUNPATH
                   10412:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   10413:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10414: else
                   10415:   lt_cv_shlibpath_overrides_runpath=no
                   10416:     save_LDFLAGS=$LDFLAGS
                   10417:     save_libdir=$libdir
                   10418:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10419:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   10420:     cat >conftest.$ac_ext <<_ACEOF
                   10421: /* confdefs.h.  */
                   10422: _ACEOF
                   10423: cat confdefs.h >>conftest.$ac_ext
                   10424: cat >>conftest.$ac_ext <<_ACEOF
                   10425: /* end confdefs.h.  */
                   10426: 
                   10427: int
                   10428: main ()
                   10429: {
                   10430: 
                   10431:   ;
                   10432:   return 0;
                   10433: }
                   10434: _ACEOF
                   10435: rm -f conftest.$ac_objext conftest$ac_exeext
                   10436: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10437:   (eval $ac_link) 2>conftest.er1
                   10438:   ac_status=$?
                   10439:   grep -v '^ *+' conftest.er1 >conftest.err
                   10440:   rm -f conftest.er1
                   10441:   cat conftest.err >&5
                   10442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10443:   (exit $ac_status); } &&
                   10444:         { ac_try='test -z "$ac_c_werror_flag"
                   10445:                         || test ! -s conftest.err'
                   10446:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10447:   (eval $ac_try) 2>&5
                   10448:   ac_status=$?
                   10449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10450:   (exit $ac_status); }; } &&
                   10451:         { ac_try='test -s conftest$ac_exeext'
                   10452:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10453:   (eval $ac_try) 2>&5
                   10454:   ac_status=$?
                   10455:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10456:   (exit $ac_status); }; }; then
                   10457:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   10458:   lt_cv_shlibpath_overrides_runpath=yes
                   10459: fi
                   10460: 
                   10461: else
                   10462:   echo "$as_me: failed program was:" >&5
                   10463: sed 's/^/| /' conftest.$ac_ext >&5
                   10464: 
                   10465: fi
                   10466: rm -f conftest.err conftest.$ac_objext \
                   10467:       conftest$ac_exeext conftest.$ac_ext
                   10468:     LDFLAGS=$save_LDFLAGS
                   10469:     libdir=$save_libdir
                   10470: 
                   10471: fi
                   10472: 
                   10473:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   10474: 
                   10475:   # This implies no fast_install, which is unacceptable.
                   10476:   # Some rework will be needed to allow for fast_install
                   10477:   # before this can be enabled.
                   10478:   hardcode_into_libs=yes
                   10479: 
                   10480:   # Append ld.so.conf contents to the search path
                   10481:   if test -f /etc/ld.so.conf; then
                   10482:     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' ' '`
                   10483:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10484:   fi
                   10485: 
                   10486:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10487:   # powerpc, because MkLinux only supported shared libraries with the
                   10488:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10489:   # most powerpc-linux boxes support dynamic linking these days and
                   10490:   # people can always --disable-shared, the test was removed, and we
                   10491:   # assume the GNU/Linux dynamic linker is in use.
                   10492:   dynamic_linker='GNU/Linux ld.so'
                   10493:   ;;
                   10494: 
                   10495: netbsd*)
                   10496:   version_type=sunos
                   10497:   need_lib_prefix=no
                   10498:   need_version=no
                   10499:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10500:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10501:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10502:     dynamic_linker='NetBSD (a.out) ld.so'
                   10503:   else
                   10504:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10505:     soname_spec='${libname}${release}${shared_ext}$major'
                   10506:     dynamic_linker='NetBSD ld.elf_so'
                   10507:   fi
                   10508:   shlibpath_var=LD_LIBRARY_PATH
                   10509:   shlibpath_overrides_runpath=yes
                   10510:   hardcode_into_libs=yes
                   10511:   ;;
                   10512: 
                   10513: newsos6)
                   10514:   version_type=linux # correct to gnu/linux during the next big refactor
                   10515:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10516:   shlibpath_var=LD_LIBRARY_PATH
                   10517:   shlibpath_overrides_runpath=yes
                   10518:   ;;
                   10519: 
                   10520: *nto* | *qnx*)
                   10521:   version_type=qnx
                   10522:   need_lib_prefix=no
                   10523:   need_version=no
                   10524:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10525:   soname_spec='${libname}${release}${shared_ext}$major'
                   10526:   shlibpath_var=LD_LIBRARY_PATH
                   10527:   shlibpath_overrides_runpath=no
                   10528:   hardcode_into_libs=yes
                   10529:   dynamic_linker='ldqnx.so'
                   10530:   ;;
                   10531: 
                   10532: openbsd*)
                   10533:   version_type=sunos
                   10534:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10535:   need_lib_prefix=no
                   10536:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10537:   case $host_os in
                   10538:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10539:     *)                         need_version=no  ;;
                   10540:   esac
                   10541:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10542:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10543:   shlibpath_var=LD_LIBRARY_PATH
                   10544:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10545:     case $host_os in
                   10546:       openbsd2.[89] | openbsd2.[89].*)
                   10547:        shlibpath_overrides_runpath=no
                   10548:        ;;
                   10549:       *)
                   10550:        shlibpath_overrides_runpath=yes
                   10551:        ;;
                   10552:       esac
                   10553:   else
                   10554:     shlibpath_overrides_runpath=yes
                   10555:   fi
                   10556:   ;;
                   10557: 
                   10558: os2*)
                   10559:   libname_spec='$name'
                   10560:   shrext_cmds=".dll"
                   10561:   need_lib_prefix=no
                   10562:   library_names_spec='$libname${shared_ext} $libname.a'
                   10563:   dynamic_linker='OS/2 ld.exe'
                   10564:   shlibpath_var=LIBPATH
                   10565:   ;;
                   10566: 
                   10567: osf3* | osf4* | osf5*)
                   10568:   version_type=osf
                   10569:   need_lib_prefix=no
                   10570:   need_version=no
                   10571:   soname_spec='${libname}${release}${shared_ext}$major'
                   10572:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10573:   shlibpath_var=LD_LIBRARY_PATH
                   10574:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10575:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10576:   ;;
                   10577: 
                   10578: rdos*)
                   10579:   dynamic_linker=no
                   10580:   ;;
                   10581: 
                   10582: solaris*)
                   10583:   version_type=linux # correct to gnu/linux during the next big refactor
                   10584:   need_lib_prefix=no
                   10585:   need_version=no
                   10586:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10587:   soname_spec='${libname}${release}${shared_ext}$major'
                   10588:   shlibpath_var=LD_LIBRARY_PATH
                   10589:   shlibpath_overrides_runpath=yes
                   10590:   hardcode_into_libs=yes
                   10591:   # ldd complains unless libraries are executable
                   10592:   postinstall_cmds='chmod +x $lib'
                   10593:   ;;
                   10594: 
                   10595: sunos4*)
                   10596:   version_type=sunos
                   10597:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10598:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10599:   shlibpath_var=LD_LIBRARY_PATH
                   10600:   shlibpath_overrides_runpath=yes
                   10601:   if test "$with_gnu_ld" = yes; then
                   10602:     need_lib_prefix=no
                   10603:   fi
                   10604:   need_version=yes
                   10605:   ;;
                   10606: 
                   10607: sysv4 | sysv4.3*)
                   10608:   version_type=linux # correct to gnu/linux during the next big refactor
                   10609:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10610:   soname_spec='${libname}${release}${shared_ext}$major'
                   10611:   shlibpath_var=LD_LIBRARY_PATH
                   10612:   case $host_vendor in
                   10613:     sni)
                   10614:       shlibpath_overrides_runpath=no
                   10615:       need_lib_prefix=no
                   10616:       runpath_var=LD_RUN_PATH
                   10617:       ;;
                   10618:     siemens)
                   10619:       need_lib_prefix=no
                   10620:       ;;
                   10621:     motorola)
                   10622:       need_lib_prefix=no
                   10623:       need_version=no
                   10624:       shlibpath_overrides_runpath=no
                   10625:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10626:       ;;
                   10627:   esac
                   10628:   ;;
                   10629: 
                   10630: sysv4*MP*)
                   10631:   if test -d /usr/nec ;then
                   10632:     version_type=linux # correct to gnu/linux during the next big refactor
                   10633:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10634:     soname_spec='$libname${shared_ext}.$major'
                   10635:     shlibpath_var=LD_LIBRARY_PATH
                   10636:   fi
                   10637:   ;;
                   10638: 
                   10639: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10640:   version_type=freebsd-elf
                   10641:   need_lib_prefix=no
                   10642:   need_version=no
                   10643:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10644:   soname_spec='${libname}${release}${shared_ext}$major'
                   10645:   shlibpath_var=LD_LIBRARY_PATH
                   10646:   shlibpath_overrides_runpath=yes
                   10647:   hardcode_into_libs=yes
                   10648:   if test "$with_gnu_ld" = yes; then
                   10649:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10650:   else
                   10651:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10652:     case $host_os in
                   10653:       sco3.2v5*)
                   10654:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10655:        ;;
                   10656:     esac
                   10657:   fi
                   10658:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10659:   ;;
                   10660: 
                   10661: tpf*)
                   10662:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10663:   version_type=linux # correct to gnu/linux during the next big refactor
                   10664:   need_lib_prefix=no
                   10665:   need_version=no
                   10666:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10667:   shlibpath_var=LD_LIBRARY_PATH
                   10668:   shlibpath_overrides_runpath=no
                   10669:   hardcode_into_libs=yes
                   10670:   ;;
                   10671: 
                   10672: uts4*)
                   10673:   version_type=linux # correct to gnu/linux during the next big refactor
                   10674:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10675:   soname_spec='${libname}${release}${shared_ext}$major'
                   10676:   shlibpath_var=LD_LIBRARY_PATH
                   10677:   ;;
                   10678: 
                   10679: *)
                   10680:   dynamic_linker=no
                   10681:   ;;
                   10682: esac
                   10683: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   10684: echo "${ECHO_T}$dynamic_linker" >&6
                   10685: test "$dynamic_linker" = no && can_build_shared=no
                   10686: 
                   10687: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10688: if test "$GCC" = yes; then
                   10689:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10690: fi
                   10691: 
                   10692: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10693:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10694: fi
                   10695: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10696:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10697: fi
                   10698: 
                   10699: 
                   10700: 
                   10701: 
                   10702: 
                   10703: 
                   10704: 
                   10705: 
                   10706: 
                   10707: 
                   10708: 
                   10709: 
                   10710: 
                   10711: 
                   10712: 
                   10713: 
                   10714: 
                   10715: 
                   10716: 
                   10717: 
                   10718: 
                   10719: 
                   10720: 
                   10721: 
                   10722: 
                   10723: 
                   10724: 
                   10725: 
                   10726: 
                   10727: 
                   10728: 
                   10729: 
                   10730: 
                   10731: 
                   10732: 
                   10733: 
                   10734: 
                   10735: 
                   10736: 
                   10737: 
                   10738: 
                   10739: 
                   10740: 
                   10741: 
                   10742: 
                   10743: 
                   10744: 
                   10745: 
                   10746: 
                   10747: 
                   10748: 
                   10749: 
                   10750: 
                   10751: 
                   10752: 
                   10753: 
                   10754: 
                   10755: 
                   10756: 
                   10757: 
                   10758: 
                   10759: 
                   10760: 
                   10761: 
                   10762: 
                   10763: 
                   10764: 
                   10765: 
                   10766: 
                   10767: 
                   10768: 
                   10769: 
                   10770: 
                   10771: 
                   10772: 
                   10773: 
                   10774: 
                   10775: 
                   10776: 
                   10777: 
                   10778: 
                   10779: 
                   10780: 
                   10781: 
                   10782: 
                   10783: 
                   10784: 
                   10785: 
                   10786: 
                   10787: 
                   10788: 
                   10789: 
                   10790:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   10791: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   10792: hardcode_action=
                   10793: if test -n "$hardcode_libdir_flag_spec" ||
                   10794:    test -n "$runpath_var" ||
                   10795:    test "X$hardcode_automatic" = "Xyes" ; then
                   10796: 
                   10797:   # We can hardcode non-existent directories.
                   10798:   if test "$hardcode_direct" != no &&
                   10799:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10800:      # have to relink, otherwise we might link with an installed library
                   10801:      # when we should be linking with a yet-to-be-installed one
                   10802:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10803:      test "$hardcode_minus_L" != no; then
                   10804:     # Linking always hardcodes the temporary library directory.
                   10805:     hardcode_action=relink
                   10806:   else
                   10807:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10808:     hardcode_action=immediate
                   10809:   fi
                   10810: else
                   10811:   # We cannot hardcode anything, or else we can only hardcode existing
                   10812:   # directories.
                   10813:   hardcode_action=unsupported
                   10814: fi
                   10815: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   10816: echo "${ECHO_T}$hardcode_action" >&6
                   10817: 
                   10818: if test "$hardcode_action" = relink ||
                   10819:    test "$inherit_rpath" = yes; then
                   10820:   # Fast installation is not supported
                   10821:   enable_fast_install=no
                   10822: elif test "$shlibpath_overrides_runpath" = yes ||
                   10823:      test "$enable_shared" = no; then
                   10824:   # Fast installation is not necessary
                   10825:   enable_fast_install=needless
                   10826: fi
                   10827: 
                   10828: 
                   10829: 
                   10830: 
                   10831: 
                   10832: 
                   10833:   if test "x$enable_dlopen" != xyes; then
                   10834:   enable_dlopen=unknown
                   10835:   enable_dlopen_self=unknown
                   10836:   enable_dlopen_self_static=unknown
                   10837: else
                   10838:   lt_cv_dlopen=no
                   10839:   lt_cv_dlopen_libs=
                   10840: 
                   10841:   case $host_os in
                   10842:   beos*)
                   10843:     lt_cv_dlopen="load_add_on"
                   10844:     lt_cv_dlopen_libs=
                   10845:     lt_cv_dlopen_self=yes
                   10846:     ;;
                   10847: 
                   10848:   mingw* | pw32* | cegcc*)
                   10849:     lt_cv_dlopen="LoadLibrary"
                   10850:     lt_cv_dlopen_libs=
                   10851:     ;;
                   10852: 
                   10853:   cygwin*)
                   10854:     lt_cv_dlopen="dlopen"
                   10855:     lt_cv_dlopen_libs=
                   10856:     ;;
                   10857: 
                   10858:   darwin*)
                   10859:   # if libdl is installed we need to link against it
                   10860:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   10861: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   10862: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   10863:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10864: else
                   10865:   ac_check_lib_save_LIBS=$LIBS
                   10866: LIBS="-ldl  $LIBS"
                   10867: cat >conftest.$ac_ext <<_ACEOF
                   10868: /* confdefs.h.  */
                   10869: _ACEOF
                   10870: cat confdefs.h >>conftest.$ac_ext
                   10871: cat >>conftest.$ac_ext <<_ACEOF
                   10872: /* end confdefs.h.  */
                   10873: 
                   10874: /* Override any gcc2 internal prototype to avoid an error.  */
                   10875: #ifdef __cplusplus
                   10876: extern "C"
                   10877: #endif
                   10878: /* We use char because int might match the return type of a gcc2
                   10879:    builtin and then its argument prototype would still apply.  */
                   10880: char dlopen ();
                   10881: int
                   10882: main ()
                   10883: {
                   10884: dlopen ();
                   10885:   ;
                   10886:   return 0;
                   10887: }
                   10888: _ACEOF
                   10889: rm -f conftest.$ac_objext conftest$ac_exeext
                   10890: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10891:   (eval $ac_link) 2>conftest.er1
                   10892:   ac_status=$?
                   10893:   grep -v '^ *+' conftest.er1 >conftest.err
                   10894:   rm -f conftest.er1
                   10895:   cat conftest.err >&5
                   10896:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10897:   (exit $ac_status); } &&
                   10898:         { ac_try='test -z "$ac_c_werror_flag"
                   10899:                         || test ! -s conftest.err'
                   10900:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10901:   (eval $ac_try) 2>&5
                   10902:   ac_status=$?
                   10903:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10904:   (exit $ac_status); }; } &&
                   10905:         { ac_try='test -s conftest$ac_exeext'
                   10906:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10907:   (eval $ac_try) 2>&5
                   10908:   ac_status=$?
                   10909:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10910:   (exit $ac_status); }; }; then
                   10911:   ac_cv_lib_dl_dlopen=yes
                   10912: else
                   10913:   echo "$as_me: failed program was:" >&5
                   10914: sed 's/^/| /' conftest.$ac_ext >&5
                   10915: 
                   10916: ac_cv_lib_dl_dlopen=no
                   10917: fi
                   10918: rm -f conftest.err conftest.$ac_objext \
                   10919:       conftest$ac_exeext conftest.$ac_ext
                   10920: LIBS=$ac_check_lib_save_LIBS
                   10921: fi
                   10922: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   10923: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   10924: if test $ac_cv_lib_dl_dlopen = yes; then
                   10925:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10926: else
                   10927: 
                   10928:     lt_cv_dlopen="dyld"
                   10929:     lt_cv_dlopen_libs=
                   10930:     lt_cv_dlopen_self=yes
                   10931: 
                   10932: fi
                   10933: 
                   10934:     ;;
                   10935: 
                   10936:   *)
                   10937:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   10938: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   10939: if test "${ac_cv_func_shl_load+set}" = set; then
                   10940:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10941: else
                   10942:   cat >conftest.$ac_ext <<_ACEOF
                   10943: /* confdefs.h.  */
                   10944: _ACEOF
                   10945: cat confdefs.h >>conftest.$ac_ext
                   10946: cat >>conftest.$ac_ext <<_ACEOF
                   10947: /* end confdefs.h.  */
                   10948: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   10949:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   10950: #define shl_load innocuous_shl_load
                   10951: 
                   10952: /* System header to define __stub macros and hopefully few prototypes,
                   10953:     which can conflict with char shl_load (); below.
                   10954:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10955:     <limits.h> exists even on freestanding compilers.  */
                   10956: 
                   10957: #ifdef __STDC__
                   10958: # include <limits.h>
                   10959: #else
                   10960: # include <assert.h>
                   10961: #endif
                   10962: 
                   10963: #undef shl_load
                   10964: 
                   10965: /* Override any gcc2 internal prototype to avoid an error.  */
                   10966: #ifdef __cplusplus
                   10967: extern "C"
                   10968: {
                   10969: #endif
                   10970: /* We use char because int might match the return type of a gcc2
                   10971:    builtin and then its argument prototype would still apply.  */
                   10972: char shl_load ();
                   10973: /* The GNU C library defines this for functions which it implements
                   10974:     to always fail with ENOSYS.  Some functions are actually named
                   10975:     something starting with __ and the normal name is an alias.  */
                   10976: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   10977: choke me
                   10978: #else
                   10979: char (*f) () = shl_load;
                   10980: #endif
                   10981: #ifdef __cplusplus
                   10982: }
                   10983: #endif
                   10984: 
                   10985: int
                   10986: main ()
                   10987: {
                   10988: return f != shl_load;
                   10989:   ;
                   10990:   return 0;
                   10991: }
                   10992: _ACEOF
                   10993: rm -f conftest.$ac_objext conftest$ac_exeext
                   10994: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10995:   (eval $ac_link) 2>conftest.er1
                   10996:   ac_status=$?
                   10997:   grep -v '^ *+' conftest.er1 >conftest.err
                   10998:   rm -f conftest.er1
                   10999:   cat conftest.err >&5
                   11000:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11001:   (exit $ac_status); } &&
                   11002:         { ac_try='test -z "$ac_c_werror_flag"
                   11003:                         || test ! -s conftest.err'
                   11004:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11005:   (eval $ac_try) 2>&5
                   11006:   ac_status=$?
                   11007:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11008:   (exit $ac_status); }; } &&
                   11009:         { ac_try='test -s conftest$ac_exeext'
                   11010:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11011:   (eval $ac_try) 2>&5
                   11012:   ac_status=$?
                   11013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11014:   (exit $ac_status); }; }; then
                   11015:   ac_cv_func_shl_load=yes
                   11016: else
                   11017:   echo "$as_me: failed program was:" >&5
                   11018: sed 's/^/| /' conftest.$ac_ext >&5
                   11019: 
                   11020: ac_cv_func_shl_load=no
                   11021: fi
                   11022: rm -f conftest.err conftest.$ac_objext \
                   11023:       conftest$ac_exeext conftest.$ac_ext
                   11024: fi
                   11025: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   11026: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   11027: if test $ac_cv_func_shl_load = yes; then
                   11028:   lt_cv_dlopen="shl_load"
                   11029: else
                   11030:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   11031: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   11032: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   11033:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11034: else
                   11035:   ac_check_lib_save_LIBS=$LIBS
                   11036: LIBS="-ldld  $LIBS"
                   11037: cat >conftest.$ac_ext <<_ACEOF
                   11038: /* confdefs.h.  */
                   11039: _ACEOF
                   11040: cat confdefs.h >>conftest.$ac_ext
                   11041: cat >>conftest.$ac_ext <<_ACEOF
                   11042: /* end confdefs.h.  */
                   11043: 
                   11044: /* Override any gcc2 internal prototype to avoid an error.  */
                   11045: #ifdef __cplusplus
                   11046: extern "C"
                   11047: #endif
                   11048: /* We use char because int might match the return type of a gcc2
                   11049:    builtin and then its argument prototype would still apply.  */
                   11050: char shl_load ();
                   11051: int
                   11052: main ()
                   11053: {
                   11054: shl_load ();
                   11055:   ;
                   11056:   return 0;
                   11057: }
                   11058: _ACEOF
                   11059: rm -f conftest.$ac_objext conftest$ac_exeext
                   11060: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11061:   (eval $ac_link) 2>conftest.er1
                   11062:   ac_status=$?
                   11063:   grep -v '^ *+' conftest.er1 >conftest.err
                   11064:   rm -f conftest.er1
                   11065:   cat conftest.err >&5
                   11066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11067:   (exit $ac_status); } &&
                   11068:         { ac_try='test -z "$ac_c_werror_flag"
                   11069:                         || test ! -s conftest.err'
                   11070:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11071:   (eval $ac_try) 2>&5
                   11072:   ac_status=$?
                   11073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11074:   (exit $ac_status); }; } &&
                   11075:         { ac_try='test -s conftest$ac_exeext'
                   11076:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11077:   (eval $ac_try) 2>&5
                   11078:   ac_status=$?
                   11079:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11080:   (exit $ac_status); }; }; then
                   11081:   ac_cv_lib_dld_shl_load=yes
                   11082: else
                   11083:   echo "$as_me: failed program was:" >&5
                   11084: sed 's/^/| /' conftest.$ac_ext >&5
                   11085: 
                   11086: ac_cv_lib_dld_shl_load=no
                   11087: fi
                   11088: rm -f conftest.err conftest.$ac_objext \
                   11089:       conftest$ac_exeext conftest.$ac_ext
                   11090: LIBS=$ac_check_lib_save_LIBS
                   11091: fi
                   11092: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   11093: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   11094: if test $ac_cv_lib_dld_shl_load = yes; then
                   11095:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11096: else
                   11097:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   11098: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   11099: if test "${ac_cv_func_dlopen+set}" = set; then
                   11100:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11101: else
                   11102:   cat >conftest.$ac_ext <<_ACEOF
                   11103: /* confdefs.h.  */
                   11104: _ACEOF
                   11105: cat confdefs.h >>conftest.$ac_ext
                   11106: cat >>conftest.$ac_ext <<_ACEOF
                   11107: /* end confdefs.h.  */
                   11108: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   11109:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11110: #define dlopen innocuous_dlopen
                   11111: 
                   11112: /* System header to define __stub macros and hopefully few prototypes,
                   11113:     which can conflict with char dlopen (); below.
                   11114:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11115:     <limits.h> exists even on freestanding compilers.  */
                   11116: 
                   11117: #ifdef __STDC__
                   11118: # include <limits.h>
                   11119: #else
                   11120: # include <assert.h>
                   11121: #endif
                   11122: 
                   11123: #undef dlopen
                   11124: 
                   11125: /* Override any gcc2 internal prototype to avoid an error.  */
                   11126: #ifdef __cplusplus
                   11127: extern "C"
                   11128: {
                   11129: #endif
                   11130: /* We use char because int might match the return type of a gcc2
                   11131:    builtin and then its argument prototype would still apply.  */
                   11132: char dlopen ();
                   11133: /* The GNU C library defines this for functions which it implements
                   11134:     to always fail with ENOSYS.  Some functions are actually named
                   11135:     something starting with __ and the normal name is an alias.  */
                   11136: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   11137: choke me
                   11138: #else
                   11139: char (*f) () = dlopen;
                   11140: #endif
                   11141: #ifdef __cplusplus
                   11142: }
                   11143: #endif
                   11144: 
                   11145: int
                   11146: main ()
                   11147: {
                   11148: return f != dlopen;
                   11149:   ;
                   11150:   return 0;
                   11151: }
                   11152: _ACEOF
                   11153: rm -f conftest.$ac_objext conftest$ac_exeext
                   11154: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11155:   (eval $ac_link) 2>conftest.er1
                   11156:   ac_status=$?
                   11157:   grep -v '^ *+' conftest.er1 >conftest.err
                   11158:   rm -f conftest.er1
                   11159:   cat conftest.err >&5
                   11160:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11161:   (exit $ac_status); } &&
                   11162:         { ac_try='test -z "$ac_c_werror_flag"
                   11163:                         || test ! -s conftest.err'
                   11164:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11165:   (eval $ac_try) 2>&5
                   11166:   ac_status=$?
                   11167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11168:   (exit $ac_status); }; } &&
                   11169:         { ac_try='test -s conftest$ac_exeext'
                   11170:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11171:   (eval $ac_try) 2>&5
                   11172:   ac_status=$?
                   11173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11174:   (exit $ac_status); }; }; then
                   11175:   ac_cv_func_dlopen=yes
                   11176: else
                   11177:   echo "$as_me: failed program was:" >&5
                   11178: sed 's/^/| /' conftest.$ac_ext >&5
                   11179: 
                   11180: ac_cv_func_dlopen=no
                   11181: fi
                   11182: rm -f conftest.err conftest.$ac_objext \
                   11183:       conftest$ac_exeext conftest.$ac_ext
                   11184: fi
                   11185: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   11186: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   11187: if test $ac_cv_func_dlopen = yes; then
                   11188:   lt_cv_dlopen="dlopen"
                   11189: else
                   11190:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11191: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11192: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11193:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11194: else
                   11195:   ac_check_lib_save_LIBS=$LIBS
                   11196: LIBS="-ldl  $LIBS"
                   11197: cat >conftest.$ac_ext <<_ACEOF
                   11198: /* confdefs.h.  */
                   11199: _ACEOF
                   11200: cat confdefs.h >>conftest.$ac_ext
                   11201: cat >>conftest.$ac_ext <<_ACEOF
                   11202: /* end confdefs.h.  */
                   11203: 
                   11204: /* Override any gcc2 internal prototype to avoid an error.  */
                   11205: #ifdef __cplusplus
                   11206: extern "C"
                   11207: #endif
                   11208: /* We use char because int might match the return type of a gcc2
                   11209:    builtin and then its argument prototype would still apply.  */
                   11210: char dlopen ();
                   11211: int
                   11212: main ()
                   11213: {
                   11214: dlopen ();
                   11215:   ;
                   11216:   return 0;
                   11217: }
                   11218: _ACEOF
                   11219: rm -f conftest.$ac_objext conftest$ac_exeext
                   11220: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11221:   (eval $ac_link) 2>conftest.er1
                   11222:   ac_status=$?
                   11223:   grep -v '^ *+' conftest.er1 >conftest.err
                   11224:   rm -f conftest.er1
                   11225:   cat conftest.err >&5
                   11226:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11227:   (exit $ac_status); } &&
                   11228:         { ac_try='test -z "$ac_c_werror_flag"
                   11229:                         || test ! -s conftest.err'
                   11230:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11231:   (eval $ac_try) 2>&5
                   11232:   ac_status=$?
                   11233:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11234:   (exit $ac_status); }; } &&
                   11235:         { ac_try='test -s conftest$ac_exeext'
                   11236:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11237:   (eval $ac_try) 2>&5
                   11238:   ac_status=$?
                   11239:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11240:   (exit $ac_status); }; }; then
                   11241:   ac_cv_lib_dl_dlopen=yes
                   11242: else
                   11243:   echo "$as_me: failed program was:" >&5
                   11244: sed 's/^/| /' conftest.$ac_ext >&5
                   11245: 
                   11246: ac_cv_lib_dl_dlopen=no
                   11247: fi
                   11248: rm -f conftest.err conftest.$ac_objext \
                   11249:       conftest$ac_exeext conftest.$ac_ext
                   11250: LIBS=$ac_check_lib_save_LIBS
                   11251: fi
                   11252: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11253: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11254: if test $ac_cv_lib_dl_dlopen = yes; then
                   11255:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11256: else
                   11257:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   11258: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   11259: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   11260:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11261: else
                   11262:   ac_check_lib_save_LIBS=$LIBS
                   11263: LIBS="-lsvld  $LIBS"
                   11264: cat >conftest.$ac_ext <<_ACEOF
                   11265: /* confdefs.h.  */
                   11266: _ACEOF
                   11267: cat confdefs.h >>conftest.$ac_ext
                   11268: cat >>conftest.$ac_ext <<_ACEOF
                   11269: /* end confdefs.h.  */
                   11270: 
                   11271: /* Override any gcc2 internal prototype to avoid an error.  */
                   11272: #ifdef __cplusplus
                   11273: extern "C"
                   11274: #endif
                   11275: /* We use char because int might match the return type of a gcc2
                   11276:    builtin and then its argument prototype would still apply.  */
                   11277: char dlopen ();
                   11278: int
                   11279: main ()
                   11280: {
                   11281: dlopen ();
                   11282:   ;
                   11283:   return 0;
                   11284: }
                   11285: _ACEOF
                   11286: rm -f conftest.$ac_objext conftest$ac_exeext
                   11287: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11288:   (eval $ac_link) 2>conftest.er1
                   11289:   ac_status=$?
                   11290:   grep -v '^ *+' conftest.er1 >conftest.err
                   11291:   rm -f conftest.er1
                   11292:   cat conftest.err >&5
                   11293:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11294:   (exit $ac_status); } &&
                   11295:         { ac_try='test -z "$ac_c_werror_flag"
                   11296:                         || test ! -s conftest.err'
                   11297:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11298:   (eval $ac_try) 2>&5
                   11299:   ac_status=$?
                   11300:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11301:   (exit $ac_status); }; } &&
                   11302:         { ac_try='test -s conftest$ac_exeext'
                   11303:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11304:   (eval $ac_try) 2>&5
                   11305:   ac_status=$?
                   11306:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11307:   (exit $ac_status); }; }; then
                   11308:   ac_cv_lib_svld_dlopen=yes
                   11309: else
                   11310:   echo "$as_me: failed program was:" >&5
                   11311: sed 's/^/| /' conftest.$ac_ext >&5
                   11312: 
                   11313: ac_cv_lib_svld_dlopen=no
                   11314: fi
                   11315: rm -f conftest.err conftest.$ac_objext \
                   11316:       conftest$ac_exeext conftest.$ac_ext
                   11317: LIBS=$ac_check_lib_save_LIBS
                   11318: fi
                   11319: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   11320: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   11321: if test $ac_cv_lib_svld_dlopen = yes; then
                   11322:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11323: else
                   11324:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   11325: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   11326: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   11327:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11328: else
                   11329:   ac_check_lib_save_LIBS=$LIBS
                   11330: LIBS="-ldld  $LIBS"
                   11331: cat >conftest.$ac_ext <<_ACEOF
                   11332: /* confdefs.h.  */
                   11333: _ACEOF
                   11334: cat confdefs.h >>conftest.$ac_ext
                   11335: cat >>conftest.$ac_ext <<_ACEOF
                   11336: /* end confdefs.h.  */
                   11337: 
                   11338: /* Override any gcc2 internal prototype to avoid an error.  */
                   11339: #ifdef __cplusplus
                   11340: extern "C"
                   11341: #endif
                   11342: /* We use char because int might match the return type of a gcc2
                   11343:    builtin and then its argument prototype would still apply.  */
                   11344: char dld_link ();
                   11345: int
                   11346: main ()
                   11347: {
                   11348: dld_link ();
                   11349:   ;
                   11350:   return 0;
                   11351: }
                   11352: _ACEOF
                   11353: rm -f conftest.$ac_objext conftest$ac_exeext
                   11354: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11355:   (eval $ac_link) 2>conftest.er1
                   11356:   ac_status=$?
                   11357:   grep -v '^ *+' conftest.er1 >conftest.err
                   11358:   rm -f conftest.er1
                   11359:   cat conftest.err >&5
                   11360:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11361:   (exit $ac_status); } &&
                   11362:         { ac_try='test -z "$ac_c_werror_flag"
                   11363:                         || test ! -s conftest.err'
                   11364:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11365:   (eval $ac_try) 2>&5
                   11366:   ac_status=$?
                   11367:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11368:   (exit $ac_status); }; } &&
                   11369:         { ac_try='test -s conftest$ac_exeext'
                   11370:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11371:   (eval $ac_try) 2>&5
                   11372:   ac_status=$?
                   11373:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11374:   (exit $ac_status); }; }; then
                   11375:   ac_cv_lib_dld_dld_link=yes
                   11376: else
                   11377:   echo "$as_me: failed program was:" >&5
                   11378: sed 's/^/| /' conftest.$ac_ext >&5
                   11379: 
                   11380: ac_cv_lib_dld_dld_link=no
                   11381: fi
                   11382: rm -f conftest.err conftest.$ac_objext \
                   11383:       conftest$ac_exeext conftest.$ac_ext
                   11384: LIBS=$ac_check_lib_save_LIBS
                   11385: fi
                   11386: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   11387: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   11388: if test $ac_cv_lib_dld_dld_link = yes; then
                   11389:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11390: fi
                   11391: 
                   11392: 
                   11393: fi
                   11394: 
                   11395: 
                   11396: fi
                   11397: 
                   11398: 
                   11399: fi
                   11400: 
                   11401: 
                   11402: fi
                   11403: 
                   11404: 
                   11405: fi
                   11406: 
                   11407:     ;;
                   11408:   esac
                   11409: 
                   11410:   if test "x$lt_cv_dlopen" != xno; then
                   11411:     enable_dlopen=yes
                   11412:   else
                   11413:     enable_dlopen=no
                   11414:   fi
                   11415: 
                   11416:   case $lt_cv_dlopen in
                   11417:   dlopen)
                   11418:     save_CPPFLAGS="$CPPFLAGS"
                   11419:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11420: 
                   11421:     save_LDFLAGS="$LDFLAGS"
                   11422:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11423: 
                   11424:     save_LIBS="$LIBS"
                   11425:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11426: 
                   11427:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   11428: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   11429: if test "${lt_cv_dlopen_self+set}" = set; then
                   11430:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11431: else
                   11432:          if test "$cross_compiling" = yes; then :
                   11433:   lt_cv_dlopen_self=cross
                   11434: else
                   11435:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11436:   lt_status=$lt_dlunknown
                   11437:   cat > conftest.$ac_ext <<_LT_EOF
                   11438: #line $LINENO "configure"
                   11439: #include "confdefs.h"
                   11440: 
                   11441: #if HAVE_DLFCN_H
                   11442: #include <dlfcn.h>
                   11443: #endif
                   11444: 
                   11445: #include <stdio.h>
                   11446: 
                   11447: #ifdef RTLD_GLOBAL
                   11448: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11449: #else
                   11450: #  ifdef DL_GLOBAL
                   11451: #    define LT_DLGLOBAL                DL_GLOBAL
                   11452: #  else
                   11453: #    define LT_DLGLOBAL                0
                   11454: #  endif
                   11455: #endif
                   11456: 
                   11457: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11458:    find out it does not work in some platform. */
                   11459: #ifndef LT_DLLAZY_OR_NOW
                   11460: #  ifdef RTLD_LAZY
                   11461: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11462: #  else
                   11463: #    ifdef DL_LAZY
                   11464: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11465: #    else
                   11466: #      ifdef RTLD_NOW
                   11467: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11468: #      else
                   11469: #        ifdef DL_NOW
                   11470: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11471: #        else
                   11472: #          define LT_DLLAZY_OR_NOW     0
                   11473: #        endif
                   11474: #      endif
                   11475: #    endif
                   11476: #  endif
                   11477: #endif
                   11478: 
                   11479: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11480:    correspondingly for the symbols needed.  */
                   11481: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11482: int fnord () __attribute__((visibility("default")));
                   11483: #endif
                   11484: 
                   11485: int fnord () { return 42; }
                   11486: int main ()
                   11487: {
                   11488:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11489:   int status = $lt_dlunknown;
                   11490: 
                   11491:   if (self)
                   11492:     {
                   11493:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11494:       else
                   11495:         {
                   11496:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11497:           else puts (dlerror ());
                   11498:        }
                   11499:       /* dlclose (self); */
                   11500:     }
                   11501:   else
                   11502:     puts (dlerror ());
                   11503: 
                   11504:   return status;
                   11505: }
                   11506: _LT_EOF
                   11507:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11508:   (eval $ac_link) 2>&5
                   11509:   ac_status=$?
                   11510:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11511:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11512:     (./conftest; exit; ) >&5 2>/dev/null
                   11513:     lt_status=$?
                   11514:     case x$lt_status in
                   11515:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11516:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11517:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11518:     esac
                   11519:   else :
                   11520:     # compilation failed
                   11521:     lt_cv_dlopen_self=no
                   11522:   fi
                   11523: fi
                   11524: rm -fr conftest*
                   11525: 
                   11526: 
                   11527: fi
                   11528: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   11529: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   11530: 
                   11531:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11532:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11533:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   11534: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   11535: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   11536:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11537: else
                   11538:          if test "$cross_compiling" = yes; then :
                   11539:   lt_cv_dlopen_self_static=cross
                   11540: else
                   11541:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11542:   lt_status=$lt_dlunknown
                   11543:   cat > conftest.$ac_ext <<_LT_EOF
                   11544: #line $LINENO "configure"
                   11545: #include "confdefs.h"
                   11546: 
                   11547: #if HAVE_DLFCN_H
                   11548: #include <dlfcn.h>
                   11549: #endif
                   11550: 
                   11551: #include <stdio.h>
                   11552: 
                   11553: #ifdef RTLD_GLOBAL
                   11554: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11555: #else
                   11556: #  ifdef DL_GLOBAL
                   11557: #    define LT_DLGLOBAL                DL_GLOBAL
                   11558: #  else
                   11559: #    define LT_DLGLOBAL                0
                   11560: #  endif
                   11561: #endif
                   11562: 
                   11563: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11564:    find out it does not work in some platform. */
                   11565: #ifndef LT_DLLAZY_OR_NOW
                   11566: #  ifdef RTLD_LAZY
                   11567: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11568: #  else
                   11569: #    ifdef DL_LAZY
                   11570: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11571: #    else
                   11572: #      ifdef RTLD_NOW
                   11573: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11574: #      else
                   11575: #        ifdef DL_NOW
                   11576: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11577: #        else
                   11578: #          define LT_DLLAZY_OR_NOW     0
                   11579: #        endif
                   11580: #      endif
                   11581: #    endif
                   11582: #  endif
                   11583: #endif
                   11584: 
                   11585: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11586:    correspondingly for the symbols needed.  */
                   11587: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11588: int fnord () __attribute__((visibility("default")));
                   11589: #endif
                   11590: 
                   11591: int fnord () { return 42; }
                   11592: int main ()
                   11593: {
                   11594:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11595:   int status = $lt_dlunknown;
                   11596: 
                   11597:   if (self)
                   11598:     {
                   11599:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11600:       else
                   11601:         {
                   11602:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11603:           else puts (dlerror ());
                   11604:        }
                   11605:       /* dlclose (self); */
                   11606:     }
                   11607:   else
                   11608:     puts (dlerror ());
                   11609: 
                   11610:   return status;
                   11611: }
                   11612: _LT_EOF
                   11613:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11614:   (eval $ac_link) 2>&5
                   11615:   ac_status=$?
                   11616:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11617:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11618:     (./conftest; exit; ) >&5 2>/dev/null
                   11619:     lt_status=$?
                   11620:     case x$lt_status in
                   11621:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11622:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11623:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11624:     esac
                   11625:   else :
                   11626:     # compilation failed
                   11627:     lt_cv_dlopen_self_static=no
                   11628:   fi
                   11629: fi
                   11630: rm -fr conftest*
                   11631: 
                   11632: 
                   11633: fi
                   11634: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   11635: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   11636:     fi
                   11637: 
                   11638:     CPPFLAGS="$save_CPPFLAGS"
                   11639:     LDFLAGS="$save_LDFLAGS"
                   11640:     LIBS="$save_LIBS"
                   11641:     ;;
                   11642:   esac
                   11643: 
                   11644:   case $lt_cv_dlopen_self in
                   11645:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11646:   *) enable_dlopen_self=unknown ;;
                   11647:   esac
                   11648: 
                   11649:   case $lt_cv_dlopen_self_static in
                   11650:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11651:   *) enable_dlopen_self_static=unknown ;;
                   11652:   esac
                   11653: fi
                   11654: 
                   11655: 
                   11656: 
                   11657: 
                   11658: 
                   11659: 
                   11660: 
                   11661: 
                   11662: 
                   11663: 
                   11664: 
                   11665: 
                   11666: 
                   11667: 
                   11668: 
                   11669: 
                   11670: 
                   11671: striplib=
                   11672: old_striplib=
                   11673: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   11674: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   11675: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11676:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11677:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11678:   echo "$as_me:$LINENO: result: yes" >&5
                   11679: echo "${ECHO_T}yes" >&6
                   11680: else
                   11681: # FIXME - insert some real tests, host_os isn't really good enough
                   11682:   case $host_os in
                   11683:   darwin*)
                   11684:     if test -n "$STRIP" ; then
                   11685:       striplib="$STRIP -x"
                   11686:       old_striplib="$STRIP -S"
                   11687:       echo "$as_me:$LINENO: result: yes" >&5
                   11688: echo "${ECHO_T}yes" >&6
                   11689:     else
                   11690:       echo "$as_me:$LINENO: result: no" >&5
                   11691: echo "${ECHO_T}no" >&6
                   11692:     fi
                   11693:     ;;
                   11694:   *)
                   11695:     echo "$as_me:$LINENO: result: no" >&5
                   11696: echo "${ECHO_T}no" >&6
                   11697:     ;;
                   11698:   esac
                   11699: fi
                   11700: 
                   11701: 
                   11702: 
                   11703: 
                   11704: 
                   11705: 
                   11706: 
                   11707: 
                   11708: 
                   11709: 
                   11710: 
                   11711: 
                   11712:   # Report which library types will actually be built
                   11713:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   11714: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   11715:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   11716: echo "${ECHO_T}$can_build_shared" >&6
                   11717: 
                   11718:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   11719: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   11720:   test "$can_build_shared" = "no" && enable_shared=no
                   11721: 
                   11722:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11723:   # are all built from PIC.
                   11724:   case $host_os in
                   11725:   aix3*)
                   11726:     test "$enable_shared" = yes && enable_static=no
                   11727:     if test -n "$RANLIB"; then
                   11728:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11729:       postinstall_cmds='$RANLIB $lib'
                   11730:     fi
                   11731:     ;;
                   11732: 
                   11733:   aix[4-9]*)
                   11734:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11735:       test "$enable_shared" = yes && enable_static=no
                   11736:     fi
                   11737:     ;;
                   11738:   esac
                   11739:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   11740: echo "${ECHO_T}$enable_shared" >&6
                   11741: 
                   11742:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   11743: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   11744:   # Make sure either enable_shared or enable_static is yes.
                   11745:   test "$enable_shared" = yes || enable_static=yes
                   11746:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   11747: echo "${ECHO_T}$enable_static" >&6
                   11748: 
                   11749: 
                   11750: 
                   11751: 
                   11752: fi
                   11753: ac_ext=c
                   11754: ac_cpp='$CPP $CPPFLAGS'
                   11755: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11756: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11757: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11758: 
                   11759: CC="$lt_save_CC"
                   11760: 
                   11761:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   11762:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   11763:     (test "X$CXX" != "Xg++"))) ; then
                   11764:   ac_ext=cc
                   11765: ac_cpp='$CXXCPP $CPPFLAGS'
                   11766: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11767: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11768: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   11769: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   11770: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
                   11771: if test -z "$CXXCPP"; then
                   11772:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   11773:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11774: else
                   11775:       # Double quotes because CXXCPP needs to be expanded
                   11776:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   11777:     do
                   11778:       ac_preproc_ok=false
                   11779: for ac_cxx_preproc_warn_flag in '' yes
                   11780: do
                   11781:   # Use a header file that comes with gcc, so configuring glibc
                   11782:   # with a fresh cross-compiler works.
                   11783:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11784:   # <limits.h> exists even on freestanding compilers.
                   11785:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   11786:   # not just through cpp. "Syntax error" is here to catch this case.
                   11787:   cat >conftest.$ac_ext <<_ACEOF
                   11788: /* confdefs.h.  */
                   11789: _ACEOF
                   11790: cat confdefs.h >>conftest.$ac_ext
                   11791: cat >>conftest.$ac_ext <<_ACEOF
                   11792: /* end confdefs.h.  */
                   11793: #ifdef __STDC__
                   11794: # include <limits.h>
                   11795: #else
                   11796: # include <assert.h>
                   11797: #endif
                   11798:                     Syntax error
                   11799: _ACEOF
                   11800: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11801:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11802:   ac_status=$?
                   11803:   grep -v '^ *+' conftest.er1 >conftest.err
                   11804:   rm -f conftest.er1
                   11805:   cat conftest.err >&5
                   11806:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11807:   (exit $ac_status); } >/dev/null; then
                   11808:   if test -s conftest.err; then
                   11809:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11810:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11811:   else
                   11812:     ac_cpp_err=
                   11813:   fi
                   11814: else
                   11815:   ac_cpp_err=yes
                   11816: fi
                   11817: if test -z "$ac_cpp_err"; then
                   11818:   :
                   11819: else
                   11820:   echo "$as_me: failed program was:" >&5
                   11821: sed 's/^/| /' conftest.$ac_ext >&5
                   11822: 
                   11823:   # Broken: fails on valid input.
                   11824: continue
                   11825: fi
                   11826: rm -f conftest.err conftest.$ac_ext
                   11827: 
                   11828:   # OK, works on sane cases.  Now check whether non-existent headers
                   11829:   # can be detected and how.
                   11830:   cat >conftest.$ac_ext <<_ACEOF
                   11831: /* confdefs.h.  */
                   11832: _ACEOF
                   11833: cat confdefs.h >>conftest.$ac_ext
                   11834: cat >>conftest.$ac_ext <<_ACEOF
                   11835: /* end confdefs.h.  */
                   11836: #include <ac_nonexistent.h>
                   11837: _ACEOF
                   11838: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11839:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11840:   ac_status=$?
                   11841:   grep -v '^ *+' conftest.er1 >conftest.err
                   11842:   rm -f conftest.er1
                   11843:   cat conftest.err >&5
                   11844:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11845:   (exit $ac_status); } >/dev/null; then
                   11846:   if test -s conftest.err; then
                   11847:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11848:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11849:   else
                   11850:     ac_cpp_err=
                   11851:   fi
                   11852: else
                   11853:   ac_cpp_err=yes
                   11854: fi
                   11855: if test -z "$ac_cpp_err"; then
                   11856:   # Broken: success on invalid input.
                   11857: continue
                   11858: else
                   11859:   echo "$as_me: failed program was:" >&5
                   11860: sed 's/^/| /' conftest.$ac_ext >&5
                   11861: 
                   11862:   # Passes both tests.
                   11863: ac_preproc_ok=:
                   11864: break
                   11865: fi
                   11866: rm -f conftest.err conftest.$ac_ext
                   11867: 
                   11868: done
                   11869: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   11870: rm -f conftest.err conftest.$ac_ext
                   11871: if $ac_preproc_ok; then
                   11872:   break
                   11873: fi
                   11874: 
                   11875:     done
                   11876:     ac_cv_prog_CXXCPP=$CXXCPP
                   11877: 
                   11878: fi
                   11879:   CXXCPP=$ac_cv_prog_CXXCPP
                   11880: else
                   11881:   ac_cv_prog_CXXCPP=$CXXCPP
                   11882: fi
                   11883: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   11884: echo "${ECHO_T}$CXXCPP" >&6
                   11885: ac_preproc_ok=false
                   11886: for ac_cxx_preproc_warn_flag in '' yes
                   11887: do
                   11888:   # Use a header file that comes with gcc, so configuring glibc
                   11889:   # with a fresh cross-compiler works.
                   11890:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11891:   # <limits.h> exists even on freestanding compilers.
                   11892:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   11893:   # not just through cpp. "Syntax error" is here to catch this case.
                   11894:   cat >conftest.$ac_ext <<_ACEOF
                   11895: /* confdefs.h.  */
                   11896: _ACEOF
                   11897: cat confdefs.h >>conftest.$ac_ext
                   11898: cat >>conftest.$ac_ext <<_ACEOF
                   11899: /* end confdefs.h.  */
                   11900: #ifdef __STDC__
                   11901: # include <limits.h>
                   11902: #else
                   11903: # include <assert.h>
                   11904: #endif
                   11905:                     Syntax error
                   11906: _ACEOF
                   11907: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11908:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11909:   ac_status=$?
                   11910:   grep -v '^ *+' conftest.er1 >conftest.err
                   11911:   rm -f conftest.er1
                   11912:   cat conftest.err >&5
                   11913:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11914:   (exit $ac_status); } >/dev/null; then
                   11915:   if test -s conftest.err; then
                   11916:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11917:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11918:   else
                   11919:     ac_cpp_err=
                   11920:   fi
                   11921: else
                   11922:   ac_cpp_err=yes
                   11923: fi
                   11924: if test -z "$ac_cpp_err"; then
                   11925:   :
                   11926: else
                   11927:   echo "$as_me: failed program was:" >&5
                   11928: sed 's/^/| /' conftest.$ac_ext >&5
                   11929: 
                   11930:   # Broken: fails on valid input.
                   11931: continue
                   11932: fi
                   11933: rm -f conftest.err conftest.$ac_ext
                   11934: 
                   11935:   # OK, works on sane cases.  Now check whether non-existent headers
                   11936:   # can be detected and how.
                   11937:   cat >conftest.$ac_ext <<_ACEOF
                   11938: /* confdefs.h.  */
                   11939: _ACEOF
                   11940: cat confdefs.h >>conftest.$ac_ext
                   11941: cat >>conftest.$ac_ext <<_ACEOF
                   11942: /* end confdefs.h.  */
                   11943: #include <ac_nonexistent.h>
                   11944: _ACEOF
                   11945: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11946:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11947:   ac_status=$?
                   11948:   grep -v '^ *+' conftest.er1 >conftest.err
                   11949:   rm -f conftest.er1
                   11950:   cat conftest.err >&5
                   11951:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11952:   (exit $ac_status); } >/dev/null; then
                   11953:   if test -s conftest.err; then
                   11954:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11955:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11956:   else
                   11957:     ac_cpp_err=
                   11958:   fi
                   11959: else
                   11960:   ac_cpp_err=yes
                   11961: fi
                   11962: if test -z "$ac_cpp_err"; then
                   11963:   # Broken: success on invalid input.
                   11964: continue
                   11965: else
                   11966:   echo "$as_me: failed program was:" >&5
                   11967: sed 's/^/| /' conftest.$ac_ext >&5
                   11968: 
                   11969:   # Passes both tests.
                   11970: ac_preproc_ok=:
                   11971: break
                   11972: fi
                   11973: rm -f conftest.err conftest.$ac_ext
                   11974: 
                   11975: done
                   11976: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   11977: rm -f conftest.err conftest.$ac_ext
                   11978: if $ac_preproc_ok; then
                   11979:   :
                   11980: else
                   11981:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   11982: See \`config.log' for more details." >&5
                   11983: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   11984: See \`config.log' for more details." >&2;}
                   11985:    { (exit 1); exit 1; }; }
                   11986: fi
                   11987: 
                   11988: ac_ext=c
                   11989: ac_cpp='$CPP $CPPFLAGS'
                   11990: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11991: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11992: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11993: 
                   11994: else
                   11995:   _lt_caught_CXX_error=yes
                   11996: fi
                   11997: 
                   11998: ac_ext=cc
                   11999: ac_cpp='$CXXCPP $CPPFLAGS'
                   12000: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12001: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12002: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12003: 
                   12004: archive_cmds_need_lc_CXX=no
                   12005: allow_undefined_flag_CXX=
                   12006: always_export_symbols_CXX=no
                   12007: archive_expsym_cmds_CXX=
                   12008: compiler_needs_object_CXX=no
                   12009: export_dynamic_flag_spec_CXX=
                   12010: hardcode_direct_CXX=no
                   12011: hardcode_direct_absolute_CXX=no
                   12012: hardcode_libdir_flag_spec_CXX=
                   12013: hardcode_libdir_separator_CXX=
                   12014: hardcode_minus_L_CXX=no
                   12015: hardcode_shlibpath_var_CXX=unsupported
                   12016: hardcode_automatic_CXX=no
                   12017: inherit_rpath_CXX=no
                   12018: module_cmds_CXX=
                   12019: module_expsym_cmds_CXX=
                   12020: link_all_deplibs_CXX=unknown
                   12021: old_archive_cmds_CXX=$old_archive_cmds
                   12022: reload_flag_CXX=$reload_flag
                   12023: reload_cmds_CXX=$reload_cmds
                   12024: no_undefined_flag_CXX=
                   12025: whole_archive_flag_spec_CXX=
                   12026: enable_shared_with_static_runtimes_CXX=no
                   12027: 
                   12028: # Source file extension for C++ test sources.
                   12029: ac_ext=cpp
                   12030: 
                   12031: # Object file extension for compiled C++ test sources.
                   12032: objext=o
                   12033: objext_CXX=$objext
                   12034: 
                   12035: # No sense in running all these tests if we already determined that
                   12036: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12037: # are currently assumed to apply to all compilers on this platform,
                   12038: # and will be corrupted by setting them based on a non-working compiler.
                   12039: if test "$_lt_caught_CXX_error" != yes; then
                   12040:   # Code to be used in simple compile tests
                   12041:   lt_simple_compile_test_code="int some_variable = 0;"
                   12042: 
                   12043:   # Code to be used in simple link tests
                   12044:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12045: 
                   12046:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12047: 
                   12048: 
                   12049: 
                   12050: 
                   12051: 
                   12052: 
                   12053: # If no C compiler was specified, use CC.
                   12054: LTCC=${LTCC-"$CC"}
                   12055: 
                   12056: # If no C compiler flags were specified, use CFLAGS.
                   12057: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12058: 
                   12059: # Allow CC to be a program name with arguments.
                   12060: compiler=$CC
                   12061: 
                   12062: 
                   12063:   # save warnings/boilerplate of simple test code
                   12064:   ac_outfile=conftest.$ac_objext
                   12065: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12066: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12067: _lt_compiler_boilerplate=`cat conftest.err`
                   12068: $RM conftest*
                   12069: 
                   12070:   ac_outfile=conftest.$ac_objext
                   12071: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12072: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12073: _lt_linker_boilerplate=`cat conftest.err`
                   12074: $RM -r conftest*
                   12075: 
                   12076: 
                   12077:   # Allow CC to be a program name with arguments.
                   12078:   lt_save_CC=$CC
                   12079:   lt_save_CFLAGS=$CFLAGS
                   12080:   lt_save_LD=$LD
                   12081:   lt_save_GCC=$GCC
                   12082:   GCC=$GXX
                   12083:   lt_save_with_gnu_ld=$with_gnu_ld
                   12084:   lt_save_path_LD=$lt_cv_path_LD
                   12085:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12086:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12087:   else
                   12088:     $as_unset lt_cv_prog_gnu_ld
                   12089:   fi
                   12090:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12091:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12092:   else
                   12093:     $as_unset lt_cv_path_LD
                   12094:   fi
                   12095:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12096:   CC=${CXX-"c++"}
                   12097:   CFLAGS=$CXXFLAGS
                   12098:   compiler=$CC
                   12099:   compiler_CXX=$CC
                   12100:   for cc_temp in $compiler""; do
                   12101:   case $cc_temp in
                   12102:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12103:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12104:     \-*) ;;
                   12105:     *) break;;
                   12106:   esac
                   12107: done
                   12108: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12109: 
                   12110: 
                   12111:   if test -n "$compiler"; then
                   12112:     # We don't want -fno-exception when compiling C++ code, so set the
                   12113:     # no_builtin_flag separately
                   12114:     if test "$GXX" = yes; then
                   12115:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12116:     else
                   12117:       lt_prog_compiler_no_builtin_flag_CXX=
                   12118:     fi
                   12119: 
                   12120:     if test "$GXX" = yes; then
                   12121:       # Set up default GNU C++ configuration
                   12122: 
                   12123: 
                   12124: 
                   12125: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   12126: if test "${with_gnu_ld+set}" = set; then
                   12127:   withval="$with_gnu_ld"
                   12128:   test "$withval" = no || with_gnu_ld=yes
                   12129: else
                   12130:   with_gnu_ld=no
                   12131: fi;
                   12132: ac_prog=ld
                   12133: if test "$GCC" = yes; then
                   12134:   # Check if gcc -print-prog-name=ld gives a path.
                   12135:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   12136: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   12137:   case $host in
                   12138:   *-*-mingw*)
                   12139:     # gcc leaves a trailing carriage return which upsets mingw
                   12140:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12141:   *)
                   12142:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12143:   esac
                   12144:   case $ac_prog in
                   12145:     # Accept absolute paths.
                   12146:     [\\/]* | ?:[\\/]*)
                   12147:       re_direlt='/[^/][^/]*/\.\./'
                   12148:       # Canonicalize the pathname of ld
                   12149:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12150:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12151:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12152:       done
                   12153:       test -z "$LD" && LD="$ac_prog"
                   12154:       ;;
                   12155:   "")
                   12156:     # If it fails, then pretend we aren't using GCC.
                   12157:     ac_prog=ld
                   12158:     ;;
                   12159:   *)
                   12160:     # If it is relative, then search for the first ld in PATH.
                   12161:     with_gnu_ld=unknown
                   12162:     ;;
                   12163:   esac
                   12164: elif test "$with_gnu_ld" = yes; then
                   12165:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   12166: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   12167: else
                   12168:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   12169: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   12170: fi
                   12171: if test "${lt_cv_path_LD+set}" = set; then
                   12172:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12173: else
                   12174:   if test -z "$LD"; then
                   12175:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12176:   for ac_dir in $PATH; do
                   12177:     IFS="$lt_save_ifs"
                   12178:     test -z "$ac_dir" && ac_dir=.
                   12179:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12180:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12181:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12182:       # but apparently some variants of GNU ld only accept -v.
                   12183:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12184:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12185:       *GNU* | *'with BFD'*)
                   12186:        test "$with_gnu_ld" != no && break
                   12187:        ;;
                   12188:       *)
                   12189:        test "$with_gnu_ld" != yes && break
                   12190:        ;;
                   12191:       esac
                   12192:     fi
                   12193:   done
                   12194:   IFS="$lt_save_ifs"
                   12195: else
                   12196:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12197: fi
                   12198: fi
                   12199: 
                   12200: LD="$lt_cv_path_LD"
                   12201: if test -n "$LD"; then
                   12202:   echo "$as_me:$LINENO: result: $LD" >&5
                   12203: echo "${ECHO_T}$LD" >&6
                   12204: else
                   12205:   echo "$as_me:$LINENO: result: no" >&5
                   12206: echo "${ECHO_T}no" >&6
                   12207: fi
                   12208: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   12209: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   12210:    { (exit 1); exit 1; }; }
                   12211: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   12212: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   12213: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   12214:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12215: else
                   12216:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12217: case `$LD -v 2>&1 </dev/null` in
                   12218: *GNU* | *'with BFD'*)
                   12219:   lt_cv_prog_gnu_ld=yes
                   12220:   ;;
                   12221: *)
                   12222:   lt_cv_prog_gnu_ld=no
                   12223:   ;;
                   12224: esac
                   12225: fi
                   12226: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   12227: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   12228: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12229: 
                   12230: 
                   12231: 
                   12232: 
                   12233: 
                   12234: 
                   12235: 
                   12236:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12237:       # archiving commands below assume that GNU ld is being used.
                   12238:       if test "$with_gnu_ld" = yes; then
                   12239:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12240:         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'
                   12241: 
                   12242:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12243:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12244: 
                   12245:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12246:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12247:         #     investigate it a little bit more. (MM)
                   12248:         wlarc='${wl}'
                   12249: 
                   12250:         # ancient GNU ld didn't support --whole-archive et. al.
                   12251:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12252:          $GREP 'no-whole-archive' > /dev/null; then
                   12253:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12254:         else
                   12255:           whole_archive_flag_spec_CXX=
                   12256:         fi
                   12257:       else
                   12258:         with_gnu_ld=no
                   12259:         wlarc=
                   12260: 
                   12261:         # A generic and very simple default shared library creation
                   12262:         # command for GNU C++ for the case where it uses the native
                   12263:         # linker, instead of GNU ld.  If possible, this setting should
                   12264:         # overridden to take advantage of the native linker features on
                   12265:         # the platform it is being used on.
                   12266:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12267:       fi
                   12268: 
                   12269:       # Commands to make compiler produce verbose output that lists
                   12270:       # what "hidden" libraries, object files and flags are used when
                   12271:       # linking a shared library.
                   12272:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12273: 
                   12274:     else
                   12275:       GXX=no
                   12276:       with_gnu_ld=no
                   12277:       wlarc=
                   12278:     fi
                   12279: 
                   12280:     # PORTME: fill in a description of your system's C++ link characteristics
                   12281:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12282: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   12283:     ld_shlibs_CXX=yes
                   12284:     case $host_os in
                   12285:       aix3*)
                   12286:         # FIXME: insert proper C++ library support
                   12287:         ld_shlibs_CXX=no
                   12288:         ;;
                   12289:       aix[4-9]*)
                   12290:         if test "$host_cpu" = ia64; then
                   12291:           # On IA64, the linker does run time linking by default, so we don't
                   12292:           # have to do anything special.
                   12293:           aix_use_runtimelinking=no
                   12294:           exp_sym_flag='-Bexport'
                   12295:           no_entry_flag=""
                   12296:         else
                   12297:           aix_use_runtimelinking=no
                   12298: 
                   12299:           # Test if we are trying to use run time linking or normal
                   12300:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12301:           # need to do runtime linking.
                   12302:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12303:            for ld_flag in $LDFLAGS; do
                   12304:              case $ld_flag in
                   12305:              *-brtl*)
                   12306:                aix_use_runtimelinking=yes
                   12307:                break
                   12308:                ;;
                   12309:              esac
                   12310:            done
                   12311:            ;;
                   12312:           esac
                   12313: 
                   12314:           exp_sym_flag='-bexport'
                   12315:           no_entry_flag='-bnoentry'
                   12316:         fi
                   12317: 
                   12318:         # When large executables or shared objects are built, AIX ld can
                   12319:         # have problems creating the table of contents.  If linking a library
                   12320:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12321:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12322:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12323: 
                   12324:         archive_cmds_CXX=''
                   12325:         hardcode_direct_CXX=yes
                   12326:         hardcode_direct_absolute_CXX=yes
                   12327:         hardcode_libdir_separator_CXX=':'
                   12328:         link_all_deplibs_CXX=yes
                   12329:         file_list_spec_CXX='${wl}-f,'
                   12330: 
                   12331:         if test "$GXX" = yes; then
                   12332:           case $host_os in aix4.[012]|aix4.[012].*)
                   12333:           # We only want to do this on AIX 4.2 and lower, the check
                   12334:           # below for broken collect2 doesn't work under 4.3+
                   12335:          collect2name=`${CC} -print-prog-name=collect2`
                   12336:          if test -f "$collect2name" &&
                   12337:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12338:          then
                   12339:            # We have reworked collect2
                   12340:            :
                   12341:          else
                   12342:            # We have old collect2
                   12343:            hardcode_direct_CXX=unsupported
                   12344:            # It fails to find uninstalled libraries when the uninstalled
                   12345:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   12346:            # to unsupported forces relinking
                   12347:            hardcode_minus_L_CXX=yes
                   12348:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12349:            hardcode_libdir_separator_CXX=
                   12350:          fi
                   12351:           esac
                   12352:           shared_flag='-shared'
                   12353:          if test "$aix_use_runtimelinking" = yes; then
                   12354:            shared_flag="$shared_flag "'${wl}-G'
                   12355:          fi
                   12356:         else
                   12357:           # not using gcc
                   12358:           if test "$host_cpu" = ia64; then
                   12359:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12360:          # chokes on -Wl,-G. The following line is correct:
                   12361:          shared_flag='-G'
                   12362:           else
                   12363:            if test "$aix_use_runtimelinking" = yes; then
                   12364:              shared_flag='${wl}-G'
                   12365:            else
                   12366:              shared_flag='${wl}-bM:SRE'
                   12367:            fi
                   12368:           fi
                   12369:         fi
                   12370: 
                   12371:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   12372:         # It seems that -bexpall does not export symbols beginning with
                   12373:         # underscore (_), so it is better to generate a list of symbols to
                   12374:        # export.
                   12375:         always_export_symbols_CXX=yes
                   12376:         if test "$aix_use_runtimelinking" = yes; then
                   12377:           # Warning - without using the other runtime loading flags (-brtl),
                   12378:           # -berok will link without error, but may produce a broken library.
                   12379:           allow_undefined_flag_CXX='-berok'
                   12380:           # Determine the default libpath from the value encoded in an empty
                   12381:           # executable.
                   12382:           if test "${lt_cv_aix_libpath+set}" = set; then
                   12383:   aix_libpath=$lt_cv_aix_libpath
                   12384: else
                   12385:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12386:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12387: else
                   12388:   cat >conftest.$ac_ext <<_ACEOF
                   12389: /* confdefs.h.  */
                   12390: _ACEOF
                   12391: cat confdefs.h >>conftest.$ac_ext
                   12392: cat >>conftest.$ac_ext <<_ACEOF
                   12393: /* end confdefs.h.  */
                   12394: 
                   12395: int
                   12396: main ()
                   12397: {
                   12398: 
                   12399:   ;
                   12400:   return 0;
                   12401: }
                   12402: _ACEOF
                   12403: rm -f conftest.$ac_objext conftest$ac_exeext
                   12404: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12405:   (eval $ac_link) 2>conftest.er1
                   12406:   ac_status=$?
                   12407:   grep -v '^ *+' conftest.er1 >conftest.err
                   12408:   rm -f conftest.er1
                   12409:   cat conftest.err >&5
                   12410:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12411:   (exit $ac_status); } &&
                   12412:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12413:                         || test ! -s conftest.err'
                   12414:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12415:   (eval $ac_try) 2>&5
                   12416:   ac_status=$?
                   12417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12418:   (exit $ac_status); }; } &&
                   12419:         { ac_try='test -s conftest$ac_exeext'
                   12420:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12421:   (eval $ac_try) 2>&5
                   12422:   ac_status=$?
                   12423:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12424:   (exit $ac_status); }; }; then
                   12425: 
                   12426:   lt_aix_libpath_sed='
                   12427:       /Import File Strings/,/^$/ {
                   12428:          /^0/ {
                   12429:              s/^0  *\([^ ]*\) *$/\1/
                   12430:              p
                   12431:          }
                   12432:       }'
                   12433:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12434:   # Check for a 64-bit object if we didn't find anything.
                   12435:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12436:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12437:   fi
                   12438: else
                   12439:   echo "$as_me: failed program was:" >&5
                   12440: sed 's/^/| /' conftest.$ac_ext >&5
                   12441: 
                   12442: fi
                   12443: rm -f conftest.err conftest.$ac_objext \
                   12444:       conftest$ac_exeext conftest.$ac_ext
                   12445:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12446:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12447:   fi
                   12448: 
                   12449: fi
                   12450: 
                   12451:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12452: fi
                   12453: 
                   12454:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12455: 
                   12456:           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"
                   12457:         else
                   12458:           if test "$host_cpu" = ia64; then
                   12459:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   12460:            allow_undefined_flag_CXX="-z nodefs"
                   12461:            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"
                   12462:           else
                   12463:            # Determine the default libpath from the value encoded in an
                   12464:            # empty executable.
                   12465:            if test "${lt_cv_aix_libpath+set}" = set; then
                   12466:   aix_libpath=$lt_cv_aix_libpath
                   12467: else
                   12468:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12469:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12470: else
                   12471:   cat >conftest.$ac_ext <<_ACEOF
                   12472: /* confdefs.h.  */
                   12473: _ACEOF
                   12474: cat confdefs.h >>conftest.$ac_ext
                   12475: cat >>conftest.$ac_ext <<_ACEOF
                   12476: /* end confdefs.h.  */
                   12477: 
                   12478: int
                   12479: main ()
                   12480: {
                   12481: 
                   12482:   ;
                   12483:   return 0;
                   12484: }
                   12485: _ACEOF
                   12486: rm -f conftest.$ac_objext conftest$ac_exeext
                   12487: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12488:   (eval $ac_link) 2>conftest.er1
                   12489:   ac_status=$?
                   12490:   grep -v '^ *+' conftest.er1 >conftest.err
                   12491:   rm -f conftest.er1
                   12492:   cat conftest.err >&5
                   12493:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12494:   (exit $ac_status); } &&
                   12495:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12496:                         || test ! -s conftest.err'
                   12497:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12498:   (eval $ac_try) 2>&5
                   12499:   ac_status=$?
                   12500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12501:   (exit $ac_status); }; } &&
                   12502:         { ac_try='test -s conftest$ac_exeext'
                   12503:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12504:   (eval $ac_try) 2>&5
                   12505:   ac_status=$?
                   12506:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12507:   (exit $ac_status); }; }; then
                   12508: 
                   12509:   lt_aix_libpath_sed='
                   12510:       /Import File Strings/,/^$/ {
                   12511:          /^0/ {
                   12512:              s/^0  *\([^ ]*\) *$/\1/
                   12513:              p
                   12514:          }
                   12515:       }'
                   12516:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12517:   # Check for a 64-bit object if we didn't find anything.
                   12518:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12519:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12520:   fi
                   12521: else
                   12522:   echo "$as_me: failed program was:" >&5
                   12523: sed 's/^/| /' conftest.$ac_ext >&5
                   12524: 
                   12525: fi
                   12526: rm -f conftest.err conftest.$ac_objext \
                   12527:       conftest$ac_exeext conftest.$ac_ext
                   12528:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12529:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12530:   fi
                   12531: 
                   12532: fi
                   12533: 
                   12534:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12535: fi
                   12536: 
                   12537:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12538:            # Warning - without using the other run time loading flags,
                   12539:            # -berok will link without error, but may produce a broken library.
                   12540:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   12541:            allow_undefined_flag_CXX=' ${wl}-berok'
                   12542:            if test "$with_gnu_ld" = yes; then
                   12543:              # We only use this code for GNU lds that support --whole-archive.
                   12544:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12545:            else
                   12546:              # Exported symbols can be pulled into shared objects from archives
                   12547:              whole_archive_flag_spec_CXX='$convenience'
                   12548:            fi
                   12549:            archive_cmds_need_lc_CXX=yes
                   12550:            # This is similar to how AIX traditionally builds its shared
                   12551:            # libraries.
                   12552:            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'
                   12553:           fi
                   12554:         fi
                   12555:         ;;
                   12556: 
                   12557:       beos*)
                   12558:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12559:          allow_undefined_flag_CXX=unsupported
                   12560:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12561:          # support --undefined.  This deserves some investigation.  FIXME
                   12562:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12563:        else
                   12564:          ld_shlibs_CXX=no
                   12565:        fi
                   12566:        ;;
                   12567: 
                   12568:       chorus*)
                   12569:         case $cc_basename in
                   12570:           *)
                   12571:          # FIXME: insert proper C++ library support
                   12572:          ld_shlibs_CXX=no
                   12573:          ;;
                   12574:         esac
                   12575:         ;;
                   12576: 
                   12577:       cygwin* | mingw* | pw32* | cegcc*)
                   12578:        case $GXX,$cc_basename in
                   12579:        ,cl* | no,cl*)
                   12580:          # Native MSVC
                   12581:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12582:          # no search path for DLLs.
                   12583:          hardcode_libdir_flag_spec_CXX=' '
                   12584:          allow_undefined_flag_CXX=unsupported
                   12585:          always_export_symbols_CXX=yes
                   12586:          file_list_spec_CXX='@'
                   12587:          # Tell ltmain to make .lib files, not .a files.
                   12588:          libext=lib
                   12589:          # Tell ltmain to make .dll files, not .so files.
                   12590:          shrext_cmds=".dll"
                   12591:          # FIXME: Setting linknames here is a bad hack.
                   12592:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   12593:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12594:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   12595:            else
                   12596:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   12597:            fi~
                   12598:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   12599:            linknames='
                   12600:          # The linker will not automatically build a static lib if we build a DLL.
                   12601:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   12602:          enable_shared_with_static_runtimes_CXX=yes
                   12603:          # Don't use ranlib
                   12604:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   12605:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   12606:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   12607:            case $lt_outputfile in
                   12608:              *.exe|*.EXE) ;;
                   12609:              *)
                   12610:                lt_outputfile="$lt_outputfile.exe"
                   12611:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   12612:                ;;
                   12613:            esac~
                   12614:            func_to_tool_file "$lt_outputfile"~
                   12615:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   12616:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   12617:              $RM "$lt_outputfile.manifest";
                   12618:            fi'
                   12619:          ;;
                   12620:        *)
                   12621:          # g++
                   12622:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   12623:          # as there is no search path for DLLs.
                   12624:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12625:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   12626:          allow_undefined_flag_CXX=unsupported
                   12627:          always_export_symbols_CXX=no
                   12628:          enable_shared_with_static_runtimes_CXX=yes
                   12629: 
                   12630:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   12631:            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'
                   12632:            # If the export-symbols file already is a .def file (1st line
                   12633:            # is EXPORTS), use it as is; otherwise, prepend...
                   12634:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12635:              cp $export_symbols $output_objdir/$soname.def;
                   12636:            else
                   12637:              echo EXPORTS > $output_objdir/$soname.def;
                   12638:              cat $export_symbols >> $output_objdir/$soname.def;
                   12639:            fi~
                   12640:            $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'
                   12641:          else
                   12642:            ld_shlibs_CXX=no
                   12643:          fi
                   12644:          ;;
                   12645:        esac
                   12646:        ;;
                   12647:       darwin* | rhapsody*)
                   12648: 
                   12649: 
                   12650:   archive_cmds_need_lc_CXX=no
                   12651:   hardcode_direct_CXX=no
                   12652:   hardcode_automatic_CXX=yes
                   12653:   hardcode_shlibpath_var_CXX=unsupported
                   12654:   if test "$lt_cv_ld_force_load" = "yes"; then
                   12655:     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\"`'
                   12656: 
                   12657:   else
                   12658:     whole_archive_flag_spec_CXX=''
                   12659:   fi
                   12660:   link_all_deplibs_CXX=yes
                   12661:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   12662:   case $cc_basename in
                   12663:      ifort*) _lt_dar_can_shared=yes ;;
                   12664:      *) _lt_dar_can_shared=$GCC ;;
                   12665:   esac
                   12666:   if test "$_lt_dar_can_shared" = "yes"; then
                   12667:     output_verbose_link_cmd=func_echo_all
                   12668:     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}"
                   12669:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   12670:     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}"
                   12671:     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}"
                   12672:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   12673:       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}"
                   12674:       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}"
                   12675:     fi
                   12676: 
                   12677:   else
                   12678:   ld_shlibs_CXX=no
                   12679:   fi
                   12680: 
                   12681:        ;;
                   12682: 
                   12683:       dgux*)
                   12684:         case $cc_basename in
                   12685:           ec++*)
                   12686:            # FIXME: insert proper C++ library support
                   12687:            ld_shlibs_CXX=no
                   12688:            ;;
                   12689:           ghcx*)
                   12690:            # Green Hills C++ Compiler
                   12691:            # FIXME: insert proper C++ library support
                   12692:            ld_shlibs_CXX=no
                   12693:            ;;
                   12694:           *)
                   12695:            # FIXME: insert proper C++ library support
                   12696:            ld_shlibs_CXX=no
                   12697:            ;;
                   12698:         esac
                   12699:         ;;
                   12700: 
                   12701:       freebsd2.*)
                   12702:         # C++ shared libraries reported to be fairly broken before
                   12703:        # switch to ELF
                   12704:         ld_shlibs_CXX=no
                   12705:         ;;
                   12706: 
                   12707:       freebsd-elf*)
                   12708:         archive_cmds_need_lc_CXX=no
                   12709:         ;;
                   12710: 
                   12711:       freebsd* | dragonfly*)
                   12712:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   12713:         # conventions
                   12714:         ld_shlibs_CXX=yes
                   12715:         ;;
                   12716: 
                   12717:       gnu*)
                   12718:         ;;
                   12719: 
                   12720:       haiku*)
                   12721:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12722:         link_all_deplibs_CXX=yes
                   12723:         ;;
                   12724: 
                   12725:       hpux9*)
                   12726:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   12727:         hardcode_libdir_separator_CXX=:
                   12728:         export_dynamic_flag_spec_CXX='${wl}-E'
                   12729:         hardcode_direct_CXX=yes
                   12730:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   12731:                                             # but as the default
                   12732:                                             # location of the library.
                   12733: 
                   12734:         case $cc_basename in
                   12735:           CC*)
                   12736:             # FIXME: insert proper C++ library support
                   12737:             ld_shlibs_CXX=no
                   12738:             ;;
                   12739:           aCC*)
                   12740:             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'
                   12741:             # Commands to make compiler produce verbose output that lists
                   12742:             # what "hidden" libraries, object files and flags are used when
                   12743:             # linking a shared library.
                   12744:             #
                   12745:             # There doesn't appear to be a way to prevent this compiler from
                   12746:             # explicitly linking system object files so we need to strip them
                   12747:             # from the output so that they don't get included in the library
                   12748:             # dependencies.
                   12749:             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"'
                   12750:             ;;
                   12751:           *)
                   12752:             if test "$GXX" = yes; then
                   12753:               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'
                   12754:             else
                   12755:               # FIXME: insert proper C++ library support
                   12756:               ld_shlibs_CXX=no
                   12757:             fi
                   12758:             ;;
                   12759:         esac
                   12760:         ;;
                   12761: 
                   12762:       hpux10*|hpux11*)
                   12763:         if test $with_gnu_ld = no; then
                   12764:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   12765:          hardcode_libdir_separator_CXX=:
                   12766: 
                   12767:           case $host_cpu in
                   12768:             hppa*64*|ia64*)
                   12769:               ;;
                   12770:             *)
                   12771:              export_dynamic_flag_spec_CXX='${wl}-E'
                   12772:               ;;
                   12773:           esac
                   12774:         fi
                   12775:         case $host_cpu in
                   12776:           hppa*64*|ia64*)
                   12777:             hardcode_direct_CXX=no
                   12778:             hardcode_shlibpath_var_CXX=no
                   12779:             ;;
                   12780:           *)
                   12781:             hardcode_direct_CXX=yes
                   12782:             hardcode_direct_absolute_CXX=yes
                   12783:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   12784:                                                 # but as the default
                   12785:                                                 # location of the library.
                   12786:             ;;
                   12787:         esac
                   12788: 
                   12789:         case $cc_basename in
                   12790:           CC*)
                   12791:            # FIXME: insert proper C++ library support
                   12792:            ld_shlibs_CXX=no
                   12793:            ;;
                   12794:           aCC*)
                   12795:            case $host_cpu in
                   12796:              hppa*64*)
                   12797:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12798:                ;;
                   12799:              ia64*)
                   12800:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12801:                ;;
                   12802:              *)
                   12803:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12804:                ;;
                   12805:            esac
                   12806:            # Commands to make compiler produce verbose output that lists
                   12807:            # what "hidden" libraries, object files and flags are used when
                   12808:            # linking a shared library.
                   12809:            #
                   12810:            # There doesn't appear to be a way to prevent this compiler from
                   12811:            # explicitly linking system object files so we need to strip them
                   12812:            # from the output so that they don't get included in the library
                   12813:            # dependencies.
                   12814:            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"'
                   12815:            ;;
                   12816:           *)
                   12817:            if test "$GXX" = yes; then
                   12818:              if test $with_gnu_ld = no; then
                   12819:                case $host_cpu in
                   12820:                  hppa*64*)
                   12821:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12822:                    ;;
                   12823:                  ia64*)
                   12824:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12825:                    ;;
                   12826:                  *)
                   12827:                    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'
                   12828:                    ;;
                   12829:                esac
                   12830:              fi
                   12831:            else
                   12832:              # FIXME: insert proper C++ library support
                   12833:              ld_shlibs_CXX=no
                   12834:            fi
                   12835:            ;;
                   12836:         esac
                   12837:         ;;
                   12838: 
                   12839:       interix[3-9]*)
                   12840:        hardcode_direct_CXX=no
                   12841:        hardcode_shlibpath_var_CXX=no
                   12842:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12843:        export_dynamic_flag_spec_CXX='${wl}-E'
                   12844:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   12845:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   12846:        # default) and relocated if they conflict, which is a slow very memory
                   12847:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   12848:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   12849:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   12850:        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'
                   12851:        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'
                   12852:        ;;
                   12853:       irix5* | irix6*)
                   12854:         case $cc_basename in
                   12855:           CC*)
                   12856:            # SGI C++
                   12857:            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'
                   12858: 
                   12859:            # Archives containing C++ object files must be created using
                   12860:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   12861:            # necessary to make sure instantiated templates are included
                   12862:            # in the archive.
                   12863:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   12864:            ;;
                   12865:           *)
                   12866:            if test "$GXX" = yes; then
                   12867:              if test "$with_gnu_ld" = no; then
                   12868:                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'
                   12869:              else
                   12870:                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'
                   12871:              fi
                   12872:            fi
                   12873:            link_all_deplibs_CXX=yes
                   12874:            ;;
                   12875:         esac
                   12876:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12877:         hardcode_libdir_separator_CXX=:
                   12878:         inherit_rpath_CXX=yes
                   12879:         ;;
                   12880: 
                   12881:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12882:         case $cc_basename in
                   12883:           KCC*)
                   12884:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   12885: 
                   12886:            # KCC will only create a shared library if the output file
                   12887:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   12888:            # to its proper name (with version) after linking.
                   12889:            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'
                   12890:            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'
                   12891:            # Commands to make compiler produce verbose output that lists
                   12892:            # what "hidden" libraries, object files and flags are used when
                   12893:            # linking a shared library.
                   12894:            #
                   12895:            # There doesn't appear to be a way to prevent this compiler from
                   12896:            # explicitly linking system object files so we need to strip them
                   12897:            # from the output so that they don't get included in the library
                   12898:            # dependencies.
                   12899:            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"'
                   12900: 
                   12901:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12902:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12903: 
                   12904:            # Archives containing C++ object files must be created using
                   12905:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   12906:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   12907:            ;;
                   12908:          icpc* | ecpc* )
                   12909:            # Intel C++
                   12910:            with_gnu_ld=yes
                   12911:            # version 8.0 and above of icpc choke on multiply defined symbols
                   12912:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   12913:            # earlier do not add the objects themselves.
                   12914:            case `$CC -V 2>&1` in
                   12915:              *"Version 7."*)
                   12916:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12917:                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'
                   12918:                ;;
                   12919:              *)  # Version 8.0 or newer
                   12920:                tmp_idyn=
                   12921:                case $host_cpu in
                   12922:                  ia64*) tmp_idyn=' -i_dynamic';;
                   12923:                esac
                   12924:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12925:                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'
                   12926:                ;;
                   12927:            esac
                   12928:            archive_cmds_need_lc_CXX=no
                   12929:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12930:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12931:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12932:            ;;
                   12933:           pgCC* | pgcpp*)
                   12934:             # Portland Group C++ compiler
                   12935:            case `$CC -V` in
                   12936:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   12937:              prelink_cmds_CXX='tpldir=Template.dir~
                   12938:                rm -rf $tpldir~
                   12939:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   12940:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   12941:              old_archive_cmds_CXX='tpldir=Template.dir~
                   12942:                rm -rf $tpldir~
                   12943:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   12944:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   12945:                $RANLIB $oldlib'
                   12946:              archive_cmds_CXX='tpldir=Template.dir~
                   12947:                rm -rf $tpldir~
                   12948:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   12949:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   12950:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   12951:                rm -rf $tpldir~
                   12952:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   12953:                $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'
                   12954:              ;;
                   12955:            *) # Version 6 and above use weak symbols
                   12956:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   12957:              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'
                   12958:              ;;
                   12959:            esac
                   12960: 
                   12961:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   12962:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12963:            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'
                   12964:             ;;
                   12965:          cxx*)
                   12966:            # Compaq C++
                   12967:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12968:            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'
                   12969: 
                   12970:            runpath_var=LD_RUN_PATH
                   12971:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   12972:            hardcode_libdir_separator_CXX=:
                   12973: 
                   12974:            # Commands to make compiler produce verbose output that lists
                   12975:            # what "hidden" libraries, object files and flags are used when
                   12976:            # linking a shared library.
                   12977:            #
                   12978:            # There doesn't appear to be a way to prevent this compiler from
                   12979:            # explicitly linking system object files so we need to strip them
                   12980:            # from the output so that they don't get included in the library
                   12981:            # dependencies.
                   12982:            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'
                   12983:            ;;
                   12984:          xl* | mpixl* | bgxl*)
                   12985:            # IBM XL 8.0 on PPC, with GNU ld
                   12986:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12987:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12988:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12989:            if test "x$supports_anon_versioning" = xyes; then
                   12990:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   12991:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12992:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   12993:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   12994:            fi
                   12995:            ;;
                   12996:          *)
                   12997:            case `$CC -V 2>&1 | sed 5q` in
                   12998:            *Sun\ C*)
                   12999:              # Sun C++ 5.9
                   13000:              no_undefined_flag_CXX=' -zdefs'
                   13001:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13002:              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'
                   13003:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13004:              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'
                   13005:              compiler_needs_object_CXX=yes
                   13006: 
                   13007:              # Not sure whether something based on
                   13008:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13009:              # would be better.
                   13010:              output_verbose_link_cmd='func_echo_all'
                   13011: 
                   13012:              # Archives containing C++ object files must be created using
                   13013:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13014:              # necessary to make sure instantiated templates are included
                   13015:              # in the archive.
                   13016:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13017:              ;;
                   13018:            esac
                   13019:            ;;
                   13020:        esac
                   13021:        ;;
                   13022: 
                   13023:       lynxos*)
                   13024:         # FIXME: insert proper C++ library support
                   13025:        ld_shlibs_CXX=no
                   13026:        ;;
                   13027: 
                   13028:       m88k*)
                   13029:         # FIXME: insert proper C++ library support
                   13030:         ld_shlibs_CXX=no
                   13031:        ;;
                   13032: 
                   13033:       mvs*)
                   13034:         case $cc_basename in
                   13035:           cxx*)
                   13036:            # FIXME: insert proper C++ library support
                   13037:            ld_shlibs_CXX=no
                   13038:            ;;
                   13039:          *)
                   13040:            # FIXME: insert proper C++ library support
                   13041:            ld_shlibs_CXX=no
                   13042:            ;;
                   13043:        esac
                   13044:        ;;
                   13045: 
                   13046:       netbsd*)
                   13047:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13048:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13049:          wlarc=
                   13050:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13051:          hardcode_direct_CXX=yes
                   13052:          hardcode_shlibpath_var_CXX=no
                   13053:        fi
                   13054:        # Workaround some broken pre-1.5 toolchains
                   13055:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13056:        ;;
                   13057: 
                   13058:       *nto* | *qnx*)
                   13059:         ld_shlibs_CXX=yes
                   13060:        ;;
                   13061: 
                   13062:       openbsd2*)
                   13063:         # C++ shared libraries are fairly broken
                   13064:        ld_shlibs_CXX=no
                   13065:        ;;
                   13066: 
                   13067:       openbsd*)
                   13068:        if test -f /usr/libexec/ld.so; then
                   13069:          hardcode_direct_CXX=yes
                   13070:          hardcode_shlibpath_var_CXX=no
                   13071:          hardcode_direct_absolute_CXX=yes
                   13072:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13073:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13074:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13075:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13076:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13077:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13078:          fi
                   13079:          output_verbose_link_cmd=func_echo_all
                   13080:        else
                   13081:          ld_shlibs_CXX=no
                   13082:        fi
                   13083:        ;;
                   13084: 
                   13085:       osf3* | osf4* | osf5*)
                   13086:         case $cc_basename in
                   13087:           KCC*)
                   13088:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13089: 
                   13090:            # KCC will only create a shared library if the output file
                   13091:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13092:            # to its proper name (with version) after linking.
                   13093:            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'
                   13094: 
                   13095:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13096:            hardcode_libdir_separator_CXX=:
                   13097: 
                   13098:            # Archives containing C++ object files must be created using
                   13099:            # the KAI C++ compiler.
                   13100:            case $host in
                   13101:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13102:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13103:            esac
                   13104:            ;;
                   13105:           RCC*)
                   13106:            # Rational C++ 2.4.1
                   13107:            # FIXME: insert proper C++ library support
                   13108:            ld_shlibs_CXX=no
                   13109:            ;;
                   13110:           cxx*)
                   13111:            case $host in
                   13112:              osf3*)
                   13113:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13114:                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'
                   13115:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13116:                ;;
                   13117:              *)
                   13118:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13119:                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'
                   13120:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13121:                  echo "-hidden">> $lib.exp~
                   13122:                  $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~
                   13123:                  $RM $lib.exp'
                   13124:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13125:                ;;
                   13126:            esac
                   13127: 
                   13128:            hardcode_libdir_separator_CXX=:
                   13129: 
                   13130:            # Commands to make compiler produce verbose output that lists
                   13131:            # what "hidden" libraries, object files and flags are used when
                   13132:            # linking a shared library.
                   13133:            #
                   13134:            # There doesn't appear to be a way to prevent this compiler from
                   13135:            # explicitly linking system object files so we need to strip them
                   13136:            # from the output so that they don't get included in the library
                   13137:            # dependencies.
                   13138:            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"'
                   13139:            ;;
                   13140:          *)
                   13141:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13142:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13143:              case $host in
                   13144:                osf3*)
                   13145:                  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'
                   13146:                  ;;
                   13147:                *)
                   13148:                  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'
                   13149:                  ;;
                   13150:              esac
                   13151: 
                   13152:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13153:              hardcode_libdir_separator_CXX=:
                   13154: 
                   13155:              # Commands to make compiler produce verbose output that lists
                   13156:              # what "hidden" libraries, object files and flags are used when
                   13157:              # linking a shared library.
                   13158:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13159: 
                   13160:            else
                   13161:              # FIXME: insert proper C++ library support
                   13162:              ld_shlibs_CXX=no
                   13163:            fi
                   13164:            ;;
                   13165:         esac
                   13166:         ;;
                   13167: 
                   13168:       psos*)
                   13169:         # FIXME: insert proper C++ library support
                   13170:         ld_shlibs_CXX=no
                   13171:         ;;
                   13172: 
                   13173:       sunos4*)
                   13174:         case $cc_basename in
                   13175:           CC*)
                   13176:            # Sun C++ 4.x
                   13177:            # FIXME: insert proper C++ library support
                   13178:            ld_shlibs_CXX=no
                   13179:            ;;
                   13180:           lcc*)
                   13181:            # Lucid
                   13182:            # FIXME: insert proper C++ library support
                   13183:            ld_shlibs_CXX=no
                   13184:            ;;
                   13185:           *)
                   13186:            # FIXME: insert proper C++ library support
                   13187:            ld_shlibs_CXX=no
                   13188:            ;;
                   13189:         esac
                   13190:         ;;
                   13191: 
                   13192:       solaris*)
                   13193:         case $cc_basename in
                   13194:           CC* | sunCC*)
                   13195:            # Sun C++ 4.2, 5.x and Centerline C++
                   13196:             archive_cmds_need_lc_CXX=yes
                   13197:            no_undefined_flag_CXX=' -zdefs'
                   13198:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13199:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13200:              $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'
                   13201: 
                   13202:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13203:            hardcode_shlibpath_var_CXX=no
                   13204:            case $host_os in
                   13205:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13206:              *)
                   13207:                # The compiler driver will combine and reorder linker options,
                   13208:                # but understands `-z linker_flag'.
                   13209:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13210:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13211:                ;;
                   13212:            esac
                   13213:            link_all_deplibs_CXX=yes
                   13214: 
                   13215:            output_verbose_link_cmd='func_echo_all'
                   13216: 
                   13217:            # Archives containing C++ object files must be created using
                   13218:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13219:            # necessary to make sure instantiated templates are included
                   13220:            # in the archive.
                   13221:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13222:            ;;
                   13223:           gcx*)
                   13224:            # Green Hills C++ Compiler
                   13225:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13226: 
                   13227:            # The C++ compiler must be used to create the archive.
                   13228:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13229:            ;;
                   13230:           *)
                   13231:            # GNU C++ compiler with Solaris linker
                   13232:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13233:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13234:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13235:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13236:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13237:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13238: 
                   13239:                # Commands to make compiler produce verbose output that lists
                   13240:                # what "hidden" libraries, object files and flags are used when
                   13241:                # linking a shared library.
                   13242:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13243:              else
                   13244:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13245:                # platform.
                   13246:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13247:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13248:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13249: 
                   13250:                # Commands to make compiler produce verbose output that lists
                   13251:                # what "hidden" libraries, object files and flags are used when
                   13252:                # linking a shared library.
                   13253:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13254:              fi
                   13255: 
                   13256:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13257:              case $host_os in
                   13258:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13259:                *)
                   13260:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13261:                  ;;
                   13262:              esac
                   13263:            fi
                   13264:            ;;
                   13265:         esac
                   13266:         ;;
                   13267: 
                   13268:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13269:       no_undefined_flag_CXX='${wl}-z,text'
                   13270:       archive_cmds_need_lc_CXX=no
                   13271:       hardcode_shlibpath_var_CXX=no
                   13272:       runpath_var='LD_RUN_PATH'
                   13273: 
                   13274:       case $cc_basename in
                   13275:         CC*)
                   13276:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13277:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13278:          ;;
                   13279:        *)
                   13280:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13281:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13282:          ;;
                   13283:       esac
                   13284:       ;;
                   13285: 
                   13286:       sysv5* | sco3.2v5* | sco5v6*)
                   13287:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13288:        # link with -lc, and that would cause any symbols used from libc to
                   13289:        # always be unresolved, which means just about no library would
                   13290:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13291:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13292:        # as -z defs.
                   13293:        no_undefined_flag_CXX='${wl}-z,text'
                   13294:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13295:        archive_cmds_need_lc_CXX=no
                   13296:        hardcode_shlibpath_var_CXX=no
                   13297:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13298:        hardcode_libdir_separator_CXX=':'
                   13299:        link_all_deplibs_CXX=yes
                   13300:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13301:        runpath_var='LD_RUN_PATH'
                   13302: 
                   13303:        case $cc_basename in
                   13304:           CC*)
                   13305:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13306:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13307:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13308:              '"$old_archive_cmds_CXX"
                   13309:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13310:              '"$reload_cmds_CXX"
                   13311:            ;;
                   13312:          *)
                   13313:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13314:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13315:            ;;
                   13316:        esac
                   13317:       ;;
                   13318: 
                   13319:       tandem*)
                   13320:         case $cc_basename in
                   13321:           NCC*)
                   13322:            # NonStop-UX NCC 3.20
                   13323:            # FIXME: insert proper C++ library support
                   13324:            ld_shlibs_CXX=no
                   13325:            ;;
                   13326:           *)
                   13327:            # FIXME: insert proper C++ library support
                   13328:            ld_shlibs_CXX=no
                   13329:            ;;
                   13330:         esac
                   13331:         ;;
                   13332: 
                   13333:       vxworks*)
                   13334:         # FIXME: insert proper C++ library support
                   13335:         ld_shlibs_CXX=no
                   13336:         ;;
                   13337: 
                   13338:       *)
                   13339:         # FIXME: insert proper C++ library support
                   13340:         ld_shlibs_CXX=no
                   13341:         ;;
                   13342:     esac
                   13343: 
                   13344:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   13345: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   13346:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13347: 
                   13348:     GCC_CXX="$GXX"
                   13349:     LD_CXX="$LD"
                   13350: 
                   13351:     ## CAVEAT EMPTOR:
                   13352:     ## There is no encapsulation within the following macros, do not change
                   13353:     ## the running order or otherwise move them around unless you know exactly
                   13354:     ## what you are doing...
                   13355:     # Dependencies to place before and after the object being linked:
                   13356: predep_objects_CXX=
                   13357: postdep_objects_CXX=
                   13358: predeps_CXX=
                   13359: postdeps_CXX=
                   13360: compiler_lib_search_path_CXX=
                   13361: 
                   13362: cat > conftest.$ac_ext <<_LT_EOF
                   13363: class Foo
                   13364: {
                   13365: public:
                   13366:   Foo (void) { a = 0; }
                   13367: private:
                   13368:   int a;
                   13369: };
                   13370: _LT_EOF
                   13371: 
                   13372: 
                   13373: _lt_libdeps_save_CFLAGS=$CFLAGS
                   13374: case "$CC $CFLAGS " in #(
                   13375: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   13376: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   13377: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   13378: esac
                   13379: 
                   13380: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   13381:   (eval $ac_compile) 2>&5
                   13382:   ac_status=$?
                   13383:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13384:   (exit $ac_status); }; then
                   13385:   # Parse the compiler output and extract the necessary
                   13386:   # objects, libraries and library flags.
                   13387: 
                   13388:   # Sentinel used to keep track of whether or not we are before
                   13389:   # the conftest object file.
                   13390:   pre_test_object_deps_done=no
                   13391: 
                   13392:   for p in `eval "$output_verbose_link_cmd"`; do
                   13393:     case ${prev}${p} in
                   13394: 
                   13395:     -L* | -R* | -l*)
                   13396:        # Some compilers place space between "-{L,R}" and the path.
                   13397:        # Remove the space.
                   13398:        if test $p = "-L" ||
                   13399:           test $p = "-R"; then
                   13400:         prev=$p
                   13401:         continue
                   13402:        fi
                   13403: 
                   13404:        # Expand the sysroot to ease extracting the directories later.
                   13405:        if test -z "$prev"; then
                   13406:          case $p in
                   13407:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   13408:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   13409:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   13410:          esac
                   13411:        fi
                   13412:        case $p in
                   13413:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   13414:        esac
                   13415:        if test "$pre_test_object_deps_done" = no; then
                   13416:         case ${prev} in
                   13417:         -L | -R)
                   13418:           # Internal compiler library paths should come after those
                   13419:           # provided the user.  The postdeps already come after the
                   13420:           # user supplied libs so there is no need to process them.
                   13421:           if test -z "$compiler_lib_search_path_CXX"; then
                   13422:             compiler_lib_search_path_CXX="${prev}${p}"
                   13423:           else
                   13424:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   13425:           fi
                   13426:           ;;
                   13427:         # The "-l" case would never come before the object being
                   13428:         # linked, so don't bother handling this case.
                   13429:         esac
                   13430:        else
                   13431:         if test -z "$postdeps_CXX"; then
                   13432:           postdeps_CXX="${prev}${p}"
                   13433:         else
                   13434:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   13435:         fi
                   13436:        fi
                   13437:        prev=
                   13438:        ;;
                   13439: 
                   13440:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   13441:     *.$objext)
                   13442:        # This assumes that the test object file only shows up
                   13443:        # once in the compiler output.
                   13444:        if test "$p" = "conftest.$objext"; then
                   13445:         pre_test_object_deps_done=yes
                   13446:         continue
                   13447:        fi
                   13448: 
                   13449:        if test "$pre_test_object_deps_done" = no; then
                   13450:         if test -z "$predep_objects_CXX"; then
                   13451:           predep_objects_CXX="$p"
                   13452:         else
                   13453:           predep_objects_CXX="$predep_objects_CXX $p"
                   13454:         fi
                   13455:        else
                   13456:         if test -z "$postdep_objects_CXX"; then
                   13457:           postdep_objects_CXX="$p"
                   13458:         else
                   13459:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   13460:         fi
                   13461:        fi
                   13462:        ;;
                   13463: 
                   13464:     *) ;; # Ignore the rest.
                   13465: 
                   13466:     esac
                   13467:   done
                   13468: 
                   13469:   # Clean up.
                   13470:   rm -f a.out a.exe
                   13471: else
                   13472:   echo "libtool.m4: error: problem compiling CXX test program"
                   13473: fi
                   13474: 
                   13475: $RM -f confest.$objext
                   13476: CFLAGS=$_lt_libdeps_save_CFLAGS
                   13477: 
                   13478: # PORTME: override above test on systems where it is broken
                   13479: case $host_os in
                   13480: interix[3-9]*)
                   13481:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   13482:   # hack all around it, let's just trust "g++" to DTRT.
                   13483:   predep_objects_CXX=
                   13484:   postdep_objects_CXX=
                   13485:   postdeps_CXX=
                   13486:   ;;
                   13487: 
                   13488: linux*)
                   13489:   case `$CC -V 2>&1 | sed 5q` in
                   13490:   *Sun\ C*)
                   13491:     # Sun C++ 5.9
                   13492: 
                   13493:     # The more standards-conforming stlport4 library is
                   13494:     # incompatible with the Cstd library. Avoid specifying
                   13495:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13496:     # -library=stlport4 depends on it.
                   13497:     case " $CXX $CXXFLAGS " in
                   13498:     *" -library=stlport4 "*)
                   13499:       solaris_use_stlport4=yes
                   13500:       ;;
                   13501:     esac
                   13502: 
                   13503:     if test "$solaris_use_stlport4" != yes; then
                   13504:       postdeps_CXX='-library=Cstd -library=Crun'
                   13505:     fi
                   13506:     ;;
                   13507:   esac
                   13508:   ;;
                   13509: 
                   13510: solaris*)
                   13511:   case $cc_basename in
                   13512:   CC* | sunCC*)
                   13513:     # The more standards-conforming stlport4 library is
                   13514:     # incompatible with the Cstd library. Avoid specifying
                   13515:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13516:     # -library=stlport4 depends on it.
                   13517:     case " $CXX $CXXFLAGS " in
                   13518:     *" -library=stlport4 "*)
                   13519:       solaris_use_stlport4=yes
                   13520:       ;;
                   13521:     esac
                   13522: 
                   13523:     # Adding this requires a known-good setup of shared libraries for
                   13524:     # Sun compiler versions before 5.6, else PIC objects from an old
                   13525:     # archive will be linked into the output, leading to subtle bugs.
                   13526:     if test "$solaris_use_stlport4" != yes; then
                   13527:       postdeps_CXX='-library=Cstd -library=Crun'
                   13528:     fi
                   13529:     ;;
                   13530:   esac
                   13531:   ;;
                   13532: esac
                   13533: 
                   13534: 
                   13535: case " $postdeps_CXX " in
                   13536: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   13537: esac
                   13538:  compiler_lib_search_dirs_CXX=
                   13539: if test -n "${compiler_lib_search_path_CXX}"; then
                   13540:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   13541: fi
                   13542: 
                   13543: 
                   13544: 
                   13545: 
                   13546: 
                   13547: 
                   13548: 
                   13549: 
                   13550: 
                   13551: 
                   13552: 
                   13553: 
                   13554: 
                   13555: 
                   13556: 
                   13557: 
                   13558: 
                   13559: 
                   13560: 
                   13561: 
                   13562: 
                   13563: 
                   13564: 
                   13565: 
                   13566: 
                   13567: 
                   13568: 
                   13569: 
                   13570: 
                   13571: 
                   13572: 
                   13573:     lt_prog_compiler_wl_CXX=
                   13574: lt_prog_compiler_pic_CXX=
                   13575: lt_prog_compiler_static_CXX=
                   13576: 
                   13577: 
                   13578:   # C++ specific cases for pic, static, wl, etc.
                   13579:   if test "$GXX" = yes; then
                   13580:     lt_prog_compiler_wl_CXX='-Wl,'
                   13581:     lt_prog_compiler_static_CXX='-static'
                   13582: 
                   13583:     case $host_os in
                   13584:     aix*)
                   13585:       # All AIX code is PIC.
                   13586:       if test "$host_cpu" = ia64; then
                   13587:        # AIX 5 now supports IA64 processor
                   13588:        lt_prog_compiler_static_CXX='-Bstatic'
                   13589:       fi
                   13590:       ;;
                   13591: 
                   13592:     amigaos*)
                   13593:       case $host_cpu in
                   13594:       powerpc)
                   13595:             # see comment about AmigaOS4 .so support
                   13596:             lt_prog_compiler_pic_CXX='-fPIC'
                   13597:         ;;
                   13598:       m68k)
                   13599:             # FIXME: we need at least 68020 code to build shared libraries, but
                   13600:             # adding the `-m68020' flag to GCC prevents building anything better,
                   13601:             # like `-m68040'.
                   13602:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   13603:         ;;
                   13604:       esac
                   13605:       ;;
                   13606: 
                   13607:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   13608:       # PIC is the default for these OSes.
                   13609:       ;;
                   13610:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13611:       # This hack is so that the source file can tell whether it is being
                   13612:       # built for inclusion in a dll (and should export symbols for example).
                   13613:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   13614:       # (--disable-auto-import) libraries
                   13615:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13616:       ;;
                   13617:     darwin* | rhapsody*)
                   13618:       # PIC is the default on this platform
                   13619:       # Common symbols not allowed in MH_DYLIB files
                   13620:       lt_prog_compiler_pic_CXX='-fno-common'
                   13621:       ;;
                   13622:     *djgpp*)
                   13623:       # DJGPP does not support shared libraries at all
                   13624:       lt_prog_compiler_pic_CXX=
                   13625:       ;;
                   13626:     haiku*)
                   13627:       # PIC is the default for Haiku.
                   13628:       # The "-static" flag exists, but is broken.
                   13629:       lt_prog_compiler_static_CXX=
                   13630:       ;;
                   13631:     interix[3-9]*)
                   13632:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   13633:       # Instead, we relocate shared libraries at runtime.
                   13634:       ;;
                   13635:     sysv4*MP*)
                   13636:       if test -d /usr/nec; then
                   13637:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   13638:       fi
                   13639:       ;;
                   13640:     hpux*)
                   13641:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   13642:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   13643:       # sets the default TLS model and affects inlining.
                   13644:       case $host_cpu in
                   13645:       hppa*64*)
                   13646:        ;;
                   13647:       *)
                   13648:        lt_prog_compiler_pic_CXX='-fPIC'
                   13649:        ;;
                   13650:       esac
                   13651:       ;;
                   13652:     *qnx* | *nto*)
                   13653:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13654:       # it will coredump.
                   13655:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13656:       ;;
                   13657:     *)
                   13658:       lt_prog_compiler_pic_CXX='-fPIC'
                   13659:       ;;
                   13660:     esac
                   13661:   else
                   13662:     case $host_os in
                   13663:       aix[4-9]*)
                   13664:        # All AIX code is PIC.
                   13665:        if test "$host_cpu" = ia64; then
                   13666:          # AIX 5 now supports IA64 processor
                   13667:          lt_prog_compiler_static_CXX='-Bstatic'
                   13668:        else
                   13669:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   13670:        fi
                   13671:        ;;
                   13672:       chorus*)
                   13673:        case $cc_basename in
                   13674:        cxch68*)
                   13675:          # Green Hills C++ Compiler
                   13676:          # _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"
                   13677:          ;;
                   13678:        esac
                   13679:        ;;
                   13680:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13681:        # This hack is so that the source file can tell whether it is being
                   13682:        # built for inclusion in a dll (and should export symbols for example).
                   13683:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13684:        ;;
                   13685:       dgux*)
                   13686:        case $cc_basename in
                   13687:          ec++*)
                   13688:            lt_prog_compiler_pic_CXX='-KPIC'
                   13689:            ;;
                   13690:          ghcx*)
                   13691:            # Green Hills C++ Compiler
                   13692:            lt_prog_compiler_pic_CXX='-pic'
                   13693:            ;;
                   13694:          *)
                   13695:            ;;
                   13696:        esac
                   13697:        ;;
                   13698:       freebsd* | dragonfly*)
                   13699:        # FreeBSD uses GNU C++
                   13700:        ;;
                   13701:       hpux9* | hpux10* | hpux11*)
                   13702:        case $cc_basename in
                   13703:          CC*)
                   13704:            lt_prog_compiler_wl_CXX='-Wl,'
                   13705:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   13706:            if test "$host_cpu" != ia64; then
                   13707:              lt_prog_compiler_pic_CXX='+Z'
                   13708:            fi
                   13709:            ;;
                   13710:          aCC*)
                   13711:            lt_prog_compiler_wl_CXX='-Wl,'
                   13712:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   13713:            case $host_cpu in
                   13714:            hppa*64*|ia64*)
                   13715:              # +Z the default
                   13716:              ;;
                   13717:            *)
                   13718:              lt_prog_compiler_pic_CXX='+Z'
                   13719:              ;;
                   13720:            esac
                   13721:            ;;
                   13722:          *)
                   13723:            ;;
                   13724:        esac
                   13725:        ;;
                   13726:       interix*)
                   13727:        # This is c89, which is MS Visual C++ (no shared libs)
                   13728:        # Anyone wants to do a port?
                   13729:        ;;
                   13730:       irix5* | irix6* | nonstopux*)
                   13731:        case $cc_basename in
                   13732:          CC*)
                   13733:            lt_prog_compiler_wl_CXX='-Wl,'
                   13734:            lt_prog_compiler_static_CXX='-non_shared'
                   13735:            # CC pic flag -KPIC is the default.
                   13736:            ;;
                   13737:          *)
                   13738:            ;;
                   13739:        esac
                   13740:        ;;
                   13741:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13742:        case $cc_basename in
                   13743:          KCC*)
                   13744:            # KAI C++ Compiler
                   13745:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   13746:            lt_prog_compiler_pic_CXX='-fPIC'
                   13747:            ;;
                   13748:          ecpc* )
                   13749:            # old Intel C++ for x86_64 which still supported -KPIC.
                   13750:            lt_prog_compiler_wl_CXX='-Wl,'
                   13751:            lt_prog_compiler_pic_CXX='-KPIC'
                   13752:            lt_prog_compiler_static_CXX='-static'
                   13753:            ;;
                   13754:          icpc* )
                   13755:            # Intel C++, used to be incompatible with GCC.
                   13756:            # ICC 10 doesn't accept -KPIC any more.
                   13757:            lt_prog_compiler_wl_CXX='-Wl,'
                   13758:            lt_prog_compiler_pic_CXX='-fPIC'
                   13759:            lt_prog_compiler_static_CXX='-static'
                   13760:            ;;
                   13761:          pgCC* | pgcpp*)
                   13762:            # Portland Group C++ compiler
                   13763:            lt_prog_compiler_wl_CXX='-Wl,'
                   13764:            lt_prog_compiler_pic_CXX='-fpic'
                   13765:            lt_prog_compiler_static_CXX='-Bstatic'
                   13766:            ;;
                   13767:          cxx*)
                   13768:            # Compaq C++
                   13769:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   13770:            # Linux and Compaq Tru64 Unix objects are PIC.
                   13771:            lt_prog_compiler_pic_CXX=
                   13772:            lt_prog_compiler_static_CXX='-non_shared'
                   13773:            ;;
                   13774:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   13775:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   13776:            lt_prog_compiler_wl_CXX='-Wl,'
                   13777:            lt_prog_compiler_pic_CXX='-qpic'
                   13778:            lt_prog_compiler_static_CXX='-qstaticlink'
                   13779:            ;;
                   13780:          *)
                   13781:            case `$CC -V 2>&1 | sed 5q` in
                   13782:            *Sun\ C*)
                   13783:              # Sun C++ 5.9
                   13784:              lt_prog_compiler_pic_CXX='-KPIC'
                   13785:              lt_prog_compiler_static_CXX='-Bstatic'
                   13786:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   13787:              ;;
                   13788:            esac
                   13789:            ;;
                   13790:        esac
                   13791:        ;;
                   13792:       lynxos*)
                   13793:        ;;
                   13794:       m88k*)
                   13795:        ;;
                   13796:       mvs*)
                   13797:        case $cc_basename in
                   13798:          cxx*)
                   13799:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   13800:            ;;
                   13801:          *)
                   13802:            ;;
                   13803:        esac
                   13804:        ;;
                   13805:       netbsd*)
                   13806:        ;;
                   13807:       *qnx* | *nto*)
                   13808:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13809:         # it will coredump.
                   13810:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13811:         ;;
                   13812:       osf3* | osf4* | osf5*)
                   13813:        case $cc_basename in
                   13814:          KCC*)
                   13815:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   13816:            ;;
                   13817:          RCC*)
                   13818:            # Rational C++ 2.4.1
                   13819:            lt_prog_compiler_pic_CXX='-pic'
                   13820:            ;;
                   13821:          cxx*)
                   13822:            # Digital/Compaq C++
                   13823:            lt_prog_compiler_wl_CXX='-Wl,'
                   13824:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   13825:            # Linux and Compaq Tru64 Unix objects are PIC.
                   13826:            lt_prog_compiler_pic_CXX=
                   13827:            lt_prog_compiler_static_CXX='-non_shared'
                   13828:            ;;
                   13829:          *)
                   13830:            ;;
                   13831:        esac
                   13832:        ;;
                   13833:       psos*)
                   13834:        ;;
                   13835:       solaris*)
                   13836:        case $cc_basename in
                   13837:          CC* | sunCC*)
                   13838:            # Sun C++ 4.2, 5.x and Centerline C++
                   13839:            lt_prog_compiler_pic_CXX='-KPIC'
                   13840:            lt_prog_compiler_static_CXX='-Bstatic'
                   13841:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   13842:            ;;
                   13843:          gcx*)
                   13844:            # Green Hills C++ Compiler
                   13845:            lt_prog_compiler_pic_CXX='-PIC'
                   13846:            ;;
                   13847:          *)
                   13848:            ;;
                   13849:        esac
                   13850:        ;;
                   13851:       sunos4*)
                   13852:        case $cc_basename in
                   13853:          CC*)
                   13854:            # Sun C++ 4.x
                   13855:            lt_prog_compiler_pic_CXX='-pic'
                   13856:            lt_prog_compiler_static_CXX='-Bstatic'
                   13857:            ;;
                   13858:          lcc*)
                   13859:            # Lucid
                   13860:            lt_prog_compiler_pic_CXX='-pic'
                   13861:            ;;
                   13862:          *)
                   13863:            ;;
                   13864:        esac
                   13865:        ;;
                   13866:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   13867:        case $cc_basename in
                   13868:          CC*)
                   13869:            lt_prog_compiler_wl_CXX='-Wl,'
                   13870:            lt_prog_compiler_pic_CXX='-KPIC'
                   13871:            lt_prog_compiler_static_CXX='-Bstatic'
                   13872:            ;;
                   13873:        esac
                   13874:        ;;
                   13875:       tandem*)
                   13876:        case $cc_basename in
                   13877:          NCC*)
                   13878:            # NonStop-UX NCC 3.20
                   13879:            lt_prog_compiler_pic_CXX='-KPIC'
                   13880:            ;;
                   13881:          *)
                   13882:            ;;
                   13883:        esac
                   13884:        ;;
                   13885:       vxworks*)
                   13886:        ;;
                   13887:       *)
                   13888:        lt_prog_compiler_can_build_shared_CXX=no
                   13889:        ;;
                   13890:     esac
                   13891:   fi
                   13892: 
                   13893: case $host_os in
                   13894:   # For platforms which do not support PIC, -DPIC is meaningless:
                   13895:   *djgpp*)
                   13896:     lt_prog_compiler_pic_CXX=
                   13897:     ;;
                   13898:   *)
                   13899:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   13900:     ;;
                   13901: esac
                   13902: 
                   13903: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   13904: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   13905: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   13906:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13907: else
                   13908:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   13909: fi
                   13910: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   13911: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
                   13912: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   13913: 
                   13914: #
                   13915: # Check to make sure the PIC flag actually works.
                   13916: #
                   13917: if test -n "$lt_prog_compiler_pic_CXX"; then
                   13918:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   13919: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   13920: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   13921:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13922: else
                   13923:   lt_cv_prog_compiler_pic_works_CXX=no
                   13924:    ac_outfile=conftest.$ac_objext
                   13925:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13926:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   13927:    # Insert the option either (1) after the last *FLAGS variable, or
                   13928:    # (2) before a word containing "conftest.", or (3) at the end.
                   13929:    # Note that $ac_compile itself does not contain backslashes and begins
                   13930:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   13931:    # The option is referenced via a variable to avoid confusing sed.
                   13932:    lt_compile=`echo "$ac_compile" | $SED \
                   13933:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   13934:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   13935:    -e 's:$: $lt_compiler_flag:'`
                   13936:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   13937:    (eval "$lt_compile" 2>conftest.err)
                   13938:    ac_status=$?
                   13939:    cat conftest.err >&5
                   13940:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13941:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   13942:      # The compiler can only warn and ignore the option if not recognized
                   13943:      # So say no if there are warnings other than the usual output.
                   13944:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   13945:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13946:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   13947:        lt_cv_prog_compiler_pic_works_CXX=yes
                   13948:      fi
                   13949:    fi
                   13950:    $RM conftest*
                   13951: 
                   13952: fi
                   13953: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   13954: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
                   13955: 
                   13956: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   13957:     case $lt_prog_compiler_pic_CXX in
                   13958:      "" | " "*) ;;
                   13959:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   13960:      esac
                   13961: else
                   13962:     lt_prog_compiler_pic_CXX=
                   13963:      lt_prog_compiler_can_build_shared_CXX=no
                   13964: fi
                   13965: 
                   13966: fi
                   13967: 
                   13968: 
                   13969: 
                   13970: 
                   13971: 
                   13972: #
                   13973: # Check to make sure the static flag actually works.
                   13974: #
                   13975: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   13976: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   13977: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   13978: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   13979:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13980: else
                   13981:   lt_cv_prog_compiler_static_works_CXX=no
                   13982:    save_LDFLAGS="$LDFLAGS"
                   13983:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   13984:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   13985:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   13986:      # The linker can only warn and ignore the option if not recognized
                   13987:      # So say no if there are warnings
                   13988:      if test -s conftest.err; then
                   13989:        # Append any errors to the config.log.
                   13990:        cat conftest.err 1>&5
                   13991:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   13992:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13993:        if diff conftest.exp conftest.er2 >/dev/null; then
                   13994:          lt_cv_prog_compiler_static_works_CXX=yes
                   13995:        fi
                   13996:      else
                   13997:        lt_cv_prog_compiler_static_works_CXX=yes
                   13998:      fi
                   13999:    fi
                   14000:    $RM -r conftest*
                   14001:    LDFLAGS="$save_LDFLAGS"
                   14002: 
                   14003: fi
                   14004: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14005: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
                   14006: 
                   14007: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14008:     :
                   14009: else
                   14010:     lt_prog_compiler_static_CXX=
                   14011: fi
                   14012: 
                   14013: 
                   14014: 
                   14015: 
                   14016:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14017: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14018: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14019:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14020: else
                   14021:   lt_cv_prog_compiler_c_o_CXX=no
                   14022:    $RM -r conftest 2>/dev/null
                   14023:    mkdir conftest
                   14024:    cd conftest
                   14025:    mkdir out
                   14026:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14027: 
                   14028:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14029:    # Insert the option either (1) after the last *FLAGS variable, or
                   14030:    # (2) before a word containing "conftest.", or (3) at the end.
                   14031:    # Note that $ac_compile itself does not contain backslashes and begins
                   14032:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14033:    lt_compile=`echo "$ac_compile" | $SED \
                   14034:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14035:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14036:    -e 's:$: $lt_compiler_flag:'`
                   14037:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14038:    (eval "$lt_compile" 2>out/conftest.err)
                   14039:    ac_status=$?
                   14040:    cat out/conftest.err >&5
                   14041:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14042:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14043:    then
                   14044:      # The compiler can only warn and ignore the option if not recognized
                   14045:      # So say no if there are warnings
                   14046:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14047:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14048:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14049:        lt_cv_prog_compiler_c_o_CXX=yes
                   14050:      fi
                   14051:    fi
                   14052:    chmod u+w . 2>&5
                   14053:    $RM conftest*
                   14054:    # SGI C++ compiler will create directory out/ii_files/ for
                   14055:    # template instantiation
                   14056:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14057:    $RM out/* && rmdir out
                   14058:    cd ..
                   14059:    $RM -r conftest
                   14060:    $RM conftest*
                   14061: 
                   14062: fi
                   14063: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14064: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14065: 
                   14066: 
                   14067: 
                   14068:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14069: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14070: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14071:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14072: else
                   14073:   lt_cv_prog_compiler_c_o_CXX=no
                   14074:    $RM -r conftest 2>/dev/null
                   14075:    mkdir conftest
                   14076:    cd conftest
                   14077:    mkdir out
                   14078:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14079: 
                   14080:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14081:    # Insert the option either (1) after the last *FLAGS variable, or
                   14082:    # (2) before a word containing "conftest.", or (3) at the end.
                   14083:    # Note that $ac_compile itself does not contain backslashes and begins
                   14084:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14085:    lt_compile=`echo "$ac_compile" | $SED \
                   14086:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14087:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14088:    -e 's:$: $lt_compiler_flag:'`
                   14089:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14090:    (eval "$lt_compile" 2>out/conftest.err)
                   14091:    ac_status=$?
                   14092:    cat out/conftest.err >&5
                   14093:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14094:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14095:    then
                   14096:      # The compiler can only warn and ignore the option if not recognized
                   14097:      # So say no if there are warnings
                   14098:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14099:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14100:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14101:        lt_cv_prog_compiler_c_o_CXX=yes
                   14102:      fi
                   14103:    fi
                   14104:    chmod u+w . 2>&5
                   14105:    $RM conftest*
                   14106:    # SGI C++ compiler will create directory out/ii_files/ for
                   14107:    # template instantiation
                   14108:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14109:    $RM out/* && rmdir out
                   14110:    cd ..
                   14111:    $RM -r conftest
                   14112:    $RM conftest*
                   14113: 
                   14114: fi
                   14115: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14116: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14117: 
                   14118: 
                   14119: 
                   14120: 
                   14121: hard_links="nottested"
                   14122: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14123:   # do not overwrite the value of need_locks provided by the user
                   14124:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   14125: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   14126:   hard_links=yes
                   14127:   $RM conftest*
                   14128:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14129:   touch conftest.a
                   14130:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14131:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14132:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   14133: echo "${ECHO_T}$hard_links" >&6
                   14134:   if test "$hard_links" = no; then
                   14135:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14136: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   14137:     need_locks=warn
                   14138:   fi
                   14139: else
                   14140:   need_locks=no
                   14141: fi
                   14142: 
                   14143: 
                   14144: 
                   14145:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14146: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   14147: 
                   14148:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14149:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14150:   case $host_os in
                   14151:   aix[4-9]*)
                   14152:     # If we're using GNU nm, then we don't want the "-C" option.
                   14153:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14154:     # Also, AIX nm treats weak defined symbols like other global defined
                   14155:     # symbols, whereas GNU nm marks them as "W".
                   14156:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14157:       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'
                   14158:     else
                   14159:       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'
                   14160:     fi
                   14161:     ;;
                   14162:   pw32*)
                   14163:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14164:     ;;
                   14165:   cygwin* | mingw* | cegcc*)
                   14166:     case $cc_basename in
                   14167:     cl*)
                   14168:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14169:       ;;
                   14170:     *)
                   14171:       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'
                   14172:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14173:       ;;
                   14174:     esac
                   14175:     ;;
                   14176:   *)
                   14177:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14178:     ;;
                   14179:   esac
                   14180: 
                   14181: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14182: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14183: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14184: 
                   14185: with_gnu_ld_CXX=$with_gnu_ld
                   14186: 
                   14187: 
                   14188: 
                   14189: 
                   14190: 
                   14191: 
                   14192: #
                   14193: # Do we need to explicitly link libc?
                   14194: #
                   14195: case "x$archive_cmds_need_lc_CXX" in
                   14196: x|xyes)
                   14197:   # Assume -lc should be added
                   14198:   archive_cmds_need_lc_CXX=yes
                   14199: 
                   14200:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14201:     case $archive_cmds_CXX in
                   14202:     *'~'*)
                   14203:       # FIXME: we may have to deal with multi-command sequences.
                   14204:       ;;
                   14205:     '$CC '*)
                   14206:       # Test whether the compiler implicitly links with -lc since on some
                   14207:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14208:       # to ld, don't add -lc before -lgcc.
                   14209:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   14210: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   14211: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   14212:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14213: else
                   14214:   $RM conftest*
                   14215:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14216: 
                   14217:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14218:   (eval $ac_compile) 2>&5
                   14219:   ac_status=$?
                   14220:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14221:   (exit $ac_status); } 2>conftest.err; then
                   14222:          soname=conftest
                   14223:          lib=conftest
                   14224:          libobjs=conftest.$ac_objext
                   14225:          deplibs=
                   14226:          wl=$lt_prog_compiler_wl_CXX
                   14227:          pic_flag=$lt_prog_compiler_pic_CXX
                   14228:          compiler_flags=-v
                   14229:          linker_flags=-v
                   14230:          verstring=
                   14231:          output_objdir=.
                   14232:          libname=conftest
                   14233:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14234:          allow_undefined_flag_CXX=
                   14235:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   14236:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14237:   ac_status=$?
                   14238:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14239:   (exit $ac_status); }
                   14240:          then
                   14241:            lt_cv_archive_cmds_need_lc_CXX=no
                   14242:          else
                   14243:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14244:          fi
                   14245:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14246:        else
                   14247:          cat conftest.err 1>&5
                   14248:        fi
                   14249:        $RM conftest*
                   14250: 
                   14251: fi
                   14252: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14253: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
                   14254:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14255:       ;;
                   14256:     esac
                   14257:   fi
                   14258:   ;;
                   14259: esac
                   14260: 
                   14261: 
                   14262: 
                   14263: 
                   14264: 
                   14265: 
                   14266: 
                   14267: 
                   14268: 
                   14269: 
                   14270: 
                   14271: 
                   14272: 
                   14273: 
                   14274: 
                   14275: 
                   14276: 
                   14277: 
                   14278: 
                   14279: 
                   14280: 
                   14281: 
                   14282: 
                   14283: 
                   14284: 
                   14285: 
                   14286: 
                   14287: 
                   14288: 
                   14289: 
                   14290: 
                   14291: 
                   14292: 
                   14293: 
                   14294: 
                   14295: 
                   14296: 
                   14297: 
                   14298: 
                   14299: 
                   14300: 
                   14301: 
                   14302: 
                   14303: 
                   14304: 
                   14305: 
                   14306: 
                   14307: 
                   14308: 
                   14309: 
                   14310: 
                   14311: 
                   14312: 
                   14313: 
                   14314: 
                   14315: 
                   14316: 
                   14317: 
                   14318: 
                   14319: 
                   14320: 
                   14321: 
                   14322:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   14323: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   14324: 
                   14325: library_names_spec=
                   14326: libname_spec='lib$name'
                   14327: soname_spec=
                   14328: shrext_cmds=".so"
                   14329: postinstall_cmds=
                   14330: postuninstall_cmds=
                   14331: finish_cmds=
                   14332: finish_eval=
                   14333: shlibpath_var=
                   14334: shlibpath_overrides_runpath=unknown
                   14335: version_type=none
                   14336: dynamic_linker="$host_os ld.so"
                   14337: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14338: need_lib_prefix=unknown
                   14339: hardcode_into_libs=no
                   14340: 
                   14341: # when you set need_version to no, make sure it does not cause -set_version
                   14342: # flags to be left without arguments
                   14343: need_version=unknown
                   14344: 
                   14345: case $host_os in
                   14346: aix3*)
                   14347:   version_type=linux # correct to gnu/linux during the next big refactor
                   14348:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   14349:   shlibpath_var=LIBPATH
                   14350: 
                   14351:   # AIX 3 has no versioning support, so we append a major version to the name.
                   14352:   soname_spec='${libname}${release}${shared_ext}$major'
                   14353:   ;;
                   14354: 
                   14355: aix[4-9]*)
                   14356:   version_type=linux # correct to gnu/linux during the next big refactor
                   14357:   need_lib_prefix=no
                   14358:   need_version=no
                   14359:   hardcode_into_libs=yes
                   14360:   if test "$host_cpu" = ia64; then
                   14361:     # AIX 5 supports IA64
                   14362:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   14363:     shlibpath_var=LD_LIBRARY_PATH
                   14364:   else
                   14365:     # With GCC up to 2.95.x, collect2 would create an import file
                   14366:     # for dependence libraries.  The import file would start with
                   14367:     # the line `#! .'.  This would cause the generated library to
                   14368:     # depend on `.', always an invalid library.  This was fixed in
                   14369:     # development snapshots of GCC prior to 3.0.
                   14370:     case $host_os in
                   14371:       aix4 | aix4.[01] | aix4.[01].*)
                   14372:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14373:           echo ' yes '
                   14374:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   14375:        :
                   14376:       else
                   14377:        can_build_shared=no
                   14378:       fi
                   14379:       ;;
                   14380:     esac
                   14381:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   14382:     # soname into executable. Probably we can add versioning support to
                   14383:     # collect2, so additional links can be useful in future.
                   14384:     if test "$aix_use_runtimelinking" = yes; then
                   14385:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14386:       # instead of lib<name>.a to let people know that these are not
                   14387:       # typical AIX shared libraries.
                   14388:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14389:     else
                   14390:       # We preserve .a as extension for shared libraries through AIX4.2
                   14391:       # and later when we are not doing run time linking.
                   14392:       library_names_spec='${libname}${release}.a $libname.a'
                   14393:       soname_spec='${libname}${release}${shared_ext}$major'
                   14394:     fi
                   14395:     shlibpath_var=LIBPATH
                   14396:   fi
                   14397:   ;;
                   14398: 
                   14399: amigaos*)
                   14400:   case $host_cpu in
                   14401:   powerpc)
                   14402:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14403:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   14404:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14405:     ;;
                   14406:   m68k)
                   14407:     library_names_spec='$libname.ixlibrary $libname.a'
                   14408:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   14409:     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'
                   14410:     ;;
                   14411:   esac
                   14412:   ;;
                   14413: 
                   14414: beos*)
                   14415:   library_names_spec='${libname}${shared_ext}'
                   14416:   dynamic_linker="$host_os ld.so"
                   14417:   shlibpath_var=LIBRARY_PATH
                   14418:   ;;
                   14419: 
                   14420: bsdi[45]*)
                   14421:   version_type=linux # correct to gnu/linux during the next big refactor
                   14422:   need_version=no
                   14423:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14424:   soname_spec='${libname}${release}${shared_ext}$major'
                   14425:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14426:   shlibpath_var=LD_LIBRARY_PATH
                   14427:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14428:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14429:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14430:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14431:   # libtool to hard-code these into programs
                   14432:   ;;
                   14433: 
                   14434: cygwin* | mingw* | pw32* | cegcc*)
                   14435:   version_type=windows
                   14436:   shrext_cmds=".dll"
                   14437:   need_version=no
                   14438:   need_lib_prefix=no
                   14439: 
                   14440:   case $GCC,$cc_basename in
                   14441:   yes,*)
                   14442:     # gcc
                   14443:     library_names_spec='$libname.dll.a'
                   14444:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14445:     postinstall_cmds='base_file=`basename \${file}`~
                   14446:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14447:       dldir=$destdir/`dirname \$dlpath`~
                   14448:       test -d \$dldir || mkdir -p \$dldir~
                   14449:       $install_prog $dir/$dlname \$dldir/$dlname~
                   14450:       chmod a+x \$dldir/$dlname~
                   14451:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14452:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14453:       fi'
                   14454:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14455:       dlpath=$dir/\$dldll~
                   14456:        $RM \$dlpath'
                   14457:     shlibpath_overrides_runpath=yes
                   14458: 
                   14459:     case $host_os in
                   14460:     cygwin*)
                   14461:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   14462:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14463: 
                   14464:       ;;
                   14465:     mingw* | cegcc*)
                   14466:       # MinGW DLLs use traditional 'lib' prefix
                   14467:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14468:       ;;
                   14469:     pw32*)
                   14470:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   14471:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14472:       ;;
                   14473:     esac
                   14474:     dynamic_linker='Win32 ld.exe'
                   14475:     ;;
                   14476: 
                   14477:   *,cl*)
                   14478:     # Native MSVC
                   14479:     libname_spec='$name'
                   14480:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14481:     library_names_spec='${libname}.dll.lib'
                   14482: 
                   14483:     case $build_os in
                   14484:     mingw*)
                   14485:       sys_lib_search_path_spec=
                   14486:       lt_save_ifs=$IFS
                   14487:       IFS=';'
                   14488:       for lt_path in $LIB
                   14489:       do
                   14490:         IFS=$lt_save_ifs
                   14491:         # Let DOS variable expansion print the short 8.3 style file name.
                   14492:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14493:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14494:       done
                   14495:       IFS=$lt_save_ifs
                   14496:       # Convert to MSYS style.
                   14497:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   14498:       ;;
                   14499:     cygwin*)
                   14500:       # Convert to unix form, then to dos form, then back to unix form
                   14501:       # but this time dos style (no spaces!) so that the unix form looks
                   14502:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14503:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14504:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14505:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14506:       ;;
                   14507:     *)
                   14508:       sys_lib_search_path_spec="$LIB"
                   14509:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14510:         # It is most probably a Windows format PATH.
                   14511:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14512:       else
                   14513:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14514:       fi
                   14515:       # FIXME: find the short name or the path components, as spaces are
                   14516:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14517:       ;;
                   14518:     esac
                   14519: 
                   14520:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14521:     postinstall_cmds='base_file=`basename \${file}`~
                   14522:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14523:       dldir=$destdir/`dirname \$dlpath`~
                   14524:       test -d \$dldir || mkdir -p \$dldir~
                   14525:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14526:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14527:       dlpath=$dir/\$dldll~
                   14528:        $RM \$dlpath'
                   14529:     shlibpath_overrides_runpath=yes
                   14530:     dynamic_linker='Win32 link.exe'
                   14531:     ;;
                   14532: 
                   14533:   *)
                   14534:     # Assume MSVC wrapper
                   14535:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   14536:     dynamic_linker='Win32 ld.exe'
                   14537:     ;;
                   14538:   esac
                   14539:   # FIXME: first we should search . and the directory the executable is in
                   14540:   shlibpath_var=PATH
                   14541:   ;;
                   14542: 
                   14543: darwin* | rhapsody*)
                   14544:   dynamic_linker="$host_os dyld"
                   14545:   version_type=darwin
                   14546:   need_lib_prefix=no
                   14547:   need_version=no
                   14548:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   14549:   soname_spec='${libname}${release}${major}$shared_ext'
                   14550:   shlibpath_overrides_runpath=yes
                   14551:   shlibpath_var=DYLD_LIBRARY_PATH
                   14552:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14553: 
                   14554:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14555:   ;;
                   14556: 
                   14557: dgux*)
                   14558:   version_type=linux # correct to gnu/linux during the next big refactor
                   14559:   need_lib_prefix=no
                   14560:   need_version=no
                   14561:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   14562:   soname_spec='${libname}${release}${shared_ext}$major'
                   14563:   shlibpath_var=LD_LIBRARY_PATH
                   14564:   ;;
                   14565: 
                   14566: freebsd* | dragonfly*)
                   14567:   # DragonFly does not have aout.  When/if they implement a new
                   14568:   # versioning mechanism, adjust this.
                   14569:   if test -x /usr/bin/objformat; then
                   14570:     objformat=`/usr/bin/objformat`
                   14571:   else
                   14572:     case $host_os in
                   14573:     freebsd[23].*) objformat=aout ;;
                   14574:     *) objformat=elf ;;
                   14575:     esac
                   14576:   fi
                   14577:   version_type=freebsd-$objformat
                   14578:   case $version_type in
                   14579:     freebsd-elf*)
                   14580:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14581:       need_version=no
                   14582:       need_lib_prefix=no
                   14583:       ;;
                   14584:     freebsd-*)
                   14585:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   14586:       need_version=yes
                   14587:       ;;
                   14588:   esac
                   14589:   shlibpath_var=LD_LIBRARY_PATH
                   14590:   case $host_os in
                   14591:   freebsd2.*)
                   14592:     shlibpath_overrides_runpath=yes
                   14593:     ;;
                   14594:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14595:     shlibpath_overrides_runpath=yes
                   14596:     hardcode_into_libs=yes
                   14597:     ;;
                   14598:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14599:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14600:     shlibpath_overrides_runpath=no
                   14601:     hardcode_into_libs=yes
                   14602:     ;;
                   14603:   *) # from 4.6 on, and DragonFly
                   14604:     shlibpath_overrides_runpath=yes
                   14605:     hardcode_into_libs=yes
                   14606:     ;;
                   14607:   esac
                   14608:   ;;
                   14609: 
                   14610: gnu*)
                   14611:   version_type=linux # correct to gnu/linux during the next big refactor
                   14612:   need_lib_prefix=no
                   14613:   need_version=no
                   14614:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14615:   soname_spec='${libname}${release}${shared_ext}$major'
                   14616:   shlibpath_var=LD_LIBRARY_PATH
                   14617:   shlibpath_overrides_runpath=no
                   14618:   hardcode_into_libs=yes
                   14619:   ;;
                   14620: 
                   14621: haiku*)
                   14622:   version_type=linux # correct to gnu/linux during the next big refactor
                   14623:   need_lib_prefix=no
                   14624:   need_version=no
                   14625:   dynamic_linker="$host_os runtime_loader"
                   14626:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14627:   soname_spec='${libname}${release}${shared_ext}$major'
                   14628:   shlibpath_var=LIBRARY_PATH
                   14629:   shlibpath_overrides_runpath=yes
                   14630:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   14631:   hardcode_into_libs=yes
                   14632:   ;;
                   14633: 
                   14634: hpux9* | hpux10* | hpux11*)
                   14635:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14636:   # link against other versions.
                   14637:   version_type=sunos
                   14638:   need_lib_prefix=no
                   14639:   need_version=no
                   14640:   case $host_cpu in
                   14641:   ia64*)
                   14642:     shrext_cmds='.so'
                   14643:     hardcode_into_libs=yes
                   14644:     dynamic_linker="$host_os dld.so"
                   14645:     shlibpath_var=LD_LIBRARY_PATH
                   14646:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14647:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14648:     soname_spec='${libname}${release}${shared_ext}$major'
                   14649:     if test "X$HPUX_IA64_MODE" = X32; then
                   14650:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   14651:     else
                   14652:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   14653:     fi
                   14654:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14655:     ;;
                   14656:   hppa*64*)
                   14657:     shrext_cmds='.sl'
                   14658:     hardcode_into_libs=yes
                   14659:     dynamic_linker="$host_os dld.sl"
                   14660:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14661:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14662:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14663:     soname_spec='${libname}${release}${shared_ext}$major'
                   14664:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14665:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14666:     ;;
                   14667:   *)
                   14668:     shrext_cmds='.sl'
                   14669:     dynamic_linker="$host_os dld.sl"
                   14670:     shlibpath_var=SHLIB_PATH
                   14671:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   14672:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14673:     soname_spec='${libname}${release}${shared_ext}$major'
                   14674:     ;;
                   14675:   esac
                   14676:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   14677:   postinstall_cmds='chmod 555 $lib'
                   14678:   # or fails outright, so override atomically:
                   14679:   install_override_mode=555
                   14680:   ;;
                   14681: 
                   14682: interix[3-9]*)
                   14683:   version_type=linux # correct to gnu/linux during the next big refactor
                   14684:   need_lib_prefix=no
                   14685:   need_version=no
                   14686:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14687:   soname_spec='${libname}${release}${shared_ext}$major'
                   14688:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   14689:   shlibpath_var=LD_LIBRARY_PATH
                   14690:   shlibpath_overrides_runpath=no
                   14691:   hardcode_into_libs=yes
                   14692:   ;;
                   14693: 
                   14694: irix5* | irix6* | nonstopux*)
                   14695:   case $host_os in
                   14696:     nonstopux*) version_type=nonstopux ;;
                   14697:     *)
                   14698:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   14699:                version_type=linux # correct to gnu/linux during the next big refactor
                   14700:        else
                   14701:                version_type=irix
                   14702:        fi ;;
                   14703:   esac
                   14704:   need_lib_prefix=no
                   14705:   need_version=no
                   14706:   soname_spec='${libname}${release}${shared_ext}$major'
                   14707:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14708:   case $host_os in
                   14709:   irix5* | nonstopux*)
                   14710:     libsuff= shlibsuff=
                   14711:     ;;
                   14712:   *)
                   14713:     case $LD in # libtool.m4 will add one of these switches to LD
                   14714:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   14715:       libsuff= shlibsuff= libmagic=32-bit;;
                   14716:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   14717:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   14718:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   14719:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   14720:     *) libsuff= shlibsuff= libmagic=never-match;;
                   14721:     esac
                   14722:     ;;
                   14723:   esac
                   14724:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   14725:   shlibpath_overrides_runpath=no
                   14726:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   14727:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   14728:   hardcode_into_libs=yes
                   14729:   ;;
                   14730: 
                   14731: # No shared lib support for Linux oldld, aout, or coff.
                   14732: linux*oldld* | linux*aout* | linux*coff*)
                   14733:   dynamic_linker=no
                   14734:   ;;
                   14735: 
                   14736: # This must be glibc/ELF.
                   14737: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14738:   version_type=linux # correct to gnu/linux during the next big refactor
                   14739:   need_lib_prefix=no
                   14740:   need_version=no
                   14741:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14742:   soname_spec='${libname}${release}${shared_ext}$major'
                   14743:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   14744:   shlibpath_var=LD_LIBRARY_PATH
                   14745:   shlibpath_overrides_runpath=no
                   14746: 
                   14747:   # Some binutils ld are patched to set DT_RUNPATH
                   14748:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   14749:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14750: else
                   14751:   lt_cv_shlibpath_overrides_runpath=no
                   14752:     save_LDFLAGS=$LDFLAGS
                   14753:     save_libdir=$libdir
                   14754:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   14755:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   14756:     cat >conftest.$ac_ext <<_ACEOF
                   14757: /* confdefs.h.  */
                   14758: _ACEOF
                   14759: cat confdefs.h >>conftest.$ac_ext
                   14760: cat >>conftest.$ac_ext <<_ACEOF
                   14761: /* end confdefs.h.  */
                   14762: 
                   14763: int
                   14764: main ()
                   14765: {
                   14766: 
                   14767:   ;
                   14768:   return 0;
                   14769: }
                   14770: _ACEOF
                   14771: rm -f conftest.$ac_objext conftest$ac_exeext
                   14772: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   14773:   (eval $ac_link) 2>conftest.er1
                   14774:   ac_status=$?
                   14775:   grep -v '^ *+' conftest.er1 >conftest.err
                   14776:   rm -f conftest.er1
                   14777:   cat conftest.err >&5
                   14778:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14779:   (exit $ac_status); } &&
                   14780:         { ac_try='test -z "$ac_cxx_werror_flag"
                   14781:                         || test ! -s conftest.err'
                   14782:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14783:   (eval $ac_try) 2>&5
                   14784:   ac_status=$?
                   14785:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14786:   (exit $ac_status); }; } &&
                   14787:         { ac_try='test -s conftest$ac_exeext'
                   14788:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14789:   (eval $ac_try) 2>&5
                   14790:   ac_status=$?
                   14791:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14792:   (exit $ac_status); }; }; then
                   14793:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   14794:   lt_cv_shlibpath_overrides_runpath=yes
                   14795: fi
                   14796: 
                   14797: else
                   14798:   echo "$as_me: failed program was:" >&5
                   14799: sed 's/^/| /' conftest.$ac_ext >&5
                   14800: 
                   14801: fi
                   14802: rm -f conftest.err conftest.$ac_objext \
                   14803:       conftest$ac_exeext conftest.$ac_ext
                   14804:     LDFLAGS=$save_LDFLAGS
                   14805:     libdir=$save_libdir
                   14806: 
                   14807: fi
                   14808: 
                   14809:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   14810: 
                   14811:   # This implies no fast_install, which is unacceptable.
                   14812:   # Some rework will be needed to allow for fast_install
                   14813:   # before this can be enabled.
                   14814:   hardcode_into_libs=yes
                   14815: 
                   14816:   # Append ld.so.conf contents to the search path
                   14817:   if test -f /etc/ld.so.conf; then
                   14818:     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' ' '`
                   14819:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   14820:   fi
                   14821: 
                   14822:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   14823:   # powerpc, because MkLinux only supported shared libraries with the
                   14824:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   14825:   # most powerpc-linux boxes support dynamic linking these days and
                   14826:   # people can always --disable-shared, the test was removed, and we
                   14827:   # assume the GNU/Linux dynamic linker is in use.
                   14828:   dynamic_linker='GNU/Linux ld.so'
                   14829:   ;;
                   14830: 
                   14831: netbsd*)
                   14832:   version_type=sunos
                   14833:   need_lib_prefix=no
                   14834:   need_version=no
                   14835:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14836:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14837:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14838:     dynamic_linker='NetBSD (a.out) ld.so'
                   14839:   else
                   14840:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14841:     soname_spec='${libname}${release}${shared_ext}$major'
                   14842:     dynamic_linker='NetBSD ld.elf_so'
                   14843:   fi
                   14844:   shlibpath_var=LD_LIBRARY_PATH
                   14845:   shlibpath_overrides_runpath=yes
                   14846:   hardcode_into_libs=yes
                   14847:   ;;
                   14848: 
                   14849: newsos6)
                   14850:   version_type=linux # correct to gnu/linux during the next big refactor
                   14851:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14852:   shlibpath_var=LD_LIBRARY_PATH
                   14853:   shlibpath_overrides_runpath=yes
                   14854:   ;;
                   14855: 
                   14856: *nto* | *qnx*)
                   14857:   version_type=qnx
                   14858:   need_lib_prefix=no
                   14859:   need_version=no
                   14860:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14861:   soname_spec='${libname}${release}${shared_ext}$major'
                   14862:   shlibpath_var=LD_LIBRARY_PATH
                   14863:   shlibpath_overrides_runpath=no
                   14864:   hardcode_into_libs=yes
                   14865:   dynamic_linker='ldqnx.so'
                   14866:   ;;
                   14867: 
                   14868: openbsd*)
                   14869:   version_type=sunos
                   14870:   sys_lib_dlsearch_path_spec="/usr/lib"
                   14871:   need_lib_prefix=no
                   14872:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   14873:   case $host_os in
                   14874:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   14875:     *)                         need_version=no  ;;
                   14876:   esac
                   14877:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14878:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14879:   shlibpath_var=LD_LIBRARY_PATH
                   14880:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14881:     case $host_os in
                   14882:       openbsd2.[89] | openbsd2.[89].*)
                   14883:        shlibpath_overrides_runpath=no
                   14884:        ;;
                   14885:       *)
                   14886:        shlibpath_overrides_runpath=yes
                   14887:        ;;
                   14888:       esac
                   14889:   else
                   14890:     shlibpath_overrides_runpath=yes
                   14891:   fi
                   14892:   ;;
                   14893: 
                   14894: os2*)
                   14895:   libname_spec='$name'
                   14896:   shrext_cmds=".dll"
                   14897:   need_lib_prefix=no
                   14898:   library_names_spec='$libname${shared_ext} $libname.a'
                   14899:   dynamic_linker='OS/2 ld.exe'
                   14900:   shlibpath_var=LIBPATH
                   14901:   ;;
                   14902: 
                   14903: osf3* | osf4* | osf5*)
                   14904:   version_type=osf
                   14905:   need_lib_prefix=no
                   14906:   need_version=no
                   14907:   soname_spec='${libname}${release}${shared_ext}$major'
                   14908:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14909:   shlibpath_var=LD_LIBRARY_PATH
                   14910:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   14911:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   14912:   ;;
                   14913: 
                   14914: rdos*)
                   14915:   dynamic_linker=no
                   14916:   ;;
                   14917: 
                   14918: solaris*)
                   14919:   version_type=linux # correct to gnu/linux during the next big refactor
                   14920:   need_lib_prefix=no
                   14921:   need_version=no
                   14922:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14923:   soname_spec='${libname}${release}${shared_ext}$major'
                   14924:   shlibpath_var=LD_LIBRARY_PATH
                   14925:   shlibpath_overrides_runpath=yes
                   14926:   hardcode_into_libs=yes
                   14927:   # ldd complains unless libraries are executable
                   14928:   postinstall_cmds='chmod +x $lib'
                   14929:   ;;
                   14930: 
                   14931: sunos4*)
                   14932:   version_type=sunos
                   14933:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14934:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   14935:   shlibpath_var=LD_LIBRARY_PATH
                   14936:   shlibpath_overrides_runpath=yes
                   14937:   if test "$with_gnu_ld" = yes; then
                   14938:     need_lib_prefix=no
                   14939:   fi
                   14940:   need_version=yes
                   14941:   ;;
                   14942: 
                   14943: sysv4 | sysv4.3*)
                   14944:   version_type=linux # correct to gnu/linux during the next big refactor
                   14945:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14946:   soname_spec='${libname}${release}${shared_ext}$major'
                   14947:   shlibpath_var=LD_LIBRARY_PATH
                   14948:   case $host_vendor in
                   14949:     sni)
                   14950:       shlibpath_overrides_runpath=no
                   14951:       need_lib_prefix=no
                   14952:       runpath_var=LD_RUN_PATH
                   14953:       ;;
                   14954:     siemens)
                   14955:       need_lib_prefix=no
                   14956:       ;;
                   14957:     motorola)
                   14958:       need_lib_prefix=no
                   14959:       need_version=no
                   14960:       shlibpath_overrides_runpath=no
                   14961:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   14962:       ;;
                   14963:   esac
                   14964:   ;;
                   14965: 
                   14966: sysv4*MP*)
                   14967:   if test -d /usr/nec ;then
                   14968:     version_type=linux # correct to gnu/linux during the next big refactor
                   14969:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   14970:     soname_spec='$libname${shared_ext}.$major'
                   14971:     shlibpath_var=LD_LIBRARY_PATH
                   14972:   fi
                   14973:   ;;
                   14974: 
                   14975: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   14976:   version_type=freebsd-elf
                   14977:   need_lib_prefix=no
                   14978:   need_version=no
                   14979:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14980:   soname_spec='${libname}${release}${shared_ext}$major'
                   14981:   shlibpath_var=LD_LIBRARY_PATH
                   14982:   shlibpath_overrides_runpath=yes
                   14983:   hardcode_into_libs=yes
                   14984:   if test "$with_gnu_ld" = yes; then
                   14985:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   14986:   else
                   14987:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   14988:     case $host_os in
                   14989:       sco3.2v5*)
                   14990:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   14991:        ;;
                   14992:     esac
                   14993:   fi
                   14994:   sys_lib_dlsearch_path_spec='/usr/lib'
                   14995:   ;;
                   14996: 
                   14997: tpf*)
                   14998:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   14999:   version_type=linux # correct to gnu/linux during the next big refactor
                   15000:   need_lib_prefix=no
                   15001:   need_version=no
                   15002:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15003:   shlibpath_var=LD_LIBRARY_PATH
                   15004:   shlibpath_overrides_runpath=no
                   15005:   hardcode_into_libs=yes
                   15006:   ;;
                   15007: 
                   15008: uts4*)
                   15009:   version_type=linux # correct to gnu/linux during the next big refactor
                   15010:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15011:   soname_spec='${libname}${release}${shared_ext}$major'
                   15012:   shlibpath_var=LD_LIBRARY_PATH
                   15013:   ;;
                   15014: 
                   15015: *)
                   15016:   dynamic_linker=no
                   15017:   ;;
                   15018: esac
                   15019: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   15020: echo "${ECHO_T}$dynamic_linker" >&6
                   15021: test "$dynamic_linker" = no && can_build_shared=no
                   15022: 
                   15023: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15024: if test "$GCC" = yes; then
                   15025:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15026: fi
                   15027: 
                   15028: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15029:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15030: fi
                   15031: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15032:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15033: fi
                   15034: 
                   15035: 
                   15036: 
                   15037: 
                   15038: 
                   15039: 
                   15040: 
                   15041: 
                   15042: 
                   15043: 
                   15044: 
                   15045: 
                   15046: 
                   15047: 
                   15048: 
                   15049: 
                   15050: 
                   15051: 
                   15052: 
                   15053: 
                   15054: 
                   15055: 
                   15056: 
                   15057: 
                   15058: 
                   15059: 
                   15060: 
                   15061: 
                   15062: 
                   15063: 
                   15064: 
                   15065: 
                   15066: 
                   15067: 
                   15068: 
                   15069: 
                   15070: 
                   15071: 
                   15072:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   15073: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   15074: hardcode_action_CXX=
                   15075: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15076:    test -n "$runpath_var_CXX" ||
                   15077:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15078: 
                   15079:   # We can hardcode non-existent directories.
                   15080:   if test "$hardcode_direct_CXX" != no &&
                   15081:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15082:      # have to relink, otherwise we might link with an installed library
                   15083:      # when we should be linking with a yet-to-be-installed one
                   15084:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15085:      test "$hardcode_minus_L_CXX" != no; then
                   15086:     # Linking always hardcodes the temporary library directory.
                   15087:     hardcode_action_CXX=relink
                   15088:   else
                   15089:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15090:     hardcode_action_CXX=immediate
                   15091:   fi
                   15092: else
                   15093:   # We cannot hardcode anything, or else we can only hardcode existing
                   15094:   # directories.
                   15095:   hardcode_action_CXX=unsupported
                   15096: fi
                   15097: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   15098: echo "${ECHO_T}$hardcode_action_CXX" >&6
                   15099: 
                   15100: if test "$hardcode_action_CXX" = relink ||
                   15101:    test "$inherit_rpath_CXX" = yes; then
                   15102:   # Fast installation is not supported
                   15103:   enable_fast_install=no
                   15104: elif test "$shlibpath_overrides_runpath" = yes ||
                   15105:      test "$enable_shared" = no; then
                   15106:   # Fast installation is not necessary
                   15107:   enable_fast_install=needless
                   15108: fi
                   15109: 
                   15110: 
                   15111: 
                   15112: 
                   15113: 
                   15114: 
                   15115: 
                   15116:   fi # test -n "$compiler"
                   15117: 
                   15118:   CC=$lt_save_CC
                   15119:   CFLAGS=$lt_save_CFLAGS
                   15120:   LDCXX=$LD
                   15121:   LD=$lt_save_LD
                   15122:   GCC=$lt_save_GCC
                   15123:   with_gnu_ld=$lt_save_with_gnu_ld
                   15124:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15125:   lt_cv_path_LD=$lt_save_path_LD
                   15126:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15127:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15128: fi # test "$_lt_caught_CXX_error" != yes
                   15129: 
                   15130: ac_ext=c
                   15131: ac_cpp='$CPP $CPPFLAGS'
                   15132: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15133: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15134: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15135: 
                   15136: 
                   15137: 
                   15138: 
                   15139: 
                   15140: 
                   15141: 
                   15142: 
                   15143: 
                   15144: 
                   15145: 
                   15146: 
                   15147: 
                   15148: 
                   15149: 
                   15150:                   ac_config_commands="$ac_config_commands libtool"
                   15151: 
                   15152: 
                   15153: 
                   15154: 
                   15155: # Only expand once:
                   15156: 
                   15157: 
                   15158: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15159: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15160: if test "${libltdl_cv_shlibext+set}" = set; then
                   15161:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15162: else
                   15163: 
                   15164: module=yes
                   15165: eval libltdl_cv_shlibext=$shrext_cmds
                   15166: module=no
                   15167: eval libltdl_cv_shrext=$shrext_cmds
                   15168: 
                   15169: fi
                   15170: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15171: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   15172: if test -n "$libltdl_cv_shlibext"; then
                   15173: 
                   15174: cat >>confdefs.h <<_ACEOF
                   15175: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15176: _ACEOF
                   15177: 
                   15178: fi
                   15179: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15180: 
                   15181: cat >>confdefs.h <<_ACEOF
                   15182: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15183: _ACEOF
                   15184: 
                   15185: fi
                   15186: 
                   15187: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15188: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15189: if test "${lt_cv_module_path_var+set}" = set; then
                   15190:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15191: else
                   15192:   lt_cv_module_path_var="$shlibpath_var"
                   15193: fi
                   15194: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15195: echo "${ECHO_T}$lt_cv_module_path_var" >&6
                   15196: if test -n "$lt_cv_module_path_var"; then
                   15197: 
                   15198: cat >>confdefs.h <<_ACEOF
                   15199: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15200: _ACEOF
                   15201: 
                   15202: fi
                   15203: 
                   15204: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15205: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15206: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15207:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15208: else
                   15209:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15210: fi
                   15211: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15212: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
                   15213: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15214:   sys_dlsearch_path=
                   15215:   for dir in $lt_cv_sys_dlsearch_path; do
                   15216:     if test -z "$sys_dlsearch_path"; then
                   15217:       sys_dlsearch_path="$dir"
                   15218:     else
                   15219:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15220:     fi
                   15221:   done
                   15222: 
                   15223: cat >>confdefs.h <<_ACEOF
                   15224: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15225: _ACEOF
                   15226: 
                   15227: fi
                   15228: 
                   15229: 
                   15230: LT_DLLOADERS=
                   15231: 
                   15232: 
                   15233: ac_ext=c
                   15234: ac_cpp='$CPP $CPPFLAGS'
                   15235: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15236: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15237: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15238: 
                   15239: 
                   15240: LIBADD_DLOPEN=
                   15241: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15242: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15243: if test "${ac_cv_search_dlopen+set}" = set; then
                   15244:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15245: else
                   15246:   ac_func_search_save_LIBS=$LIBS
                   15247: ac_cv_search_dlopen=no
                   15248: cat >conftest.$ac_ext <<_ACEOF
                   15249: /* confdefs.h.  */
                   15250: _ACEOF
                   15251: cat confdefs.h >>conftest.$ac_ext
                   15252: cat >>conftest.$ac_ext <<_ACEOF
                   15253: /* end confdefs.h.  */
                   15254: 
                   15255: /* Override any gcc2 internal prototype to avoid an error.  */
                   15256: #ifdef __cplusplus
                   15257: extern "C"
                   15258: #endif
                   15259: /* We use char because int might match the return type of a gcc2
                   15260:    builtin and then its argument prototype would still apply.  */
                   15261: char dlopen ();
                   15262: int
                   15263: main ()
                   15264: {
                   15265: dlopen ();
                   15266:   ;
                   15267:   return 0;
                   15268: }
                   15269: _ACEOF
                   15270: rm -f conftest.$ac_objext conftest$ac_exeext
                   15271: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15272:   (eval $ac_link) 2>conftest.er1
                   15273:   ac_status=$?
                   15274:   grep -v '^ *+' conftest.er1 >conftest.err
                   15275:   rm -f conftest.er1
                   15276:   cat conftest.err >&5
                   15277:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15278:   (exit $ac_status); } &&
                   15279:         { ac_try='test -z "$ac_c_werror_flag"
                   15280:                         || test ! -s conftest.err'
                   15281:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15282:   (eval $ac_try) 2>&5
                   15283:   ac_status=$?
                   15284:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15285:   (exit $ac_status); }; } &&
                   15286:         { ac_try='test -s conftest$ac_exeext'
                   15287:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15288:   (eval $ac_try) 2>&5
                   15289:   ac_status=$?
                   15290:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15291:   (exit $ac_status); }; }; then
                   15292:   ac_cv_search_dlopen="none required"
                   15293: else
                   15294:   echo "$as_me: failed program was:" >&5
                   15295: sed 's/^/| /' conftest.$ac_ext >&5
                   15296: 
                   15297: fi
                   15298: rm -f conftest.err conftest.$ac_objext \
                   15299:       conftest$ac_exeext conftest.$ac_ext
                   15300: if test "$ac_cv_search_dlopen" = no; then
                   15301:   for ac_lib in dl; do
                   15302:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15303:     cat >conftest.$ac_ext <<_ACEOF
                   15304: /* confdefs.h.  */
                   15305: _ACEOF
                   15306: cat confdefs.h >>conftest.$ac_ext
                   15307: cat >>conftest.$ac_ext <<_ACEOF
                   15308: /* end confdefs.h.  */
                   15309: 
                   15310: /* Override any gcc2 internal prototype to avoid an error.  */
                   15311: #ifdef __cplusplus
                   15312: extern "C"
                   15313: #endif
                   15314: /* We use char because int might match the return type of a gcc2
                   15315:    builtin and then its argument prototype would still apply.  */
                   15316: char dlopen ();
                   15317: int
                   15318: main ()
                   15319: {
                   15320: dlopen ();
                   15321:   ;
                   15322:   return 0;
                   15323: }
                   15324: _ACEOF
                   15325: rm -f conftest.$ac_objext conftest$ac_exeext
                   15326: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15327:   (eval $ac_link) 2>conftest.er1
                   15328:   ac_status=$?
                   15329:   grep -v '^ *+' conftest.er1 >conftest.err
                   15330:   rm -f conftest.er1
                   15331:   cat conftest.err >&5
                   15332:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15333:   (exit $ac_status); } &&
                   15334:         { ac_try='test -z "$ac_c_werror_flag"
                   15335:                         || test ! -s conftest.err'
                   15336:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15337:   (eval $ac_try) 2>&5
                   15338:   ac_status=$?
                   15339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15340:   (exit $ac_status); }; } &&
                   15341:         { ac_try='test -s conftest$ac_exeext'
                   15342:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15343:   (eval $ac_try) 2>&5
                   15344:   ac_status=$?
                   15345:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15346:   (exit $ac_status); }; }; then
                   15347:   ac_cv_search_dlopen="-l$ac_lib"
                   15348: break
                   15349: else
                   15350:   echo "$as_me: failed program was:" >&5
                   15351: sed 's/^/| /' conftest.$ac_ext >&5
                   15352: 
                   15353: fi
                   15354: rm -f conftest.err conftest.$ac_objext \
                   15355:       conftest$ac_exeext conftest.$ac_ext
                   15356:   done
                   15357: fi
                   15358: LIBS=$ac_func_search_save_LIBS
                   15359: fi
                   15360: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   15361: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   15362: if test "$ac_cv_search_dlopen" != no; then
                   15363:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
                   15364: 
                   15365: cat >>confdefs.h <<\_ACEOF
                   15366: #define HAVE_LIBDL 1
                   15367: _ACEOF
                   15368: 
                   15369:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   15370:          LIBADD_DLOPEN="-ldl"
                   15371:        fi
                   15372:        libltdl_cv_lib_dl_dlopen="yes"
                   15373:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15374: else
                   15375:   cat >conftest.$ac_ext <<_ACEOF
                   15376: /* confdefs.h.  */
                   15377: _ACEOF
                   15378: cat confdefs.h >>conftest.$ac_ext
                   15379: cat >>conftest.$ac_ext <<_ACEOF
                   15380: /* end confdefs.h.  */
                   15381: #if HAVE_DLFCN_H
                   15382: #  include <dlfcn.h>
                   15383: #endif
                   15384: 
                   15385: int
                   15386: main ()
                   15387: {
                   15388: dlopen(0, 0);
                   15389:   ;
                   15390:   return 0;
                   15391: }
                   15392: _ACEOF
                   15393: rm -f conftest.$ac_objext conftest$ac_exeext
                   15394: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15395:   (eval $ac_link) 2>conftest.er1
                   15396:   ac_status=$?
                   15397:   grep -v '^ *+' conftest.er1 >conftest.err
                   15398:   rm -f conftest.er1
                   15399:   cat conftest.err >&5
                   15400:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15401:   (exit $ac_status); } &&
                   15402:         { ac_try='test -z "$ac_c_werror_flag"
                   15403:                         || test ! -s conftest.err'
                   15404:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15405:   (eval $ac_try) 2>&5
                   15406:   ac_status=$?
                   15407:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15408:   (exit $ac_status); }; } &&
                   15409:         { ac_try='test -s conftest$ac_exeext'
                   15410:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15411:   (eval $ac_try) 2>&5
                   15412:   ac_status=$?
                   15413:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15414:   (exit $ac_status); }; }; then
                   15415: 
                   15416: cat >>confdefs.h <<\_ACEOF
                   15417: #define HAVE_LIBDL 1
                   15418: _ACEOF
                   15419: 
                   15420:            libltdl_cv_func_dlopen="yes"
                   15421:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15422: else
                   15423:   echo "$as_me: failed program was:" >&5
                   15424: sed 's/^/| /' conftest.$ac_ext >&5
                   15425: 
                   15426: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   15427: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   15428: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   15429:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15430: else
                   15431:   ac_check_lib_save_LIBS=$LIBS
                   15432: LIBS="-lsvld  $LIBS"
                   15433: cat >conftest.$ac_ext <<_ACEOF
                   15434: /* confdefs.h.  */
                   15435: _ACEOF
                   15436: cat confdefs.h >>conftest.$ac_ext
                   15437: cat >>conftest.$ac_ext <<_ACEOF
                   15438: /* end confdefs.h.  */
                   15439: 
                   15440: /* Override any gcc2 internal prototype to avoid an error.  */
                   15441: #ifdef __cplusplus
                   15442: extern "C"
                   15443: #endif
                   15444: /* We use char because int might match the return type of a gcc2
                   15445:    builtin and then its argument prototype would still apply.  */
                   15446: char dlopen ();
                   15447: int
                   15448: main ()
                   15449: {
                   15450: dlopen ();
                   15451:   ;
                   15452:   return 0;
                   15453: }
                   15454: _ACEOF
                   15455: rm -f conftest.$ac_objext conftest$ac_exeext
                   15456: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15457:   (eval $ac_link) 2>conftest.er1
                   15458:   ac_status=$?
                   15459:   grep -v '^ *+' conftest.er1 >conftest.err
                   15460:   rm -f conftest.er1
                   15461:   cat conftest.err >&5
                   15462:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15463:   (exit $ac_status); } &&
                   15464:         { ac_try='test -z "$ac_c_werror_flag"
                   15465:                         || test ! -s conftest.err'
                   15466:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15467:   (eval $ac_try) 2>&5
                   15468:   ac_status=$?
                   15469:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15470:   (exit $ac_status); }; } &&
                   15471:         { ac_try='test -s conftest$ac_exeext'
                   15472:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15473:   (eval $ac_try) 2>&5
                   15474:   ac_status=$?
                   15475:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15476:   (exit $ac_status); }; }; then
                   15477:   ac_cv_lib_svld_dlopen=yes
                   15478: else
                   15479:   echo "$as_me: failed program was:" >&5
                   15480: sed 's/^/| /' conftest.$ac_ext >&5
                   15481: 
                   15482: ac_cv_lib_svld_dlopen=no
                   15483: fi
                   15484: rm -f conftest.err conftest.$ac_objext \
                   15485:       conftest$ac_exeext conftest.$ac_ext
                   15486: LIBS=$ac_check_lib_save_LIBS
                   15487: fi
                   15488: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   15489: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   15490: if test $ac_cv_lib_svld_dlopen = yes; then
                   15491: 
                   15492: cat >>confdefs.h <<\_ACEOF
                   15493: #define HAVE_LIBDL 1
                   15494: _ACEOF
                   15495: 
                   15496:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   15497:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15498: fi
                   15499: 
                   15500: fi
                   15501: rm -f conftest.err conftest.$ac_objext \
                   15502:       conftest$ac_exeext conftest.$ac_ext
                   15503: fi
                   15504: 
                   15505: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   15506: then
                   15507:   lt_save_LIBS="$LIBS"
                   15508:   LIBS="$LIBS $LIBADD_DLOPEN"
                   15509: 
                   15510: for ac_func in dlerror
                   15511: do
                   15512: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   15513: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   15514: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   15515: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   15516:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15517: else
                   15518:   cat >conftest.$ac_ext <<_ACEOF
                   15519: /* confdefs.h.  */
                   15520: _ACEOF
                   15521: cat confdefs.h >>conftest.$ac_ext
                   15522: cat >>conftest.$ac_ext <<_ACEOF
                   15523: /* end confdefs.h.  */
                   15524: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   15525:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15526: #define $ac_func innocuous_$ac_func
                   15527: 
                   15528: /* System header to define __stub macros and hopefully few prototypes,
                   15529:     which can conflict with char $ac_func (); below.
                   15530:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15531:     <limits.h> exists even on freestanding compilers.  */
                   15532: 
                   15533: #ifdef __STDC__
                   15534: # include <limits.h>
                   15535: #else
                   15536: # include <assert.h>
                   15537: #endif
                   15538: 
                   15539: #undef $ac_func
                   15540: 
                   15541: /* Override any gcc2 internal prototype to avoid an error.  */
                   15542: #ifdef __cplusplus
                   15543: extern "C"
                   15544: {
                   15545: #endif
                   15546: /* We use char because int might match the return type of a gcc2
                   15547:    builtin and then its argument prototype would still apply.  */
                   15548: char $ac_func ();
                   15549: /* The GNU C library defines this for functions which it implements
                   15550:     to always fail with ENOSYS.  Some functions are actually named
                   15551:     something starting with __ and the normal name is an alias.  */
                   15552: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   15553: choke me
                   15554: #else
                   15555: char (*f) () = $ac_func;
                   15556: #endif
                   15557: #ifdef __cplusplus
                   15558: }
                   15559: #endif
                   15560: 
                   15561: int
                   15562: main ()
                   15563: {
                   15564: return f != $ac_func;
                   15565:   ;
                   15566:   return 0;
                   15567: }
                   15568: _ACEOF
                   15569: rm -f conftest.$ac_objext conftest$ac_exeext
                   15570: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15571:   (eval $ac_link) 2>conftest.er1
                   15572:   ac_status=$?
                   15573:   grep -v '^ *+' conftest.er1 >conftest.err
                   15574:   rm -f conftest.er1
                   15575:   cat conftest.err >&5
                   15576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15577:   (exit $ac_status); } &&
                   15578:         { ac_try='test -z "$ac_c_werror_flag"
                   15579:                         || test ! -s conftest.err'
                   15580:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15581:   (eval $ac_try) 2>&5
                   15582:   ac_status=$?
                   15583:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15584:   (exit $ac_status); }; } &&
                   15585:         { ac_try='test -s conftest$ac_exeext'
                   15586:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15587:   (eval $ac_try) 2>&5
                   15588:   ac_status=$?
                   15589:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15590:   (exit $ac_status); }; }; then
                   15591:   eval "$as_ac_var=yes"
                   15592: else
                   15593:   echo "$as_me: failed program was:" >&5
                   15594: sed 's/^/| /' conftest.$ac_ext >&5
                   15595: 
                   15596: eval "$as_ac_var=no"
                   15597: fi
                   15598: rm -f conftest.err conftest.$ac_objext \
                   15599:       conftest$ac_exeext conftest.$ac_ext
                   15600: fi
                   15601: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   15602: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   15603: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   15604:   cat >>confdefs.h <<_ACEOF
                   15605: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   15606: _ACEOF
                   15607: 
                   15608: fi
                   15609: done
                   15610: 
                   15611:   LIBS="$lt_save_LIBS"
                   15612: fi
                   15613: 
                   15614: 
                   15615: LIBADD_SHL_LOAD=
                   15616: echo "$as_me:$LINENO: checking for shl_load" >&5
                   15617: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   15618: if test "${ac_cv_func_shl_load+set}" = set; then
                   15619:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15620: else
                   15621:   cat >conftest.$ac_ext <<_ACEOF
                   15622: /* confdefs.h.  */
                   15623: _ACEOF
                   15624: cat confdefs.h >>conftest.$ac_ext
                   15625: cat >>conftest.$ac_ext <<_ACEOF
                   15626: /* end confdefs.h.  */
                   15627: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   15628:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15629: #define shl_load innocuous_shl_load
                   15630: 
                   15631: /* System header to define __stub macros and hopefully few prototypes,
                   15632:     which can conflict with char shl_load (); below.
                   15633:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15634:     <limits.h> exists even on freestanding compilers.  */
                   15635: 
                   15636: #ifdef __STDC__
                   15637: # include <limits.h>
                   15638: #else
                   15639: # include <assert.h>
                   15640: #endif
                   15641: 
                   15642: #undef shl_load
                   15643: 
                   15644: /* Override any gcc2 internal prototype to avoid an error.  */
                   15645: #ifdef __cplusplus
                   15646: extern "C"
                   15647: {
                   15648: #endif
                   15649: /* We use char because int might match the return type of a gcc2
                   15650:    builtin and then its argument prototype would still apply.  */
                   15651: char shl_load ();
                   15652: /* The GNU C library defines this for functions which it implements
                   15653:     to always fail with ENOSYS.  Some functions are actually named
                   15654:     something starting with __ and the normal name is an alias.  */
                   15655: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   15656: choke me
                   15657: #else
                   15658: char (*f) () = shl_load;
                   15659: #endif
                   15660: #ifdef __cplusplus
                   15661: }
                   15662: #endif
                   15663: 
                   15664: int
                   15665: main ()
                   15666: {
                   15667: return f != shl_load;
                   15668:   ;
                   15669:   return 0;
                   15670: }
                   15671: _ACEOF
                   15672: rm -f conftest.$ac_objext conftest$ac_exeext
                   15673: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15674:   (eval $ac_link) 2>conftest.er1
                   15675:   ac_status=$?
                   15676:   grep -v '^ *+' conftest.er1 >conftest.err
                   15677:   rm -f conftest.er1
                   15678:   cat conftest.err >&5
                   15679:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15680:   (exit $ac_status); } &&
                   15681:         { ac_try='test -z "$ac_c_werror_flag"
                   15682:                         || test ! -s conftest.err'
                   15683:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15684:   (eval $ac_try) 2>&5
                   15685:   ac_status=$?
                   15686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15687:   (exit $ac_status); }; } &&
                   15688:         { ac_try='test -s conftest$ac_exeext'
                   15689:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15690:   (eval $ac_try) 2>&5
                   15691:   ac_status=$?
                   15692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15693:   (exit $ac_status); }; }; then
                   15694:   ac_cv_func_shl_load=yes
                   15695: else
                   15696:   echo "$as_me: failed program was:" >&5
                   15697: sed 's/^/| /' conftest.$ac_ext >&5
                   15698: 
                   15699: ac_cv_func_shl_load=no
                   15700: fi
                   15701: rm -f conftest.err conftest.$ac_objext \
                   15702:       conftest$ac_exeext conftest.$ac_ext
                   15703: fi
                   15704: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   15705: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   15706: if test $ac_cv_func_shl_load = yes; then
                   15707: 
                   15708: cat >>confdefs.h <<\_ACEOF
                   15709: #define HAVE_SHL_LOAD 1
                   15710: _ACEOF
                   15711: 
                   15712:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15713: else
                   15714:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   15715: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   15716: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   15717:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15718: else
                   15719:   ac_check_lib_save_LIBS=$LIBS
                   15720: LIBS="-ldld  $LIBS"
                   15721: cat >conftest.$ac_ext <<_ACEOF
                   15722: /* confdefs.h.  */
                   15723: _ACEOF
                   15724: cat confdefs.h >>conftest.$ac_ext
                   15725: cat >>conftest.$ac_ext <<_ACEOF
                   15726: /* end confdefs.h.  */
                   15727: 
                   15728: /* Override any gcc2 internal prototype to avoid an error.  */
                   15729: #ifdef __cplusplus
                   15730: extern "C"
                   15731: #endif
                   15732: /* We use char because int might match the return type of a gcc2
                   15733:    builtin and then its argument prototype would still apply.  */
                   15734: char shl_load ();
                   15735: int
                   15736: main ()
                   15737: {
                   15738: shl_load ();
                   15739:   ;
                   15740:   return 0;
                   15741: }
                   15742: _ACEOF
                   15743: rm -f conftest.$ac_objext conftest$ac_exeext
                   15744: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15745:   (eval $ac_link) 2>conftest.er1
                   15746:   ac_status=$?
                   15747:   grep -v '^ *+' conftest.er1 >conftest.err
                   15748:   rm -f conftest.er1
                   15749:   cat conftest.err >&5
                   15750:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15751:   (exit $ac_status); } &&
                   15752:         { ac_try='test -z "$ac_c_werror_flag"
                   15753:                         || test ! -s conftest.err'
                   15754:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15755:   (eval $ac_try) 2>&5
                   15756:   ac_status=$?
                   15757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15758:   (exit $ac_status); }; } &&
                   15759:         { ac_try='test -s conftest$ac_exeext'
                   15760:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15761:   (eval $ac_try) 2>&5
                   15762:   ac_status=$?
                   15763:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15764:   (exit $ac_status); }; }; then
                   15765:   ac_cv_lib_dld_shl_load=yes
                   15766: else
                   15767:   echo "$as_me: failed program was:" >&5
                   15768: sed 's/^/| /' conftest.$ac_ext >&5
                   15769: 
                   15770: ac_cv_lib_dld_shl_load=no
                   15771: fi
                   15772: rm -f conftest.err conftest.$ac_objext \
                   15773:       conftest$ac_exeext conftest.$ac_ext
                   15774: LIBS=$ac_check_lib_save_LIBS
                   15775: fi
                   15776: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   15777: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   15778: if test $ac_cv_lib_dld_shl_load = yes; then
                   15779: 
                   15780: cat >>confdefs.h <<\_ACEOF
                   15781: #define HAVE_SHL_LOAD 1
                   15782: _ACEOF
                   15783: 
                   15784:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15785:            LIBADD_SHL_LOAD="-ldld"
                   15786: fi
                   15787: 
                   15788: fi
                   15789: 
                   15790: 
                   15791: 
                   15792: case $host_os in
                   15793: darwin[1567].*)
                   15794: # We only want this for pre-Mac OS X 10.4.
                   15795:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   15796: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   15797: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   15798:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15799: else
                   15800:   cat >conftest.$ac_ext <<_ACEOF
                   15801: /* confdefs.h.  */
                   15802: _ACEOF
                   15803: cat confdefs.h >>conftest.$ac_ext
                   15804: cat >>conftest.$ac_ext <<_ACEOF
                   15805: /* end confdefs.h.  */
                   15806: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   15807:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15808: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   15809: 
                   15810: /* System header to define __stub macros and hopefully few prototypes,
                   15811:     which can conflict with char _dyld_func_lookup (); below.
                   15812:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15813:     <limits.h> exists even on freestanding compilers.  */
                   15814: 
                   15815: #ifdef __STDC__
                   15816: # include <limits.h>
                   15817: #else
                   15818: # include <assert.h>
                   15819: #endif
                   15820: 
                   15821: #undef _dyld_func_lookup
                   15822: 
                   15823: /* Override any gcc2 internal prototype to avoid an error.  */
                   15824: #ifdef __cplusplus
                   15825: extern "C"
                   15826: {
                   15827: #endif
                   15828: /* We use char because int might match the return type of a gcc2
                   15829:    builtin and then its argument prototype would still apply.  */
                   15830: char _dyld_func_lookup ();
                   15831: /* The GNU C library defines this for functions which it implements
                   15832:     to always fail with ENOSYS.  Some functions are actually named
                   15833:     something starting with __ and the normal name is an alias.  */
                   15834: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   15835: choke me
                   15836: #else
                   15837: char (*f) () = _dyld_func_lookup;
                   15838: #endif
                   15839: #ifdef __cplusplus
                   15840: }
                   15841: #endif
                   15842: 
                   15843: int
                   15844: main ()
                   15845: {
                   15846: return f != _dyld_func_lookup;
                   15847:   ;
                   15848:   return 0;
                   15849: }
                   15850: _ACEOF
                   15851: rm -f conftest.$ac_objext conftest$ac_exeext
                   15852: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15853:   (eval $ac_link) 2>conftest.er1
                   15854:   ac_status=$?
                   15855:   grep -v '^ *+' conftest.er1 >conftest.err
                   15856:   rm -f conftest.er1
                   15857:   cat conftest.err >&5
                   15858:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15859:   (exit $ac_status); } &&
                   15860:         { ac_try='test -z "$ac_c_werror_flag"
                   15861:                         || test ! -s conftest.err'
                   15862:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15863:   (eval $ac_try) 2>&5
                   15864:   ac_status=$?
                   15865:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15866:   (exit $ac_status); }; } &&
                   15867:         { ac_try='test -s conftest$ac_exeext'
                   15868:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15869:   (eval $ac_try) 2>&5
                   15870:   ac_status=$?
                   15871:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15872:   (exit $ac_status); }; }; then
                   15873:   ac_cv_func__dyld_func_lookup=yes
                   15874: else
                   15875:   echo "$as_me: failed program was:" >&5
                   15876: sed 's/^/| /' conftest.$ac_ext >&5
                   15877: 
                   15878: ac_cv_func__dyld_func_lookup=no
                   15879: fi
                   15880: rm -f conftest.err conftest.$ac_objext \
                   15881:       conftest$ac_exeext conftest.$ac_ext
                   15882: fi
                   15883: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   15884: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   15885: if test $ac_cv_func__dyld_func_lookup = yes; then
                   15886: 
                   15887: cat >>confdefs.h <<\_ACEOF
                   15888: #define HAVE_DYLD 1
                   15889: _ACEOF
                   15890: 
                   15891:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   15892: fi
                   15893: 
                   15894:   ;;
                   15895: beos*)
                   15896:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   15897:   ;;
                   15898: cygwin* | mingw* | os2* | pw32*)
                   15899:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   15900: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   15901: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   15902:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15903: else
                   15904:   cat >conftest.$ac_ext <<_ACEOF
                   15905: /* confdefs.h.  */
                   15906: _ACEOF
                   15907: cat confdefs.h >>conftest.$ac_ext
                   15908: cat >>conftest.$ac_ext <<_ACEOF
                   15909: /* end confdefs.h.  */
                   15910: #include <sys/cygwin.h>
                   15911: 
                   15912: int
                   15913: main ()
                   15914: {
                   15915: #ifndef cygwin_conv_path
                   15916:   char *p = (char *) cygwin_conv_path;
                   15917: #endif
                   15918: 
                   15919:   ;
                   15920:   return 0;
                   15921: }
                   15922: _ACEOF
                   15923: rm -f conftest.$ac_objext
                   15924: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   15925:   (eval $ac_compile) 2>conftest.er1
                   15926:   ac_status=$?
                   15927:   grep -v '^ *+' conftest.er1 >conftest.err
                   15928:   rm -f conftest.er1
                   15929:   cat conftest.err >&5
                   15930:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15931:   (exit $ac_status); } &&
                   15932:         { ac_try='test -z "$ac_c_werror_flag"
                   15933:                         || test ! -s conftest.err'
                   15934:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15935:   (eval $ac_try) 2>&5
                   15936:   ac_status=$?
                   15937:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15938:   (exit $ac_status); }; } &&
                   15939:         { ac_try='test -s conftest.$ac_objext'
                   15940:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15941:   (eval $ac_try) 2>&5
                   15942:   ac_status=$?
                   15943:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15944:   (exit $ac_status); }; }; then
                   15945:   ac_cv_have_decl_cygwin_conv_path=yes
                   15946: else
                   15947:   echo "$as_me: failed program was:" >&5
                   15948: sed 's/^/| /' conftest.$ac_ext >&5
                   15949: 
                   15950: ac_cv_have_decl_cygwin_conv_path=no
                   15951: fi
                   15952: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   15953: fi
                   15954: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   15955: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   15956: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
                   15957: 
                   15958: cat >>confdefs.h <<_ACEOF
                   15959: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   15960: _ACEOF
                   15961: 
                   15962: 
                   15963: else
                   15964:   cat >>confdefs.h <<_ACEOF
                   15965: #define HAVE_DECL_CYGWIN_CONV_PATH 0
                   15966: _ACEOF
                   15967: 
                   15968: 
                   15969: fi
                   15970: 
                   15971: 
                   15972:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   15973:   ;;
                   15974: esac
                   15975: 
                   15976: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   15977: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   15978: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   15979:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15980: else
                   15981:   ac_check_lib_save_LIBS=$LIBS
                   15982: LIBS="-ldld  $LIBS"
                   15983: cat >conftest.$ac_ext <<_ACEOF
                   15984: /* confdefs.h.  */
                   15985: _ACEOF
                   15986: cat confdefs.h >>conftest.$ac_ext
                   15987: cat >>conftest.$ac_ext <<_ACEOF
                   15988: /* end confdefs.h.  */
                   15989: 
                   15990: /* Override any gcc2 internal prototype to avoid an error.  */
                   15991: #ifdef __cplusplus
                   15992: extern "C"
                   15993: #endif
                   15994: /* We use char because int might match the return type of a gcc2
                   15995:    builtin and then its argument prototype would still apply.  */
                   15996: char dld_link ();
                   15997: int
                   15998: main ()
                   15999: {
                   16000: dld_link ();
                   16001:   ;
                   16002:   return 0;
                   16003: }
                   16004: _ACEOF
                   16005: rm -f conftest.$ac_objext conftest$ac_exeext
                   16006: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16007:   (eval $ac_link) 2>conftest.er1
                   16008:   ac_status=$?
                   16009:   grep -v '^ *+' conftest.er1 >conftest.err
                   16010:   rm -f conftest.er1
                   16011:   cat conftest.err >&5
                   16012:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16013:   (exit $ac_status); } &&
                   16014:         { ac_try='test -z "$ac_c_werror_flag"
                   16015:                         || test ! -s conftest.err'
                   16016:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16017:   (eval $ac_try) 2>&5
                   16018:   ac_status=$?
                   16019:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16020:   (exit $ac_status); }; } &&
                   16021:         { ac_try='test -s conftest$ac_exeext'
                   16022:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16023:   (eval $ac_try) 2>&5
                   16024:   ac_status=$?
                   16025:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16026:   (exit $ac_status); }; }; then
                   16027:   ac_cv_lib_dld_dld_link=yes
                   16028: else
                   16029:   echo "$as_me: failed program was:" >&5
                   16030: sed 's/^/| /' conftest.$ac_ext >&5
                   16031: 
                   16032: ac_cv_lib_dld_dld_link=no
                   16033: fi
                   16034: rm -f conftest.err conftest.$ac_objext \
                   16035:       conftest$ac_exeext conftest.$ac_ext
                   16036: LIBS=$ac_check_lib_save_LIBS
                   16037: fi
                   16038: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16039: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16040: if test $ac_cv_lib_dld_dld_link = yes; then
                   16041: 
                   16042: cat >>confdefs.h <<\_ACEOF
                   16043: #define HAVE_DLD 1
                   16044: _ACEOF
                   16045: 
                   16046:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16047: fi
                   16048: 
                   16049: 
                   16050: 
                   16051: 
                   16052: LT_DLPREOPEN=
                   16053: if test -n "$LT_DLLOADERS"
                   16054: then
                   16055:   for lt_loader in $LT_DLLOADERS; do
                   16056:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16057:   done
                   16058: 
                   16059: cat >>confdefs.h <<\_ACEOF
                   16060: #define HAVE_LIBDLLOADER 1
                   16061: _ACEOF
                   16062: 
                   16063: fi
                   16064: 
                   16065: 
                   16066: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16067: 
                   16068: 
                   16069: ac_ext=c
                   16070: ac_cpp='$CPP $CPPFLAGS'
                   16071: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16072: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16073: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16074: 
                   16075: 
                   16076: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16077: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16078: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16079:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16080: else
                   16081:   lt_cv_sys_symbol_underscore=no
                   16082:   cat > conftest.$ac_ext <<_LT_EOF
                   16083: void nm_test_func(){}
                   16084: int main(){nm_test_func;return 0;}
                   16085: _LT_EOF
                   16086:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16087:   (eval $ac_compile) 2>&5
                   16088:   ac_status=$?
                   16089:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16090:   (exit $ac_status); }; then
                   16091:     # Now try to grab the symbols.
                   16092:     ac_nlist=conftest.nm
                   16093:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
                   16094:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16095:   ac_status=$?
                   16096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16097:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   16098:       # See whether the symbols have a leading underscore.
                   16099:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16100:         lt_cv_sys_symbol_underscore=yes
                   16101:       else
                   16102:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16103:          :
                   16104:         else
                   16105:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16106:         fi
                   16107:       fi
                   16108:     else
                   16109:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16110:     fi
                   16111:   else
                   16112:     echo "configure: failed program was:" >&5
                   16113:     cat conftest.c >&5
                   16114:   fi
                   16115:   rm -rf conftest*
                   16116: 
                   16117: fi
                   16118: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16119: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
                   16120:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   16121: 
                   16122: 
                   16123: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16124:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16125:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   16126:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16127: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16128: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16129:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16130: else
                   16131:   libltdl_cv_need_uscore=unknown
                   16132:           save_LIBS="$LIBS"
                   16133:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16134:          if test "$cross_compiling" = yes; then :
                   16135:   libltdl_cv_need_uscore=cross
                   16136: else
                   16137:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16138:   lt_status=$lt_dlunknown
                   16139:   cat > conftest.$ac_ext <<_LT_EOF
                   16140: #line $LINENO "configure"
                   16141: #include "confdefs.h"
                   16142: 
                   16143: #if HAVE_DLFCN_H
                   16144: #include <dlfcn.h>
                   16145: #endif
                   16146: 
                   16147: #include <stdio.h>
                   16148: 
                   16149: #ifdef RTLD_GLOBAL
                   16150: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16151: #else
                   16152: #  ifdef DL_GLOBAL
                   16153: #    define LT_DLGLOBAL                DL_GLOBAL
                   16154: #  else
                   16155: #    define LT_DLGLOBAL                0
                   16156: #  endif
                   16157: #endif
                   16158: 
                   16159: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16160:    find out it does not work in some platform. */
                   16161: #ifndef LT_DLLAZY_OR_NOW
                   16162: #  ifdef RTLD_LAZY
                   16163: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16164: #  else
                   16165: #    ifdef DL_LAZY
                   16166: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16167: #    else
                   16168: #      ifdef RTLD_NOW
                   16169: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16170: #      else
                   16171: #        ifdef DL_NOW
                   16172: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16173: #        else
                   16174: #          define LT_DLLAZY_OR_NOW     0
                   16175: #        endif
                   16176: #      endif
                   16177: #    endif
                   16178: #  endif
                   16179: #endif
                   16180: 
                   16181: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16182:    correspondingly for the symbols needed.  */
                   16183: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16184: int fnord () __attribute__((visibility("default")));
                   16185: #endif
                   16186: 
                   16187: int fnord () { return 42; }
                   16188: int main ()
                   16189: {
                   16190:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16191:   int status = $lt_dlunknown;
                   16192: 
                   16193:   if (self)
                   16194:     {
                   16195:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16196:       else
                   16197:         {
                   16198:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16199:           else puts (dlerror ());
                   16200:        }
                   16201:       /* dlclose (self); */
                   16202:     }
                   16203:   else
                   16204:     puts (dlerror ());
                   16205: 
                   16206:   return status;
                   16207: }
                   16208: _LT_EOF
                   16209:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16210:   (eval $ac_link) 2>&5
                   16211:   ac_status=$?
                   16212:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16213:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   16214:     (./conftest; exit; ) >&5 2>/dev/null
                   16215:     lt_status=$?
                   16216:     case x$lt_status in
                   16217:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16218:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16219:       x$lt_dlunknown|x*)  ;;
                   16220:     esac
                   16221:   else :
                   16222:     # compilation failed
                   16223: 
                   16224:   fi
                   16225: fi
                   16226: rm -fr conftest*
                   16227: 
                   16228:          LIBS="$save_LIBS"
                   16229: 
                   16230: fi
                   16231: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16232: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   16233:   fi
                   16234: fi
                   16235: 
                   16236: if test x"$libltdl_cv_need_uscore" = xyes; then
                   16237: 
                   16238: cat >>confdefs.h <<\_ACEOF
                   16239: #define NEED_USCORE 1
                   16240: _ACEOF
                   16241: 
                   16242: fi
                   16243: 
                   16244: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16245: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16246: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16247:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16248: else
                   16249:   # PORTME does your system automatically load deplibs for dlopen?
                   16250:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16251:   # For now, we just catch OSes we know something about -- in the
                   16252:   # future, we'll try test this programmatically.
                   16253:   lt_cv_sys_dlopen_deplibs=unknown
                   16254:   case $host_os in
                   16255:   aix3*|aix4.1.*|aix4.2.*)
                   16256:     # Unknown whether this is true for these versions of AIX, but
                   16257:     # we want this `case' here to explicitly catch those versions.
                   16258:     lt_cv_sys_dlopen_deplibs=unknown
                   16259:     ;;
                   16260:   aix[4-9]*)
                   16261:     lt_cv_sys_dlopen_deplibs=yes
                   16262:     ;;
                   16263:   amigaos*)
                   16264:     case $host_cpu in
                   16265:     powerpc)
                   16266:       lt_cv_sys_dlopen_deplibs=no
                   16267:       ;;
                   16268:     esac
                   16269:     ;;
                   16270:   darwin*)
                   16271:     # Assuming the user has installed a libdl from somewhere, this is true
                   16272:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16273:     lt_cv_sys_dlopen_deplibs=yes
                   16274:     ;;
                   16275:   freebsd* | dragonfly*)
                   16276:     lt_cv_sys_dlopen_deplibs=yes
                   16277:     ;;
                   16278:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16279:     # GNU and its variants, using gnu ld.so (Glibc)
                   16280:     lt_cv_sys_dlopen_deplibs=yes
                   16281:     ;;
                   16282:   hpux10*|hpux11*)
                   16283:     lt_cv_sys_dlopen_deplibs=yes
                   16284:     ;;
                   16285:   interix*)
                   16286:     lt_cv_sys_dlopen_deplibs=yes
                   16287:     ;;
                   16288:   irix[12345]*|irix6.[01]*)
                   16289:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16290:     # know how it worked for any of those versions.
                   16291:     lt_cv_sys_dlopen_deplibs=unknown
                   16292:     ;;
                   16293:   irix*)
                   16294:     # The case above catches anything before 6.2, and it's known that
                   16295:     # at 6.2 and later dlopen does load deplibs.
                   16296:     lt_cv_sys_dlopen_deplibs=yes
                   16297:     ;;
                   16298:   netbsd*)
                   16299:     lt_cv_sys_dlopen_deplibs=yes
                   16300:     ;;
                   16301:   openbsd*)
                   16302:     lt_cv_sys_dlopen_deplibs=yes
                   16303:     ;;
                   16304:   osf[1234]*)
                   16305:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16306:     # it did *not* use an RPATH in a shared library to find objects the
                   16307:     # library depends on, so we explicitly say `no'.
                   16308:     lt_cv_sys_dlopen_deplibs=no
                   16309:     ;;
                   16310:   osf5.0|osf5.0a|osf5.1)
                   16311:     # dlopen *does* load deplibs and with the right loader patch applied
                   16312:     # it even uses RPATH in a shared library to search for shared objects
                   16313:     # that the library depends on, but there's no easy way to know if that
                   16314:     # patch is installed.  Since this is the case, all we can really
                   16315:     # say is unknown -- it depends on the patch being installed.  If
                   16316:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16317:     lt_cv_sys_dlopen_deplibs=unknown
                   16318:     ;;
                   16319:   osf*)
                   16320:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16321:     # the comments above for what we know about them.
                   16322:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16323:     # is used to find them so we can finally say `yes'.
                   16324:     lt_cv_sys_dlopen_deplibs=yes
                   16325:     ;;
                   16326:   qnx*)
                   16327:     lt_cv_sys_dlopen_deplibs=yes
                   16328:     ;;
                   16329:   solaris*)
                   16330:     lt_cv_sys_dlopen_deplibs=yes
                   16331:     ;;
                   16332:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16333:     libltdl_cv_sys_dlopen_deplibs=yes
                   16334:     ;;
                   16335:   esac
                   16336: 
                   16337: fi
                   16338: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16339: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
                   16340: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16341: 
                   16342: cat >>confdefs.h <<\_ACEOF
                   16343: #define LTDL_DLOPEN_DEPLIBS 1
                   16344: _ACEOF
                   16345: 
                   16346: fi
                   16347: 
                   16348: :
                   16349: 
                   16350: 
                   16351: for ac_header in argz.h
                   16352: do
                   16353: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16354: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   16355: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   16356: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   16357:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16358: else
                   16359:   cat >conftest.$ac_ext <<_ACEOF
                   16360: /* confdefs.h.  */
                   16361: _ACEOF
                   16362: cat confdefs.h >>conftest.$ac_ext
                   16363: cat >>conftest.$ac_ext <<_ACEOF
                   16364: /* end confdefs.h.  */
                   16365: $ac_includes_default
                   16366: 
                   16367: #include <$ac_header>
                   16368: _ACEOF
                   16369: rm -f conftest.$ac_objext
                   16370: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16371:   (eval $ac_compile) 2>conftest.er1
                   16372:   ac_status=$?
                   16373:   grep -v '^ *+' conftest.er1 >conftest.err
                   16374:   rm -f conftest.er1
                   16375:   cat conftest.err >&5
                   16376:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16377:   (exit $ac_status); } &&
                   16378:         { ac_try='test -z "$ac_c_werror_flag"
                   16379:                         || test ! -s conftest.err'
                   16380:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16381:   (eval $ac_try) 2>&5
                   16382:   ac_status=$?
                   16383:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16384:   (exit $ac_status); }; } &&
                   16385:         { ac_try='test -s conftest.$ac_objext'
                   16386:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16387:   (eval $ac_try) 2>&5
                   16388:   ac_status=$?
                   16389:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16390:   (exit $ac_status); }; }; then
                   16391:   eval "$as_ac_Header=yes"
                   16392: else
                   16393:   echo "$as_me: failed program was:" >&5
                   16394: sed 's/^/| /' conftest.$ac_ext >&5
                   16395: 
                   16396: eval "$as_ac_Header=no"
                   16397: fi
                   16398: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16399: fi
                   16400: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   16401: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   16402: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   16403:   cat >>confdefs.h <<_ACEOF
                   16404: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16405: _ACEOF
                   16406: 
                   16407: fi
                   16408: 
                   16409: done
                   16410: 
                   16411: 
                   16412: echo "$as_me:$LINENO: checking for error_t" >&5
                   16413: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   16414: if test "${ac_cv_type_error_t+set}" = set; then
                   16415:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16416: else
                   16417:   cat >conftest.$ac_ext <<_ACEOF
                   16418: /* confdefs.h.  */
                   16419: _ACEOF
                   16420: cat confdefs.h >>conftest.$ac_ext
                   16421: cat >>conftest.$ac_ext <<_ACEOF
                   16422: /* end confdefs.h.  */
                   16423: #if defined(HAVE_ARGZ_H)
                   16424: #  include <argz.h>
                   16425: #endif
                   16426: 
                   16427: int
                   16428: main ()
                   16429: {
                   16430: if ((error_t *) 0)
                   16431:   return 0;
                   16432: if (sizeof (error_t))
                   16433:   return 0;
                   16434:   ;
                   16435:   return 0;
                   16436: }
                   16437: _ACEOF
                   16438: rm -f conftest.$ac_objext
                   16439: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16440:   (eval $ac_compile) 2>conftest.er1
                   16441:   ac_status=$?
                   16442:   grep -v '^ *+' conftest.er1 >conftest.err
                   16443:   rm -f conftest.er1
                   16444:   cat conftest.err >&5
                   16445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16446:   (exit $ac_status); } &&
                   16447:         { ac_try='test -z "$ac_c_werror_flag"
                   16448:                         || test ! -s conftest.err'
                   16449:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16450:   (eval $ac_try) 2>&5
                   16451:   ac_status=$?
                   16452:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16453:   (exit $ac_status); }; } &&
                   16454:         { ac_try='test -s conftest.$ac_objext'
                   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); }; }; then
                   16460:   ac_cv_type_error_t=yes
                   16461: else
                   16462:   echo "$as_me: failed program was:" >&5
                   16463: sed 's/^/| /' conftest.$ac_ext >&5
                   16464: 
                   16465: ac_cv_type_error_t=no
                   16466: fi
                   16467: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16468: fi
                   16469: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   16470: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   16471: if test $ac_cv_type_error_t = yes; then
                   16472: 
                   16473: cat >>confdefs.h <<_ACEOF
                   16474: #define HAVE_ERROR_T 1
                   16475: _ACEOF
                   16476: 
                   16477: 
                   16478: else
                   16479: 
                   16480: cat >>confdefs.h <<\_ACEOF
                   16481: #define error_t int
                   16482: _ACEOF
                   16483: 
                   16484: 
                   16485: cat >>confdefs.h <<\_ACEOF
                   16486: #define __error_t_defined 1
                   16487: _ACEOF
                   16488: 
                   16489: fi
                   16490: 
                   16491: 
                   16492: ARGZ_H=
                   16493: 
                   16494: 
                   16495: 
                   16496: 
                   16497: 
                   16498: 
                   16499: 
                   16500: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16501:        argz_next argz_stringify
                   16502: do
                   16503: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16504: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16505: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16506: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16507:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16508: else
                   16509:   cat >conftest.$ac_ext <<_ACEOF
                   16510: /* confdefs.h.  */
                   16511: _ACEOF
                   16512: cat confdefs.h >>conftest.$ac_ext
                   16513: cat >>conftest.$ac_ext <<_ACEOF
                   16514: /* end confdefs.h.  */
                   16515: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16516:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16517: #define $ac_func innocuous_$ac_func
                   16518: 
                   16519: /* System header to define __stub macros and hopefully few prototypes,
                   16520:     which can conflict with char $ac_func (); below.
                   16521:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16522:     <limits.h> exists even on freestanding compilers.  */
                   16523: 
                   16524: #ifdef __STDC__
                   16525: # include <limits.h>
                   16526: #else
                   16527: # include <assert.h>
                   16528: #endif
                   16529: 
                   16530: #undef $ac_func
                   16531: 
                   16532: /* Override any gcc2 internal prototype to avoid an error.  */
                   16533: #ifdef __cplusplus
                   16534: extern "C"
                   16535: {
                   16536: #endif
                   16537: /* We use char because int might match the return type of a gcc2
                   16538:    builtin and then its argument prototype would still apply.  */
                   16539: char $ac_func ();
                   16540: /* The GNU C library defines this for functions which it implements
                   16541:     to always fail with ENOSYS.  Some functions are actually named
                   16542:     something starting with __ and the normal name is an alias.  */
                   16543: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16544: choke me
                   16545: #else
                   16546: char (*f) () = $ac_func;
                   16547: #endif
                   16548: #ifdef __cplusplus
                   16549: }
                   16550: #endif
                   16551: 
                   16552: int
                   16553: main ()
                   16554: {
                   16555: return f != $ac_func;
                   16556:   ;
                   16557:   return 0;
                   16558: }
                   16559: _ACEOF
                   16560: rm -f conftest.$ac_objext conftest$ac_exeext
                   16561: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16562:   (eval $ac_link) 2>conftest.er1
                   16563:   ac_status=$?
                   16564:   grep -v '^ *+' conftest.er1 >conftest.err
                   16565:   rm -f conftest.er1
                   16566:   cat conftest.err >&5
                   16567:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16568:   (exit $ac_status); } &&
                   16569:         { ac_try='test -z "$ac_c_werror_flag"
                   16570:                         || test ! -s conftest.err'
                   16571:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16572:   (eval $ac_try) 2>&5
                   16573:   ac_status=$?
                   16574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16575:   (exit $ac_status); }; } &&
                   16576:         { ac_try='test -s conftest$ac_exeext'
                   16577:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16578:   (eval $ac_try) 2>&5
                   16579:   ac_status=$?
                   16580:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16581:   (exit $ac_status); }; }; then
                   16582:   eval "$as_ac_var=yes"
                   16583: else
                   16584:   echo "$as_me: failed program was:" >&5
                   16585: sed 's/^/| /' conftest.$ac_ext >&5
                   16586: 
                   16587: eval "$as_ac_var=no"
                   16588: fi
                   16589: rm -f conftest.err conftest.$ac_objext \
                   16590:       conftest$ac_exeext conftest.$ac_ext
                   16591: fi
                   16592: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16593: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16594: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   16595:   cat >>confdefs.h <<_ACEOF
                   16596: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16597: _ACEOF
                   16598: 
                   16599: else
                   16600:   ARGZ_H=argz.h;
                   16601: 
                   16602:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16603: 
                   16604: fi
                   16605: done
                   16606: 
                   16607: 
                   16608: if test -z "$ARGZ_H"; then
                   16609:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   16610: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   16611: if test "${lt_cv_sys_argz_works+set}" = set; then
                   16612:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16613: else
                   16614:   case $host_os in #(
                   16615:         *cygwin*)
                   16616:           lt_cv_sys_argz_works=no
                   16617:           if test "$cross_compiling" != no; then
                   16618:             lt_cv_sys_argz_works="guessing no"
                   16619:           else
                   16620:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16621:             save_IFS=$IFS
                   16622:             IFS=-.
                   16623:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16624:             IFS=$save_IFS
                   16625:             lt_os_major=${2-0}
                   16626:             lt_os_minor=${3-0}
                   16627:             lt_os_micro=${4-0}
                   16628:             if test "$lt_os_major" -gt 1 \
                   16629:                || { test "$lt_os_major" -eq 1 \
                   16630:                  && { test "$lt_os_minor" -gt 5 \
                   16631:                    || { test "$lt_os_minor" -eq 5 \
                   16632:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16633:               lt_cv_sys_argz_works=yes
                   16634:             fi
                   16635:           fi
                   16636:           ;; #(
                   16637:         *) lt_cv_sys_argz_works=yes ;;
                   16638:         esac
                   16639: fi
                   16640: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   16641: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   16642:      if test "$lt_cv_sys_argz_works" = yes; then
                   16643: 
                   16644: cat >>confdefs.h <<\_ACEOF
                   16645: #define HAVE_WORKING_ARGZ 1
                   16646: _ACEOF
                   16647: 
                   16648: else
                   16649:   ARGZ_H=argz.h
                   16650: 
                   16651: 
                   16652:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16653: 
                   16654: fi
                   16655: 
                   16656: fi
                   16657: 
                   16658: 
                   16659: 
                   16660: 
                   16661: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16662: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   16663: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   16664:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16665: else
                   16666:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16667:     libltdl_cv_preloaded_symbols=yes
                   16668:   else
                   16669:     libltdl_cv_preloaded_symbols=no
                   16670:   fi
                   16671: 
                   16672: fi
                   16673: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   16674: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   16675: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16676: 
                   16677: cat >>confdefs.h <<\_ACEOF
                   16678: #define HAVE_PRELOADED_SYMBOLS 1
                   16679: _ACEOF
                   16680: 
                   16681: fi
                   16682: 
                   16683: # Set options
                   16684: 
                   16685: 
                   16686: 
                   16687: 
                   16688: 
                   16689: 
                   16690: 
                   16691: 
                   16692: 
                   16693: 
                   16694: 
                   16695: 
                   16696: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   16697: if test "${with_included_ltdl+set}" = set; then
                   16698:   withval="$with_included_ltdl"
                   16699: 
                   16700: fi;
                   16701: 
                   16702: if test "x$with_included_ltdl" != xyes; then
                   16703:   # We are not being forced to use the included libltdl sources, so
                   16704:   # decide whether there is a useful installed version we can use.
                   16705:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   16706: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   16707: if test "${ac_cv_header_ltdl_h+set}" = set; then
                   16708:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16709: else
                   16710:   cat >conftest.$ac_ext <<_ACEOF
                   16711: /* confdefs.h.  */
                   16712: _ACEOF
                   16713: cat confdefs.h >>conftest.$ac_ext
                   16714: cat >>conftest.$ac_ext <<_ACEOF
                   16715: /* end confdefs.h.  */
                   16716: $ac_includes_default
                   16717: 
                   16718: 
                   16719: #include <ltdl.h>
                   16720: _ACEOF
                   16721: rm -f conftest.$ac_objext
                   16722: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16723:   (eval $ac_compile) 2>conftest.er1
                   16724:   ac_status=$?
                   16725:   grep -v '^ *+' conftest.er1 >conftest.err
                   16726:   rm -f conftest.er1
                   16727:   cat conftest.err >&5
                   16728:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16729:   (exit $ac_status); } &&
                   16730:         { ac_try='test -z "$ac_c_werror_flag"
                   16731:                         || test ! -s conftest.err'
                   16732:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16733:   (eval $ac_try) 2>&5
                   16734:   ac_status=$?
                   16735:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16736:   (exit $ac_status); }; } &&
                   16737:         { ac_try='test -s conftest.$ac_objext'
                   16738:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16739:   (eval $ac_try) 2>&5
                   16740:   ac_status=$?
                   16741:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16742:   (exit $ac_status); }; }; then
                   16743:   ac_cv_header_ltdl_h=yes
                   16744: else
                   16745:   echo "$as_me: failed program was:" >&5
                   16746: sed 's/^/| /' conftest.$ac_ext >&5
                   16747: 
                   16748: ac_cv_header_ltdl_h=no
                   16749: fi
                   16750: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16751: fi
                   16752: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   16753: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   16754: if test $ac_cv_header_ltdl_h = yes; then
                   16755:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   16756: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   16757: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   16758:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16759: else
                   16760:   cat >conftest.$ac_ext <<_ACEOF
                   16761: /* confdefs.h.  */
                   16762: _ACEOF
                   16763: cat confdefs.h >>conftest.$ac_ext
                   16764: cat >>conftest.$ac_ext <<_ACEOF
                   16765: /* end confdefs.h.  */
                   16766: $ac_includes_default
                   16767:            #include <ltdl.h>
                   16768: 
                   16769: int
                   16770: main ()
                   16771: {
                   16772: #ifndef lt_dlinterface_register
                   16773:   char *p = (char *) lt_dlinterface_register;
                   16774: #endif
                   16775: 
                   16776:   ;
                   16777:   return 0;
                   16778: }
                   16779: _ACEOF
                   16780: rm -f conftest.$ac_objext
                   16781: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16782:   (eval $ac_compile) 2>conftest.er1
                   16783:   ac_status=$?
                   16784:   grep -v '^ *+' conftest.er1 >conftest.err
                   16785:   rm -f conftest.er1
                   16786:   cat conftest.err >&5
                   16787:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16788:   (exit $ac_status); } &&
                   16789:         { ac_try='test -z "$ac_c_werror_flag"
                   16790:                         || test ! -s conftest.err'
                   16791:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16792:   (eval $ac_try) 2>&5
                   16793:   ac_status=$?
                   16794:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16795:   (exit $ac_status); }; } &&
                   16796:         { ac_try='test -s conftest.$ac_objext'
                   16797:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16798:   (eval $ac_try) 2>&5
                   16799:   ac_status=$?
                   16800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16801:   (exit $ac_status); }; }; then
                   16802:   ac_cv_have_decl_lt_dlinterface_register=yes
                   16803: else
                   16804:   echo "$as_me: failed program was:" >&5
                   16805: sed 's/^/| /' conftest.$ac_ext >&5
                   16806: 
                   16807: ac_cv_have_decl_lt_dlinterface_register=no
                   16808: fi
                   16809: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16810: fi
                   16811: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   16812: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   16813: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   16814:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   16815: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   16816: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   16817:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16818: else
                   16819:   ac_check_lib_save_LIBS=$LIBS
                   16820: LIBS="-lltdl  $LIBS"
                   16821: cat >conftest.$ac_ext <<_ACEOF
                   16822: /* confdefs.h.  */
                   16823: _ACEOF
                   16824: cat confdefs.h >>conftest.$ac_ext
                   16825: cat >>conftest.$ac_ext <<_ACEOF
                   16826: /* end confdefs.h.  */
                   16827: 
                   16828: /* Override any gcc2 internal prototype to avoid an error.  */
                   16829: #ifdef __cplusplus
                   16830: extern "C"
                   16831: #endif
                   16832: /* We use char because int might match the return type of a gcc2
                   16833:    builtin and then its argument prototype would still apply.  */
                   16834: char lt_dladvise_preload ();
                   16835: int
                   16836: main ()
                   16837: {
                   16838: lt_dladvise_preload ();
                   16839:   ;
                   16840:   return 0;
                   16841: }
                   16842: _ACEOF
                   16843: rm -f conftest.$ac_objext conftest$ac_exeext
                   16844: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16845:   (eval $ac_link) 2>conftest.er1
                   16846:   ac_status=$?
                   16847:   grep -v '^ *+' conftest.er1 >conftest.err
                   16848:   rm -f conftest.er1
                   16849:   cat conftest.err >&5
                   16850:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16851:   (exit $ac_status); } &&
                   16852:         { ac_try='test -z "$ac_c_werror_flag"
                   16853:                         || test ! -s conftest.err'
                   16854:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16855:   (eval $ac_try) 2>&5
                   16856:   ac_status=$?
                   16857:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16858:   (exit $ac_status); }; } &&
                   16859:         { ac_try='test -s conftest$ac_exeext'
                   16860:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16861:   (eval $ac_try) 2>&5
                   16862:   ac_status=$?
                   16863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16864:   (exit $ac_status); }; }; then
                   16865:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
                   16866: else
                   16867:   echo "$as_me: failed program was:" >&5
                   16868: sed 's/^/| /' conftest.$ac_ext >&5
                   16869: 
                   16870: ac_cv_lib_ltdl_lt_dladvise_preload=no
                   16871: fi
                   16872: rm -f conftest.err conftest.$ac_objext \
                   16873:       conftest$ac_exeext conftest.$ac_ext
                   16874: LIBS=$ac_check_lib_save_LIBS
                   16875: fi
                   16876: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16877: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   16878: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
                   16879:   with_included_ltdl=no
                   16880: else
                   16881:   with_included_ltdl=yes
                   16882: fi
                   16883: 
                   16884: else
                   16885:   with_included_ltdl=yes
                   16886: fi
                   16887: 
                   16888: else
                   16889:   with_included_ltdl=yes
                   16890: fi
                   16891: 
                   16892: 
                   16893: fi
                   16894: 
                   16895: 
                   16896: 
                   16897: 
                   16898: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   16899: if test "${with_ltdl_include+set}" = set; then
                   16900:   withval="$with_ltdl_include"
                   16901: 
                   16902: fi;
                   16903: 
                   16904: if test -n "$with_ltdl_include"; then
                   16905:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16906:   else
                   16907:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   16908: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   16909:    { (exit 1); exit 1; }; }
                   16910:   fi
                   16911: else
                   16912:   with_ltdl_include=no
                   16913: fi
                   16914: 
                   16915: 
                   16916: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   16917: if test "${with_ltdl_lib+set}" = set; then
                   16918:   withval="$with_ltdl_lib"
                   16919: 
                   16920: fi;
                   16921: 
                   16922: if test -n "$with_ltdl_lib"; then
                   16923:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16924:   else
                   16925:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   16926: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   16927:    { (exit 1); exit 1; }; }
                   16928:   fi
                   16929: else
                   16930:   with_ltdl_lib=no
                   16931: fi
                   16932: 
                   16933: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16934:   ,yes,no,no,)
                   16935:        case $enable_ltdl_convenience in
                   16936:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   16937: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   16938:    { (exit 1); exit 1; }; } ;;
                   16939:   "") enable_ltdl_convenience=yes
                   16940:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16941: esac
                   16942: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   16943: LTDLDEPS=$LIBLTDL
                   16944: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16945: 
                   16946: 
                   16947: 
                   16948: 
                   16949: 
                   16950: # For backwards non-gettext consistent compatibility...
                   16951: INCLTDL="$LTDLINCL"
                   16952: 
                   16953: 
                   16954:        ;;
                   16955:   ,no,no,no,)
                   16956:        # If the included ltdl is not to be used, then use the
                   16957:        # preinstalled libltdl we found.
                   16958: 
                   16959: cat >>confdefs.h <<\_ACEOF
                   16960: #define HAVE_LTDL 1
                   16961: _ACEOF
                   16962: 
                   16963:        LIBLTDL=-lltdl
                   16964:        LTDLDEPS=
                   16965:        LTDLINCL=
                   16966:        ;;
                   16967:   ,no*,no,*)
                   16968:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   16969: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
                   16970:    { (exit 1); exit 1; }; }
                   16971:        ;;
                   16972:   *)   with_included_ltdl=no
                   16973:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16974:        LTDLDEPS=
                   16975:        LTDLINCL="-I$with_ltdl_include"
                   16976:        ;;
                   16977: esac
                   16978: INCLTDL="$LTDLINCL"
                   16979: 
                   16980: # Report our decision...
                   16981: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   16982: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   16983: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   16984: echo "${ECHO_T}$LTDLINCL" >&6
                   16985: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   16986: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   16987: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   16988: echo "${ECHO_T}$LIBLTDL" >&6
                   16989: 
                   16990: 
                   16991: 
                   16992: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   16993: if test "${enable_ltdl_install+set}" = set; then
                   16994:   enableval="$enable_ltdl_install"
                   16995: 
                   16996: fi;
                   16997: 
                   16998: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   16999:   *yes*) ;;
                   17000:   *) enable_ltdl_convenience=yes ;;
                   17001: esac
                   17002: 
                   17003: 
                   17004: 
                   17005: if test x"${enable_ltdl_install-no}" != xno; then
                   17006:   INSTALL_LTDL_TRUE=
                   17007:   INSTALL_LTDL_FALSE='#'
                   17008: else
                   17009:   INSTALL_LTDL_TRUE='#'
                   17010:   INSTALL_LTDL_FALSE=
                   17011: fi
                   17012: 
                   17013: 
                   17014: 
                   17015: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17016:   CONVENIENCE_LTDL_TRUE=
                   17017:   CONVENIENCE_LTDL_FALSE='#'
                   17018: else
                   17019:   CONVENIENCE_LTDL_TRUE='#'
                   17020:   CONVENIENCE_LTDL_FALSE=
                   17021: fi
                   17022: 
                   17023: 
                   17024: 
                   17025: 
                   17026: 
                   17027: subdirs="$subdirs libltdl"
                   17028: 
                   17029: 
                   17030: 
                   17031: 
                   17032: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17033: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17034: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17035: # definitions required by ltdl.c.
                   17036: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17037: 
                   17038: 
                   17039: 
                   17040: 
                   17041: 
                   17042: 
                   17043: 
                   17044: 
                   17045: 
                   17046: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17047: do
                   17048: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17049: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17050: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17051: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17052:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17053: else
                   17054:   cat >conftest.$ac_ext <<_ACEOF
                   17055: /* confdefs.h.  */
                   17056: _ACEOF
                   17057: cat confdefs.h >>conftest.$ac_ext
                   17058: cat >>conftest.$ac_ext <<_ACEOF
                   17059: /* end confdefs.h.  */
                   17060: $ac_includes_default
                   17061: 
                   17062: #include <$ac_header>
                   17063: _ACEOF
                   17064: rm -f conftest.$ac_objext
                   17065: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17066:   (eval $ac_compile) 2>conftest.er1
                   17067:   ac_status=$?
                   17068:   grep -v '^ *+' conftest.er1 >conftest.err
                   17069:   rm -f conftest.er1
                   17070:   cat conftest.err >&5
                   17071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17072:   (exit $ac_status); } &&
                   17073:         { ac_try='test -z "$ac_c_werror_flag"
                   17074:                         || test ! -s conftest.err'
                   17075:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17076:   (eval $ac_try) 2>&5
                   17077:   ac_status=$?
                   17078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17079:   (exit $ac_status); }; } &&
                   17080:         { ac_try='test -s conftest.$ac_objext'
                   17081:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17082:   (eval $ac_try) 2>&5
                   17083:   ac_status=$?
                   17084:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17085:   (exit $ac_status); }; }; then
                   17086:   eval "$as_ac_Header=yes"
                   17087: else
                   17088:   echo "$as_me: failed program was:" >&5
                   17089: sed 's/^/| /' conftest.$ac_ext >&5
                   17090: 
                   17091: eval "$as_ac_Header=no"
                   17092: fi
                   17093: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17094: fi
                   17095: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17096: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17097: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17098:   cat >>confdefs.h <<_ACEOF
                   17099: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17100: _ACEOF
                   17101: 
                   17102: fi
                   17103: 
                   17104: done
                   17105: 
                   17106: 
                   17107: 
                   17108: 
                   17109: 
                   17110: for ac_func in closedir opendir readdir
                   17111: do
                   17112: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17113: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17114: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17115: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17116:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17117: else
                   17118:   cat >conftest.$ac_ext <<_ACEOF
                   17119: /* confdefs.h.  */
                   17120: _ACEOF
                   17121: cat confdefs.h >>conftest.$ac_ext
                   17122: cat >>conftest.$ac_ext <<_ACEOF
                   17123: /* end confdefs.h.  */
                   17124: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17125:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17126: #define $ac_func innocuous_$ac_func
                   17127: 
                   17128: /* System header to define __stub macros and hopefully few prototypes,
                   17129:     which can conflict with char $ac_func (); below.
                   17130:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17131:     <limits.h> exists even on freestanding compilers.  */
                   17132: 
                   17133: #ifdef __STDC__
                   17134: # include <limits.h>
                   17135: #else
                   17136: # include <assert.h>
                   17137: #endif
                   17138: 
                   17139: #undef $ac_func
                   17140: 
                   17141: /* Override any gcc2 internal prototype to avoid an error.  */
                   17142: #ifdef __cplusplus
                   17143: extern "C"
                   17144: {
                   17145: #endif
                   17146: /* We use char because int might match the return type of a gcc2
                   17147:    builtin and then its argument prototype would still apply.  */
                   17148: char $ac_func ();
                   17149: /* The GNU C library defines this for functions which it implements
                   17150:     to always fail with ENOSYS.  Some functions are actually named
                   17151:     something starting with __ and the normal name is an alias.  */
                   17152: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17153: choke me
                   17154: #else
                   17155: char (*f) () = $ac_func;
                   17156: #endif
                   17157: #ifdef __cplusplus
                   17158: }
                   17159: #endif
                   17160: 
                   17161: int
                   17162: main ()
                   17163: {
                   17164: return f != $ac_func;
                   17165:   ;
                   17166:   return 0;
                   17167: }
                   17168: _ACEOF
                   17169: rm -f conftest.$ac_objext conftest$ac_exeext
                   17170: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17171:   (eval $ac_link) 2>conftest.er1
                   17172:   ac_status=$?
                   17173:   grep -v '^ *+' conftest.er1 >conftest.err
                   17174:   rm -f conftest.er1
                   17175:   cat conftest.err >&5
                   17176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17177:   (exit $ac_status); } &&
                   17178:         { ac_try='test -z "$ac_c_werror_flag"
                   17179:                         || test ! -s conftest.err'
                   17180:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17181:   (eval $ac_try) 2>&5
                   17182:   ac_status=$?
                   17183:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17184:   (exit $ac_status); }; } &&
                   17185:         { ac_try='test -s conftest$ac_exeext'
                   17186:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17187:   (eval $ac_try) 2>&5
                   17188:   ac_status=$?
                   17189:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17190:   (exit $ac_status); }; }; then
                   17191:   eval "$as_ac_var=yes"
                   17192: else
                   17193:   echo "$as_me: failed program was:" >&5
                   17194: sed 's/^/| /' conftest.$ac_ext >&5
                   17195: 
                   17196: eval "$as_ac_var=no"
                   17197: fi
                   17198: rm -f conftest.err conftest.$ac_objext \
                   17199:       conftest$ac_exeext conftest.$ac_ext
                   17200: fi
                   17201: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17202: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17203: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17204:   cat >>confdefs.h <<_ACEOF
                   17205: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17206: _ACEOF
                   17207: 
                   17208: else
                   17209: 
                   17210: 
                   17211:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
                   17212: 
                   17213: fi
                   17214: done
                   17215: 
                   17216: 
                   17217: 
                   17218: for ac_func in strlcat strlcpy
                   17219: do
                   17220: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17221: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17222: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17223: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17224:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17225: else
                   17226:   cat >conftest.$ac_ext <<_ACEOF
                   17227: /* confdefs.h.  */
                   17228: _ACEOF
                   17229: cat confdefs.h >>conftest.$ac_ext
                   17230: cat >>conftest.$ac_ext <<_ACEOF
                   17231: /* end confdefs.h.  */
                   17232: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17233:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17234: #define $ac_func innocuous_$ac_func
                   17235: 
                   17236: /* System header to define __stub macros and hopefully few prototypes,
                   17237:     which can conflict with char $ac_func (); below.
                   17238:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17239:     <limits.h> exists even on freestanding compilers.  */
                   17240: 
                   17241: #ifdef __STDC__
                   17242: # include <limits.h>
                   17243: #else
                   17244: # include <assert.h>
                   17245: #endif
                   17246: 
                   17247: #undef $ac_func
                   17248: 
                   17249: /* Override any gcc2 internal prototype to avoid an error.  */
                   17250: #ifdef __cplusplus
                   17251: extern "C"
                   17252: {
                   17253: #endif
                   17254: /* We use char because int might match the return type of a gcc2
                   17255:    builtin and then its argument prototype would still apply.  */
                   17256: char $ac_func ();
                   17257: /* The GNU C library defines this for functions which it implements
                   17258:     to always fail with ENOSYS.  Some functions are actually named
                   17259:     something starting with __ and the normal name is an alias.  */
                   17260: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17261: choke me
                   17262: #else
                   17263: char (*f) () = $ac_func;
                   17264: #endif
                   17265: #ifdef __cplusplus
                   17266: }
                   17267: #endif
                   17268: 
                   17269: int
                   17270: main ()
                   17271: {
                   17272: return f != $ac_func;
                   17273:   ;
                   17274:   return 0;
                   17275: }
                   17276: _ACEOF
                   17277: rm -f conftest.$ac_objext conftest$ac_exeext
                   17278: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17279:   (eval $ac_link) 2>conftest.er1
                   17280:   ac_status=$?
                   17281:   grep -v '^ *+' conftest.er1 >conftest.err
                   17282:   rm -f conftest.er1
                   17283:   cat conftest.err >&5
                   17284:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17285:   (exit $ac_status); } &&
                   17286:         { ac_try='test -z "$ac_c_werror_flag"
                   17287:                         || test ! -s conftest.err'
                   17288:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17289:   (eval $ac_try) 2>&5
                   17290:   ac_status=$?
                   17291:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17292:   (exit $ac_status); }; } &&
                   17293:         { ac_try='test -s conftest$ac_exeext'
                   17294:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17295:   (eval $ac_try) 2>&5
                   17296:   ac_status=$?
                   17297:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17298:   (exit $ac_status); }; }; then
                   17299:   eval "$as_ac_var=yes"
                   17300: else
                   17301:   echo "$as_me: failed program was:" >&5
                   17302: sed 's/^/| /' conftest.$ac_ext >&5
                   17303: 
                   17304: eval "$as_ac_var=no"
                   17305: fi
                   17306: rm -f conftest.err conftest.$ac_objext \
                   17307:       conftest$ac_exeext conftest.$ac_ext
                   17308: fi
                   17309: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17310: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17311: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17312:   cat >>confdefs.h <<_ACEOF
                   17313: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17314: _ACEOF
                   17315: 
                   17316: else
                   17317: 
                   17318: 
                   17319:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17320: 
                   17321: fi
                   17322: done
                   17323: 
                   17324: 
                   17325: 
                   17326: cat >>confdefs.h <<_ACEOF
                   17327: #define LT_LIBEXT "$libext"
                   17328: _ACEOF
                   17329: 
                   17330: 
                   17331: name=
                   17332: eval "lt_libprefix=\"$libname_spec\""
                   17333: 
                   17334: cat >>confdefs.h <<_ACEOF
                   17335: #define LT_LIBPREFIX "$lt_libprefix"
                   17336: _ACEOF
                   17337: 
                   17338: 
                   17339: name=ltdl
                   17340: eval "LTDLOPEN=\"$libname_spec\""
                   17341: 
                   17342: 
                   17343: 
                   17344: 
                   17345: 
                   17346: 
                   17347: 
                   17348: 
                   17349: # Only expand once:
                   17350: 
                   17351: 
                   17352: 
                   17353: 
                   17354: 
                   17355: 
                   17356: 
                   17357: 
                   17358: 
                   17359: for ac_header in stdio.h \
                   17360: stdlib.h \
                   17361: string.h \
                   17362: setjmp.h \
                   17363: ctype.h
                   17364: 
                   17365: do
                   17366: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17367: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17368:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17369: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17370: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17371:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17372: fi
                   17373: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17374: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17375: else
                   17376:   # Is the header compilable?
                   17377: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   17378: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   17379: cat >conftest.$ac_ext <<_ACEOF
                   17380: /* confdefs.h.  */
                   17381: _ACEOF
                   17382: cat confdefs.h >>conftest.$ac_ext
                   17383: cat >>conftest.$ac_ext <<_ACEOF
                   17384: /* end confdefs.h.  */
                   17385: $ac_includes_default
                   17386: #include <$ac_header>
                   17387: _ACEOF
                   17388: rm -f conftest.$ac_objext
                   17389: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17390:   (eval $ac_compile) 2>conftest.er1
                   17391:   ac_status=$?
                   17392:   grep -v '^ *+' conftest.er1 >conftest.err
                   17393:   rm -f conftest.er1
                   17394:   cat conftest.err >&5
                   17395:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17396:   (exit $ac_status); } &&
                   17397:         { ac_try='test -z "$ac_c_werror_flag"
                   17398:                         || test ! -s conftest.err'
                   17399:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17400:   (eval $ac_try) 2>&5
                   17401:   ac_status=$?
                   17402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17403:   (exit $ac_status); }; } &&
                   17404:         { ac_try='test -s conftest.$ac_objext'
                   17405:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17406:   (eval $ac_try) 2>&5
                   17407:   ac_status=$?
                   17408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17409:   (exit $ac_status); }; }; then
                   17410:   ac_header_compiler=yes
                   17411: else
                   17412:   echo "$as_me: failed program was:" >&5
                   17413: sed 's/^/| /' conftest.$ac_ext >&5
                   17414: 
                   17415: ac_header_compiler=no
                   17416: fi
                   17417: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17418: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   17419: echo "${ECHO_T}$ac_header_compiler" >&6
                   17420: 
                   17421: # Is the header present?
                   17422: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   17423: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   17424: cat >conftest.$ac_ext <<_ACEOF
                   17425: /* confdefs.h.  */
                   17426: _ACEOF
                   17427: cat confdefs.h >>conftest.$ac_ext
                   17428: cat >>conftest.$ac_ext <<_ACEOF
                   17429: /* end confdefs.h.  */
                   17430: #include <$ac_header>
                   17431: _ACEOF
                   17432: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   17433:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   17434:   ac_status=$?
                   17435:   grep -v '^ *+' conftest.er1 >conftest.err
                   17436:   rm -f conftest.er1
                   17437:   cat conftest.err >&5
                   17438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17439:   (exit $ac_status); } >/dev/null; then
                   17440:   if test -s conftest.err; then
                   17441:     ac_cpp_err=$ac_c_preproc_warn_flag
                   17442:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   17443:   else
                   17444:     ac_cpp_err=
                   17445:   fi
                   17446: else
                   17447:   ac_cpp_err=yes
                   17448: fi
                   17449: if test -z "$ac_cpp_err"; then
                   17450:   ac_header_preproc=yes
                   17451: else
                   17452:   echo "$as_me: failed program was:" >&5
                   17453: sed 's/^/| /' conftest.$ac_ext >&5
                   17454: 
                   17455:   ac_header_preproc=no
                   17456: fi
                   17457: rm -f conftest.err conftest.$ac_ext
                   17458: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   17459: echo "${ECHO_T}$ac_header_preproc" >&6
                   17460: 
                   17461: # So?  What about this header?
                   17462: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   17463:   yes:no: )
                   17464:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   17465: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   17466:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   17467: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   17468:     ac_header_preproc=yes
                   17469:     ;;
                   17470:   no:yes:* )
                   17471:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   17472: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   17473:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   17474: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   17475:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   17476: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   17477:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   17478: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   17479:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   17480: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   17481:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   17482: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   17483:     (
                   17484:       cat <<\_ASBOX
                   17485: ## ----------------------------------------- ##
                   17486: ## Report this to the parser3pgsql.C lists.  ##
                   17487: ## ----------------------------------------- ##
                   17488: _ASBOX
                   17489:     ) |
                   17490:       sed "s/^/$as_me: WARNING:     /" >&2
                   17491:     ;;
                   17492: esac
                   17493: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17494: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17495: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17496:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17497: else
                   17498:   eval "$as_ac_Header=\$ac_header_preproc"
                   17499: fi
                   17500: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17501: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17502: 
                   17503: fi
                   17504: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17505:   cat >>confdefs.h <<_ACEOF
                   17506: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17507: _ACEOF
                   17508: 
                   17509: fi
                   17510: 
                   17511: done
                   17512: 
                   17513: 
                   17514: echo "$as_me:$LINENO: checking for size_t" >&5
                   17515: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   17516: if test "${ac_cv_type_size_t+set}" = set; then
                   17517:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17518: else
                   17519:   cat >conftest.$ac_ext <<_ACEOF
                   17520: /* confdefs.h.  */
                   17521: _ACEOF
                   17522: cat confdefs.h >>conftest.$ac_ext
                   17523: cat >>conftest.$ac_ext <<_ACEOF
                   17524: /* end confdefs.h.  */
                   17525: $ac_includes_default
                   17526: int
                   17527: main ()
                   17528: {
                   17529: if ((size_t *) 0)
                   17530:   return 0;
                   17531: if (sizeof (size_t))
                   17532:   return 0;
                   17533:   ;
                   17534:   return 0;
                   17535: }
                   17536: _ACEOF
                   17537: rm -f conftest.$ac_objext
                   17538: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17539:   (eval $ac_compile) 2>conftest.er1
                   17540:   ac_status=$?
                   17541:   grep -v '^ *+' conftest.er1 >conftest.err
                   17542:   rm -f conftest.er1
                   17543:   cat conftest.err >&5
                   17544:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17545:   (exit $ac_status); } &&
                   17546:         { ac_try='test -z "$ac_c_werror_flag"
                   17547:                         || test ! -s conftest.err'
                   17548:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17549:   (eval $ac_try) 2>&5
                   17550:   ac_status=$?
                   17551:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17552:   (exit $ac_status); }; } &&
                   17553:         { ac_try='test -s conftest.$ac_objext'
                   17554:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17555:   (eval $ac_try) 2>&5
                   17556:   ac_status=$?
                   17557:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17558:   (exit $ac_status); }; }; then
                   17559:   ac_cv_type_size_t=yes
                   17560: else
                   17561:   echo "$as_me: failed program was:" >&5
                   17562: sed 's/^/| /' conftest.$ac_ext >&5
                   17563: 
                   17564: ac_cv_type_size_t=no
                   17565: fi
                   17566: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17567: fi
                   17568: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   17569: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   17570: if test $ac_cv_type_size_t = yes; then
                   17571:   :
                   17572: else
                   17573: 
                   17574: cat >>confdefs.h <<_ACEOF
                   17575: #define size_t unsigned
                   17576: _ACEOF
                   17577: 
                   17578: fi
                   17579: 
                   17580: 
                   17581: 
                   17582:           ac_config_files="$ac_config_files Makefile"
                   17583: cat >confcache <<\_ACEOF
                   17584: # This file is a shell script that caches the results of configure
                   17585: # tests run on this system so they can be shared between configure
                   17586: # scripts and configure runs, see configure's option --config-cache.
                   17587: # It is not useful on other systems.  If it contains results you don't
                   17588: # want to keep, you may remove or edit it.
                   17589: #
                   17590: # config.status only pays attention to the cache file if you give it
                   17591: # the --recheck option to rerun configure.
                   17592: #
                   17593: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   17594: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   17595: # following values.
                   17596: 
                   17597: _ACEOF
                   17598: 
                   17599: # The following way of writing the cache mishandles newlines in values,
                   17600: # but we know of no workaround that is simple, portable, and efficient.
                   17601: # So, don't put newlines in cache variables' values.
                   17602: # Ultrix sh set writes to stderr and can't be redirected directly,
                   17603: # and sets the high bit in the cache file unless we assign to the vars.
                   17604: {
                   17605:   (set) 2>&1 |
                   17606:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   17607:     *ac_space=\ *)
                   17608:       # `set' does not quote correctly, so add quotes (double-quote
                   17609:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   17610:       sed -n \
                   17611:        "s/'/'\\\\''/g;
                   17612:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   17613:       ;;
                   17614:     *)
                   17615:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   17616:       sed -n \
                   17617:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   17618:       ;;
                   17619:     esac;
                   17620: } |
                   17621:   sed '
                   17622:      t clear
                   17623:      : clear
                   17624:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   17625:      t end
                   17626:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   17627:      : end' >>confcache
                   17628: if diff $cache_file confcache >/dev/null 2>&1; then :; else
                   17629:   if test -w $cache_file; then
                   17630:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   17631:     cat confcache >$cache_file
                   17632:   else
                   17633:     echo "not updating unwritable cache $cache_file"
                   17634:   fi
                   17635: fi
                   17636: rm -f confcache
                   17637: 
                   17638: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   17639: # Let make expand exec_prefix.
                   17640: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   17641: 
                   17642: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   17643: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   17644: # trailing colons and then remove the whole line if VPATH becomes empty
                   17645: # (actually we leave an empty line to preserve line numbers).
                   17646: if test "x$srcdir" = x.; then
                   17647:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
                   17648: s/:*\$(srcdir):*/:/;
                   17649: s/:*\${srcdir}:*/:/;
                   17650: s/:*@srcdir@:*/:/;
                   17651: s/^\([^=]*=[    ]*\):*/\1/;
                   17652: s/:*$//;
                   17653: s/^[^=]*=[      ]*$//;
                   17654: }'
                   17655: fi
                   17656: 
                   17657: DEFS=-DHAVE_CONFIG_H
                   17658: 
                   17659: ac_libobjs=
                   17660: ac_ltlibobjs=
                   17661: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   17662:   # 1. Remove the extension, and $U if already installed.
                   17663:   ac_i=`echo "$ac_i" |
                   17664:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   17665:   # 2. Add them.
                   17666:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   17667:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   17668: done
                   17669: LIBOBJS=$ac_libobjs
                   17670: 
                   17671: LTLIBOBJS=$ac_ltlibobjs
                   17672: 
                   17673: 
                   17674: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   17675:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   17676: Usually this means the macro was only invoked conditionally." >&5
                   17677: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   17678: Usually this means the macro was only invoked conditionally." >&2;}
                   17679:    { (exit 1); exit 1; }; }
                   17680: fi
                   17681: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   17682:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
                   17683: Usually this means the macro was only invoked conditionally." >&5
                   17684: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
                   17685: Usually this means the macro was only invoked conditionally." >&2;}
                   17686:    { (exit 1); exit 1; }; }
                   17687: fi
                   17688: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   17689:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   17690: Usually this means the macro was only invoked conditionally." >&5
                   17691: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   17692: Usually this means the macro was only invoked conditionally." >&2;}
                   17693:    { (exit 1); exit 1; }; }
                   17694: fi
                   17695: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   17696:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   17697: Usually this means the macro was only invoked conditionally." >&5
                   17698: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   17699: Usually this means the macro was only invoked conditionally." >&2;}
                   17700:    { (exit 1); exit 1; }; }
                   17701: fi
                   17702: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   17703:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   17704: Usually this means the macro was only invoked conditionally." >&5
                   17705: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   17706: Usually this means the macro was only invoked conditionally." >&2;}
                   17707:    { (exit 1); exit 1; }; }
                   17708: fi
                   17709: LT_CONFIG_H=`echo " config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
                   17710: 
                   17711:     _ltdl_libobjs=
                   17712:     _ltdl_ltlibobjs=
                   17713:     if test -n "$_LT_LIBOBJS"; then
                   17714:       # Remove the extension.
                   17715:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   17716:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   17717:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   17718:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   17719:       done
                   17720:     fi
                   17721:     ltdl_LIBOBJS=$_ltdl_libobjs
                   17722: 
                   17723:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   17724: 
                   17725: 
                   17726: 
                   17727: : ${CONFIG_STATUS=./config.status}
                   17728: ac_clean_files_save=$ac_clean_files
                   17729: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   17730: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   17731: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   17732: cat >$CONFIG_STATUS <<_ACEOF
                   17733: #! $SHELL
                   17734: # Generated by $as_me.
                   17735: # Run this file to recreate the current configuration.
                   17736: # Compiler output produced by configure, useful for debugging
                   17737: # configure, is in config.log if it exists.
                   17738: 
                   17739: debug=false
                   17740: ac_cs_recheck=false
                   17741: ac_cs_silent=false
                   17742: SHELL=\${CONFIG_SHELL-$SHELL}
                   17743: _ACEOF
                   17744: 
                   17745: cat >>$CONFIG_STATUS <<\_ACEOF
                   17746: ## --------------------- ##
                   17747: ## M4sh Initialization.  ##
                   17748: ## --------------------- ##
                   17749: 
                   17750: # Be Bourne compatible
                   17751: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   17752:   emulate sh
                   17753:   NULLCMD=:
                   17754:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   17755:   # is contrary to our usage.  Disable this feature.
                   17756:   alias -g '${1+"$@"}'='"$@"'
                   17757: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   17758:   set -o posix
                   17759: fi
                   17760: DUALCASE=1; export DUALCASE # for MKS sh
                   17761: 
                   17762: # Support unset when possible.
                   17763: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   17764:   as_unset=unset
                   17765: else
                   17766:   as_unset=false
                   17767: fi
                   17768: 
                   17769: 
                   17770: # Work around bugs in pre-3.0 UWIN ksh.
                   17771: $as_unset ENV MAIL MAILPATH
                   17772: PS1='$ '
                   17773: PS2='> '
                   17774: PS4='+ '
                   17775: 
                   17776: # NLS nuisances.
                   17777: for as_var in \
                   17778:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   17779:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   17780:   LC_TELEPHONE LC_TIME
                   17781: do
                   17782:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   17783:     eval $as_var=C; export $as_var
                   17784:   else
                   17785:     $as_unset $as_var
                   17786:   fi
                   17787: done
                   17788: 
                   17789: # Required to use basename.
                   17790: if expr a : '\(a\)' >/dev/null 2>&1; then
                   17791:   as_expr=expr
                   17792: else
                   17793:   as_expr=false
                   17794: fi
                   17795: 
                   17796: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   17797:   as_basename=basename
                   17798: else
                   17799:   as_basename=false
                   17800: fi
                   17801: 
                   17802: 
                   17803: # Name of the executable.
                   17804: as_me=`$as_basename "$0" ||
                   17805: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   17806:         X"$0" : 'X\(//\)$' \| \
                   17807:         X"$0" : 'X\(/\)$' \| \
                   17808:         .     : '\(.\)' 2>/dev/null ||
                   17809: echo X/"$0" |
                   17810:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   17811:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   17812:          /^X\/\(\/\).*/{ s//\1/; q; }
                   17813:          s/.*/./; q'`
                   17814: 
                   17815: 
                   17816: # PATH needs CR, and LINENO needs CR and PATH.
                   17817: # Avoid depending upon Character Ranges.
                   17818: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   17819: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   17820: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   17821: as_cr_digits='0123456789'
                   17822: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   17823: 
                   17824: # The user is always right.
                   17825: if test "${PATH_SEPARATOR+set}" != set; then
                   17826:   echo "#! /bin/sh" >conf$$.sh
                   17827:   echo  "exit 0"   >>conf$$.sh
                   17828:   chmod +x conf$$.sh
                   17829:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   17830:     PATH_SEPARATOR=';'
                   17831:   else
                   17832:     PATH_SEPARATOR=:
                   17833:   fi
                   17834:   rm -f conf$$.sh
                   17835: fi
                   17836: 
                   17837: 
                   17838:   as_lineno_1=$LINENO
                   17839:   as_lineno_2=$LINENO
                   17840:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   17841:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   17842:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   17843:   # Find who we are.  Look in the path if we contain no path at all
                   17844:   # relative or not.
                   17845:   case $0 in
                   17846:     *[\\/]* ) as_myself=$0 ;;
                   17847:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   17848: for as_dir in $PATH
                   17849: do
                   17850:   IFS=$as_save_IFS
                   17851:   test -z "$as_dir" && as_dir=.
                   17852:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   17853: done
                   17854: 
                   17855:        ;;
                   17856:   esac
                   17857:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   17858:   # in which case we are not to be found in the path.
                   17859:   if test "x$as_myself" = x; then
                   17860:     as_myself=$0
                   17861:   fi
                   17862:   if test ! -f "$as_myself"; then
                   17863:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   17864: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   17865:    { (exit 1); exit 1; }; }
                   17866:   fi
                   17867:   case $CONFIG_SHELL in
                   17868:   '')
                   17869:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   17870: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   17871: do
                   17872:   IFS=$as_save_IFS
                   17873:   test -z "$as_dir" && as_dir=.
                   17874:   for as_base in sh bash ksh sh5; do
                   17875:         case $as_dir in
                   17876:         /*)
                   17877:           if ("$as_dir/$as_base" -c '
                   17878:   as_lineno_1=$LINENO
                   17879:   as_lineno_2=$LINENO
                   17880:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   17881:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   17882:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   17883:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   17884:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   17885:             CONFIG_SHELL=$as_dir/$as_base
                   17886:             export CONFIG_SHELL
                   17887:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   17888:           fi;;
                   17889:         esac
                   17890:        done
                   17891: done
                   17892: ;;
                   17893:   esac
                   17894: 
                   17895:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   17896:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   17897:   # line-number line before each line; the second 'sed' does the real
                   17898:   # work.  The second script uses 'N' to pair each line-number line
                   17899:   # with the numbered line, and appends trailing '-' during
                   17900:   # substitution so that $LINENO is not a special case at line end.
                   17901:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   17902:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   17903:   sed '=' <$as_myself |
                   17904:     sed '
                   17905:       N
                   17906:       s,$,-,
                   17907:       : loop
                   17908:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   17909:       t loop
                   17910:       s,-$,,
                   17911:       s,^['$as_cr_digits']*\n,,
                   17912:     ' >$as_me.lineno &&
                   17913:   chmod +x $as_me.lineno ||
                   17914:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   17915: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   17916:    { (exit 1); exit 1; }; }
                   17917: 
                   17918:   # Don't try to exec as it changes $[0], causing all sort of problems
                   17919:   # (the dirname of $[0] is not the place where we might find the
                   17920:   # original and so on.  Autoconf is especially sensible to this).
                   17921:   . ./$as_me.lineno
                   17922:   # Exit status is that of the last command.
                   17923:   exit
                   17924: }
                   17925: 
                   17926: 
                   17927: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   17928:   *c*,-n*) ECHO_N= ECHO_C='
                   17929: ' ECHO_T='     ' ;;
                   17930:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   17931:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   17932: esac
                   17933: 
                   17934: if expr a : '\(a\)' >/dev/null 2>&1; then
                   17935:   as_expr=expr
                   17936: else
                   17937:   as_expr=false
                   17938: fi
                   17939: 
                   17940: rm -f conf$$ conf$$.exe conf$$.file
                   17941: echo >conf$$.file
                   17942: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   17943:   # We could just check for DJGPP; but this test a) works b) is more generic
                   17944:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   17945:   if test -f conf$$.exe; then
                   17946:     # Don't use ln at all; we don't have any links
                   17947:     as_ln_s='cp -p'
                   17948:   else
                   17949:     as_ln_s='ln -s'
                   17950:   fi
                   17951: elif ln conf$$.file conf$$ 2>/dev/null; then
                   17952:   as_ln_s=ln
                   17953: else
                   17954:   as_ln_s='cp -p'
                   17955: fi
                   17956: rm -f conf$$ conf$$.exe conf$$.file
                   17957: 
                   17958: if mkdir -p . 2>/dev/null; then
                   17959:   as_mkdir_p=:
                   17960: else
                   17961:   test -d ./-p && rmdir ./-p
                   17962:   as_mkdir_p=false
                   17963: fi
                   17964: 
                   17965: as_executable_p="test -f"
                   17966: 
                   17967: # Sed expression to map a string onto a valid CPP name.
                   17968: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   17969: 
                   17970: # Sed expression to map a string onto a valid variable name.
                   17971: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   17972: 
                   17973: 
                   17974: # IFS
                   17975: # We need space, tab and new line, in precisely that order.
                   17976: as_nl='
                   17977: '
                   17978: IFS="  $as_nl"
                   17979: 
                   17980: # CDPATH.
                   17981: $as_unset CDPATH
                   17982: 
                   17983: exec 6>&1
                   17984: 
                   17985: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   17986: # report actual input values of CONFIG_FILES etc. instead of their
                   17987: # values after options handling.  Logging --version etc. is OK.
                   17988: exec 5>>config.log
                   17989: {
                   17990:   echo
                   17991:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   17992: ## Running $as_me. ##
                   17993: _ASBOX
                   17994: } >&5
                   17995: cat >&5 <<_CSEOF
                   17996: 
                   17997: This file was extended by parser3pgsql.C $as_me 10.3, which was
                   17998: generated by GNU Autoconf 2.59.  Invocation command line was
                   17999: 
                   18000:   CONFIG_FILES    = $CONFIG_FILES
                   18001:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18002:   CONFIG_LINKS    = $CONFIG_LINKS
                   18003:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18004:   $ $0 $@
                   18005: 
                   18006: _CSEOF
                   18007: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   18008: echo >&5
                   18009: _ACEOF
                   18010: 
                   18011: # Files that config.status was made for.
                   18012: if test -n "$ac_config_files"; then
                   18013:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   18014: fi
                   18015: 
                   18016: if test -n "$ac_config_headers"; then
                   18017:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   18018: fi
                   18019: 
                   18020: if test -n "$ac_config_links"; then
                   18021:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   18022: fi
                   18023: 
                   18024: if test -n "$ac_config_commands"; then
                   18025:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   18026: fi
                   18027: 
                   18028: cat >>$CONFIG_STATUS <<\_ACEOF
                   18029: 
                   18030: ac_cs_usage="\
                   18031: \`$as_me' instantiates files from templates according to the
                   18032: current configuration.
                   18033: 
                   18034: Usage: $0 [OPTIONS] [FILE]...
                   18035: 
                   18036:   -h, --help       print this help, then exit
                   18037:   -V, --version    print version number, then exit
                   18038:   -q, --quiet      do not print progress messages
                   18039:   -d, --debug      don't remove temporary files
                   18040:       --recheck    update $as_me by reconfiguring in the same conditions
                   18041:   --file=FILE[:TEMPLATE]
                   18042:                   instantiate the configuration file FILE
                   18043:   --header=FILE[:TEMPLATE]
                   18044:                   instantiate the configuration header FILE
                   18045: 
                   18046: Configuration files:
                   18047: $config_files
                   18048: 
                   18049: Configuration headers:
                   18050: $config_headers
                   18051: 
                   18052: Configuration commands:
                   18053: $config_commands
                   18054: 
                   18055: Report bugs to <bug-autoconf@gnu.org>."
                   18056: _ACEOF
                   18057: 
                   18058: cat >>$CONFIG_STATUS <<_ACEOF
                   18059: ac_cs_version="\\
                   18060: parser3pgsql.C config.status 10.3
                   18061: configured by $0, generated by GNU Autoconf 2.59,
                   18062:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   18063: 
                   18064: Copyright (C) 2003 Free Software Foundation, Inc.
                   18065: This config.status script is free software; the Free Software Foundation
                   18066: gives unlimited permission to copy, distribute and modify it."
                   18067: srcdir=$srcdir
                   18068: INSTALL="$INSTALL"
                   18069: _ACEOF
                   18070: 
                   18071: cat >>$CONFIG_STATUS <<\_ACEOF
                   18072: # If no file are specified by the user, then we need to provide default
                   18073: # value.  By we need to know if files were specified by the user.
                   18074: ac_need_defaults=:
                   18075: while test $# != 0
                   18076: do
                   18077:   case $1 in
                   18078:   --*=*)
                   18079:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   18080:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   18081:     ac_shift=:
                   18082:     ;;
                   18083:   -*)
                   18084:     ac_option=$1
                   18085:     ac_optarg=$2
                   18086:     ac_shift=shift
                   18087:     ;;
                   18088:   *) # This is not an option, so the user has probably given explicit
                   18089:      # arguments.
                   18090:      ac_option=$1
                   18091:      ac_need_defaults=false;;
                   18092:   esac
                   18093: 
                   18094:   case $ac_option in
                   18095:   # Handling of the options.
                   18096: _ACEOF
                   18097: cat >>$CONFIG_STATUS <<\_ACEOF
                   18098:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18099:     ac_cs_recheck=: ;;
                   18100:   --version | --vers* | -V )
                   18101:     echo "$ac_cs_version"; exit 0 ;;
                   18102:   --he | --h)
                   18103:     # Conflict between --help and --header
                   18104:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   18105: Try \`$0 --help' for more information." >&5
                   18106: echo "$as_me: error: ambiguous option: $1
                   18107: Try \`$0 --help' for more information." >&2;}
                   18108:    { (exit 1); exit 1; }; };;
                   18109:   --help | --hel | -h )
                   18110:     echo "$ac_cs_usage"; exit 0 ;;
                   18111:   --debug | --d* | -d )
                   18112:     debug=: ;;
                   18113:   --file | --fil | --fi | --f )
                   18114:     $ac_shift
                   18115:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   18116:     ac_need_defaults=false;;
                   18117:   --header | --heade | --head | --hea )
                   18118:     $ac_shift
                   18119:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   18120:     ac_need_defaults=false;;
                   18121:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18122:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18123:     ac_cs_silent=: ;;
                   18124: 
                   18125:   # This is an error.
                   18126:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   18127: Try \`$0 --help' for more information." >&5
                   18128: echo "$as_me: error: unrecognized option: $1
                   18129: Try \`$0 --help' for more information." >&2;}
                   18130:    { (exit 1); exit 1; }; } ;;
                   18131: 
                   18132:   *) ac_config_targets="$ac_config_targets $1" ;;
                   18133: 
                   18134:   esac
                   18135:   shift
                   18136: done
                   18137: 
                   18138: ac_configure_extra_args=
                   18139: 
                   18140: if $ac_cs_silent; then
                   18141:   exec 6>/dev/null
                   18142:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   18143: fi
                   18144: 
                   18145: _ACEOF
                   18146: cat >>$CONFIG_STATUS <<_ACEOF
                   18147: if \$ac_cs_recheck; then
                   18148:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   18149:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   18150: fi
                   18151: 
                   18152: _ACEOF
                   18153: 
                   18154: cat >>$CONFIG_STATUS <<_ACEOF
                   18155: #
                   18156: # INIT-COMMANDS section.
                   18157: #
                   18158: 
                   18159: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18160: 
                   18161: 
                   18162: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18163: # if CDPATH is set.
                   18164: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18165: 
                   18166: sed_quote_subst='$sed_quote_subst'
                   18167: double_quote_subst='$double_quote_subst'
                   18168: delay_variable_subst='$delay_variable_subst'
                   18169: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18170: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
1.30    ! moko     18171: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.23      moko     18172: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18173: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18174: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   18175: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   18176: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   18177: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18178: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18179: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18180: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18181: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18182: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18183: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18184: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18185: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18186: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18187: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18188: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18189: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18190: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18191: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18192: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18193: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18194: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18195: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18196: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18197: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18198: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18199: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18200: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18201: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18202: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18203: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18204: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18205: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18206: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18207: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18208: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18209: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18210: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18211: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18212: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18213: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18214: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18215: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18216: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18217: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18218: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18219: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18220: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18221: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18222: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18223: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18224: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18225: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18226: 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"`'
                   18227: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18228: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18229: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18230: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18231: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18232: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18233: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18234: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18235: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18236: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18237: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18238: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18239: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18240: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18241: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18242: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18243: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18244: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18245: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18246: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18247: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18248: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18249: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18250: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18251: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18252: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18253: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18254: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18255: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18256: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18257: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18258: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18259: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18260: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18261: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18262: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18263: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18264: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18265: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18266: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18267: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18268: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18269: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18270: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18271: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18272: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18273: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18274: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18275: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18276: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18277: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18278: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18279: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18280: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18281: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18282: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18283: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18284: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18285: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18286: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18287: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18288: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18289: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18290: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18291: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18292: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18293: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18294: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   18295: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   18296: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   18297: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   18298: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   18299: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   18300: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   18301: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   18302: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   18303: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   18304: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   18305: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   18306: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   18307: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18308: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18309: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18310: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   18311: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   18312: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18313: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   18314: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   18315: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   18316: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   18317: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   18318: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   18319: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18320: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18321: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   18322: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18323: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18324: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18325: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18326: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18327: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18328: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   18329: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18330: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18331: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18332: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   18333: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   18334: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   18335: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   18336: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   18337: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   18338: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   18339: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   18340: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   18341: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18342: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18343: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18344: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18345: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18346: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18347: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   18348: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   18349: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18350: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18351: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18352: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18353: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   18354: 
                   18355: LTCC='$LTCC'
                   18356: LTCFLAGS='$LTCFLAGS'
                   18357: compiler='$compiler_DEFAULT'
                   18358: 
                   18359: # A function that is used when there is no print builtin or printf.
                   18360: func_fallback_echo ()
                   18361: {
                   18362:   eval 'cat <<_LTECHO_EOF
                   18363: \$1
                   18364: _LTECHO_EOF'
                   18365: }
                   18366: 
                   18367: # Quote evaled strings.
                   18368: for var in AS \
                   18369: DLLTOOL \
                   18370: OBJDUMP \
                   18371: SHELL \
                   18372: ECHO \
                   18373: PATH_SEPARATOR \
                   18374: SED \
                   18375: GREP \
                   18376: EGREP \
                   18377: FGREP \
                   18378: LD \
                   18379: NM \
                   18380: LN_S \
                   18381: lt_SP2NL \
                   18382: lt_NL2SP \
                   18383: reload_flag \
                   18384: deplibs_check_method \
                   18385: file_magic_cmd \
                   18386: file_magic_glob \
                   18387: want_nocaseglob \
                   18388: sharedlib_from_linklib_cmd \
                   18389: AR \
                   18390: AR_FLAGS \
                   18391: archiver_list_spec \
                   18392: STRIP \
                   18393: RANLIB \
                   18394: CC \
                   18395: CFLAGS \
                   18396: compiler \
                   18397: lt_cv_sys_global_symbol_pipe \
                   18398: lt_cv_sys_global_symbol_to_cdecl \
                   18399: lt_cv_sys_global_symbol_to_c_name_address \
                   18400: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   18401: nm_file_list_spec \
                   18402: lt_prog_compiler_no_builtin_flag \
                   18403: lt_prog_compiler_pic \
                   18404: lt_prog_compiler_wl \
                   18405: lt_prog_compiler_static \
                   18406: lt_cv_prog_compiler_c_o \
                   18407: need_locks \
                   18408: MANIFEST_TOOL \
                   18409: DSYMUTIL \
                   18410: NMEDIT \
                   18411: LIPO \
                   18412: OTOOL \
                   18413: OTOOL64 \
                   18414: shrext_cmds \
                   18415: export_dynamic_flag_spec \
                   18416: whole_archive_flag_spec \
                   18417: compiler_needs_object \
                   18418: with_gnu_ld \
                   18419: allow_undefined_flag \
                   18420: no_undefined_flag \
                   18421: hardcode_libdir_flag_spec \
                   18422: hardcode_libdir_separator \
                   18423: exclude_expsyms \
                   18424: include_expsyms \
                   18425: file_list_spec \
                   18426: variables_saved_for_relink \
                   18427: libname_spec \
                   18428: library_names_spec \
                   18429: soname_spec \
                   18430: install_override_mode \
                   18431: finish_eval \
                   18432: old_striplib \
                   18433: striplib \
                   18434: compiler_lib_search_dirs \
                   18435: predep_objects \
                   18436: postdep_objects \
                   18437: predeps \
                   18438: postdeps \
                   18439: compiler_lib_search_path \
                   18440: LD_CXX \
                   18441: reload_flag_CXX \
                   18442: compiler_CXX \
                   18443: lt_prog_compiler_no_builtin_flag_CXX \
                   18444: lt_prog_compiler_pic_CXX \
                   18445: lt_prog_compiler_wl_CXX \
                   18446: lt_prog_compiler_static_CXX \
                   18447: lt_cv_prog_compiler_c_o_CXX \
                   18448: export_dynamic_flag_spec_CXX \
                   18449: whole_archive_flag_spec_CXX \
                   18450: compiler_needs_object_CXX \
                   18451: with_gnu_ld_CXX \
                   18452: allow_undefined_flag_CXX \
                   18453: no_undefined_flag_CXX \
                   18454: hardcode_libdir_flag_spec_CXX \
                   18455: hardcode_libdir_separator_CXX \
                   18456: exclude_expsyms_CXX \
                   18457: include_expsyms_CXX \
                   18458: file_list_spec_CXX \
                   18459: compiler_lib_search_dirs_CXX \
                   18460: predep_objects_CXX \
                   18461: postdep_objects_CXX \
                   18462: predeps_CXX \
                   18463: postdeps_CXX \
                   18464: compiler_lib_search_path_CXX; do
                   18465:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   18466:     *[\\\\\\\`\\"\\\$]*)
                   18467:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   18468:       ;;
                   18469:     *)
                   18470:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   18471:       ;;
                   18472:     esac
                   18473: done
                   18474: 
                   18475: # Double-quote double-evaled strings.
                   18476: for var in reload_cmds \
                   18477: old_postinstall_cmds \
                   18478: old_postuninstall_cmds \
                   18479: old_archive_cmds \
                   18480: extract_expsyms_cmds \
                   18481: old_archive_from_new_cmds \
                   18482: old_archive_from_expsyms_cmds \
                   18483: archive_cmds \
                   18484: archive_expsym_cmds \
                   18485: module_cmds \
                   18486: module_expsym_cmds \
                   18487: export_symbols_cmds \
                   18488: prelink_cmds \
                   18489: postlink_cmds \
                   18490: postinstall_cmds \
                   18491: postuninstall_cmds \
                   18492: finish_cmds \
                   18493: sys_lib_search_path_spec \
                   18494: sys_lib_dlsearch_path_spec \
                   18495: reload_cmds_CXX \
                   18496: old_archive_cmds_CXX \
                   18497: old_archive_from_new_cmds_CXX \
                   18498: old_archive_from_expsyms_cmds_CXX \
                   18499: archive_cmds_CXX \
                   18500: archive_expsym_cmds_CXX \
                   18501: module_cmds_CXX \
                   18502: module_expsym_cmds_CXX \
                   18503: export_symbols_cmds_CXX \
                   18504: prelink_cmds_CXX \
                   18505: postlink_cmds_CXX; do
                   18506:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   18507:     *[\\\\\\\`\\"\\\$]*)
                   18508:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   18509:       ;;
                   18510:     *)
                   18511:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   18512:       ;;
                   18513:     esac
                   18514: done
                   18515: 
                   18516: ac_aux_dir='$ac_aux_dir'
                   18517: xsi_shell='$xsi_shell'
                   18518: lt_shell_append='$lt_shell_append'
                   18519: 
                   18520: # See if we are running on zsh, and set the options which allow our
                   18521: # commands through without removal of \ escapes INIT.
                   18522: if test -n "\${ZSH_VERSION+set}" ; then
                   18523:    setopt NO_GLOB_SUBST
                   18524: fi
                   18525: 
                   18526: 
                   18527:     PACKAGE='$PACKAGE'
                   18528:     VERSION='$VERSION'
                   18529:     TIMESTAMP='$TIMESTAMP'
                   18530:     RM='$RM'
                   18531:     ofile='$ofile'
                   18532: 
                   18533: 
                   18534: 
                   18535: 
                   18536: 
                   18537: 
                   18538: _ACEOF
                   18539: 
                   18540: 
                   18541: 
                   18542: cat >>$CONFIG_STATUS <<\_ACEOF
                   18543: for ac_config_target in $ac_config_targets
                   18544: do
                   18545:   case "$ac_config_target" in
                   18546:   # Handling of arguments.
                   18547:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   18548:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   18549:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   18550:   "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   18551:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   18552: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   18553:    { (exit 1); exit 1; }; };;
                   18554:   esac
                   18555: done
                   18556: 
                   18557: # If the user did not use the arguments to specify the items to instantiate,
                   18558: # then the envvar interface is used.  Set only those that are not.
                   18559: # We use the long form for the default assignment because of an extremely
                   18560: # bizarre bug on SunOS 4.1.3.
                   18561: if $ac_need_defaults; then
                   18562:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   18563:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   18564:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   18565: fi
                   18566: 
                   18567: # Have a temporary directory for convenience.  Make it in the build tree
                   18568: # simply because there is no reason to put it here, and in addition,
                   18569: # creating and moving files from /tmp can sometimes cause problems.
                   18570: # Create a temporary directory, and hook for its removal unless debugging.
                   18571: $debug ||
                   18572: {
                   18573:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   18574:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   18575: }
                   18576: 
                   18577: # Create a (secure) tmp directory for tmp files.
                   18578: 
                   18579: {
                   18580:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   18581:   test -n "$tmp" && test -d "$tmp"
                   18582: }  ||
                   18583: {
                   18584:   tmp=./confstat$$-$RANDOM
                   18585:   (umask 077 && mkdir $tmp)
                   18586: } ||
                   18587: {
                   18588:    echo "$me: cannot create a temporary directory in ." >&2
                   18589:    { (exit 1); exit 1; }
                   18590: }
                   18591: 
                   18592: _ACEOF
                   18593: 
                   18594: cat >>$CONFIG_STATUS <<_ACEOF
                   18595: 
                   18596: #
                   18597: # CONFIG_FILES section.
                   18598: #
                   18599: 
                   18600: # No need to generate the scripts if there are no CONFIG_FILES.
                   18601: # This happens for instance when ./config.status config.h
                   18602: if test -n "\$CONFIG_FILES"; then
                   18603:   # Protect against being on the right side of a sed subst in config.status.
                   18604:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   18605:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   18606: s,@SHELL@,$SHELL,;t t
                   18607: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   18608: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   18609: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   18610: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   18611: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   18612: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   18613: s,@exec_prefix@,$exec_prefix,;t t
                   18614: s,@prefix@,$prefix,;t t
                   18615: s,@program_transform_name@,$program_transform_name,;t t
                   18616: s,@bindir@,$bindir,;t t
                   18617: s,@sbindir@,$sbindir,;t t
                   18618: s,@libexecdir@,$libexecdir,;t t
                   18619: s,@datadir@,$datadir,;t t
                   18620: s,@sysconfdir@,$sysconfdir,;t t
                   18621: s,@sharedstatedir@,$sharedstatedir,;t t
                   18622: s,@localstatedir@,$localstatedir,;t t
                   18623: s,@libdir@,$libdir,;t t
                   18624: s,@includedir@,$includedir,;t t
                   18625: s,@oldincludedir@,$oldincludedir,;t t
                   18626: s,@infodir@,$infodir,;t t
                   18627: s,@mandir@,$mandir,;t t
                   18628: s,@build_alias@,$build_alias,;t t
                   18629: s,@host_alias@,$host_alias,;t t
                   18630: s,@target_alias@,$target_alias,;t t
                   18631: s,@DEFS@,$DEFS,;t t
                   18632: s,@ECHO_C@,$ECHO_C,;t t
                   18633: s,@ECHO_N@,$ECHO_N,;t t
                   18634: s,@ECHO_T@,$ECHO_T,;t t
                   18635: s,@LIBS@,$LIBS,;t t
                   18636: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   18637: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   18638: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   18639: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   18640: s,@PACKAGE@,$PACKAGE,;t t
                   18641: s,@VERSION@,$VERSION,;t t
                   18642: s,@ACLOCAL@,$ACLOCAL,;t t
                   18643: s,@AUTOCONF@,$AUTOCONF,;t t
                   18644: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   18645: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   18646: s,@MAKEINFO@,$MAKEINFO,;t t
                   18647: s,@install_sh@,$install_sh,;t t
                   18648: s,@STRIP@,$STRIP,;t t
                   18649: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   18650: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   18651: s,@mkdir_p@,$mkdir_p,;t t
                   18652: s,@AWK@,$AWK,;t t
                   18653: s,@SET_MAKE@,$SET_MAKE,;t t
                   18654: s,@am__leading_dot@,$am__leading_dot,;t t
                   18655: s,@AMTAR@,$AMTAR,;t t
                   18656: s,@am__tar@,$am__tar,;t t
                   18657: s,@am__untar@,$am__untar,;t t
                   18658: s,@PGSQL_INC@,$PGSQL_INC,;t t
                   18659: s,@CXX@,$CXX,;t t
                   18660: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.28      moko     18661: s,@LDFLAGS@,$LDFLAGS,;t t
1.23      moko     18662: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   18663: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
                   18664: s,@EXEEXT@,$EXEEXT,;t t
                   18665: s,@OBJEXT@,$OBJEXT,;t t
                   18666: s,@DEPDIR@,$DEPDIR,;t t
                   18667: s,@am__include@,$am__include,;t t
                   18668: s,@am__quote@,$am__quote,;t t
                   18669: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   18670: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   18671: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   18672: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   18673: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   18674: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   18675: s,@CC@,$CC,;t t
                   18676: s,@CFLAGS@,$CFLAGS,;t t
                   18677: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   18678: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   18679: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   18680: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   18681: s,@AS@,$AS,;t t
                   18682: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   18683: s,@DLLTOOL@,$DLLTOOL,;t t
                   18684: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   18685: s,@OBJDUMP@,$OBJDUMP,;t t
                   18686: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   18687: s,@LIBTOOL@,$LIBTOOL,;t t
                   18688: s,@build@,$build,;t t
                   18689: s,@build_cpu@,$build_cpu,;t t
                   18690: s,@build_vendor@,$build_vendor,;t t
                   18691: s,@build_os@,$build_os,;t t
                   18692: s,@host@,$host,;t t
                   18693: s,@host_cpu@,$host_cpu,;t t
                   18694: s,@host_vendor@,$host_vendor,;t t
                   18695: s,@host_os@,$host_os,;t t
                   18696: s,@SED@,$SED,;t t
                   18697: s,@EGREP@,$EGREP,;t t
                   18698: s,@FGREP@,$FGREP,;t t
                   18699: s,@GREP@,$GREP,;t t
                   18700: s,@LD@,$LD,;t t
                   18701: s,@DUMPBIN@,$DUMPBIN,;t t
                   18702: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   18703: s,@NM@,$NM,;t t
                   18704: s,@LN_S@,$LN_S,;t t
                   18705: s,@AR@,$AR,;t t
                   18706: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   18707: s,@RANLIB@,$RANLIB,;t t
                   18708: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   18709: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   18710: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   18711: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   18712: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   18713: s,@NMEDIT@,$NMEDIT,;t t
                   18714: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   18715: s,@LIPO@,$LIPO,;t t
                   18716: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   18717: s,@OTOOL@,$OTOOL,;t t
                   18718: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   18719: s,@OTOOL64@,$OTOOL64,;t t
                   18720: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   18721: s,@CPP@,$CPP,;t t
                   18722: s,@CXXCPP@,$CXXCPP,;t t
                   18723: s,@LIBLTDL@,$LIBLTDL,;t t
                   18724: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   18725: s,@LTDLINCL@,$LTDLINCL,;t t
                   18726: s,@INCLTDL@,$INCLTDL,;t t
                   18727: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   18728: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   18729: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   18730: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   18731: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   18732: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   18733: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   18734: s,@ARGZ_H@,$ARGZ_H,;t t
                   18735: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   18736: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   18737: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   18738: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
                   18739: s,@subdirs@,$subdirs,;t t
                   18740: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   18741: s,@LTDLOPEN@,$LTDLOPEN,;t t
                   18742: s,@LIBOBJS@,$LIBOBJS,;t t
                   18743: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
                   18744: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   18745: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
                   18746: CEOF
                   18747: 
                   18748: _ACEOF
                   18749: 
                   18750:   cat >>$CONFIG_STATUS <<\_ACEOF
                   18751:   # Split the substitutions into bite-sized pieces for seds with
                   18752:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   18753:   ac_max_sed_lines=48
                   18754:   ac_sed_frag=1 # Number of current file.
                   18755:   ac_beg=1 # First line for current file.
                   18756:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   18757:   ac_more_lines=:
                   18758:   ac_sed_cmds=
                   18759:   while $ac_more_lines; do
                   18760:     if test $ac_beg -gt 1; then
                   18761:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   18762:     else
                   18763:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   18764:     fi
                   18765:     if test ! -s $tmp/subs.frag; then
                   18766:       ac_more_lines=false
                   18767:     else
                   18768:       # The purpose of the label and of the branching condition is to
                   18769:       # speed up the sed processing (if there are no `@' at all, there
                   18770:       # is no need to browse any of the substitutions).
                   18771:       # These are the two extra sed commands mentioned above.
                   18772:       (echo ':t
                   18773:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   18774:       if test -z "$ac_sed_cmds"; then
                   18775:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   18776:       else
                   18777:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   18778:       fi
                   18779:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   18780:       ac_beg=$ac_end
                   18781:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   18782:     fi
                   18783:   done
                   18784:   if test -z "$ac_sed_cmds"; then
                   18785:     ac_sed_cmds=cat
                   18786:   fi
                   18787: fi # test -n "$CONFIG_FILES"
                   18788: 
                   18789: _ACEOF
                   18790: cat >>$CONFIG_STATUS <<\_ACEOF
                   18791: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   18792:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   18793:   case $ac_file in
                   18794:   - | *:- | *:-:* ) # input from stdin
                   18795:        cat >$tmp/stdin
                   18796:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   18797:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   18798:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   18799:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   18800:   * )   ac_file_in=$ac_file.in ;;
                   18801:   esac
                   18802: 
                   18803:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   18804:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   18805: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18806:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   18807:         X"$ac_file" : 'X\(//\)$' \| \
                   18808:         X"$ac_file" : 'X\(/\)' \| \
                   18809:         .     : '\(.\)' 2>/dev/null ||
                   18810: echo X"$ac_file" |
                   18811:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   18812:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   18813:          /^X\(\/\/\)$/{ s//\1/; q; }
                   18814:          /^X\(\/\).*/{ s//\1/; q; }
                   18815:          s/.*/./; q'`
                   18816:   { if $as_mkdir_p; then
                   18817:     mkdir -p "$ac_dir"
                   18818:   else
                   18819:     as_dir="$ac_dir"
                   18820:     as_dirs=
                   18821:     while test ! -d "$as_dir"; do
                   18822:       as_dirs="$as_dir $as_dirs"
                   18823:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   18824: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18825:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18826:         X"$as_dir" : 'X\(//\)$' \| \
                   18827:         X"$as_dir" : 'X\(/\)' \| \
                   18828:         .     : '\(.\)' 2>/dev/null ||
                   18829: echo X"$as_dir" |
                   18830:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   18831:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   18832:          /^X\(\/\/\)$/{ s//\1/; q; }
                   18833:          /^X\(\/\).*/{ s//\1/; q; }
                   18834:          s/.*/./; q'`
                   18835:     done
                   18836:     test ! -n "$as_dirs" || mkdir $as_dirs
                   18837:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   18838: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   18839:    { (exit 1); exit 1; }; }; }
                   18840: 
                   18841:   ac_builddir=.
                   18842: 
                   18843: if test "$ac_dir" != .; then
                   18844:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   18845:   # A "../" for each directory in $ac_dir_suffix.
                   18846:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   18847: else
                   18848:   ac_dir_suffix= ac_top_builddir=
                   18849: fi
                   18850: 
                   18851: case $srcdir in
                   18852:   .)  # No --srcdir option.  We are building in place.
                   18853:     ac_srcdir=.
                   18854:     if test -z "$ac_top_builddir"; then
                   18855:        ac_top_srcdir=.
                   18856:     else
                   18857:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   18858:     fi ;;
                   18859:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   18860:     ac_srcdir=$srcdir$ac_dir_suffix;
                   18861:     ac_top_srcdir=$srcdir ;;
                   18862:   *) # Relative path.
                   18863:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   18864:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   18865: esac
                   18866: 
                   18867: # Do not use `cd foo && pwd` to compute absolute paths, because
                   18868: # the directories may not exist.
                   18869: case `pwd` in
                   18870: .) ac_abs_builddir="$ac_dir";;
                   18871: *)
                   18872:   case "$ac_dir" in
                   18873:   .) ac_abs_builddir=`pwd`;;
                   18874:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   18875:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   18876:   esac;;
                   18877: esac
                   18878: case $ac_abs_builddir in
                   18879: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   18880: *)
                   18881:   case ${ac_top_builddir}. in
                   18882:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   18883:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   18884:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   18885:   esac;;
                   18886: esac
                   18887: case $ac_abs_builddir in
                   18888: .) ac_abs_srcdir=$ac_srcdir;;
                   18889: *)
                   18890:   case $ac_srcdir in
                   18891:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   18892:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   18893:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   18894:   esac;;
                   18895: esac
                   18896: case $ac_abs_builddir in
                   18897: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   18898: *)
                   18899:   case $ac_top_srcdir in
                   18900:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   18901:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   18902:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   18903:   esac;;
                   18904: esac
                   18905: 
                   18906: 
                   18907:   case $INSTALL in
                   18908:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   18909:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
                   18910:   esac
                   18911: 
                   18912:   if test x"$ac_file" != x-; then
                   18913:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   18914: echo "$as_me: creating $ac_file" >&6;}
                   18915:     rm -f "$ac_file"
                   18916:   fi
                   18917:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   18918:   # use $as_me), people would be surprised to read:
                   18919:   #    /* config.h.  Generated by config.status.  */
                   18920:   if test x"$ac_file" = x-; then
                   18921:     configure_input=
                   18922:   else
                   18923:     configure_input="$ac_file.  "
                   18924:   fi
                   18925:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   18926:                                     sed 's,.*/,,'` by configure."
                   18927: 
                   18928:   # First look for the input files in the build tree, otherwise in the
                   18929:   # src tree.
                   18930:   ac_file_inputs=`IFS=:
                   18931:     for f in $ac_file_in; do
                   18932:       case $f in
                   18933:       -) echo $tmp/stdin ;;
                   18934:       [\\/$]*)
                   18935:         # Absolute (can't be DOS-style, as IFS=:)
                   18936:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   18937: echo "$as_me: error: cannot find input file: $f" >&2;}
                   18938:    { (exit 1); exit 1; }; }
                   18939:         echo "$f";;
                   18940:       *) # Relative
                   18941:         if test -f "$f"; then
                   18942:           # Build tree
                   18943:           echo "$f"
                   18944:         elif test -f "$srcdir/$f"; then
                   18945:           # Source tree
                   18946:           echo "$srcdir/$f"
                   18947:         else
                   18948:           # /dev/null tree
                   18949:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   18950: echo "$as_me: error: cannot find input file: $f" >&2;}
                   18951:    { (exit 1); exit 1; }; }
                   18952:         fi;;
                   18953:       esac
                   18954:     done` || { (exit 1); exit 1; }
                   18955: _ACEOF
                   18956: cat >>$CONFIG_STATUS <<_ACEOF
                   18957:   sed "$ac_vpsub
                   18958: $extrasub
                   18959: _ACEOF
                   18960: cat >>$CONFIG_STATUS <<\_ACEOF
                   18961: :t
                   18962: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   18963: s,@configure_input@,$configure_input,;t t
                   18964: s,@srcdir@,$ac_srcdir,;t t
                   18965: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   18966: s,@top_srcdir@,$ac_top_srcdir,;t t
                   18967: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   18968: s,@builddir@,$ac_builddir,;t t
                   18969: s,@abs_builddir@,$ac_abs_builddir,;t t
                   18970: s,@top_builddir@,$ac_top_builddir,;t t
                   18971: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   18972: s,@INSTALL@,$ac_INSTALL,;t t
                   18973: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   18974:   rm -f $tmp/stdin
                   18975:   if test x"$ac_file" != x-; then
                   18976:     mv $tmp/out $ac_file
                   18977:   else
                   18978:     cat $tmp/out
                   18979:     rm -f $tmp/out
                   18980:   fi
                   18981: 
                   18982: done
                   18983: _ACEOF
                   18984: cat >>$CONFIG_STATUS <<\_ACEOF
                   18985: 
                   18986: #
                   18987: # CONFIG_HEADER section.
                   18988: #
                   18989: 
                   18990: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   18991: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   18992: #
                   18993: # ac_d sets the value in "#define NAME VALUE" lines.
                   18994: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   18995: ac_dB='[        ].*$,\1#\2'
                   18996: ac_dC=' '
                   18997: ac_dD=',;t'
                   18998: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   18999: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   19000: ac_uB='$,\1#\2define\3'
                   19001: ac_uC=' '
                   19002: ac_uD=',;t'
                   19003: 
                   19004: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
                   19005:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   19006:   case $ac_file in
                   19007:   - | *:- | *:-:* ) # input from stdin
                   19008:        cat >$tmp/stdin
                   19009:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19010:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   19011:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19012:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   19013:   * )   ac_file_in=$ac_file.in ;;
                   19014:   esac
                   19015: 
                   19016:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   19017: echo "$as_me: creating $ac_file" >&6;}
                   19018: 
                   19019:   # First look for the input files in the build tree, otherwise in the
                   19020:   # src tree.
                   19021:   ac_file_inputs=`IFS=:
                   19022:     for f in $ac_file_in; do
                   19023:       case $f in
                   19024:       -) echo $tmp/stdin ;;
                   19025:       [\\/$]*)
                   19026:         # Absolute (can't be DOS-style, as IFS=:)
                   19027:         test -f "$f" || { { 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:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   19031:         echo "$f";;
                   19032:       *) # Relative
                   19033:         if test -f "$f"; then
                   19034:           # Build tree
                   19035:           echo "$f"
                   19036:         elif test -f "$srcdir/$f"; then
                   19037:           # Source tree
                   19038:           echo "$srcdir/$f"
                   19039:         else
                   19040:           # /dev/null tree
                   19041:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19042: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19043:    { (exit 1); exit 1; }; }
                   19044:         fi;;
                   19045:       esac
                   19046:     done` || { (exit 1); exit 1; }
                   19047:   # Remove the trailing spaces.
                   19048:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
                   19049: 
                   19050: _ACEOF
                   19051: 
                   19052: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   19053: # `conftest.undefs', that substitutes the proper values into
                   19054: # config.h.in to produce config.h.  The first handles `#define'
                   19055: # templates, and the second `#undef' templates.
                   19056: # And first: Protect against being on the right side of a sed subst in
                   19057: # config.status.  Protect against being in an unquoted here document
                   19058: # in config.status.
                   19059: rm -f conftest.defines conftest.undefs
                   19060: # Using a here document instead of a string reduces the quoting nightmare.
                   19061: # Putting comments in sed scripts is not portable.
                   19062: #
                   19063: # `end' is used to avoid that the second main sed command (meant for
                   19064: # 0-ary CPP macros) applies to n-ary macro definitions.
                   19065: # See the Autoconf documentation for `clear'.
                   19066: cat >confdef2sed.sed <<\_ACEOF
                   19067: s/[\\&,]/\\&/g
                   19068: s,[\\$`],\\&,g
                   19069: t clear
                   19070: : clear
                   19071: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   19072: t end
                   19073: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   19074: : end
                   19075: _ACEOF
                   19076: # If some macros were called several times there might be several times
                   19077: # the same #defines, which is useless.  Nevertheless, we may not want to
                   19078: # sort them, since we want the *last* AC-DEFINE to be honored.
                   19079: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   19080: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   19081: rm -f confdef2sed.sed
                   19082: 
                   19083: # This sed command replaces #undef with comments.  This is necessary, for
                   19084: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   19085: # on some systems where configure will not decide to define it.
                   19086: cat >>conftest.undefs <<\_ACEOF
                   19087: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   19088: _ACEOF
                   19089: 
                   19090: # Break up conftest.defines because some shells have a limit on the size
                   19091: # of here documents, and old seds have small limits too (100 cmds).
                   19092: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   19093: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   19094: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   19095: echo '  :' >>$CONFIG_STATUS
                   19096: rm -f conftest.tail
                   19097: while grep . conftest.defines >/dev/null
                   19098: do
                   19099:   # Write a limited-size here document to $tmp/defines.sed.
                   19100:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   19101:   # Speed up: don't consider the non `#define' lines.
                   19102:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   19103:   # Work around the forget-to-reset-the-flag bug.
                   19104:   echo 't clr' >>$CONFIG_STATUS
                   19105:   echo ': clr' >>$CONFIG_STATUS
                   19106:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   19107:   echo 'CEOF
                   19108:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   19109:   rm -f $tmp/in
                   19110:   mv $tmp/out $tmp/in
                   19111: ' >>$CONFIG_STATUS
                   19112:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   19113:   rm -f conftest.defines
                   19114:   mv conftest.tail conftest.defines
                   19115: done
                   19116: rm -f conftest.defines
                   19117: echo '  fi # grep' >>$CONFIG_STATUS
                   19118: echo >>$CONFIG_STATUS
                   19119: 
                   19120: # Break up conftest.undefs because some shells have a limit on the size
                   19121: # of here documents, and old seds have small limits too (100 cmds).
                   19122: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
                   19123: rm -f conftest.tail
                   19124: while grep . conftest.undefs >/dev/null
                   19125: do
                   19126:   # Write a limited-size here document to $tmp/undefs.sed.
                   19127:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   19128:   # Speed up: don't consider the non `#undef'
                   19129:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   19130:   # Work around the forget-to-reset-the-flag bug.
                   19131:   echo 't clr' >>$CONFIG_STATUS
                   19132:   echo ': clr' >>$CONFIG_STATUS
                   19133:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
                   19134:   echo 'CEOF
                   19135:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   19136:   rm -f $tmp/in
                   19137:   mv $tmp/out $tmp/in
                   19138: ' >>$CONFIG_STATUS
                   19139:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   19140:   rm -f conftest.undefs
                   19141:   mv conftest.tail conftest.undefs
                   19142: done
                   19143: rm -f conftest.undefs
                   19144: 
                   19145: cat >>$CONFIG_STATUS <<\_ACEOF
                   19146:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19147:   # use $as_me), people would be surprised to read:
                   19148:   #    /* config.h.  Generated by config.status.  */
                   19149:   if test x"$ac_file" = x-; then
                   19150:     echo "/* Generated by configure.  */" >$tmp/config.h
                   19151:   else
                   19152:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   19153:   fi
                   19154:   cat $tmp/in >>$tmp/config.h
                   19155:   rm -f $tmp/in
                   19156:   if test x"$ac_file" != x-; then
                   19157:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   19158:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   19159: echo "$as_me: $ac_file is unchanged" >&6;}
                   19160:     else
                   19161:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   19162: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19163:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19164:         X"$ac_file" : 'X\(//\)$' \| \
                   19165:         X"$ac_file" : 'X\(/\)' \| \
                   19166:         .     : '\(.\)' 2>/dev/null ||
                   19167: echo X"$ac_file" |
                   19168:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19169:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19170:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19171:          /^X\(\/\).*/{ s//\1/; q; }
                   19172:          s/.*/./; q'`
                   19173:       { if $as_mkdir_p; then
                   19174:     mkdir -p "$ac_dir"
                   19175:   else
                   19176:     as_dir="$ac_dir"
                   19177:     as_dirs=
                   19178:     while test ! -d "$as_dir"; do
                   19179:       as_dirs="$as_dir $as_dirs"
                   19180:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19181: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19182:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19183:         X"$as_dir" : 'X\(//\)$' \| \
                   19184:         X"$as_dir" : 'X\(/\)' \| \
                   19185:         .     : '\(.\)' 2>/dev/null ||
                   19186: echo X"$as_dir" |
                   19187:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19188:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19189:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19190:          /^X\(\/\).*/{ s//\1/; q; }
                   19191:          s/.*/./; q'`
                   19192:     done
                   19193:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19194:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   19195: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   19196:    { (exit 1); exit 1; }; }; }
                   19197: 
                   19198:       rm -f $ac_file
                   19199:       mv $tmp/config.h $ac_file
                   19200:     fi
                   19201:   else
                   19202:     cat $tmp/config.h
                   19203:     rm -f $tmp/config.h
                   19204:   fi
                   19205: # Compute $ac_file's index in $config_headers.
                   19206: _am_stamp_count=1
                   19207: for _am_header in $config_headers :; do
                   19208:   case $_am_header in
                   19209:     $ac_file | $ac_file:* )
                   19210:       break ;;
                   19211:     * )
                   19212:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19213:   esac
                   19214: done
                   19215: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   19216: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19217:         X$ac_file : 'X\(//\)[^/]' \| \
                   19218:         X$ac_file : 'X\(//\)$' \| \
                   19219:         X$ac_file : 'X\(/\)' \| \
                   19220:         .     : '\(.\)' 2>/dev/null ||
                   19221: echo X$ac_file |
                   19222:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19223:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19224:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19225:          /^X\(\/\).*/{ s//\1/; q; }
                   19226:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   19227: done
                   19228: _ACEOF
                   19229: cat >>$CONFIG_STATUS <<\_ACEOF
                   19230: 
                   19231: #
                   19232: # CONFIG_COMMANDS section.
                   19233: #
                   19234: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   19235:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   19236:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19237:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   19238: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19239:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   19240:         X"$ac_dest" : 'X\(//\)$' \| \
                   19241:         X"$ac_dest" : 'X\(/\)' \| \
                   19242:         .     : '\(.\)' 2>/dev/null ||
                   19243: echo X"$ac_dest" |
                   19244:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19245:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19246:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19247:          /^X\(\/\).*/{ s//\1/; q; }
                   19248:          s/.*/./; q'`
                   19249:   { if $as_mkdir_p; then
                   19250:     mkdir -p "$ac_dir"
                   19251:   else
                   19252:     as_dir="$ac_dir"
                   19253:     as_dirs=
                   19254:     while test ! -d "$as_dir"; do
                   19255:       as_dirs="$as_dir $as_dirs"
                   19256:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19257: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19258:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19259:         X"$as_dir" : 'X\(//\)$' \| \
                   19260:         X"$as_dir" : 'X\(/\)' \| \
                   19261:         .     : '\(.\)' 2>/dev/null ||
                   19262: echo X"$as_dir" |
                   19263:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19264:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19265:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19266:          /^X\(\/\).*/{ s//\1/; q; }
                   19267:          s/.*/./; q'`
                   19268:     done
                   19269:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19270:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   19271: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   19272:    { (exit 1); exit 1; }; }; }
                   19273: 
                   19274:   ac_builddir=.
                   19275: 
                   19276: if test "$ac_dir" != .; then
                   19277:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   19278:   # A "../" for each directory in $ac_dir_suffix.
                   19279:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   19280: else
                   19281:   ac_dir_suffix= ac_top_builddir=
                   19282: fi
                   19283: 
                   19284: case $srcdir in
                   19285:   .)  # No --srcdir option.  We are building in place.
                   19286:     ac_srcdir=.
                   19287:     if test -z "$ac_top_builddir"; then
                   19288:        ac_top_srcdir=.
                   19289:     else
                   19290:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   19291:     fi ;;
                   19292:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   19293:     ac_srcdir=$srcdir$ac_dir_suffix;
                   19294:     ac_top_srcdir=$srcdir ;;
                   19295:   *) # Relative path.
                   19296:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   19297:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   19298: esac
                   19299: 
                   19300: # Do not use `cd foo && pwd` to compute absolute paths, because
                   19301: # the directories may not exist.
                   19302: case `pwd` in
                   19303: .) ac_abs_builddir="$ac_dir";;
                   19304: *)
                   19305:   case "$ac_dir" in
                   19306:   .) ac_abs_builddir=`pwd`;;
                   19307:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   19308:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   19309:   esac;;
                   19310: esac
                   19311: case $ac_abs_builddir in
                   19312: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19313: *)
                   19314:   case ${ac_top_builddir}. in
                   19315:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   19316:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19317:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   19318:   esac;;
                   19319: esac
                   19320: case $ac_abs_builddir in
                   19321: .) ac_abs_srcdir=$ac_srcdir;;
                   19322: *)
                   19323:   case $ac_srcdir in
                   19324:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   19325:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   19326:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   19327:   esac;;
                   19328: esac
                   19329: case $ac_abs_builddir in
                   19330: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19331: *)
                   19332:   case $ac_top_srcdir in
                   19333:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   19334:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19335:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   19336:   esac;;
                   19337: esac
                   19338: 
                   19339: 
                   19340:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   19341: echo "$as_me: executing $ac_dest commands" >&6;}
                   19342:   case $ac_dest in
                   19343:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   19344:   # Strip MF so we end up with the name of the file.
                   19345:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   19346:   # Check whether this is an Automake generated Makefile or not.
                   19347:   # We used to match only the files named `Makefile.in', but
                   19348:   # some people rename them; so instead we look at the file content.
                   19349:   # Grep'ing the first line is not enough: some people post-process
                   19350:   # each Makefile.in and add a new line on top of each file to say so.
                   19351:   # So let's grep whole file.
                   19352:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   19353:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   19354: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19355:         X"$mf" : 'X\(//\)[^/]' \| \
                   19356:         X"$mf" : 'X\(//\)$' \| \
                   19357:         X"$mf" : 'X\(/\)' \| \
                   19358:         .     : '\(.\)' 2>/dev/null ||
                   19359: echo X"$mf" |
                   19360:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19361:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19362:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19363:          /^X\(\/\).*/{ s//\1/; q; }
                   19364:          s/.*/./; q'`
                   19365:   else
                   19366:     continue
                   19367:   fi
                   19368:   # Extract the definition of DEPDIR, am__include, and am__quote
                   19369:   # from the Makefile without running `make'.
                   19370:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   19371:   test -z "$DEPDIR" && continue
                   19372:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   19373:   test -z "am__include" && continue
                   19374:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   19375:   # When using ansi2knr, U may be empty or an underscore; expand it
                   19376:   U=`sed -n 's/^U = //p' < "$mf"`
                   19377:   # Find all dependency output files, they are included files with
                   19378:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   19379:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   19380:   # expansion.
                   19381:   for file in `sed -n "
                   19382:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   19383:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   19384:     # Make sure the directory exists.
                   19385:     test -f "$dirpart/$file" && continue
                   19386:     fdir=`(dirname "$file") 2>/dev/null ||
                   19387: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19388:         X"$file" : 'X\(//\)[^/]' \| \
                   19389:         X"$file" : 'X\(//\)$' \| \
                   19390:         X"$file" : 'X\(/\)' \| \
                   19391:         .     : '\(.\)' 2>/dev/null ||
                   19392: echo X"$file" |
                   19393:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19394:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19395:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19396:          /^X\(\/\).*/{ s//\1/; q; }
                   19397:          s/.*/./; q'`
                   19398:     { if $as_mkdir_p; then
                   19399:     mkdir -p $dirpart/$fdir
                   19400:   else
                   19401:     as_dir=$dirpart/$fdir
                   19402:     as_dirs=
                   19403:     while test ! -d "$as_dir"; do
                   19404:       as_dirs="$as_dir $as_dirs"
                   19405:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19406: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19407:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19408:         X"$as_dir" : 'X\(//\)$' \| \
                   19409:         X"$as_dir" : 'X\(/\)' \| \
                   19410:         .     : '\(.\)' 2>/dev/null ||
                   19411: echo X"$as_dir" |
                   19412:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19413:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19414:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19415:          /^X\(\/\).*/{ s//\1/; q; }
                   19416:          s/.*/./; q'`
                   19417:     done
                   19418:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19419:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   19420: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   19421:    { (exit 1); exit 1; }; }; }
                   19422: 
                   19423:     # echo "creating $dirpart/$file"
                   19424:     echo '# dummy' > "$dirpart/$file"
                   19425:   done
                   19426: done
                   19427:  ;;
                   19428:     libtool )
                   19429: 
                   19430:     # See if we are running on zsh, and set the options which allow our
                   19431:     # commands through without removal of \ escapes.
                   19432:     if test -n "${ZSH_VERSION+set}" ; then
                   19433:       setopt NO_GLOB_SUBST
                   19434:     fi
                   19435: 
                   19436:     cfgfile="${ofile}T"
                   19437:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19438:     $RM "$cfgfile"
                   19439: 
                   19440:     cat <<_LT_EOF >> "$cfgfile"
                   19441: #! $SHELL
                   19442: 
                   19443: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19444: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19445: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19446: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19447: #
                   19448: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19449: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19450: #                 Foundation, Inc.
                   19451: #   Written by Gordon Matzigkeit, 1996
                   19452: #
                   19453: #   This file is part of GNU Libtool.
                   19454: #
                   19455: # GNU Libtool is free software; you can redistribute it and/or
                   19456: # modify it under the terms of the GNU General Public License as
                   19457: # published by the Free Software Foundation; either version 2 of
                   19458: # the License, or (at your option) any later version.
                   19459: #
                   19460: # As a special exception to the GNU General Public License,
                   19461: # if you distribute this file as part of a program or library that
                   19462: # is built using GNU Libtool, you may include this file under the
                   19463: # same distribution terms that you use for the rest of that program.
                   19464: #
                   19465: # GNU Libtool is distributed in the hope that it will be useful,
                   19466: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   19467: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   19468: # GNU General Public License for more details.
                   19469: #
                   19470: # You should have received a copy of the GNU General Public License
                   19471: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   19472: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   19473: # obtained by writing to the Free Software Foundation, Inc.,
                   19474: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   19475: 
                   19476: 
                   19477: # The names of the tagged configurations supported by this script.
                   19478: available_tags="CXX "
                   19479: 
                   19480: # ### BEGIN LIBTOOL CONFIG
                   19481: 
                   19482: # Which release of libtool.m4 was used?
                   19483: macro_version=$macro_version
                   19484: macro_revision=$macro_revision
                   19485: 
1.30    ! moko     19486: # Whether or not to build static libraries.
        !          19487: build_old_libs=$enable_static
        !          19488: 
1.23      moko     19489: # Assembler program.
                   19490: AS=$lt_AS
                   19491: 
                   19492: # DLL creation program.
                   19493: DLLTOOL=$lt_DLLTOOL
                   19494: 
                   19495: # Object dumper program.
                   19496: OBJDUMP=$lt_OBJDUMP
                   19497: 
                   19498: # Whether or not to build shared libraries.
                   19499: build_libtool_libs=$enable_shared
                   19500: 
                   19501: # What type of objects to build.
                   19502: pic_mode=$pic_mode
                   19503: 
                   19504: # Whether or not to optimize for fast installation.
                   19505: fast_install=$enable_fast_install
                   19506: 
                   19507: # Shell to use when invoking shell scripts.
                   19508: SHELL=$lt_SHELL
                   19509: 
                   19510: # An echo program that protects backslashes.
                   19511: ECHO=$lt_ECHO
                   19512: 
                   19513: # The PATH separator for the build system.
                   19514: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   19515: 
                   19516: # The host system.
                   19517: host_alias=$host_alias
                   19518: host=$host
                   19519: host_os=$host_os
                   19520: 
                   19521: # The build system.
                   19522: build_alias=$build_alias
                   19523: build=$build
                   19524: build_os=$build_os
                   19525: 
                   19526: # A sed program that does not truncate output.
                   19527: SED=$lt_SED
                   19528: 
                   19529: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   19530: Xsed="\$SED -e 1s/^X//"
                   19531: 
                   19532: # A grep program that handles long lines.
                   19533: GREP=$lt_GREP
                   19534: 
                   19535: # An ERE matcher.
                   19536: EGREP=$lt_EGREP
                   19537: 
                   19538: # A literal string matcher.
                   19539: FGREP=$lt_FGREP
                   19540: 
                   19541: # A BSD- or MS-compatible name lister.
                   19542: NM=$lt_NM
                   19543: 
                   19544: # Whether we need soft or hard links.
                   19545: LN_S=$lt_LN_S
                   19546: 
                   19547: # What is the maximum length of a command?
                   19548: max_cmd_len=$max_cmd_len
                   19549: 
                   19550: # Object file suffix (normally "o").
                   19551: objext=$ac_objext
                   19552: 
                   19553: # Executable file suffix (normally "").
                   19554: exeext=$exeext
                   19555: 
                   19556: # whether the shell understands "unset".
                   19557: lt_unset=$lt_unset
                   19558: 
                   19559: # turn spaces into newlines.
                   19560: SP2NL=$lt_lt_SP2NL
                   19561: 
                   19562: # turn newlines into spaces.
                   19563: NL2SP=$lt_lt_NL2SP
                   19564: 
                   19565: # convert \$build file names to \$host format.
                   19566: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   19567: 
                   19568: # convert \$build files to toolchain format.
                   19569: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   19570: 
                   19571: # Method to check whether dependent libraries are shared objects.
                   19572: deplibs_check_method=$lt_deplibs_check_method
                   19573: 
                   19574: # Command to use when deplibs_check_method = "file_magic".
                   19575: file_magic_cmd=$lt_file_magic_cmd
                   19576: 
                   19577: # How to find potential files when deplibs_check_method = "file_magic".
                   19578: file_magic_glob=$lt_file_magic_glob
                   19579: 
                   19580: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   19581: want_nocaseglob=$lt_want_nocaseglob
                   19582: 
                   19583: # Command to associate shared and link libraries.
                   19584: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   19585: 
                   19586: # The archiver.
                   19587: AR=$lt_AR
                   19588: 
                   19589: # Flags to create an archive.
                   19590: AR_FLAGS=$lt_AR_FLAGS
                   19591: 
                   19592: # How to feed a file listing to the archiver.
                   19593: archiver_list_spec=$lt_archiver_list_spec
                   19594: 
                   19595: # A symbol stripping program.
                   19596: STRIP=$lt_STRIP
                   19597: 
                   19598: # Commands used to install an old-style archive.
                   19599: RANLIB=$lt_RANLIB
                   19600: old_postinstall_cmds=$lt_old_postinstall_cmds
                   19601: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   19602: 
                   19603: # Whether to use a lock for old archive extraction.
                   19604: lock_old_archive_extraction=$lock_old_archive_extraction
                   19605: 
                   19606: # A C compiler.
                   19607: LTCC=$lt_CC
                   19608: 
                   19609: # LTCC compiler flags.
                   19610: LTCFLAGS=$lt_CFLAGS
                   19611: 
                   19612: # Take the output of nm and produce a listing of raw symbols and C names.
                   19613: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   19614: 
                   19615: # Transform the output of nm in a proper C declaration.
                   19616: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   19617: 
                   19618: # Transform the output of nm in a C name address pair.
                   19619: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   19620: 
                   19621: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   19622: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   19623: 
                   19624: # Specify filename containing input files for \$NM.
                   19625: nm_file_list_spec=$lt_nm_file_list_spec
                   19626: 
                   19627: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   19628: lt_sysroot=$lt_sysroot
                   19629: 
                   19630: # The name of the directory that contains temporary libtool files.
                   19631: objdir=$objdir
                   19632: 
                   19633: # Used to examine libraries when file_magic_cmd begins with "file".
                   19634: MAGIC_CMD=$MAGIC_CMD
                   19635: 
                   19636: # Must we lock files when doing compilation?
                   19637: need_locks=$lt_need_locks
                   19638: 
                   19639: # Manifest tool.
                   19640: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   19641: 
                   19642: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   19643: DSYMUTIL=$lt_DSYMUTIL
                   19644: 
                   19645: # Tool to change global to local symbols on Mac OS X.
                   19646: NMEDIT=$lt_NMEDIT
                   19647: 
                   19648: # Tool to manipulate fat objects and archives on Mac OS X.
                   19649: LIPO=$lt_LIPO
                   19650: 
                   19651: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   19652: OTOOL=$lt_OTOOL
                   19653: 
                   19654: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   19655: OTOOL64=$lt_OTOOL64
                   19656: 
                   19657: # Old archive suffix (normally "a").
                   19658: libext=$libext
                   19659: 
                   19660: # Shared library suffix (normally ".so").
                   19661: shrext_cmds=$lt_shrext_cmds
                   19662: 
                   19663: # The commands to extract the exported symbol list from a shared archive.
                   19664: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   19665: 
                   19666: # Variables whose values should be saved in libtool wrapper scripts and
                   19667: # restored at link time.
                   19668: variables_saved_for_relink=$lt_variables_saved_for_relink
                   19669: 
                   19670: # Do we need the "lib" prefix for modules?
                   19671: need_lib_prefix=$need_lib_prefix
                   19672: 
                   19673: # Do we need a version for libraries?
                   19674: need_version=$need_version
                   19675: 
                   19676: # Library versioning type.
                   19677: version_type=$version_type
                   19678: 
                   19679: # Shared library runtime path variable.
                   19680: runpath_var=$runpath_var
                   19681: 
                   19682: # Shared library path variable.
                   19683: shlibpath_var=$shlibpath_var
                   19684: 
                   19685: # Is shlibpath searched before the hard-coded library search path?
                   19686: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   19687: 
                   19688: # Format of library name prefix.
                   19689: libname_spec=$lt_libname_spec
                   19690: 
                   19691: # List of archive names.  First name is the real one, the rest are links.
                   19692: # The last name is the one that the linker finds with -lNAME
                   19693: library_names_spec=$lt_library_names_spec
                   19694: 
                   19695: # The coded name of the library, if different from the real name.
                   19696: soname_spec=$lt_soname_spec
                   19697: 
                   19698: # Permission mode override for installation of shared libraries.
                   19699: install_override_mode=$lt_install_override_mode
                   19700: 
                   19701: # Command to use after installation of a shared archive.
                   19702: postinstall_cmds=$lt_postinstall_cmds
                   19703: 
                   19704: # Command to use after uninstallation of a shared archive.
                   19705: postuninstall_cmds=$lt_postuninstall_cmds
                   19706: 
                   19707: # Commands used to finish a libtool library installation in a directory.
                   19708: finish_cmds=$lt_finish_cmds
                   19709: 
                   19710: # As "finish_cmds", except a single script fragment to be evaled but
                   19711: # not shown.
                   19712: finish_eval=$lt_finish_eval
                   19713: 
                   19714: # Whether we should hardcode library paths into libraries.
                   19715: hardcode_into_libs=$hardcode_into_libs
                   19716: 
                   19717: # Compile-time system search path for libraries.
                   19718: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   19719: 
                   19720: # Run-time system search path for libraries.
                   19721: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   19722: 
                   19723: # Whether dlopen is supported.
                   19724: dlopen_support=$enable_dlopen
                   19725: 
                   19726: # Whether dlopen of programs is supported.
                   19727: dlopen_self=$enable_dlopen_self
                   19728: 
                   19729: # Whether dlopen of statically linked programs is supported.
                   19730: dlopen_self_static=$enable_dlopen_self_static
                   19731: 
                   19732: # Commands to strip libraries.
                   19733: old_striplib=$lt_old_striplib
                   19734: striplib=$lt_striplib
                   19735: 
                   19736: 
                   19737: # The linker used to build libraries.
                   19738: LD=$lt_LD
                   19739: 
                   19740: # How to create reloadable object files.
                   19741: reload_flag=$lt_reload_flag
                   19742: reload_cmds=$lt_reload_cmds
                   19743: 
                   19744: # Commands used to build an old-style archive.
                   19745: old_archive_cmds=$lt_old_archive_cmds
                   19746: 
                   19747: # A language specific compiler.
                   19748: CC=$lt_compiler
                   19749: 
                   19750: # Is the compiler the GNU compiler?
                   19751: with_gcc=$GCC
                   19752: 
                   19753: # Compiler flag to turn off builtin functions.
                   19754: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   19755: 
                   19756: # Additional compiler flags for building library objects.
                   19757: pic_flag=$lt_lt_prog_compiler_pic
                   19758: 
                   19759: # How to pass a linker flag through the compiler.
                   19760: wl=$lt_lt_prog_compiler_wl
                   19761: 
                   19762: # Compiler flag to prevent dynamic linking.
                   19763: link_static_flag=$lt_lt_prog_compiler_static
                   19764: 
                   19765: # Does compiler simultaneously support -c and -o options?
                   19766: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   19767: 
                   19768: # Whether or not to add -lc for building shared libraries.
                   19769: build_libtool_need_lc=$archive_cmds_need_lc
                   19770: 
                   19771: # Whether or not to disallow shared libs when runtime libs are static.
                   19772: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   19773: 
                   19774: # Compiler flag to allow reflexive dlopens.
                   19775: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   19776: 
                   19777: # Compiler flag to generate shared objects directly from archives.
                   19778: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   19779: 
                   19780: # Whether the compiler copes with passing no objects directly.
                   19781: compiler_needs_object=$lt_compiler_needs_object
                   19782: 
                   19783: # Create an old-style archive from a shared archive.
                   19784: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   19785: 
                   19786: # Create a temporary old-style archive to link instead of a shared archive.
                   19787: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   19788: 
                   19789: # Commands used to build a shared archive.
                   19790: archive_cmds=$lt_archive_cmds
                   19791: archive_expsym_cmds=$lt_archive_expsym_cmds
                   19792: 
                   19793: # Commands used to build a loadable module if different from building
                   19794: # a shared archive.
                   19795: module_cmds=$lt_module_cmds
                   19796: module_expsym_cmds=$lt_module_expsym_cmds
                   19797: 
                   19798: # Whether we are building with GNU ld or not.
                   19799: with_gnu_ld=$lt_with_gnu_ld
                   19800: 
                   19801: # Flag that allows shared libraries with undefined symbols to be built.
                   19802: allow_undefined_flag=$lt_allow_undefined_flag
                   19803: 
                   19804: # Flag that enforces no undefined symbols.
                   19805: no_undefined_flag=$lt_no_undefined_flag
                   19806: 
                   19807: # Flag to hardcode \$libdir into a binary during linking.
                   19808: # This must work even if \$libdir does not exist
                   19809: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   19810: 
                   19811: # Whether we need a single "-rpath" flag with a separated argument.
                   19812: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   19813: 
                   19814: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19815: # DIR into the resulting binary.
                   19816: hardcode_direct=$hardcode_direct
                   19817: 
                   19818: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19819: # DIR into the resulting binary and the resulting library dependency is
                   19820: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   19821: # library is relocated.
                   19822: hardcode_direct_absolute=$hardcode_direct_absolute
                   19823: 
                   19824: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   19825: # into the resulting binary.
                   19826: hardcode_minus_L=$hardcode_minus_L
                   19827: 
                   19828: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   19829: # into the resulting binary.
                   19830: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   19831: 
                   19832: # Set to "yes" if building a shared library automatically hardcodes DIR
                   19833: # into the library and all subsequent libraries and executables linked
                   19834: # against it.
                   19835: hardcode_automatic=$hardcode_automatic
                   19836: 
                   19837: # Set to yes if linker adds runtime paths of dependent libraries
                   19838: # to runtime path list.
                   19839: inherit_rpath=$inherit_rpath
                   19840: 
                   19841: # Whether libtool must link a program against all its dependency libraries.
                   19842: link_all_deplibs=$link_all_deplibs
                   19843: 
                   19844: # Set to "yes" if exported symbols are required.
                   19845: always_export_symbols=$always_export_symbols
                   19846: 
                   19847: # The commands to list exported symbols.
                   19848: export_symbols_cmds=$lt_export_symbols_cmds
                   19849: 
                   19850: # Symbols that should not be listed in the preloaded symbols.
                   19851: exclude_expsyms=$lt_exclude_expsyms
                   19852: 
                   19853: # Symbols that must always be exported.
                   19854: include_expsyms=$lt_include_expsyms
                   19855: 
                   19856: # Commands necessary for linking programs (against libraries) with templates.
                   19857: prelink_cmds=$lt_prelink_cmds
                   19858: 
                   19859: # Commands necessary for finishing linking programs.
                   19860: postlink_cmds=$lt_postlink_cmds
                   19861: 
                   19862: # Specify filename containing input files.
                   19863: file_list_spec=$lt_file_list_spec
                   19864: 
                   19865: # How to hardcode a shared library path into an executable.
                   19866: hardcode_action=$hardcode_action
                   19867: 
                   19868: # The directories searched by this compiler when creating a shared library.
                   19869: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   19870: 
                   19871: # Dependencies to place before and after the objects being linked to
                   19872: # create a shared library.
                   19873: predep_objects=$lt_predep_objects
                   19874: postdep_objects=$lt_postdep_objects
                   19875: predeps=$lt_predeps
                   19876: postdeps=$lt_postdeps
                   19877: 
                   19878: # The library search path used internally by the compiler when linking
                   19879: # a shared library.
                   19880: compiler_lib_search_path=$lt_compiler_lib_search_path
                   19881: 
                   19882: # ### END LIBTOOL CONFIG
                   19883: 
                   19884: _LT_EOF
                   19885: 
                   19886:   case $host_os in
                   19887:   aix3*)
                   19888:     cat <<\_LT_EOF >> "$cfgfile"
                   19889: # AIX sometimes has problems with the GCC collect2 program.  For some
                   19890: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   19891: # vanish in a puff of smoke.
                   19892: if test "X${COLLECT_NAMES+set}" != Xset; then
                   19893:   COLLECT_NAMES=
                   19894:   export COLLECT_NAMES
                   19895: fi
                   19896: _LT_EOF
                   19897:     ;;
                   19898:   esac
                   19899: 
                   19900: 
                   19901: ltmain="$ac_aux_dir/ltmain.sh"
1.1       parser   19902: 
1.16      paf      19903: 
1.23      moko     19904:   # We use sed instead of cat because bash on DJGPP gets confused if
                   19905:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   19906:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   19907:   # is reportedly fixed, but why not run on old versions too?
                   19908:   sed '$q' "$ltmain" >> "$cfgfile" \
                   19909:      || (rm -f "$cfgfile"; exit 1)
1.10      paf      19910: 
1.23      moko     19911:   if test x"$xsi_shell" = xyes; then
                   19912:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   19913: func_dirname ()\
                   19914: {\
                   19915: \    case ${1} in\
                   19916: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   19917: \      *  ) func_dirname_result="${3}" ;;\
                   19918: \    esac\
                   19919: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   19920:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19921:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19922: test 0 -eq $? || _lt_function_replace_fail=:
                   19923: 
                   19924: 
                   19925:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   19926: func_basename ()\
                   19927: {\
                   19928: \    func_basename_result="${1##*/}"\
                   19929: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   19930:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19931:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19932: test 0 -eq $? || _lt_function_replace_fail=:
                   19933: 
                   19934: 
                   19935:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   19936: func_dirname_and_basename ()\
                   19937: {\
                   19938: \    case ${1} in\
                   19939: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   19940: \      *  ) func_dirname_result="${3}" ;;\
                   19941: \    esac\
                   19942: \    func_basename_result="${1##*/}"\
                   19943: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   19944:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19945:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19946: test 0 -eq $? || _lt_function_replace_fail=:
                   19947: 
                   19948: 
                   19949:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   19950: func_stripname ()\
                   19951: {\
                   19952: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   19953: \    # positional parameters, so assign one to ordinary parameter first.\
                   19954: \    func_stripname_result=${3}\
                   19955: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   19956: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   19957: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   19958:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19959:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19960: test 0 -eq $? || _lt_function_replace_fail=:
                   19961: 
                   19962: 
                   19963:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   19964: func_split_long_opt ()\
                   19965: {\
                   19966: \    func_split_long_opt_name=${1%%=*}\
                   19967: \    func_split_long_opt_arg=${1#*=}\
                   19968: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   19969:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19970:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19971: test 0 -eq $? || _lt_function_replace_fail=:
                   19972: 
                   19973: 
                   19974:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   19975: func_split_short_opt ()\
                   19976: {\
                   19977: \    func_split_short_opt_arg=${1#??}\
                   19978: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   19979: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   19980:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19981:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19982: test 0 -eq $? || _lt_function_replace_fail=:
                   19983: 
                   19984: 
                   19985:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   19986: func_lo2o ()\
                   19987: {\
                   19988: \    case ${1} in\
                   19989: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   19990: \      *)    func_lo2o_result=${1} ;;\
                   19991: \    esac\
                   19992: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   19993:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19994:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19995: test 0 -eq $? || _lt_function_replace_fail=:
                   19996: 
                   19997: 
                   19998:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   19999: func_xform ()\
                   20000: {\
                   20001:     func_xform_result=${1%.*}.lo\
                   20002: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20003:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20004:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20005: test 0 -eq $? || _lt_function_replace_fail=:
                   20006: 
                   20007: 
                   20008:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20009: func_arith ()\
                   20010: {\
                   20011:     func_arith_result=$(( $* ))\
                   20012: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20013:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20014:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20015: test 0 -eq $? || _lt_function_replace_fail=:
                   20016: 
                   20017: 
                   20018:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20019: func_len ()\
                   20020: {\
                   20021:     func_len_result=${#1}\
                   20022: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20023:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20024:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20025: test 0 -eq $? || _lt_function_replace_fail=:
                   20026: 
                   20027: fi
                   20028: 
                   20029: if test x"$lt_shell_append" = xyes; then
                   20030:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20031: func_append ()\
                   20032: {\
                   20033:     eval "${1}+=\\${2}"\
                   20034: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20035:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20036:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20037: test 0 -eq $? || _lt_function_replace_fail=:
                   20038: 
                   20039: 
                   20040:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20041: func_append_quoted ()\
                   20042: {\
                   20043: \    func_quote_for_eval "${2}"\
                   20044: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20045: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20046:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20047:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20048: test 0 -eq $? || _lt_function_replace_fail=:
                   20049: 
                   20050: 
                   20051:   # Save a `func_append' function call where possible by direct use of '+='
                   20052:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20053:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20054:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20055:   test 0 -eq $? || _lt_function_replace_fail=:
                   20056: else
                   20057:   # Save a `func_append' function call even when '+=' is not available
                   20058:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20059:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20060:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20061:   test 0 -eq $? || _lt_function_replace_fail=:
                   20062: fi
                   20063: 
                   20064: if test x"$_lt_function_replace_fail" = x":"; then
                   20065:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20066: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.10      paf      20067: fi
                   20068: 
1.16      paf      20069: 
1.23      moko     20070:    mv -f "$cfgfile" "$ofile" ||
                   20071:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20072:   chmod +x "$ofile"
                   20073: 
                   20074: 
                   20075:     cat <<_LT_EOF >> "$ofile"
                   20076: 
                   20077: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20078: 
                   20079: # The linker used to build libraries.
                   20080: LD=$lt_LD_CXX
                   20081: 
                   20082: # How to create reloadable object files.
                   20083: reload_flag=$lt_reload_flag_CXX
                   20084: reload_cmds=$lt_reload_cmds_CXX
                   20085: 
                   20086: # Commands used to build an old-style archive.
                   20087: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20088: 
                   20089: # A language specific compiler.
                   20090: CC=$lt_compiler_CXX
                   20091: 
                   20092: # Is the compiler the GNU compiler?
                   20093: with_gcc=$GCC_CXX
                   20094: 
                   20095: # Compiler flag to turn off builtin functions.
                   20096: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20097: 
                   20098: # Additional compiler flags for building library objects.
                   20099: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20100: 
                   20101: # How to pass a linker flag through the compiler.
                   20102: wl=$lt_lt_prog_compiler_wl_CXX
                   20103: 
                   20104: # Compiler flag to prevent dynamic linking.
                   20105: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20106: 
                   20107: # Does compiler simultaneously support -c and -o options?
                   20108: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20109: 
                   20110: # Whether or not to add -lc for building shared libraries.
                   20111: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20112: 
                   20113: # Whether or not to disallow shared libs when runtime libs are static.
                   20114: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20115: 
                   20116: # Compiler flag to allow reflexive dlopens.
                   20117: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20118: 
                   20119: # Compiler flag to generate shared objects directly from archives.
                   20120: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20121: 
                   20122: # Whether the compiler copes with passing no objects directly.
                   20123: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20124: 
                   20125: # Create an old-style archive from a shared archive.
                   20126: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20127: 
                   20128: # Create a temporary old-style archive to link instead of a shared archive.
                   20129: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20130: 
                   20131: # Commands used to build a shared archive.
                   20132: archive_cmds=$lt_archive_cmds_CXX
                   20133: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20134: 
                   20135: # Commands used to build a loadable module if different from building
                   20136: # a shared archive.
                   20137: module_cmds=$lt_module_cmds_CXX
                   20138: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20139: 
                   20140: # Whether we are building with GNU ld or not.
                   20141: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20142: 
                   20143: # Flag that allows shared libraries with undefined symbols to be built.
                   20144: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20145: 
                   20146: # Flag that enforces no undefined symbols.
                   20147: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20148: 
                   20149: # Flag to hardcode \$libdir into a binary during linking.
                   20150: # This must work even if \$libdir does not exist
                   20151: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20152: 
                   20153: # Whether we need a single "-rpath" flag with a separated argument.
                   20154: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20155: 
                   20156: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20157: # DIR into the resulting binary.
                   20158: hardcode_direct=$hardcode_direct_CXX
                   20159: 
                   20160: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20161: # DIR into the resulting binary and the resulting library dependency is
                   20162: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20163: # library is relocated.
                   20164: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20165: 
                   20166: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20167: # into the resulting binary.
                   20168: hardcode_minus_L=$hardcode_minus_L_CXX
                   20169: 
                   20170: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20171: # into the resulting binary.
                   20172: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20173: 
                   20174: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20175: # into the library and all subsequent libraries and executables linked
                   20176: # against it.
                   20177: hardcode_automatic=$hardcode_automatic_CXX
                   20178: 
                   20179: # Set to yes if linker adds runtime paths of dependent libraries
                   20180: # to runtime path list.
                   20181: inherit_rpath=$inherit_rpath_CXX
                   20182: 
                   20183: # Whether libtool must link a program against all its dependency libraries.
                   20184: link_all_deplibs=$link_all_deplibs_CXX
                   20185: 
                   20186: # Set to "yes" if exported symbols are required.
                   20187: always_export_symbols=$always_export_symbols_CXX
                   20188: 
                   20189: # The commands to list exported symbols.
                   20190: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20191: 
                   20192: # Symbols that should not be listed in the preloaded symbols.
                   20193: exclude_expsyms=$lt_exclude_expsyms_CXX
                   20194: 
                   20195: # Symbols that must always be exported.
                   20196: include_expsyms=$lt_include_expsyms_CXX
                   20197: 
                   20198: # Commands necessary for linking programs (against libraries) with templates.
                   20199: prelink_cmds=$lt_prelink_cmds_CXX
                   20200: 
                   20201: # Commands necessary for finishing linking programs.
                   20202: postlink_cmds=$lt_postlink_cmds_CXX
                   20203: 
                   20204: # Specify filename containing input files.
                   20205: file_list_spec=$lt_file_list_spec_CXX
                   20206: 
                   20207: # How to hardcode a shared library path into an executable.
                   20208: hardcode_action=$hardcode_action_CXX
                   20209: 
                   20210: # The directories searched by this compiler when creating a shared library.
                   20211: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
1.10      paf      20212: 
1.23      moko     20213: # Dependencies to place before and after the objects being linked to
                   20214: # create a shared library.
                   20215: predep_objects=$lt_predep_objects_CXX
                   20216: postdep_objects=$lt_postdep_objects_CXX
                   20217: predeps=$lt_predeps_CXX
                   20218: postdeps=$lt_postdeps_CXX
                   20219: 
                   20220: # The library search path used internally by the compiler when linking
                   20221: # a shared library.
                   20222: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1.10      paf      20223: 
1.23      moko     20224: # ### END LIBTOOL TAG CONFIG: CXX
                   20225: _LT_EOF
1.1       parser   20226: 
1.10      paf      20227:  ;;
                   20228:   esac
                   20229: done
                   20230: _ACEOF
1.1       parser   20231: 
1.10      paf      20232: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   20233: 
1.10      paf      20234: { (exit 0); exit 0; }
                   20235: _ACEOF
1.1       parser   20236: chmod +x $CONFIG_STATUS
1.10      paf      20237: ac_clean_files=$ac_clean_files_save
                   20238: 
                   20239: 
                   20240: # configure is writing to config.log, and then calls config.status.
                   20241: # config.status does its own redirection, appending to config.log.
                   20242: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20243: # by configure, so config.status won't be able to write to it; its
                   20244: # output is simply discarded.  So we exec the FD to /dev/null,
                   20245: # effectively closing config.log, so it can be properly (re)opened and
                   20246: # appended to by config.status.  When coming back to configure, we
                   20247: # need to make the FD available again.
                   20248: if test "$no_create" != yes; then
                   20249:   ac_cs_success=:
                   20250:   ac_config_status_args=
                   20251:   test "$silent" = yes &&
                   20252:     ac_config_status_args="$ac_config_status_args --quiet"
                   20253:   exec 5>/dev/null
                   20254:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20255:   exec 5>>config.log
                   20256:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20257:   # would make configure fail if this is the last instruction.
                   20258:   $ac_cs_success || { (exit 1); exit 1; }
                   20259: fi
1.1       parser   20260: 
1.10      paf      20261: #
                   20262: # CONFIG_SUBDIRS section.
                   20263: #
1.1       parser   20264: if test "$no_recursion" != yes; then
                   20265: 
                   20266:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   20267:   ac_sub_configure_args=
                   20268:   ac_prev=
                   20269:   for ac_arg in $ac_configure_args; do
                   20270:     if test -n "$ac_prev"; then
                   20271:       ac_prev=
                   20272:       continue
                   20273:     fi
1.10      paf      20274:     case $ac_arg in
1.1       parser   20275:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20276:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20277:       ac_prev=cache_file ;;
                   20278:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.10      paf      20279:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20280:     | --c=*)
                   20281:       ;;
                   20282:     --config-cache | -C)
1.1       parser   20283:       ;;
                   20284:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20285:       ac_prev=srcdir ;;
                   20286:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20287:       ;;
1.10      paf      20288:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20289:       ac_prev=prefix ;;
                   20290:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20291:       ;;
1.1       parser   20292:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   20293:     esac
                   20294:   done
                   20295: 
1.10      paf      20296:   # Always prepend --prefix to ensure using the same prefix
                   20297:   # in subdir configurations.
                   20298:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   20299: 
                   20300:   ac_popdir=`pwd`
                   20301:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       parser   20302: 
                   20303:     # Do not complain, so a configure script can configure whichever
                   20304:     # parts of a large source tree are present.
1.10      paf      20305:     test -d $srcdir/$ac_dir || continue
1.1       parser   20306: 
1.10      paf      20307:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   20308: echo "$as_me: configuring in $ac_dir" >&6;}
                   20309:     { if $as_mkdir_p; then
                   20310:     mkdir -p "$ac_dir"
                   20311:   else
                   20312:     as_dir="$ac_dir"
                   20313:     as_dirs=
                   20314:     while test ! -d "$as_dir"; do
                   20315:       as_dirs="$as_dir $as_dirs"
                   20316:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   20317: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.16      paf      20318:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   20319:         X"$as_dir" : 'X\(//\)$' \| \
                   20320:         X"$as_dir" : 'X\(/\)' \| \
                   20321:         .     : '\(.\)' 2>/dev/null ||
1.10      paf      20322: echo X"$as_dir" |
                   20323:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   20324:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   20325:          /^X\(\/\/\)$/{ s//\1/; q; }
                   20326:          /^X\(\/\).*/{ s//\1/; q; }
                   20327:          s/.*/./; q'`
                   20328:     done
                   20329:     test ! -n "$as_dirs" || mkdir $as_dirs
                   20330:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   20331: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   20332:    { (exit 1); exit 1; }; }; }
                   20333: 
                   20334:     ac_builddir=.
                   20335: 
                   20336: if test "$ac_dir" != .; then
                   20337:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   20338:   # A "../" for each directory in $ac_dir_suffix.
                   20339:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   20340: else
                   20341:   ac_dir_suffix= ac_top_builddir=
                   20342: fi
                   20343: 
                   20344: case $srcdir in
                   20345:   .)  # No --srcdir option.  We are building in place.
                   20346:     ac_srcdir=.
                   20347:     if test -z "$ac_top_builddir"; then
                   20348:        ac_top_srcdir=.
                   20349:     else
                   20350:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   20351:     fi ;;
                   20352:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   20353:     ac_srcdir=$srcdir$ac_dir_suffix;
                   20354:     ac_top_srcdir=$srcdir ;;
                   20355:   *) # Relative path.
                   20356:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   20357:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   20358: esac
1.16      paf      20359: 
                   20360: # Do not use `cd foo && pwd` to compute absolute paths, because
                   20361: # the directories may not exist.
                   20362: case `pwd` in
                   20363: .) ac_abs_builddir="$ac_dir";;
                   20364: *)
                   20365:   case "$ac_dir" in
                   20366:   .) ac_abs_builddir=`pwd`;;
                   20367:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   20368:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   20369:   esac;;
                   20370: esac
                   20371: case $ac_abs_builddir in
                   20372: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   20373: *)
                   20374:   case ${ac_top_builddir}. in
                   20375:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   20376:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   20377:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   20378:   esac;;
                   20379: esac
                   20380: case $ac_abs_builddir in
                   20381: .) ac_abs_srcdir=$ac_srcdir;;
                   20382: *)
                   20383:   case $ac_srcdir in
                   20384:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   20385:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   20386:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   20387:   esac;;
                   20388: esac
                   20389: case $ac_abs_builddir in
                   20390: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   20391: *)
                   20392:   case $ac_top_srcdir in
                   20393:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   20394:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   20395:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   20396:   esac;;
                   20397: esac
1.1       parser   20398: 
                   20399: 
1.10      paf      20400:     cd $ac_dir
1.1       parser   20401: 
                   20402:     # Check for guested configure; otherwise get Cygnus style configure.
1.10      paf      20403:     if test -f $ac_srcdir/configure.gnu; then
                   20404:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   20405:     elif test -f $ac_srcdir/configure; then
                   20406:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   20407:     elif test -f $ac_srcdir/configure.in; then
1.1       parser   20408:       ac_sub_configure=$ac_configure
                   20409:     else
1.10      paf      20410:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   20411: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       parser   20412:       ac_sub_configure=
                   20413:     fi
                   20414: 
                   20415:     # The recursion is here.
                   20416:     if test -n "$ac_sub_configure"; then
                   20417:       # Make the cache file name correct relative to the subdirectory.
1.10      paf      20418:       case $cache_file in
                   20419:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       parser   20420:       *) # Relative path.
1.16      paf      20421:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       parser   20422:       esac
                   20423: 
1.10      paf      20424:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   20425: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       parser   20426:       # The eval makes quoting arguments work.
1.10      paf      20427:       eval $ac_sub_configure $ac_sub_configure_args \
1.16      paf      20428:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   20429:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.10      paf      20430: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   20431:    { (exit 1); exit 1; }; }
1.1       parser   20432:     fi
                   20433: 
                   20434:     cd $ac_popdir
                   20435:   done
                   20436: fi
                   20437: 

E-mail: