Annotation of sql/pgsql/configure, revision 1.28

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.23      moko      875:   --enable-shared[=PKGS]
                    876:                           build shared libraries [default=yes]
                    877:   --enable-static[=PKGS]
                    878:                           build static 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
                   7086: enable_dlopen=yes
                   7087: enable_win32_dll=yes
1.10      paf      7088: 
1.23      moko     7089: case $host in
                   7090: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7091:   if test -n "$ac_tool_prefix"; then
                   7092:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7093: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7094: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7095: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7096: if test "${ac_cv_prog_AS+set}" = set; then
                   7097:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7098: else
                   7099:   if test -n "$AS"; then
                   7100:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7101: else
                   7102: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7103: for as_dir in $PATH
                   7104: do
                   7105:   IFS=$as_save_IFS
                   7106:   test -z "$as_dir" && as_dir=.
                   7107:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7108:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7109:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7110:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7111:     break 2
                   7112:   fi
                   7113: done
                   7114: done
                   7115: 
                   7116: fi
                   7117: fi
                   7118: AS=$ac_cv_prog_AS
                   7119: if test -n "$AS"; then
                   7120:   echo "$as_me:$LINENO: result: $AS" >&5
                   7121: echo "${ECHO_T}$AS" >&6
                   7122: else
                   7123:   echo "$as_me:$LINENO: result: no" >&5
                   7124: echo "${ECHO_T}no" >&6
                   7125: fi
                   7126: 
                   7127: fi
                   7128: if test -z "$ac_cv_prog_AS"; then
                   7129:   ac_ct_AS=$AS
                   7130:   # Extract the first word of "as", so it can be a program name with args.
                   7131: set dummy as; ac_word=$2
                   7132: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7133: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7134: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   7135:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7136: else
                   7137:   if test -n "$ac_ct_AS"; then
                   7138:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
1.10      paf      7139: else
1.23      moko     7140: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7141: for as_dir in $PATH
                   7142: do
                   7143:   IFS=$as_save_IFS
                   7144:   test -z "$as_dir" && as_dir=.
                   7145:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7146:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7147:     ac_cv_prog_ac_ct_AS="as"
                   7148:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7149:     break 2
                   7150:   fi
                   7151: done
                   7152: done
1.10      paf      7153: 
1.23      moko     7154:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
                   7155: fi
1.10      paf      7156: fi
1.23      moko     7157: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7158: if test -n "$ac_ct_AS"; then
                   7159:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   7160: echo "${ECHO_T}$ac_ct_AS" >&6
                   7161: else
                   7162:   echo "$as_me:$LINENO: result: no" >&5
                   7163: echo "${ECHO_T}no" >&6
1.10      paf      7164: fi
1.23      moko     7165: 
                   7166:   AS=$ac_ct_AS
1.10      paf      7167: else
1.23      moko     7168:   AS="$ac_cv_prog_AS"
                   7169: fi
                   7170: 
                   7171:   if test -n "$ac_tool_prefix"; then
                   7172:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7173: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7174: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7175: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7176: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
1.10      paf      7177:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7178: else
1.23      moko     7179:   if test -n "$DLLTOOL"; then
                   7180:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.10      paf      7181: else
1.23      moko     7182: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7183: for as_dir in $PATH
                   7184: do
                   7185:   IFS=$as_save_IFS
                   7186:   test -z "$as_dir" && as_dir=.
                   7187:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7188:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7189:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7190:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7191:     break 2
                   7192:   fi
                   7193: done
                   7194: done
1.10      paf      7195: 
                   7196: fi
                   7197: fi
1.23      moko     7198: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7199: if test -n "$DLLTOOL"; then
                   7200:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   7201: echo "${ECHO_T}$DLLTOOL" >&6
1.10      paf      7202: else
1.23      moko     7203:   echo "$as_me:$LINENO: result: no" >&5
                   7204: echo "${ECHO_T}no" >&6
                   7205: fi
                   7206: 
                   7207: fi
                   7208: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7209:   ac_ct_DLLTOOL=$DLLTOOL
                   7210:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7211: set dummy dlltool; ac_word=$2
                   7212: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7213: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7214: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.10      paf      7215:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7216: else
1.23      moko     7217:   if test -n "$ac_ct_DLLTOOL"; then
                   7218:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1.10      paf      7219: else
1.23      moko     7220: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7221: for as_dir in $PATH
                   7222: do
                   7223:   IFS=$as_save_IFS
                   7224:   test -z "$as_dir" && as_dir=.
                   7225:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7226:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7227:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7228:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7229:     break 2
                   7230:   fi
                   7231: done
                   7232: done
1.10      paf      7233: 
1.23      moko     7234:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   7235: fi
1.10      paf      7236: fi
1.23      moko     7237: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7238: if test -n "$ac_ct_DLLTOOL"; then
                   7239:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   7240: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   7241: else
                   7242:   echo "$as_me:$LINENO: result: no" >&5
                   7243: echo "${ECHO_T}no" >&6
1.10      paf      7244: fi
1.23      moko     7245: 
                   7246:   DLLTOOL=$ac_ct_DLLTOOL
1.10      paf      7247: else
1.23      moko     7248:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7249: fi
                   7250: 
                   7251:   if test -n "$ac_tool_prefix"; then
                   7252:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7253: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7254: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7255: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7256: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
1.10      paf      7257:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7258: else
1.23      moko     7259:   if test -n "$OBJDUMP"; then
                   7260:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7261: else
                   7262: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7263: for as_dir in $PATH
                   7264: do
                   7265:   IFS=$as_save_IFS
                   7266:   test -z "$as_dir" && as_dir=.
                   7267:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7268:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7269:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7270:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7271:     break 2
                   7272:   fi
                   7273: done
                   7274: done
                   7275: 
                   7276: fi
                   7277: fi
                   7278: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7279: if test -n "$OBJDUMP"; then
                   7280:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   7281: echo "${ECHO_T}$OBJDUMP" >&6
                   7282: else
                   7283:   echo "$as_me:$LINENO: result: no" >&5
                   7284: echo "${ECHO_T}no" >&6
                   7285: fi
1.10      paf      7286: 
1.23      moko     7287: fi
                   7288: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7289:   ac_ct_OBJDUMP=$OBJDUMP
                   7290:   # Extract the first word of "objdump", so it can be a program name with args.
                   7291: set dummy objdump; ac_word=$2
                   7292: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7293: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7294: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   7295:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7296: else
                   7297:   if test -n "$ac_ct_OBJDUMP"; then
                   7298:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
1.10      paf      7299: else
1.23      moko     7300: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7301: for as_dir in $PATH
                   7302: do
                   7303:   IFS=$as_save_IFS
                   7304:   test -z "$as_dir" && as_dir=.
                   7305:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7306:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7307:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7308:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7309:     break 2
                   7310:   fi
                   7311: done
                   7312: done
1.10      paf      7313: 
1.23      moko     7314:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   7315: fi
1.10      paf      7316: fi
1.23      moko     7317: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7318: if test -n "$ac_ct_OBJDUMP"; then
                   7319:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   7320: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   7321: else
                   7322:   echo "$as_me:$LINENO: result: no" >&5
                   7323: echo "${ECHO_T}no" >&6
1.10      paf      7324: fi
1.23      moko     7325: 
                   7326:   OBJDUMP=$ac_ct_OBJDUMP
                   7327: else
                   7328:   OBJDUMP="$ac_cv_prog_OBJDUMP"
1.10      paf      7329: fi
                   7330: 
1.23      moko     7331:   ;;
                   7332: esac
                   7333: 
                   7334: test -z "$AS" && AS=as
                   7335: 
                   7336: 
                   7337: 
                   7338: 
1.10      paf      7339: 
1.23      moko     7340: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.10      paf      7341: 
                   7342: 
                   7343: 
                   7344: 
                   7345: 
1.23      moko     7346: test -z "$OBJDUMP" && OBJDUMP=objdump
1.10      paf      7347: 
                   7348: 
                   7349: 
                   7350: 
                   7351: 
                   7352: 
                   7353: 
                   7354: 
                   7355: 
1.23      moko     7356:             # Check whether --enable-shared or --disable-shared was given.
                   7357: if test "${enable_shared+set}" = set; then
                   7358:   enableval="$enable_shared"
                   7359:   p=${PACKAGE-default}
                   7360:     case $enableval in
                   7361:     yes) enable_shared=yes ;;
                   7362:     no) enable_shared=no ;;
                   7363:     *)
                   7364:       enable_shared=no
                   7365:       # Look at the argument we got.  We use all the common list separators.
                   7366:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7367:       for pkg in $enableval; do
                   7368:        IFS="$lt_save_ifs"
                   7369:        if test "X$pkg" = "X$p"; then
                   7370:          enable_shared=yes
                   7371:        fi
                   7372:       done
                   7373:       IFS="$lt_save_ifs"
                   7374:       ;;
                   7375:     esac
1.10      paf      7376: else
1.23      moko     7377:   enable_shared=yes
                   7378: fi;
1.10      paf      7379: 
                   7380: 
                   7381: 
                   7382: 
                   7383: 
                   7384: 
                   7385: 
                   7386: 
1.23      moko     7387:   # Check whether --enable-static or --disable-static was given.
                   7388: if test "${enable_static+set}" = set; then
                   7389:   enableval="$enable_static"
                   7390:   p=${PACKAGE-default}
                   7391:     case $enableval in
                   7392:     yes) enable_static=yes ;;
                   7393:     no) enable_static=no ;;
                   7394:     *)
                   7395:      enable_static=no
                   7396:       # Look at the argument we got.  We use all the common list separators.
                   7397:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7398:       for pkg in $enableval; do
                   7399:        IFS="$lt_save_ifs"
                   7400:        if test "X$pkg" = "X$p"; then
                   7401:          enable_static=yes
                   7402:        fi
                   7403:       done
                   7404:       IFS="$lt_save_ifs"
                   7405:       ;;
1.10      paf      7406:     esac
1.23      moko     7407: else
                   7408:   enable_static=yes
                   7409: fi;
1.10      paf      7410: 
                   7411: 
                   7412: 
                   7413: 
                   7414: 
                   7415: 
                   7416: 
                   7417: 
                   7418: 
1.23      moko     7419: # Check whether --with-pic or --without-pic was given.
                   7420: if test "${with_pic+set}" = set; then
                   7421:   withval="$with_pic"
                   7422:   lt_p=${PACKAGE-default}
                   7423:     case $withval in
                   7424:     yes|no) pic_mode=$withval ;;
                   7425:     *)
                   7426:       pic_mode=default
                   7427:       # Look at the argument we got.  We use all the common list separators.
                   7428:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7429:       for lt_pkg in $withval; do
                   7430:        IFS="$lt_save_ifs"
                   7431:        if test "X$lt_pkg" = "X$lt_p"; then
                   7432:          pic_mode=yes
                   7433:        fi
                   7434:       done
                   7435:       IFS="$lt_save_ifs"
                   7436:       ;;
1.10      paf      7437:     esac
1.23      moko     7438: else
                   7439:   pic_mode=default
                   7440: fi;
1.10      paf      7441: 
1.23      moko     7442: test -z "$pic_mode" && pic_mode=default
1.10      paf      7443: 
                   7444: 
                   7445: 
                   7446: 
                   7447: 
                   7448: 
                   7449: 
1.23      moko     7450:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   7451: if test "${enable_fast_install+set}" = set; then
                   7452:   enableval="$enable_fast_install"
                   7453:   p=${PACKAGE-default}
                   7454:     case $enableval in
                   7455:     yes) enable_fast_install=yes ;;
                   7456:     no) enable_fast_install=no ;;
1.10      paf      7457:     *)
1.23      moko     7458:       enable_fast_install=no
                   7459:       # Look at the argument we got.  We use all the common list separators.
                   7460:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7461:       for pkg in $enableval; do
                   7462:        IFS="$lt_save_ifs"
                   7463:        if test "X$pkg" = "X$p"; then
                   7464:          enable_fast_install=yes
                   7465:        fi
                   7466:       done
                   7467:       IFS="$lt_save_ifs"
1.10      paf      7468:       ;;
                   7469:     esac
1.23      moko     7470: else
                   7471:   enable_fast_install=yes
                   7472: fi;
1.10      paf      7473: 
                   7474: 
                   7475: 
                   7476: 
                   7477: 
                   7478: 
                   7479: 
                   7480: 
                   7481: 
                   7482: 
1.23      moko     7483: # This can be used to rebuild libtool when needed
                   7484: LIBTOOL_DEPS="$ltmain"
1.10      paf      7485: 
1.23      moko     7486: # Always use our own libtool.
                   7487: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.10      paf      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: 
                   7517: 
1.23      moko     7518: test -z "$LN_S" && LN_S="ln -s"
1.10      paf      7519: 
                   7520: 
                   7521: 
                   7522: 
                   7523: 
                   7524: 
                   7525: 
                   7526: 
                   7527: 
                   7528: 
                   7529: 
                   7530: 
                   7531: 
                   7532: 
1.23      moko     7533: if test -n "${ZSH_VERSION+set}" ; then
                   7534:    setopt NO_GLOB_SUBST
                   7535: fi
1.10      paf      7536: 
1.23      moko     7537: echo "$as_me:$LINENO: checking for objdir" >&5
                   7538: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   7539: if test "${lt_cv_objdir+set}" = set; then
                   7540:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7541: else
                   7542:   rm -f .libs 2>/dev/null
                   7543: mkdir .libs 2>/dev/null
                   7544: if test -d .libs; then
                   7545:   lt_cv_objdir=.libs
                   7546: else
                   7547:   # MS-DOS does not allow filenames that begin with a dot.
                   7548:   lt_cv_objdir=_libs
                   7549: fi
                   7550: rmdir .libs 2>/dev/null
                   7551: fi
                   7552: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   7553: echo "${ECHO_T}$lt_cv_objdir" >&6
                   7554: objdir=$lt_cv_objdir
1.10      paf      7555: 
                   7556: 
                   7557: 
                   7558: 
                   7559: 
1.23      moko     7560: cat >>confdefs.h <<_ACEOF
                   7561: #define LT_OBJDIR "$lt_cv_objdir/"
                   7562: _ACEOF
1.10      paf      7563: 
                   7564: 
                   7565: 
                   7566: 
1.23      moko     7567: case $host_os in
                   7568: aix3*)
                   7569:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7570:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7571:   # vanish in a puff of smoke.
                   7572:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7573:     COLLECT_NAMES=
                   7574:     export COLLECT_NAMES
                   7575:   fi
                   7576:   ;;
                   7577: esac
1.10      paf      7578: 
1.23      moko     7579: # Global variables:
                   7580: ofile=libtool
                   7581: can_build_shared=yes
1.10      paf      7582: 
1.23      moko     7583: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7584: # which needs '.lib').
                   7585: libext=a
1.10      paf      7586: 
1.23      moko     7587: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.10      paf      7588: 
1.23      moko     7589: old_CC="$CC"
                   7590: old_CFLAGS="$CFLAGS"
1.10      paf      7591: 
1.23      moko     7592: # Set sane defaults for various variables
                   7593: test -z "$CC" && CC=cc
                   7594: test -z "$LTCC" && LTCC=$CC
                   7595: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7596: test -z "$LD" && LD=ld
                   7597: test -z "$ac_objext" && ac_objext=o
1.10      paf      7598: 
1.23      moko     7599: for cc_temp in $compiler""; do
                   7600:   case $cc_temp in
                   7601:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7602:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7603:     \-*) ;;
                   7604:     *) break;;
                   7605:   esac
                   7606: done
                   7607: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.10      paf      7608: 
                   7609: 
1.23      moko     7610: # Only perform the check for file, if the check method requires it
                   7611: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7612: case $deplibs_check_method in
                   7613: file_magic*)
                   7614:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   7615:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   7616: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   7617: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   7618:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7619: else
                   7620:   case $MAGIC_CMD in
                   7621: [\\/*] |  ?:[\\/]*)
                   7622:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7623:   ;;
                   7624: *)
                   7625:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7626:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7627:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7628:   for ac_dir in $ac_dummy; do
                   7629:     IFS="$lt_save_ifs"
                   7630:     test -z "$ac_dir" && ac_dir=.
                   7631:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7632:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7633:       if test -n "$file_magic_test_file"; then
                   7634:        case $deplibs_check_method in
                   7635:        "file_magic "*)
                   7636:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7637:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7638:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7639:            $EGREP "$file_magic_regex" > /dev/null; then
                   7640:            :
                   7641:          else
                   7642:            cat <<_LT_EOF 1>&2
1.10      paf      7643: 
1.23      moko     7644: *** Warning: the command libtool uses to detect shared libraries,
                   7645: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7646: *** The result is that libtool may fail to recognize shared libraries
                   7647: *** as such.  This will affect the creation of libtool libraries that
                   7648: *** depend on shared libraries, but programs linked with such libtool
                   7649: *** libraries will work regardless of this problem.  Nevertheless, you
                   7650: *** may want to report the problem to your system manager and/or to
                   7651: *** bug-libtool@gnu.org
1.10      paf      7652: 
1.23      moko     7653: _LT_EOF
                   7654:          fi ;;
                   7655:        esac
                   7656:       fi
                   7657:       break
                   7658:     fi
                   7659:   done
                   7660:   IFS="$lt_save_ifs"
                   7661:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7662:   ;;
                   7663: esac
                   7664: fi
1.10      paf      7665: 
1.23      moko     7666: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7667: if test -n "$MAGIC_CMD"; then
                   7668:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   7669: echo "${ECHO_T}$MAGIC_CMD" >&6
                   7670: else
                   7671:   echo "$as_me:$LINENO: result: no" >&5
                   7672: echo "${ECHO_T}no" >&6
                   7673: fi
1.10      paf      7674: 
                   7675: 
                   7676: 
                   7677: 
                   7678: 
1.23      moko     7679: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7680:   if test -n "$ac_tool_prefix"; then
                   7681:     echo "$as_me:$LINENO: checking for file" >&5
                   7682: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   7683: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   7684:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7685: else
                   7686:   case $MAGIC_CMD in
                   7687: [\\/*] |  ?:[\\/]*)
                   7688:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7689:   ;;
                   7690: *)
                   7691:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7692:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7693:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7694:   for ac_dir in $ac_dummy; do
                   7695:     IFS="$lt_save_ifs"
                   7696:     test -z "$ac_dir" && ac_dir=.
                   7697:     if test -f $ac_dir/file; then
                   7698:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7699:       if test -n "$file_magic_test_file"; then
                   7700:        case $deplibs_check_method in
                   7701:        "file_magic "*)
                   7702:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7703:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7704:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7705:            $EGREP "$file_magic_regex" > /dev/null; then
                   7706:            :
                   7707:          else
                   7708:            cat <<_LT_EOF 1>&2
1.10      paf      7709: 
1.23      moko     7710: *** Warning: the command libtool uses to detect shared libraries,
                   7711: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7712: *** The result is that libtool may fail to recognize shared libraries
                   7713: *** as such.  This will affect the creation of libtool libraries that
                   7714: *** depend on shared libraries, but programs linked with such libtool
                   7715: *** libraries will work regardless of this problem.  Nevertheless, you
                   7716: *** may want to report the problem to your system manager and/or to
                   7717: *** bug-libtool@gnu.org
1.10      paf      7718: 
1.23      moko     7719: _LT_EOF
                   7720:          fi ;;
                   7721:        esac
                   7722:       fi
                   7723:       break
                   7724:     fi
                   7725:   done
                   7726:   IFS="$lt_save_ifs"
                   7727:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7728:   ;;
                   7729: esac
                   7730: fi
1.10      paf      7731: 
1.23      moko     7732: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7733: if test -n "$MAGIC_CMD"; then
                   7734:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   7735: echo "${ECHO_T}$MAGIC_CMD" >&6
                   7736: else
                   7737:   echo "$as_me:$LINENO: result: no" >&5
                   7738: echo "${ECHO_T}no" >&6
1.10      paf      7739: fi
                   7740: 
                   7741: 
1.23      moko     7742:   else
                   7743:     MAGIC_CMD=:
                   7744:   fi
1.10      paf      7745: fi
                   7746: 
1.23      moko     7747:   fi
                   7748:   ;;
                   7749: esac
1.10      paf      7750: 
1.23      moko     7751: # Use C for the default configuration in the libtool script
1.10      paf      7752: 
1.23      moko     7753: lt_save_CC="$CC"
                   7754: ac_ext=c
                   7755: ac_cpp='$CPP $CPPFLAGS'
                   7756: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7757: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7758: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10      paf      7759: 
                   7760: 
1.23      moko     7761: # Source file extension for C test sources.
                   7762: ac_ext=c
1.10      paf      7763: 
1.23      moko     7764: # Object file extension for compiled C test sources.
                   7765: objext=o
                   7766: objext=$objext
1.10      paf      7767: 
1.23      moko     7768: # Code to be used in simple compile tests
                   7769: lt_simple_compile_test_code="int some_variable = 0;"
1.10      paf      7770: 
1.23      moko     7771: # Code to be used in simple link tests
                   7772: lt_simple_link_test_code='int main(){return(0);}'
1.10      paf      7773: 
                   7774: 
                   7775: 
                   7776: 
                   7777: 
                   7778: 
                   7779: 
1.23      moko     7780: # If no C compiler was specified, use CC.
                   7781: LTCC=${LTCC-"$CC"}
1.10      paf      7782: 
1.23      moko     7783: # If no C compiler flags were specified, use CFLAGS.
                   7784: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.10      paf      7785: 
1.23      moko     7786: # Allow CC to be a program name with arguments.
                   7787: compiler=$CC
1.10      paf      7788: 
1.23      moko     7789: # Save the default compiler, since it gets overwritten when the other
                   7790: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   7791: compiler_DEFAULT=$CC
                   7792: 
                   7793: # save warnings/boilerplate of simple test code
                   7794: ac_outfile=conftest.$ac_objext
                   7795: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   7796: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7797: _lt_compiler_boilerplate=`cat conftest.err`
                   7798: $RM conftest*
                   7799: 
                   7800: ac_outfile=conftest.$ac_objext
                   7801: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   7802: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7803: _lt_linker_boilerplate=`cat conftest.err`
                   7804: $RM -r conftest*
                   7805: 
                   7806: 
                   7807: ## CAVEAT EMPTOR:
                   7808: ## There is no encapsulation within the following macros, do not change
                   7809: ## the running order or otherwise move them around unless you know exactly
                   7810: ## what you are doing...
                   7811: if test -n "$compiler"; then
1.10      paf      7812: 
1.23      moko     7813: lt_prog_compiler_no_builtin_flag=
1.13      paf      7814: 
1.23      moko     7815: if test "$GCC" = yes; then
                   7816:   case $cc_basename in
                   7817:   nvcc*)
                   7818:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   7819:   *)
                   7820:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   7821:   esac
1.10      paf      7822: 
1.23      moko     7823:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   7824: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   7825: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.10      paf      7826:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7827: else
1.23      moko     7828:   lt_cv_prog_compiler_rtti_exceptions=no
                   7829:    ac_outfile=conftest.$ac_objext
                   7830:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7831:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   7832:    # Insert the option either (1) after the last *FLAGS variable, or
                   7833:    # (2) before a word containing "conftest.", or (3) at the end.
                   7834:    # Note that $ac_compile itself does not contain backslashes and begins
                   7835:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7836:    # The option is referenced via a variable to avoid confusing sed.
                   7837:    lt_compile=`echo "$ac_compile" | $SED \
                   7838:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7839:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7840:    -e 's:$: $lt_compiler_flag:'`
                   7841:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   7842:    (eval "$lt_compile" 2>conftest.err)
                   7843:    ac_status=$?
                   7844:    cat conftest.err >&5
                   7845:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7846:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7847:      # The compiler can only warn and ignore the option if not recognized
                   7848:      # So say no if there are warnings other than the usual output.
                   7849:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   7850:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7851:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7852:        lt_cv_prog_compiler_rtti_exceptions=yes
                   7853:      fi
                   7854:    fi
                   7855:    $RM conftest*
1.10      paf      7856: 
                   7857: fi
1.23      moko     7858: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   7859: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.10      paf      7860: 
1.23      moko     7861: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   7862:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.10      paf      7863: else
1.23      moko     7864:     :
1.10      paf      7865: fi
                   7866: 
                   7867: fi
                   7868: 
1.23      moko     7869: 
                   7870: 
                   7871: 
                   7872: 
                   7873: 
                   7874:   lt_prog_compiler_wl=
                   7875: lt_prog_compiler_pic=
                   7876: lt_prog_compiler_static=
                   7877: 
                   7878: 
                   7879:   if test "$GCC" = yes; then
                   7880:     lt_prog_compiler_wl='-Wl,'
                   7881:     lt_prog_compiler_static='-static'
                   7882: 
                   7883:     case $host_os in
                   7884:       aix*)
                   7885:       # All AIX code is PIC.
                   7886:       if test "$host_cpu" = ia64; then
                   7887:        # AIX 5 now supports IA64 processor
                   7888:        lt_prog_compiler_static='-Bstatic'
                   7889:       fi
                   7890:       ;;
                   7891: 
                   7892:     amigaos*)
                   7893:       case $host_cpu in
                   7894:       powerpc)
                   7895:             # see comment about AmigaOS4 .so support
                   7896:             lt_prog_compiler_pic='-fPIC'
                   7897:         ;;
                   7898:       m68k)
                   7899:             # FIXME: we need at least 68020 code to build shared libraries, but
                   7900:             # adding the `-m68020' flag to GCC prevents building anything better,
                   7901:             # like `-m68040'.
                   7902:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   7903:         ;;
                   7904:       esac
                   7905:       ;;
                   7906: 
                   7907:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   7908:       # PIC is the default for these OSes.
                   7909:       ;;
                   7910: 
                   7911:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7912:       # This hack is so that the source file can tell whether it is being
                   7913:       # built for inclusion in a dll (and should export symbols for example).
                   7914:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   7915:       # (--disable-auto-import) libraries
                   7916:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7917:       ;;
                   7918: 
                   7919:     darwin* | rhapsody*)
                   7920:       # PIC is the default on this platform
                   7921:       # Common symbols not allowed in MH_DYLIB files
                   7922:       lt_prog_compiler_pic='-fno-common'
                   7923:       ;;
                   7924: 
                   7925:     haiku*)
                   7926:       # PIC is the default for Haiku.
                   7927:       # The "-static" flag exists, but is broken.
                   7928:       lt_prog_compiler_static=
                   7929:       ;;
                   7930: 
                   7931:     hpux*)
                   7932:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   7933:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   7934:       # sets the default TLS model and affects inlining.
                   7935:       case $host_cpu in
                   7936:       hppa*64*)
                   7937:        # +Z the default
                   7938:        ;;
                   7939:       *)
                   7940:        lt_prog_compiler_pic='-fPIC'
                   7941:        ;;
                   7942:       esac
                   7943:       ;;
                   7944: 
                   7945:     interix[3-9]*)
                   7946:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   7947:       # Instead, we relocate shared libraries at runtime.
                   7948:       ;;
                   7949: 
                   7950:     msdosdjgpp*)
                   7951:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   7952:       # on systems that don't support them.
                   7953:       lt_prog_compiler_can_build_shared=no
                   7954:       enable_shared=no
                   7955:       ;;
                   7956: 
                   7957:     *nto* | *qnx*)
                   7958:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   7959:       # it will coredump.
                   7960:       lt_prog_compiler_pic='-fPIC -shared'
                   7961:       ;;
                   7962: 
                   7963:     sysv4*MP*)
                   7964:       if test -d /usr/nec; then
                   7965:        lt_prog_compiler_pic=-Kconform_pic
                   7966:       fi
                   7967:       ;;
                   7968: 
                   7969:     *)
                   7970:       lt_prog_compiler_pic='-fPIC'
                   7971:       ;;
                   7972:     esac
                   7973: 
                   7974:     case $cc_basename in
                   7975:     nvcc*) # Cuda Compiler Driver 2.2
                   7976:       lt_prog_compiler_wl='-Xlinker '
                   7977:       if test -n "$lt_prog_compiler_pic"; then
                   7978:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   7979:       fi
                   7980:       ;;
                   7981:     esac
                   7982:   else
                   7983:     # PORTME Check for flag to pass linker flags through the system compiler.
                   7984:     case $host_os in
                   7985:     aix*)
                   7986:       lt_prog_compiler_wl='-Wl,'
                   7987:       if test "$host_cpu" = ia64; then
                   7988:        # AIX 5 now supports IA64 processor
                   7989:        lt_prog_compiler_static='-Bstatic'
                   7990:       else
                   7991:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   7992:       fi
                   7993:       ;;
                   7994: 
                   7995:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7996:       # This hack is so that the source file can tell whether it is being
                   7997:       # built for inclusion in a dll (and should export symbols for example).
                   7998:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7999:       ;;
                   8000: 
                   8001:     hpux9* | hpux10* | hpux11*)
                   8002:       lt_prog_compiler_wl='-Wl,'
                   8003:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8004:       # not for PA HP-UX.
                   8005:       case $host_cpu in
                   8006:       hppa*64*|ia64*)
                   8007:        # +Z the default
                   8008:        ;;
                   8009:       *)
                   8010:        lt_prog_compiler_pic='+Z'
                   8011:        ;;
                   8012:       esac
                   8013:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8014:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8015:       ;;
                   8016: 
                   8017:     irix5* | irix6* | nonstopux*)
                   8018:       lt_prog_compiler_wl='-Wl,'
                   8019:       # PIC (with -KPIC) is the default.
                   8020:       lt_prog_compiler_static='-non_shared'
                   8021:       ;;
                   8022: 
                   8023:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8024:       case $cc_basename in
                   8025:       # old Intel for x86_64 which still supported -KPIC.
                   8026:       ecc*)
                   8027:        lt_prog_compiler_wl='-Wl,'
                   8028:        lt_prog_compiler_pic='-KPIC'
                   8029:        lt_prog_compiler_static='-static'
                   8030:         ;;
                   8031:       # icc used to be incompatible with GCC.
                   8032:       # ICC 10 doesn't accept -KPIC any more.
                   8033:       icc* | ifort*)
                   8034:        lt_prog_compiler_wl='-Wl,'
                   8035:        lt_prog_compiler_pic='-fPIC'
                   8036:        lt_prog_compiler_static='-static'
                   8037:         ;;
                   8038:       # Lahey Fortran 8.1.
                   8039:       lf95*)
                   8040:        lt_prog_compiler_wl='-Wl,'
                   8041:        lt_prog_compiler_pic='--shared'
                   8042:        lt_prog_compiler_static='--static'
                   8043:        ;;
                   8044:       nagfor*)
                   8045:        # NAG Fortran compiler
                   8046:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8047:        lt_prog_compiler_pic='-PIC'
                   8048:        lt_prog_compiler_static='-Bstatic'
                   8049:        ;;
                   8050:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8051:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8052:        # which looks to be a dead project)
                   8053:        lt_prog_compiler_wl='-Wl,'
                   8054:        lt_prog_compiler_pic='-fpic'
                   8055:        lt_prog_compiler_static='-Bstatic'
                   8056:         ;;
                   8057:       ccc*)
                   8058:         lt_prog_compiler_wl='-Wl,'
                   8059:         # All Alpha code is PIC.
                   8060:         lt_prog_compiler_static='-non_shared'
                   8061:         ;;
                   8062:       xl* | bgxl* | bgf* | mpixl*)
                   8063:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8064:        lt_prog_compiler_wl='-Wl,'
                   8065:        lt_prog_compiler_pic='-qpic'
                   8066:        lt_prog_compiler_static='-qstaticlink'
                   8067:        ;;
                   8068:       *)
                   8069:        case `$CC -V 2>&1 | sed 5q` in
                   8070:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8071:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8072:          lt_prog_compiler_pic='-KPIC'
                   8073:          lt_prog_compiler_static='-Bstatic'
                   8074:          lt_prog_compiler_wl=''
                   8075:          ;;
                   8076:        *Sun\ F* | *Sun*Fortran*)
                   8077:          lt_prog_compiler_pic='-KPIC'
                   8078:          lt_prog_compiler_static='-Bstatic'
                   8079:          lt_prog_compiler_wl='-Qoption ld '
                   8080:          ;;
                   8081:        *Sun\ C*)
                   8082:          # Sun C 5.9
                   8083:          lt_prog_compiler_pic='-KPIC'
                   8084:          lt_prog_compiler_static='-Bstatic'
                   8085:          lt_prog_compiler_wl='-Wl,'
                   8086:          ;;
                   8087:         *Intel*\ [CF]*Compiler*)
                   8088:          lt_prog_compiler_wl='-Wl,'
                   8089:          lt_prog_compiler_pic='-fPIC'
                   8090:          lt_prog_compiler_static='-static'
                   8091:          ;;
                   8092:        *Portland\ Group*)
                   8093:          lt_prog_compiler_wl='-Wl,'
                   8094:          lt_prog_compiler_pic='-fpic'
                   8095:          lt_prog_compiler_static='-Bstatic'
                   8096:          ;;
                   8097:        esac
                   8098:        ;;
                   8099:       esac
                   8100:       ;;
                   8101: 
                   8102:     newsos6)
                   8103:       lt_prog_compiler_pic='-KPIC'
                   8104:       lt_prog_compiler_static='-Bstatic'
                   8105:       ;;
                   8106: 
                   8107:     *nto* | *qnx*)
                   8108:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8109:       # it will coredump.
                   8110:       lt_prog_compiler_pic='-fPIC -shared'
                   8111:       ;;
                   8112: 
                   8113:     osf3* | osf4* | osf5*)
                   8114:       lt_prog_compiler_wl='-Wl,'
                   8115:       # All OSF/1 code is PIC.
                   8116:       lt_prog_compiler_static='-non_shared'
                   8117:       ;;
                   8118: 
                   8119:     rdos*)
                   8120:       lt_prog_compiler_static='-non_shared'
                   8121:       ;;
                   8122: 
                   8123:     solaris*)
                   8124:       lt_prog_compiler_pic='-KPIC'
                   8125:       lt_prog_compiler_static='-Bstatic'
                   8126:       case $cc_basename in
                   8127:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8128:        lt_prog_compiler_wl='-Qoption ld ';;
                   8129:       *)
                   8130:        lt_prog_compiler_wl='-Wl,';;
                   8131:       esac
                   8132:       ;;
                   8133: 
                   8134:     sunos4*)
                   8135:       lt_prog_compiler_wl='-Qoption ld '
                   8136:       lt_prog_compiler_pic='-PIC'
                   8137:       lt_prog_compiler_static='-Bstatic'
                   8138:       ;;
                   8139: 
                   8140:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8141:       lt_prog_compiler_wl='-Wl,'
                   8142:       lt_prog_compiler_pic='-KPIC'
                   8143:       lt_prog_compiler_static='-Bstatic'
                   8144:       ;;
                   8145: 
                   8146:     sysv4*MP*)
                   8147:       if test -d /usr/nec ;then
                   8148:        lt_prog_compiler_pic='-Kconform_pic'
                   8149:        lt_prog_compiler_static='-Bstatic'
                   8150:       fi
                   8151:       ;;
                   8152: 
                   8153:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8154:       lt_prog_compiler_wl='-Wl,'
                   8155:       lt_prog_compiler_pic='-KPIC'
                   8156:       lt_prog_compiler_static='-Bstatic'
                   8157:       ;;
                   8158: 
                   8159:     unicos*)
                   8160:       lt_prog_compiler_wl='-Wl,'
                   8161:       lt_prog_compiler_can_build_shared=no
                   8162:       ;;
                   8163: 
                   8164:     uts4*)
                   8165:       lt_prog_compiler_pic='-pic'
                   8166:       lt_prog_compiler_static='-Bstatic'
                   8167:       ;;
                   8168: 
                   8169:     *)
                   8170:       lt_prog_compiler_can_build_shared=no
                   8171:       ;;
                   8172:     esac
                   8173:   fi
                   8174: 
                   8175: case $host_os in
                   8176:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8177:   *djgpp*)
                   8178:     lt_prog_compiler_pic=
1.10      paf      8179:     ;;
1.23      moko     8180:   *)
                   8181:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
1.10      paf      8182:     ;;
                   8183: esac
1.23      moko     8184: 
                   8185: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   8186: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   8187: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   8188:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8189: else
                   8190:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8191: fi
                   8192: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   8193: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
                   8194: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8195: 
                   8196: #
                   8197: # Check to make sure the PIC flag actually works.
                   8198: #
                   8199: if test -n "$lt_prog_compiler_pic"; then
                   8200:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8201: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   8202: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
1.10      paf      8203:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8204: else
1.23      moko     8205:   lt_cv_prog_compiler_pic_works=no
                   8206:    ac_outfile=conftest.$ac_objext
                   8207:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8208:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8209:    # Insert the option either (1) after the last *FLAGS variable, or
                   8210:    # (2) before a word containing "conftest.", or (3) at the end.
                   8211:    # Note that $ac_compile itself does not contain backslashes and begins
                   8212:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8213:    # The option is referenced via a variable to avoid confusing sed.
                   8214:    lt_compile=`echo "$ac_compile" | $SED \
                   8215:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8216:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8217:    -e 's:$: $lt_compiler_flag:'`
                   8218:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8219:    (eval "$lt_compile" 2>conftest.err)
                   8220:    ac_status=$?
                   8221:    cat conftest.err >&5
                   8222:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8223:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8224:      # The compiler can only warn and ignore the option if not recognized
                   8225:      # So say no if there are warnings other than the usual output.
                   8226:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8227:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8228:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8229:        lt_cv_prog_compiler_pic_works=yes
                   8230:      fi
                   8231:    fi
                   8232:    $RM conftest*
                   8233: 
1.1       parser   8234: fi
1.23      moko     8235: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   8236: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
1.10      paf      8237: 
1.23      moko     8238: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8239:     case $lt_prog_compiler_pic in
                   8240:      "" | " "*) ;;
                   8241:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8242:      esac
                   8243: else
                   8244:     lt_prog_compiler_pic=
                   8245:      lt_prog_compiler_can_build_shared=no
1.1       parser   8246: fi
                   8247: 
                   8248: fi
                   8249: 
1.10      paf      8250: 
1.1       parser   8251: 
                   8252: 
1.10      paf      8253: 
1.1       parser   8254: 
                   8255: 
                   8256: 
                   8257: 
                   8258: 
                   8259: 
1.23      moko     8260: #
                   8261: # Check to make sure the static flag actually works.
                   8262: #
                   8263: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8264: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8265: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8266: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8267:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8268: else
                   8269:   lt_cv_prog_compiler_static_works=no
                   8270:    save_LDFLAGS="$LDFLAGS"
                   8271:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8272:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8273:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8274:      # The linker can only warn and ignore the option if not recognized
                   8275:      # So say no if there are warnings
                   8276:      if test -s conftest.err; then
                   8277:        # Append any errors to the config.log.
                   8278:        cat conftest.err 1>&5
                   8279:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8280:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8281:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8282:          lt_cv_prog_compiler_static_works=yes
                   8283:        fi
                   8284:      else
                   8285:        lt_cv_prog_compiler_static_works=yes
                   8286:      fi
                   8287:    fi
                   8288:    $RM -r conftest*
                   8289:    LDFLAGS="$save_LDFLAGS"
1.10      paf      8290: 
1.23      moko     8291: fi
                   8292: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8293: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
1.10      paf      8294: 
1.23      moko     8295: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8296:     :
                   8297: else
                   8298:     lt_prog_compiler_static=
1.1       parser   8299: fi
                   8300: 
                   8301: 
                   8302: 
1.10      paf      8303: 
                   8304: 
                   8305: 
1.1       parser   8306: 
1.23      moko     8307:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8308: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8309: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8310:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8311: else
                   8312:   lt_cv_prog_compiler_c_o=no
                   8313:    $RM -r conftest 2>/dev/null
                   8314:    mkdir conftest
                   8315:    cd conftest
                   8316:    mkdir out
                   8317:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8318: 
                   8319:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8320:    # Insert the option either (1) after the last *FLAGS variable, or
                   8321:    # (2) before a word containing "conftest.", or (3) at the end.
                   8322:    # Note that $ac_compile itself does not contain backslashes and begins
                   8323:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8324:    lt_compile=`echo "$ac_compile" | $SED \
                   8325:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8326:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8327:    -e 's:$: $lt_compiler_flag:'`
                   8328:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8329:    (eval "$lt_compile" 2>out/conftest.err)
                   8330:    ac_status=$?
                   8331:    cat out/conftest.err >&5
                   8332:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8333:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8334:    then
                   8335:      # The compiler can only warn and ignore the option if not recognized
                   8336:      # So say no if there are warnings
                   8337:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8338:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8339:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8340:        lt_cv_prog_compiler_c_o=yes
                   8341:      fi
                   8342:    fi
                   8343:    chmod u+w . 2>&5
                   8344:    $RM conftest*
                   8345:    # SGI C++ compiler will create directory out/ii_files/ for
                   8346:    # template instantiation
                   8347:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8348:    $RM out/* && rmdir out
                   8349:    cd ..
                   8350:    $RM -r conftest
                   8351:    $RM conftest*
                   8352: 
1.10      paf      8353: fi
1.23      moko     8354: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8355: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   8356: 
1.1       parser   8357: 
1.10      paf      8358: 
                   8359: 
                   8360: 
                   8361: 
1.23      moko     8362:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8363: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8364: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8365:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.10      paf      8366: else
1.23      moko     8367:   lt_cv_prog_compiler_c_o=no
                   8368:    $RM -r conftest 2>/dev/null
                   8369:    mkdir conftest
                   8370:    cd conftest
                   8371:    mkdir out
                   8372:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8373: 
                   8374:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8375:    # Insert the option either (1) after the last *FLAGS variable, or
                   8376:    # (2) before a word containing "conftest.", or (3) at the end.
                   8377:    # Note that $ac_compile itself does not contain backslashes and begins
                   8378:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8379:    lt_compile=`echo "$ac_compile" | $SED \
                   8380:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8381:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8382:    -e 's:$: $lt_compiler_flag:'`
                   8383:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8384:    (eval "$lt_compile" 2>out/conftest.err)
                   8385:    ac_status=$?
                   8386:    cat out/conftest.err >&5
                   8387:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8388:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8389:    then
                   8390:      # The compiler can only warn and ignore the option if not recognized
                   8391:      # So say no if there are warnings
                   8392:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8393:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8394:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8395:        lt_cv_prog_compiler_c_o=yes
                   8396:      fi
                   8397:    fi
                   8398:    chmod u+w . 2>&5
                   8399:    $RM conftest*
                   8400:    # SGI C++ compiler will create directory out/ii_files/ for
                   8401:    # template instantiation
                   8402:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8403:    $RM out/* && rmdir out
                   8404:    cd ..
                   8405:    $RM -r conftest
                   8406:    $RM conftest*
                   8407: 
1.10      paf      8408: fi
1.23      moko     8409: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8410: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   8411: 
1.10      paf      8412: 
                   8413: 
                   8414: 
1.23      moko     8415: hard_links="nottested"
                   8416: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8417:   # do not overwrite the value of need_locks provided by the user
                   8418:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   8419: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   8420:   hard_links=yes
                   8421:   $RM conftest*
                   8422:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8423:   touch conftest.a
                   8424:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8425:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8426:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   8427: echo "${ECHO_T}$hard_links" >&6
                   8428:   if test "$hard_links" = no; then
                   8429:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8430: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8431:     need_locks=warn
1.10      paf      8432:   fi
                   8433: else
1.23      moko     8434:   need_locks=no
1.10      paf      8435: fi
                   8436: 
                   8437: 
                   8438: 
                   8439: 
                   8440: 
                   8441: 
1.23      moko     8442:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8443: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   8444: 
                   8445:   runpath_var=
                   8446:   allow_undefined_flag=
                   8447:   always_export_symbols=no
                   8448:   archive_cmds=
                   8449:   archive_expsym_cmds=
                   8450:   compiler_needs_object=no
                   8451:   enable_shared_with_static_runtimes=no
                   8452:   export_dynamic_flag_spec=
                   8453:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8454:   hardcode_automatic=no
                   8455:   hardcode_direct=no
                   8456:   hardcode_direct_absolute=no
                   8457:   hardcode_libdir_flag_spec=
                   8458:   hardcode_libdir_separator=
                   8459:   hardcode_minus_L=no
                   8460:   hardcode_shlibpath_var=unsupported
                   8461:   inherit_rpath=no
                   8462:   link_all_deplibs=unknown
                   8463:   module_cmds=
                   8464:   module_expsym_cmds=
                   8465:   old_archive_from_new_cmds=
                   8466:   old_archive_from_expsyms_cmds=
                   8467:   thread_safe_flag_spec=
                   8468:   whole_archive_flag_spec=
                   8469:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8470:   # included in the symbol list
                   8471:   include_expsyms=
                   8472:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8473:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8474:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8475:   # as well as any symbol that contains `d'.
                   8476:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8477:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8478:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8479:   # the symbol is explicitly referenced.  Since portable code cannot
                   8480:   # rely on this symbol name, it's probably fine to never include it in
                   8481:   # preloaded symbol tables.
                   8482:   # Exclude shared library initialization/finalization symbols.
                   8483:   extract_expsyms_cmds=
                   8484: 
                   8485:   case $host_os in
                   8486:   cygwin* | mingw* | pw32* | cegcc*)
                   8487:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8488:     # When not using gcc, we currently assume that we are using
                   8489:     # Microsoft Visual C++.
                   8490:     if test "$GCC" != yes; then
                   8491:       with_gnu_ld=no
                   8492:     fi
                   8493:     ;;
                   8494:   interix*)
                   8495:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8496:     with_gnu_ld=yes
                   8497:     ;;
                   8498:   openbsd*)
                   8499:     with_gnu_ld=no
                   8500:     ;;
                   8501:   esac
                   8502: 
                   8503:   ld_shlibs=yes
                   8504: 
                   8505:   # On some targets, GNU ld is compatible enough with the native linker
                   8506:   # that we're better off using the native interface for both.
                   8507:   lt_use_gnu_ld_interface=no
                   8508:   if test "$with_gnu_ld" = yes; then
                   8509:     case $host_os in
                   8510:       aix*)
                   8511:        # The AIX port of GNU ld has always aspired to compatibility
                   8512:        # with the native linker.  However, as the warning in the GNU ld
                   8513:        # block says, versions before 2.19.5* couldn't really create working
                   8514:        # shared libraries, regardless of the interface used.
                   8515:        case `$LD -v 2>&1` in
                   8516:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   8517:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   8518:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   8519:          *)
                   8520:            lt_use_gnu_ld_interface=yes
                   8521:            ;;
                   8522:        esac
                   8523:        ;;
                   8524:       *)
                   8525:        lt_use_gnu_ld_interface=yes
                   8526:        ;;
                   8527:     esac
1.10      paf      8528:   fi
                   8529: 
1.23      moko     8530:   if test "$lt_use_gnu_ld_interface" = yes; then
                   8531:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8532:     wlarc='${wl}'
                   8533: 
                   8534:     # Set some defaults for GNU ld with shared library support. These
                   8535:     # are reset later if shared libraries are not supported. Putting them
                   8536:     # here allows them to be overridden if necessary.
                   8537:     runpath_var=LD_RUN_PATH
                   8538:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8539:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8540:     # ancient GNU ld didn't support --whole-archive et. al.
                   8541:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8542:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8543:     else
                   8544:       whole_archive_flag_spec=
                   8545:     fi
                   8546:     supports_anon_versioning=no
                   8547:     case `$LD -v 2>&1` in
                   8548:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8549:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8550:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8551:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8552:       *\ 2.11.*) ;; # other 2.11 versions
                   8553:       *) supports_anon_versioning=yes ;;
                   8554:     esac
                   8555: 
                   8556:     # See if GNU ld supports shared libraries.
                   8557:     case $host_os in
                   8558:     aix[3-9]*)
                   8559:       # On AIX/PPC, the GNU linker is very broken
                   8560:       if test "$host_cpu" != ia64; then
                   8561:        ld_shlibs=no
                   8562:        cat <<_LT_EOF 1>&2
1.10      paf      8563: 
1.23      moko     8564: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   8565: *** to be unable to reliably create shared libraries on AIX.
                   8566: *** Therefore, libtool is disabling shared libraries support.  If you
                   8567: *** really care for shared libraries, you may want to install binutils
                   8568: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   8569: *** You will then need to restart the configuration process.
1.10      paf      8570: 
1.23      moko     8571: _LT_EOF
                   8572:       fi
                   8573:       ;;
1.10      paf      8574: 
1.23      moko     8575:     amigaos*)
                   8576:       case $host_cpu in
                   8577:       powerpc)
                   8578:             # see comment about AmigaOS4 .so support
                   8579:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8580:             archive_expsym_cmds=''
                   8581:         ;;
                   8582:       m68k)
                   8583:             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)'
                   8584:             hardcode_libdir_flag_spec='-L$libdir'
                   8585:             hardcode_minus_L=yes
                   8586:         ;;
                   8587:       esac
                   8588:       ;;
1.10      paf      8589: 
1.23      moko     8590:     beos*)
                   8591:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8592:        allow_undefined_flag=unsupported
                   8593:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8594:        # support --undefined.  This deserves some investigation.  FIXME
                   8595:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8596:       else
                   8597:        ld_shlibs=no
                   8598:       fi
                   8599:       ;;
1.10      paf      8600: 
1.23      moko     8601:     cygwin* | mingw* | pw32* | cegcc*)
                   8602:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8603:       # as there is no search path for DLLs.
                   8604:       hardcode_libdir_flag_spec='-L$libdir'
                   8605:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   8606:       allow_undefined_flag=unsupported
                   8607:       always_export_symbols=no
                   8608:       enable_shared_with_static_runtimes=yes
                   8609:       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'
                   8610:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   8611: 
                   8612:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8613:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8614:        # If the export-symbols file already is a .def file (1st line
                   8615:        # is EXPORTS), use it as is; otherwise, prepend...
                   8616:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8617:          cp $export_symbols $output_objdir/$soname.def;
                   8618:        else
                   8619:          echo EXPORTS > $output_objdir/$soname.def;
                   8620:          cat $export_symbols >> $output_objdir/$soname.def;
                   8621:        fi~
                   8622:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8623:       else
                   8624:        ld_shlibs=no
                   8625:       fi
                   8626:       ;;
1.10      paf      8627: 
1.23      moko     8628:     haiku*)
                   8629:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8630:       link_all_deplibs=yes
                   8631:       ;;
1.10      paf      8632: 
1.23      moko     8633:     interix[3-9]*)
                   8634:       hardcode_direct=no
                   8635:       hardcode_shlibpath_var=no
                   8636:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8637:       export_dynamic_flag_spec='${wl}-E'
                   8638:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8639:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8640:       # default) and relocated if they conflict, which is a slow very memory
                   8641:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8642:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8643:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8644:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8645:       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'
                   8646:       ;;
1.10      paf      8647: 
1.23      moko     8648:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8649:       tmp_diet=no
                   8650:       if test "$host_os" = linux-dietlibc; then
                   8651:        case $cc_basename in
                   8652:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8653:        esac
                   8654:       fi
                   8655:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8656:         && test "$tmp_diet" = no
                   8657:       then
                   8658:        tmp_addflag=' $pic_flag'
                   8659:        tmp_sharedflag='-shared'
                   8660:        case $cc_basename,$host_cpu in
                   8661:         pgcc*)                         # Portland Group C compiler
                   8662:          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'
                   8663:          tmp_addflag=' $pic_flag'
                   8664:          ;;
                   8665:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   8666:                                        # Portland Group f77 and f90 compilers
                   8667:          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'
                   8668:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8669:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8670:          tmp_addflag=' -i_dynamic' ;;
                   8671:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8672:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8673:        ifc* | ifort*)                  # Intel Fortran compiler
                   8674:          tmp_addflag=' -nofor_main' ;;
                   8675:        lf95*)                          # Lahey Fortran 8.1
                   8676:          whole_archive_flag_spec=
                   8677:          tmp_sharedflag='--shared' ;;
                   8678:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   8679:          tmp_sharedflag='-qmkshrobj'
                   8680:          tmp_addflag= ;;
                   8681:        nvcc*)  # Cuda Compiler Driver 2.2
                   8682:          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'
                   8683:          compiler_needs_object=yes
                   8684:          ;;
                   8685:        esac
                   8686:        case `$CC -V 2>&1 | sed 5q` in
                   8687:        *Sun\ C*)                       # Sun C 5.9
                   8688:          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'
                   8689:          compiler_needs_object=yes
                   8690:          tmp_sharedflag='-G' ;;
                   8691:        *Sun\ F*)                       # Sun Fortran 8.3
                   8692:          tmp_sharedflag='-G' ;;
                   8693:        esac
                   8694:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.10      paf      8695: 
1.23      moko     8696:         if test "x$supports_anon_versioning" = xyes; then
                   8697:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8698:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8699:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8700:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8701:         fi
                   8702: 
                   8703:        case $cc_basename in
                   8704:        xlf* | bgf* | bgxlf* | mpixlf*)
                   8705:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8706:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8707:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8708:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   8709:          if test "x$supports_anon_versioning" = xyes; then
                   8710:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8711:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8712:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   8713:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   8714:          fi
                   8715:          ;;
                   8716:        esac
                   8717:       else
                   8718:         ld_shlibs=no
                   8719:       fi
                   8720:       ;;
1.10      paf      8721: 
1.23      moko     8722:     netbsd*)
                   8723:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8724:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8725:        wlarc=
                   8726:       else
                   8727:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8728:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8729:       fi
                   8730:       ;;
1.10      paf      8731: 
1.23      moko     8732:     solaris*)
                   8733:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8734:        ld_shlibs=no
                   8735:        cat <<_LT_EOF 1>&2
1.10      paf      8736: 
1.23      moko     8737: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8738: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8739: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8740: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8741: *** your PATH or compiler configuration so that the native linker is
                   8742: *** used, and then restart.
1.10      paf      8743: 
1.23      moko     8744: _LT_EOF
                   8745:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8746:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8747:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8748:       else
                   8749:        ld_shlibs=no
                   8750:       fi
                   8751:       ;;
1.10      paf      8752: 
1.23      moko     8753:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8754:       case `$LD -v 2>&1` in
                   8755:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8756:        ld_shlibs=no
                   8757:        cat <<_LT_EOF 1>&2
1.10      paf      8758: 
1.23      moko     8759: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8760: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8761: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8762: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8763: *** your PATH or compiler configuration so that the native linker is
                   8764: *** used, and then restart.
1.10      paf      8765: 
1.23      moko     8766: _LT_EOF
                   8767:        ;;
                   8768:        *)
                   8769:          # For security reasons, it is highly recommended that you always
                   8770:          # use absolute paths for naming shared libraries, and exclude the
                   8771:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8772:          # requires that you compile everything twice, which is a pain.
                   8773:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8774:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8775:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8776:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8777:          else
                   8778:            ld_shlibs=no
                   8779:          fi
                   8780:        ;;
                   8781:       esac
                   8782:       ;;
1.10      paf      8783: 
1.23      moko     8784:     sunos4*)
                   8785:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8786:       wlarc=
                   8787:       hardcode_direct=yes
                   8788:       hardcode_shlibpath_var=no
                   8789:       ;;
1.10      paf      8790: 
1.23      moko     8791:     *)
                   8792:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8793:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8794:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8795:       else
                   8796:        ld_shlibs=no
                   8797:       fi
                   8798:       ;;
                   8799:     esac
1.10      paf      8800: 
1.23      moko     8801:     if test "$ld_shlibs" = no; then
                   8802:       runpath_var=
                   8803:       hardcode_libdir_flag_spec=
                   8804:       export_dynamic_flag_spec=
                   8805:       whole_archive_flag_spec=
                   8806:     fi
                   8807:   else
                   8808:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8809:     case $host_os in
                   8810:     aix3*)
                   8811:       allow_undefined_flag=unsupported
                   8812:       always_export_symbols=yes
                   8813:       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'
                   8814:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8815:       # are no directories specified by -L.
                   8816:       hardcode_minus_L=yes
                   8817:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8818:        # Neither direct hardcoding nor static linking is supported with a
                   8819:        # broken collect2.
                   8820:        hardcode_direct=unsupported
                   8821:       fi
                   8822:       ;;
1.10      paf      8823: 
1.23      moko     8824:     aix[4-9]*)
                   8825:       if test "$host_cpu" = ia64; then
                   8826:        # On IA64, the linker does run time linking by default, so we don't
                   8827:        # have to do anything special.
                   8828:        aix_use_runtimelinking=no
                   8829:        exp_sym_flag='-Bexport'
                   8830:        no_entry_flag=""
                   8831:       else
                   8832:        # If we're using GNU nm, then we don't want the "-C" option.
                   8833:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   8834:        # Also, AIX nm treats weak defined symbols like other global
                   8835:        # defined symbols, whereas GNU nm marks them as "W".
                   8836:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   8837:          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'
                   8838:        else
                   8839:          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'
                   8840:        fi
                   8841:        aix_use_runtimelinking=no
1.10      paf      8842: 
1.23      moko     8843:        # Test if we are trying to use run time linking or normal
                   8844:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   8845:        # need to do runtime linking.
                   8846:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   8847:          for ld_flag in $LDFLAGS; do
                   8848:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   8849:            aix_use_runtimelinking=yes
                   8850:            break
                   8851:          fi
                   8852:          done
                   8853:          ;;
                   8854:        esac
1.10      paf      8855: 
1.23      moko     8856:        exp_sym_flag='-bexport'
                   8857:        no_entry_flag='-bnoentry'
                   8858:       fi
1.10      paf      8859: 
1.23      moko     8860:       # When large executables or shared objects are built, AIX ld can
                   8861:       # have problems creating the table of contents.  If linking a library
                   8862:       # or program results in "error TOC overflow" add -mminimal-toc to
                   8863:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   8864:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   8865: 
                   8866:       archive_cmds=''
                   8867:       hardcode_direct=yes
                   8868:       hardcode_direct_absolute=yes
                   8869:       hardcode_libdir_separator=':'
                   8870:       link_all_deplibs=yes
                   8871:       file_list_spec='${wl}-f,'
                   8872: 
                   8873:       if test "$GCC" = yes; then
                   8874:        case $host_os in aix4.[012]|aix4.[012].*)
                   8875:        # We only want to do this on AIX 4.2 and lower, the check
                   8876:        # below for broken collect2 doesn't work under 4.3+
                   8877:          collect2name=`${CC} -print-prog-name=collect2`
                   8878:          if test -f "$collect2name" &&
                   8879:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   8880:          then
                   8881:          # We have reworked collect2
                   8882:          :
                   8883:          else
                   8884:          # We have old collect2
                   8885:          hardcode_direct=unsupported
                   8886:          # It fails to find uninstalled libraries when the uninstalled
                   8887:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   8888:          # to unsupported forces relinking
                   8889:          hardcode_minus_L=yes
                   8890:          hardcode_libdir_flag_spec='-L$libdir'
                   8891:          hardcode_libdir_separator=
                   8892:          fi
                   8893:          ;;
                   8894:        esac
                   8895:        shared_flag='-shared'
                   8896:        if test "$aix_use_runtimelinking" = yes; then
                   8897:          shared_flag="$shared_flag "'${wl}-G'
                   8898:        fi
                   8899:       else
                   8900:        # not using gcc
                   8901:        if test "$host_cpu" = ia64; then
                   8902:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   8903:        # chokes on -Wl,-G. The following line is correct:
                   8904:          shared_flag='-G'
                   8905:        else
                   8906:          if test "$aix_use_runtimelinking" = yes; then
                   8907:            shared_flag='${wl}-G'
                   8908:          else
                   8909:            shared_flag='${wl}-bM:SRE'
                   8910:          fi
                   8911:        fi
                   8912:       fi
                   8913: 
                   8914:       export_dynamic_flag_spec='${wl}-bexpall'
                   8915:       # It seems that -bexpall does not export symbols beginning with
                   8916:       # underscore (_), so it is better to generate a list of symbols to export.
                   8917:       always_export_symbols=yes
                   8918:       if test "$aix_use_runtimelinking" = yes; then
                   8919:        # Warning - without using the other runtime loading flags (-brtl),
                   8920:        # -berok will link without error, but may produce a broken library.
                   8921:        allow_undefined_flag='-berok'
                   8922:         # Determine the default libpath from the value encoded in an
                   8923:         # empty executable.
                   8924:         if test "${lt_cv_aix_libpath+set}" = set; then
                   8925:   aix_libpath=$lt_cv_aix_libpath
                   8926: else
                   8927:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   8928:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8929: else
                   8930:   cat >conftest.$ac_ext <<_ACEOF
                   8931: /* confdefs.h.  */
                   8932: _ACEOF
                   8933: cat confdefs.h >>conftest.$ac_ext
                   8934: cat >>conftest.$ac_ext <<_ACEOF
                   8935: /* end confdefs.h.  */
1.10      paf      8936: 
1.23      moko     8937: int
                   8938: main ()
                   8939: {
1.10      paf      8940: 
1.23      moko     8941:   ;
                   8942:   return 0;
                   8943: }
                   8944: _ACEOF
                   8945: rm -f conftest.$ac_objext conftest$ac_exeext
                   8946: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8947:   (eval $ac_link) 2>conftest.er1
                   8948:   ac_status=$?
                   8949:   grep -v '^ *+' conftest.er1 >conftest.err
                   8950:   rm -f conftest.er1
                   8951:   cat conftest.err >&5
                   8952:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8953:   (exit $ac_status); } &&
                   8954:         { ac_try='test -z "$ac_c_werror_flag"
                   8955:                         || test ! -s conftest.err'
                   8956:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8957:   (eval $ac_try) 2>&5
                   8958:   ac_status=$?
                   8959:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8960:   (exit $ac_status); }; } &&
                   8961:         { ac_try='test -s conftest$ac_exeext'
                   8962:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8963:   (eval $ac_try) 2>&5
                   8964:   ac_status=$?
                   8965:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8966:   (exit $ac_status); }; }; then
1.10      paf      8967: 
1.23      moko     8968:   lt_aix_libpath_sed='
                   8969:       /Import File Strings/,/^$/ {
                   8970:          /^0/ {
                   8971:              s/^0  *\([^ ]*\) *$/\1/
                   8972:              p
                   8973:          }
                   8974:       }'
                   8975:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8976:   # Check for a 64-bit object if we didn't find anything.
                   8977:   if test -z "$lt_cv_aix_libpath_"; then
                   8978:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8979:   fi
                   8980: else
                   8981:   echo "$as_me: failed program was:" >&5
                   8982: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      8983: 
1.23      moko     8984: fi
                   8985: rm -f conftest.err conftest.$ac_objext \
                   8986:       conftest$ac_exeext conftest.$ac_ext
                   8987:   if test -z "$lt_cv_aix_libpath_"; then
                   8988:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   8989:   fi
1.10      paf      8990: 
1.23      moko     8991: fi
1.10      paf      8992: 
1.23      moko     8993:   aix_libpath=$lt_cv_aix_libpath_
                   8994: fi
1.10      paf      8995: 
1.23      moko     8996:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   8997:         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"
                   8998:       else
                   8999:        if test "$host_cpu" = ia64; then
                   9000:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9001:          allow_undefined_flag="-z nodefs"
                   9002:          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"
                   9003:        else
                   9004:         # Determine the default libpath from the value encoded in an
                   9005:         # empty executable.
                   9006:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9007:   aix_libpath=$lt_cv_aix_libpath
                   9008: else
                   9009:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9010:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9011: else
                   9012:   cat >conftest.$ac_ext <<_ACEOF
                   9013: /* confdefs.h.  */
                   9014: _ACEOF
                   9015: cat confdefs.h >>conftest.$ac_ext
                   9016: cat >>conftest.$ac_ext <<_ACEOF
                   9017: /* end confdefs.h.  */
1.10      paf      9018: 
1.23      moko     9019: int
                   9020: main ()
                   9021: {
1.10      paf      9022: 
1.23      moko     9023:   ;
                   9024:   return 0;
                   9025: }
1.10      paf      9026: _ACEOF
1.23      moko     9027: rm -f conftest.$ac_objext conftest$ac_exeext
                   9028: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9029:   (eval $ac_link) 2>conftest.er1
                   9030:   ac_status=$?
                   9031:   grep -v '^ *+' conftest.er1 >conftest.err
                   9032:   rm -f conftest.er1
                   9033:   cat conftest.err >&5
                   9034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9035:   (exit $ac_status); } &&
                   9036:         { ac_try='test -z "$ac_c_werror_flag"
                   9037:                         || test ! -s conftest.err'
                   9038:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9039:   (eval $ac_try) 2>&5
                   9040:   ac_status=$?
                   9041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9042:   (exit $ac_status); }; } &&
                   9043:         { ac_try='test -s conftest$ac_exeext'
                   9044:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9045:   (eval $ac_try) 2>&5
                   9046:   ac_status=$?
                   9047:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9048:   (exit $ac_status); }; }; then
                   9049: 
                   9050:   lt_aix_libpath_sed='
                   9051:       /Import File Strings/,/^$/ {
                   9052:          /^0/ {
                   9053:              s/^0  *\([^ ]*\) *$/\1/
                   9054:              p
                   9055:          }
                   9056:       }'
                   9057:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9058:   # Check for a 64-bit object if we didn't find anything.
                   9059:   if test -z "$lt_cv_aix_libpath_"; then
                   9060:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9061:   fi
                   9062: else
                   9063:   echo "$as_me: failed program was:" >&5
                   9064: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      9065: 
1.23      moko     9066: fi
                   9067: rm -f conftest.err conftest.$ac_objext \
                   9068:       conftest$ac_exeext conftest.$ac_ext
                   9069:   if test -z "$lt_cv_aix_libpath_"; then
                   9070:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9071:   fi
1.10      paf      9072: 
1.23      moko     9073: fi
1.10      paf      9074: 
1.23      moko     9075:   aix_libpath=$lt_cv_aix_libpath_
                   9076: fi
1.10      paf      9077: 
1.23      moko     9078:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9079:          # Warning - without using the other run time loading flags,
                   9080:          # -berok will link without error, but may produce a broken library.
                   9081:          no_undefined_flag=' ${wl}-bernotok'
                   9082:          allow_undefined_flag=' ${wl}-berok'
                   9083:          if test "$with_gnu_ld" = yes; then
                   9084:            # We only use this code for GNU lds that support --whole-archive.
                   9085:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9086:          else
                   9087:            # Exported symbols can be pulled into shared objects from archives
                   9088:            whole_archive_flag_spec='$convenience'
                   9089:          fi
                   9090:          archive_cmds_need_lc=yes
                   9091:          # This is similar to how AIX traditionally builds its shared libraries.
                   9092:          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'
                   9093:        fi
                   9094:       fi
                   9095:       ;;
1.10      paf      9096: 
1.23      moko     9097:     amigaos*)
                   9098:       case $host_cpu in
                   9099:       powerpc)
                   9100:             # see comment about AmigaOS4 .so support
                   9101:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9102:             archive_expsym_cmds=''
                   9103:         ;;
                   9104:       m68k)
                   9105:             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)'
                   9106:             hardcode_libdir_flag_spec='-L$libdir'
                   9107:             hardcode_minus_L=yes
                   9108:         ;;
                   9109:       esac
                   9110:       ;;
1.10      paf      9111: 
1.23      moko     9112:     bsdi[45]*)
                   9113:       export_dynamic_flag_spec=-rdynamic
                   9114:       ;;
1.1       parser   9115: 
1.23      moko     9116:     cygwin* | mingw* | pw32* | cegcc*)
                   9117:       # When not using gcc, we currently assume that we are using
                   9118:       # Microsoft Visual C++.
                   9119:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9120:       # no search path for DLLs.
                   9121:       case $cc_basename in
                   9122:       cl*)
                   9123:        # Native MSVC
                   9124:        hardcode_libdir_flag_spec=' '
                   9125:        allow_undefined_flag=unsupported
                   9126:        always_export_symbols=yes
                   9127:        file_list_spec='@'
                   9128:        # Tell ltmain to make .lib files, not .a files.
                   9129:        libext=lib
                   9130:        # Tell ltmain to make .dll files, not .so files.
                   9131:        shrext_cmds=".dll"
                   9132:        # FIXME: Setting linknames here is a bad hack.
                   9133:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9134:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9135:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9136:          else
                   9137:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9138:          fi~
                   9139:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9140:          linknames='
                   9141:        # The linker will not automatically build a static lib if we build a DLL.
                   9142:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9143:        enable_shared_with_static_runtimes=yes
                   9144:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9145:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9146:        # Don't use ranlib
                   9147:        old_postinstall_cmds='chmod 644 $oldlib'
                   9148:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9149:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9150:          case $lt_outputfile in
                   9151:            *.exe|*.EXE) ;;
                   9152:            *)
                   9153:              lt_outputfile="$lt_outputfile.exe"
                   9154:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9155:              ;;
                   9156:          esac~
                   9157:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9158:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9159:            $RM "$lt_outputfile.manifest";
                   9160:          fi'
                   9161:        ;;
                   9162:       *)
                   9163:        # Assume MSVC wrapper
                   9164:        hardcode_libdir_flag_spec=' '
                   9165:        allow_undefined_flag=unsupported
                   9166:        # Tell ltmain to make .lib files, not .a files.
                   9167:        libext=lib
                   9168:        # Tell ltmain to make .dll files, not .so files.
                   9169:        shrext_cmds=".dll"
                   9170:        # FIXME: Setting linknames here is a bad hack.
                   9171:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9172:        # The linker will automatically build a .lib file if we build a DLL.
                   9173:        old_archive_from_new_cmds='true'
                   9174:        # FIXME: Should let the user specify the lib program.
                   9175:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9176:        enable_shared_with_static_runtimes=yes
                   9177:        ;;
                   9178:       esac
                   9179:       ;;
1.10      paf      9180: 
1.23      moko     9181:     darwin* | rhapsody*)
1.10      paf      9182: 
                   9183: 
1.23      moko     9184:   archive_cmds_need_lc=no
                   9185:   hardcode_direct=no
                   9186:   hardcode_automatic=yes
                   9187:   hardcode_shlibpath_var=unsupported
                   9188:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9189:     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      9190: 
1.23      moko     9191:   else
                   9192:     whole_archive_flag_spec=''
                   9193:   fi
                   9194:   link_all_deplibs=yes
                   9195:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9196:   case $cc_basename in
                   9197:      ifort*) _lt_dar_can_shared=yes ;;
                   9198:      *) _lt_dar_can_shared=$GCC ;;
                   9199:   esac
                   9200:   if test "$_lt_dar_can_shared" = "yes"; then
                   9201:     output_verbose_link_cmd=func_echo_all
                   9202:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9203:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9204:     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}"
                   9205:     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      9206: 
1.23      moko     9207:   else
                   9208:   ld_shlibs=no
                   9209:   fi
1.1       parser   9210: 
1.23      moko     9211:       ;;
1.10      paf      9212: 
1.23      moko     9213:     dgux*)
                   9214:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9215:       hardcode_libdir_flag_spec='-L$libdir'
                   9216:       hardcode_shlibpath_var=no
                   9217:       ;;
1.10      paf      9218: 
1.23      moko     9219:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9220:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9221:     # does not break anything, and helps significantly (at the cost of a little
                   9222:     # extra space).
                   9223:     freebsd2.2*)
                   9224:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9225:       hardcode_libdir_flag_spec='-R$libdir'
                   9226:       hardcode_direct=yes
                   9227:       hardcode_shlibpath_var=no
                   9228:       ;;
1.10      paf      9229: 
1.23      moko     9230:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9231:     freebsd2.*)
                   9232:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9233:       hardcode_direct=yes
                   9234:       hardcode_minus_L=yes
                   9235:       hardcode_shlibpath_var=no
                   9236:       ;;
1.10      paf      9237: 
1.23      moko     9238:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9239:     freebsd* | dragonfly*)
                   9240:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9241:       hardcode_libdir_flag_spec='-R$libdir'
                   9242:       hardcode_direct=yes
                   9243:       hardcode_shlibpath_var=no
                   9244:       ;;
1.1       parser   9245: 
1.23      moko     9246:     hpux9*)
                   9247:       if test "$GCC" = yes; then
                   9248:        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'
                   9249:       else
                   9250:        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'
                   9251:       fi
                   9252:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9253:       hardcode_libdir_separator=:
                   9254:       hardcode_direct=yes
                   9255: 
                   9256:       # hardcode_minus_L: Not really in the search PATH,
                   9257:       # but as the default location of the library.
                   9258:       hardcode_minus_L=yes
                   9259:       export_dynamic_flag_spec='${wl}-E'
                   9260:       ;;
1.10      paf      9261: 
1.23      moko     9262:     hpux10*)
                   9263:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9264:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9265:       else
                   9266:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9267:       fi
                   9268:       if test "$with_gnu_ld" = no; then
                   9269:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9270:        hardcode_libdir_separator=:
                   9271:        hardcode_direct=yes
                   9272:        hardcode_direct_absolute=yes
                   9273:        export_dynamic_flag_spec='${wl}-E'
                   9274:        # hardcode_minus_L: Not really in the search PATH,
                   9275:        # but as the default location of the library.
                   9276:        hardcode_minus_L=yes
                   9277:       fi
                   9278:       ;;
1.10      paf      9279: 
1.23      moko     9280:     hpux11*)
                   9281:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9282:        case $host_cpu in
                   9283:        hppa*64*)
                   9284:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9285:          ;;
                   9286:        ia64*)
                   9287:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9288:          ;;
                   9289:        *)
                   9290:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9291:          ;;
                   9292:        esac
                   9293:       else
                   9294:        case $host_cpu in
                   9295:        hppa*64*)
                   9296:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9297:          ;;
                   9298:        ia64*)
                   9299:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9300:          ;;
                   9301:        *)
1.10      paf      9302: 
1.23      moko     9303:          # Older versions of the 11.00 compiler do not understand -b yet
                   9304:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9305:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9306: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9307: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9308:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9309: else
                   9310:   lt_cv_prog_compiler__b=no
                   9311:    save_LDFLAGS="$LDFLAGS"
                   9312:    LDFLAGS="$LDFLAGS -b"
                   9313:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9314:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9315:      # The linker can only warn and ignore the option if not recognized
                   9316:      # So say no if there are warnings
                   9317:      if test -s conftest.err; then
                   9318:        # Append any errors to the config.log.
                   9319:        cat conftest.err 1>&5
                   9320:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9321:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9322:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9323:          lt_cv_prog_compiler__b=yes
                   9324:        fi
                   9325:      else
                   9326:        lt_cv_prog_compiler__b=yes
                   9327:      fi
                   9328:    fi
                   9329:    $RM -r conftest*
                   9330:    LDFLAGS="$save_LDFLAGS"
1.10      paf      9331: 
1.23      moko     9332: fi
                   9333: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   9334: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
1.1       parser   9335: 
1.23      moko     9336: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   9337:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9338: else
                   9339:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9340: fi
1.1       parser   9341: 
1.23      moko     9342:          ;;
                   9343:        esac
                   9344:       fi
                   9345:       if test "$with_gnu_ld" = no; then
                   9346:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9347:        hardcode_libdir_separator=:
                   9348: 
                   9349:        case $host_cpu in
                   9350:        hppa*64*|ia64*)
                   9351:          hardcode_direct=no
                   9352:          hardcode_shlibpath_var=no
                   9353:          ;;
                   9354:        *)
                   9355:          hardcode_direct=yes
                   9356:          hardcode_direct_absolute=yes
                   9357:          export_dynamic_flag_spec='${wl}-E'
1.1       parser   9358: 
1.23      moko     9359:          # hardcode_minus_L: Not really in the search PATH,
                   9360:          # but as the default location of the library.
                   9361:          hardcode_minus_L=yes
                   9362:          ;;
                   9363:        esac
                   9364:       fi
                   9365:       ;;
1.1       parser   9366: 
1.23      moko     9367:     irix5* | irix6* | nonstopux*)
                   9368:       if test "$GCC" = yes; then
                   9369:        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'
                   9370:        # Try to use the -exported_symbol ld option, if it does not
                   9371:        # work, assume that -exports_file does not work either and
                   9372:        # implicitly export all symbols.
                   9373:        # This should be the same for all languages, so no per-tag cache variable.
                   9374:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9375: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   9376: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   9377:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9378: else
                   9379:   save_LDFLAGS="$LDFLAGS"
                   9380:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   9381:           cat >conftest.$ac_ext <<_ACEOF
                   9382: /* confdefs.h.  */
                   9383: _ACEOF
                   9384: cat confdefs.h >>conftest.$ac_ext
                   9385: cat >>conftest.$ac_ext <<_ACEOF
                   9386: /* end confdefs.h.  */
                   9387: int foo (void) { return 0; }
1.10      paf      9388: _ACEOF
1.23      moko     9389: rm -f conftest.$ac_objext conftest$ac_exeext
                   9390: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9391:   (eval $ac_link) 2>conftest.er1
                   9392:   ac_status=$?
                   9393:   grep -v '^ *+' conftest.er1 >conftest.err
                   9394:   rm -f conftest.er1
                   9395:   cat conftest.err >&5
                   9396:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9397:   (exit $ac_status); } &&
                   9398:         { ac_try='test -z "$ac_c_werror_flag"
                   9399:                         || test ! -s conftest.err'
                   9400:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9401:   (eval $ac_try) 2>&5
                   9402:   ac_status=$?
                   9403:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9404:   (exit $ac_status); }; } &&
                   9405:         { ac_try='test -s conftest$ac_exeext'
                   9406:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9407:   (eval $ac_try) 2>&5
                   9408:   ac_status=$?
                   9409:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9410:   (exit $ac_status); }; }; then
                   9411:   lt_cv_irix_exported_symbol=yes
                   9412: else
                   9413:   echo "$as_me: failed program was:" >&5
                   9414: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   9415: 
1.23      moko     9416: lt_cv_irix_exported_symbol=no
                   9417: fi
                   9418: rm -f conftest.err conftest.$ac_objext \
                   9419:       conftest$ac_exeext conftest.$ac_ext
                   9420:            LDFLAGS="$save_LDFLAGS"
                   9421: fi
                   9422: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   9423: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
                   9424:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   9425:           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'
                   9426:        fi
1.10      paf      9427:       else
1.23      moko     9428:        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'
                   9429:        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      9430:       fi
1.23      moko     9431:       archive_cmds_need_lc='no'
                   9432:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9433:       hardcode_libdir_separator=:
                   9434:       inherit_rpath=yes
                   9435:       link_all_deplibs=yes
                   9436:       ;;
                   9437: 
                   9438:     netbsd*)
                   9439:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9440:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9441:       else
                   9442:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9443:       fi
                   9444:       hardcode_libdir_flag_spec='-R$libdir'
                   9445:       hardcode_direct=yes
                   9446:       hardcode_shlibpath_var=no
                   9447:       ;;
1.1       parser   9448: 
1.23      moko     9449:     newsos6)
                   9450:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9451:       hardcode_direct=yes
                   9452:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9453:       hardcode_libdir_separator=:
                   9454:       hardcode_shlibpath_var=no
                   9455:       ;;
1.1       parser   9456: 
1.23      moko     9457:     *nto* | *qnx*)
                   9458:       ;;
1.10      paf      9459: 
1.23      moko     9460:     openbsd*)
                   9461:       if test -f /usr/libexec/ld.so; then
                   9462:        hardcode_direct=yes
                   9463:        hardcode_shlibpath_var=no
                   9464:        hardcode_direct_absolute=yes
                   9465:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9466:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9467:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9468:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9469:          export_dynamic_flag_spec='${wl}-E'
                   9470:        else
                   9471:          case $host_os in
                   9472:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9473:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9474:             hardcode_libdir_flag_spec='-R$libdir'
                   9475:             ;;
                   9476:           *)
                   9477:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9478:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9479:             ;;
                   9480:          esac
                   9481:        fi
                   9482:       else
                   9483:        ld_shlibs=no
                   9484:       fi
                   9485:       ;;
1.10      paf      9486: 
1.23      moko     9487:     os2*)
                   9488:       hardcode_libdir_flag_spec='-L$libdir'
                   9489:       hardcode_minus_L=yes
                   9490:       allow_undefined_flag=unsupported
                   9491:       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'
                   9492:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9493:       ;;
1.10      paf      9494: 
1.23      moko     9495:     osf3*)
                   9496:       if test "$GCC" = yes; then
                   9497:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9498:        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'
                   9499:       else
                   9500:        allow_undefined_flag=' -expect_unresolved \*'
                   9501:        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'
                   9502:       fi
                   9503:       archive_cmds_need_lc='no'
                   9504:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9505:       hardcode_libdir_separator=:
                   9506:       ;;
1.16      paf      9507: 
1.23      moko     9508:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9509:       if test "$GCC" = yes; then
                   9510:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9511:        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'
                   9512:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9513:       else
                   9514:        allow_undefined_flag=' -expect_unresolved \*'
                   9515:        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'
                   9516:        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~
                   9517:        $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      9518: 
1.23      moko     9519:        # Both c and cxx compiler support -rpath directly
                   9520:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9521:       fi
                   9522:       archive_cmds_need_lc='no'
                   9523:       hardcode_libdir_separator=:
                   9524:       ;;
1.10      paf      9525: 
1.23      moko     9526:     solaris*)
                   9527:       no_undefined_flag=' -z defs'
                   9528:       if test "$GCC" = yes; then
                   9529:        wlarc='${wl}'
                   9530:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9531:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9532:          $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'
                   9533:       else
                   9534:        case `$CC -V 2>&1` in
                   9535:        *"Compilers 5.0"*)
                   9536:          wlarc=''
                   9537:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9538:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9539:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9540:          ;;
                   9541:        *)
                   9542:          wlarc='${wl}'
                   9543:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9544:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9545:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9546:          ;;
                   9547:        esac
                   9548:       fi
                   9549:       hardcode_libdir_flag_spec='-R$libdir'
                   9550:       hardcode_shlibpath_var=no
                   9551:       case $host_os in
                   9552:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9553:       *)
                   9554:        # The compiler driver will combine and reorder linker options,
                   9555:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9556:        # but is careful enough not to reorder.
                   9557:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9558:        if test "$GCC" = yes; then
                   9559:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9560:        else
                   9561:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9562:        fi
                   9563:        ;;
                   9564:       esac
                   9565:       link_all_deplibs=yes
                   9566:       ;;
1.1       parser   9567: 
1.23      moko     9568:     sunos4*)
                   9569:       if test "x$host_vendor" = xsequent; then
                   9570:        # Use $CC to link under sequent, because it throws in some extra .o
                   9571:        # files that make .init and .fini sections work.
                   9572:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9573:       else
                   9574:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9575:       fi
                   9576:       hardcode_libdir_flag_spec='-L$libdir'
                   9577:       hardcode_direct=yes
                   9578:       hardcode_minus_L=yes
                   9579:       hardcode_shlibpath_var=no
                   9580:       ;;
1.10      paf      9581: 
1.23      moko     9582:     sysv4)
                   9583:       case $host_vendor in
                   9584:        sni)
                   9585:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9586:          hardcode_direct=yes # is this really true???
                   9587:        ;;
                   9588:        siemens)
                   9589:          ## LD is ld it makes a PLAMLIB
                   9590:          ## CC just makes a GrossModule.
                   9591:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9592:          reload_cmds='$CC -r -o $output$reload_objs'
                   9593:          hardcode_direct=no
                   9594:         ;;
                   9595:        motorola)
                   9596:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9597:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9598:        ;;
1.10      paf      9599:       esac
1.23      moko     9600:       runpath_var='LD_RUN_PATH'
                   9601:       hardcode_shlibpath_var=no
                   9602:       ;;
                   9603: 
                   9604:     sysv4.3*)
                   9605:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9606:       hardcode_shlibpath_var=no
                   9607:       export_dynamic_flag_spec='-Bexport'
                   9608:       ;;
1.10      paf      9609: 
1.23      moko     9610:     sysv4*MP*)
                   9611:       if test -d /usr/nec; then
                   9612:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9613:        hardcode_shlibpath_var=no
                   9614:        runpath_var=LD_RUN_PATH
                   9615:        hardcode_runpath_var=yes
                   9616:        ld_shlibs=yes
                   9617:       fi
                   9618:       ;;
1.10      paf      9619: 
1.23      moko     9620:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9621:       no_undefined_flag='${wl}-z,text'
                   9622:       archive_cmds_need_lc=no
                   9623:       hardcode_shlibpath_var=no
                   9624:       runpath_var='LD_RUN_PATH'
1.1       parser   9625: 
1.23      moko     9626:       if test "$GCC" = yes; then
                   9627:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9628:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9629:       else
                   9630:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9631:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9632:       fi
                   9633:       ;;
                   9634: 
                   9635:     sysv5* | sco3.2v5* | sco5v6*)
                   9636:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9637:       # link with -lc, and that would cause any symbols used from libc to
                   9638:       # always be unresolved, which means just about no library would
                   9639:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9640:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9641:       # as -z defs.
                   9642:       no_undefined_flag='${wl}-z,text'
                   9643:       allow_undefined_flag='${wl}-z,nodefs'
                   9644:       archive_cmds_need_lc=no
                   9645:       hardcode_shlibpath_var=no
                   9646:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9647:       hardcode_libdir_separator=':'
                   9648:       link_all_deplibs=yes
                   9649:       export_dynamic_flag_spec='${wl}-Bexport'
                   9650:       runpath_var='LD_RUN_PATH'
                   9651: 
                   9652:       if test "$GCC" = yes; then
                   9653:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9654:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9655:       else
                   9656:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9657:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9658:       fi
                   9659:       ;;
1.1       parser   9660: 
1.23      moko     9661:     uts4*)
                   9662:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9663:       hardcode_libdir_flag_spec='-L$libdir'
                   9664:       hardcode_shlibpath_var=no
                   9665:       ;;
1.1       parser   9666: 
1.23      moko     9667:     *)
                   9668:       ld_shlibs=no
                   9669:       ;;
                   9670:     esac
1.1       parser   9671: 
1.23      moko     9672:     if test x$host_vendor = xsni; then
                   9673:       case $host in
                   9674:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9675:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9676:        ;;
1.10      paf      9677:       esac
1.23      moko     9678:     fi
                   9679:   fi
                   9680: 
                   9681: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   9682: echo "${ECHO_T}$ld_shlibs" >&6
                   9683: test "$ld_shlibs" = no && can_build_shared=no
                   9684: 
                   9685: with_gnu_ld=$with_gnu_ld
                   9686: 
                   9687: 
                   9688: 
                   9689: 
                   9690: 
                   9691: 
                   9692: 
                   9693: 
                   9694: 
                   9695: 
                   9696: 
                   9697: 
                   9698: 
1.10      paf      9699: 
                   9700: 
                   9701: #
1.23      moko     9702: # Do we need to explicitly link libc?
                   9703: #
                   9704: case "x$archive_cmds_need_lc" in
                   9705: x|xyes)
                   9706:   # Assume -lc should be added
                   9707:   archive_cmds_need_lc=yes
                   9708: 
                   9709:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9710:     case $archive_cmds in
                   9711:     *'~'*)
                   9712:       # FIXME: we may have to deal with multi-command sequences.
                   9713:       ;;
                   9714:     '$CC '*)
                   9715:       # Test whether the compiler implicitly links with -lc since on some
                   9716:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9717:       # to ld, don't add -lc before -lgcc.
                   9718:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   9719: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   9720: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   9721:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9722: else
                   9723:   $RM conftest*
                   9724:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9725: 
                   9726:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9727:   (eval $ac_compile) 2>&5
                   9728:   ac_status=$?
                   9729:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9730:   (exit $ac_status); } 2>conftest.err; then
                   9731:          soname=conftest
                   9732:          lib=conftest
                   9733:          libobjs=conftest.$ac_objext
                   9734:          deplibs=
                   9735:          wl=$lt_prog_compiler_wl
                   9736:          pic_flag=$lt_prog_compiler_pic
                   9737:          compiler_flags=-v
                   9738:          linker_flags=-v
                   9739:          verstring=
                   9740:          output_objdir=.
                   9741:          libname=conftest
                   9742:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   9743:          allow_undefined_flag=
                   9744:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   9745:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9746:   ac_status=$?
                   9747:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9748:   (exit $ac_status); }
                   9749:          then
                   9750:            lt_cv_archive_cmds_need_lc=no
                   9751:          else
                   9752:            lt_cv_archive_cmds_need_lc=yes
                   9753:          fi
                   9754:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   9755:        else
                   9756:          cat conftest.err 1>&5
                   9757:        fi
                   9758:        $RM conftest*
                   9759: 
                   9760: fi
                   9761: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   9762: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   9763:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   9764:       ;;
                   9765:     esac
                   9766:   fi
                   9767:   ;;
                   9768: esac
                   9769: 
1.1       parser   9770: 
1.10      paf      9771: 
                   9772: 
                   9773: 
                   9774: 
1.23      moko     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: 
                   9921:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   9922: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   9923: 
                   9924: if test "$GCC" = yes; then
                   9925:   case $host_os in
                   9926:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   9927:     *) lt_awk_arg="/^libraries:/" ;;
                   9928:   esac
                   9929:   case $host_os in
                   9930:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   9931:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   9932:   esac
                   9933:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   9934:   case $lt_search_path_spec in
                   9935:   *\;*)
                   9936:     # if the path contains ";" then we assume it to be the separator
                   9937:     # otherwise default to the standard path separator (i.e. ":") - it is
                   9938:     # assumed that no part of a normal pathname contains ";" but that should
                   9939:     # okay in the real world where ";" in dirpaths is itself problematic.
                   9940:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   9941:     ;;
                   9942:   *)
                   9943:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   9944:     ;;
                   9945:   esac
                   9946:   # Ok, now we have the path, separated by spaces, we can step through it
                   9947:   # and add multilib dir if necessary.
                   9948:   lt_tmp_lt_search_path_spec=
                   9949:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   9950:   for lt_sys_path in $lt_search_path_spec; do
                   9951:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   9952:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   9953:     else
                   9954:       test -d "$lt_sys_path" && \
                   9955:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1.1       parser   9956:     fi
1.23      moko     9957:   done
                   9958:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   9959: BEGIN {RS=" "; FS="/|\n";} {
                   9960:   lt_foo="";
                   9961:   lt_count=0;
                   9962:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   9963:     if ($lt_i != "" && $lt_i != ".") {
                   9964:       if ($lt_i == "..") {
                   9965:         lt_count++;
                   9966:       } else {
                   9967:         if (lt_count == 0) {
                   9968:           lt_foo="/" $lt_i lt_foo;
                   9969:         } else {
                   9970:           lt_count--;
                   9971:         }
                   9972:       }
                   9973:     }
                   9974:   }
                   9975:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   9976:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   9977: }'`
                   9978:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   9979:   # for these hosts.
                   9980:   case $host_os in
                   9981:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   9982:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   9983:   esac
                   9984:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   9985: else
                   9986:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   9987: fi
                   9988: library_names_spec=
                   9989: libname_spec='lib$name'
                   9990: soname_spec=
                   9991: shrext_cmds=".so"
                   9992: postinstall_cmds=
                   9993: postuninstall_cmds=
                   9994: finish_cmds=
                   9995: finish_eval=
                   9996: shlibpath_var=
                   9997: shlibpath_overrides_runpath=unknown
                   9998: version_type=none
                   9999: dynamic_linker="$host_os ld.so"
                   10000: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10001: need_lib_prefix=unknown
                   10002: hardcode_into_libs=no
                   10003: 
                   10004: # when you set need_version to no, make sure it does not cause -set_version
                   10005: # flags to be left without arguments
                   10006: need_version=unknown
                   10007: 
                   10008: case $host_os in
                   10009: aix3*)
                   10010:   version_type=linux # correct to gnu/linux during the next big refactor
                   10011:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10012:   shlibpath_var=LIBPATH
                   10013: 
                   10014:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10015:   soname_spec='${libname}${release}${shared_ext}$major'
                   10016:   ;;
                   10017: 
                   10018: aix[4-9]*)
                   10019:   version_type=linux # correct to gnu/linux during the next big refactor
                   10020:   need_lib_prefix=no
                   10021:   need_version=no
                   10022:   hardcode_into_libs=yes
                   10023:   if test "$host_cpu" = ia64; then
                   10024:     # AIX 5 supports IA64
                   10025:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10026:     shlibpath_var=LD_LIBRARY_PATH
1.10      paf      10027:   else
1.23      moko     10028:     # With GCC up to 2.95.x, collect2 would create an import file
                   10029:     # for dependence libraries.  The import file would start with
                   10030:     # the line `#! .'.  This would cause the generated library to
                   10031:     # depend on `.', always an invalid library.  This was fixed in
                   10032:     # development snapshots of GCC prior to 3.0.
                   10033:     case $host_os in
                   10034:       aix4 | aix4.[01] | aix4.[01].*)
                   10035:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10036:           echo ' yes '
                   10037:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10038:        :
                   10039:       else
                   10040:        can_build_shared=no
                   10041:       fi
                   10042:       ;;
                   10043:     esac
                   10044:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10045:     # soname into executable. Probably we can add versioning support to
                   10046:     # collect2, so additional links can be useful in future.
                   10047:     if test "$aix_use_runtimelinking" = yes; then
                   10048:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10049:       # instead of lib<name>.a to let people know that these are not
                   10050:       # typical AIX shared libraries.
                   10051:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10052:     else
                   10053:       # We preserve .a as extension for shared libraries through AIX4.2
                   10054:       # and later when we are not doing run time linking.
                   10055:       library_names_spec='${libname}${release}.a $libname.a'
                   10056:       soname_spec='${libname}${release}${shared_ext}$major'
                   10057:     fi
                   10058:     shlibpath_var=LIBPATH
1.1       parser   10059:   fi
1.23      moko     10060:   ;;
                   10061: 
                   10062: amigaos*)
                   10063:   case $host_cpu in
                   10064:   powerpc)
                   10065:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10066:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10067:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10068:     ;;
                   10069:   m68k)
                   10070:     library_names_spec='$libname.ixlibrary $libname.a'
                   10071:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10072:     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'
                   10073:     ;;
1.16      paf      10074:   esac
1.23      moko     10075:   ;;
                   10076: 
                   10077: beos*)
                   10078:   library_names_spec='${libname}${shared_ext}'
                   10079:   dynamic_linker="$host_os ld.so"
                   10080:   shlibpath_var=LIBRARY_PATH
                   10081:   ;;
                   10082: 
                   10083: bsdi[45]*)
                   10084:   version_type=linux # correct to gnu/linux during the next big refactor
                   10085:   need_version=no
                   10086:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10087:   soname_spec='${libname}${release}${shared_ext}$major'
                   10088:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10089:   shlibpath_var=LD_LIBRARY_PATH
                   10090:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10091:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10092:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10093:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10094:   # libtool to hard-code these into programs
                   10095:   ;;
                   10096: 
                   10097: cygwin* | mingw* | pw32* | cegcc*)
                   10098:   version_type=windows
                   10099:   shrext_cmds=".dll"
                   10100:   need_version=no
                   10101:   need_lib_prefix=no
                   10102: 
                   10103:   case $GCC,$cc_basename in
                   10104:   yes,*)
                   10105:     # gcc
                   10106:     library_names_spec='$libname.dll.a'
                   10107:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10108:     postinstall_cmds='base_file=`basename \${file}`~
                   10109:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10110:       dldir=$destdir/`dirname \$dlpath`~
                   10111:       test -d \$dldir || mkdir -p \$dldir~
                   10112:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10113:       chmod a+x \$dldir/$dlname~
                   10114:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10115:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10116:       fi'
                   10117:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10118:       dlpath=$dir/\$dldll~
                   10119:        $RM \$dlpath'
                   10120:     shlibpath_overrides_runpath=yes
                   10121: 
                   10122:     case $host_os in
                   10123:     cygwin*)
                   10124:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10125:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10126: 
                   10127:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10128:       ;;
                   10129:     mingw* | cegcc*)
                   10130:       # MinGW DLLs use traditional 'lib' prefix
                   10131:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10132:       ;;
                   10133:     pw32*)
                   10134:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10135:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10136:       ;;
                   10137:     esac
                   10138:     dynamic_linker='Win32 ld.exe'
                   10139:     ;;
                   10140: 
                   10141:   *,cl*)
                   10142:     # Native MSVC
                   10143:     libname_spec='$name'
                   10144:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10145:     library_names_spec='${libname}.dll.lib'
                   10146: 
                   10147:     case $build_os in
                   10148:     mingw*)
                   10149:       sys_lib_search_path_spec=
                   10150:       lt_save_ifs=$IFS
                   10151:       IFS=';'
                   10152:       for lt_path in $LIB
                   10153:       do
                   10154:         IFS=$lt_save_ifs
                   10155:         # Let DOS variable expansion print the short 8.3 style file name.
                   10156:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10157:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10158:       done
                   10159:       IFS=$lt_save_ifs
                   10160:       # Convert to MSYS style.
                   10161:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10162:       ;;
                   10163:     cygwin*)
                   10164:       # Convert to unix form, then to dos form, then back to unix form
                   10165:       # but this time dos style (no spaces!) so that the unix form looks
                   10166:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10167:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10168:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10169:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10170:       ;;
                   10171:     *)
                   10172:       sys_lib_search_path_spec="$LIB"
                   10173:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10174:         # It is most probably a Windows format PATH.
                   10175:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10176:       else
                   10177:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10178:       fi
                   10179:       # FIXME: find the short name or the path components, as spaces are
                   10180:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10181:       ;;
                   10182:     esac
                   10183: 
                   10184:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10185:     postinstall_cmds='base_file=`basename \${file}`~
                   10186:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10187:       dldir=$destdir/`dirname \$dlpath`~
                   10188:       test -d \$dldir || mkdir -p \$dldir~
                   10189:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10190:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10191:       dlpath=$dir/\$dldll~
                   10192:        $RM \$dlpath'
                   10193:     shlibpath_overrides_runpath=yes
                   10194:     dynamic_linker='Win32 link.exe'
                   10195:     ;;
                   10196: 
                   10197:   *)
                   10198:     # Assume MSVC wrapper
                   10199:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10200:     dynamic_linker='Win32 ld.exe'
                   10201:     ;;
                   10202:   esac
                   10203:   # FIXME: first we should search . and the directory the executable is in
                   10204:   shlibpath_var=PATH
                   10205:   ;;
                   10206: 
                   10207: darwin* | rhapsody*)
                   10208:   dynamic_linker="$host_os dyld"
                   10209:   version_type=darwin
                   10210:   need_lib_prefix=no
                   10211:   need_version=no
                   10212:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10213:   soname_spec='${libname}${release}${major}$shared_ext'
                   10214:   shlibpath_overrides_runpath=yes
                   10215:   shlibpath_var=DYLD_LIBRARY_PATH
                   10216:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10217: 
                   10218:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10219:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10220:   ;;
                   10221: 
                   10222: dgux*)
                   10223:   version_type=linux # correct to gnu/linux during the next big refactor
                   10224:   need_lib_prefix=no
                   10225:   need_version=no
                   10226:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10227:   soname_spec='${libname}${release}${shared_ext}$major'
                   10228:   shlibpath_var=LD_LIBRARY_PATH
                   10229:   ;;
                   10230: 
                   10231: freebsd* | dragonfly*)
                   10232:   # DragonFly does not have aout.  When/if they implement a new
                   10233:   # versioning mechanism, adjust this.
                   10234:   if test -x /usr/bin/objformat; then
                   10235:     objformat=`/usr/bin/objformat`
                   10236:   else
                   10237:     case $host_os in
                   10238:     freebsd[23].*) objformat=aout ;;
                   10239:     *) objformat=elf ;;
                   10240:     esac
                   10241:   fi
                   10242:   version_type=freebsd-$objformat
                   10243:   case $version_type in
                   10244:     freebsd-elf*)
                   10245:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10246:       need_version=no
                   10247:       need_lib_prefix=no
                   10248:       ;;
                   10249:     freebsd-*)
                   10250:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10251:       need_version=yes
                   10252:       ;;
                   10253:   esac
                   10254:   shlibpath_var=LD_LIBRARY_PATH
                   10255:   case $host_os in
                   10256:   freebsd2.*)
                   10257:     shlibpath_overrides_runpath=yes
                   10258:     ;;
                   10259:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10260:     shlibpath_overrides_runpath=yes
                   10261:     hardcode_into_libs=yes
                   10262:     ;;
                   10263:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10264:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10265:     shlibpath_overrides_runpath=no
                   10266:     hardcode_into_libs=yes
                   10267:     ;;
                   10268:   *) # from 4.6 on, and DragonFly
                   10269:     shlibpath_overrides_runpath=yes
                   10270:     hardcode_into_libs=yes
                   10271:     ;;
                   10272:   esac
                   10273:   ;;
                   10274: 
                   10275: gnu*)
                   10276:   version_type=linux # correct to gnu/linux during the next big refactor
                   10277:   need_lib_prefix=no
                   10278:   need_version=no
                   10279:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10280:   soname_spec='${libname}${release}${shared_ext}$major'
                   10281:   shlibpath_var=LD_LIBRARY_PATH
                   10282:   shlibpath_overrides_runpath=no
                   10283:   hardcode_into_libs=yes
                   10284:   ;;
                   10285: 
                   10286: haiku*)
                   10287:   version_type=linux # correct to gnu/linux during the next big refactor
                   10288:   need_lib_prefix=no
                   10289:   need_version=no
                   10290:   dynamic_linker="$host_os runtime_loader"
                   10291:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10292:   soname_spec='${libname}${release}${shared_ext}$major'
                   10293:   shlibpath_var=LIBRARY_PATH
                   10294:   shlibpath_overrides_runpath=yes
                   10295:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10296:   hardcode_into_libs=yes
                   10297:   ;;
                   10298: 
                   10299: hpux9* | hpux10* | hpux11*)
                   10300:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10301:   # link against other versions.
                   10302:   version_type=sunos
                   10303:   need_lib_prefix=no
                   10304:   need_version=no
                   10305:   case $host_cpu in
                   10306:   ia64*)
                   10307:     shrext_cmds='.so'
                   10308:     hardcode_into_libs=yes
                   10309:     dynamic_linker="$host_os dld.so"
                   10310:     shlibpath_var=LD_LIBRARY_PATH
                   10311:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10312:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10313:     soname_spec='${libname}${release}${shared_ext}$major'
                   10314:     if test "X$HPUX_IA64_MODE" = X32; then
                   10315:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10316:     else
                   10317:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10318:     fi
                   10319:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10320:     ;;
                   10321:   hppa*64*)
                   10322:     shrext_cmds='.sl'
                   10323:     hardcode_into_libs=yes
                   10324:     dynamic_linker="$host_os dld.sl"
                   10325:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10326:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10327:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10328:     soname_spec='${libname}${release}${shared_ext}$major'
                   10329:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10330:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10331:     ;;
                   10332:   *)
                   10333:     shrext_cmds='.sl'
                   10334:     dynamic_linker="$host_os dld.sl"
                   10335:     shlibpath_var=SHLIB_PATH
                   10336:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10337:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10338:     soname_spec='${libname}${release}${shared_ext}$major'
                   10339:     ;;
                   10340:   esac
                   10341:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   10342:   postinstall_cmds='chmod 555 $lib'
                   10343:   # or fails outright, so override atomically:
                   10344:   install_override_mode=555
                   10345:   ;;
                   10346: 
                   10347: interix[3-9]*)
                   10348:   version_type=linux # correct to gnu/linux during the next big refactor
                   10349:   need_lib_prefix=no
                   10350:   need_version=no
                   10351:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10352:   soname_spec='${libname}${release}${shared_ext}$major'
                   10353:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10354:   shlibpath_var=LD_LIBRARY_PATH
                   10355:   shlibpath_overrides_runpath=no
                   10356:   hardcode_into_libs=yes
                   10357:   ;;
                   10358: 
                   10359: irix5* | irix6* | nonstopux*)
                   10360:   case $host_os in
                   10361:     nonstopux*) version_type=nonstopux ;;
                   10362:     *)
                   10363:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10364:                version_type=linux # correct to gnu/linux during the next big refactor
                   10365:        else
                   10366:                version_type=irix
                   10367:        fi ;;
                   10368:   esac
                   10369:   need_lib_prefix=no
                   10370:   need_version=no
                   10371:   soname_spec='${libname}${release}${shared_ext}$major'
                   10372:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10373:   case $host_os in
                   10374:   irix5* | nonstopux*)
                   10375:     libsuff= shlibsuff=
                   10376:     ;;
                   10377:   *)
                   10378:     case $LD in # libtool.m4 will add one of these switches to LD
                   10379:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10380:       libsuff= shlibsuff= libmagic=32-bit;;
                   10381:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10382:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10383:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10384:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10385:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10386:     esac
                   10387:     ;;
                   10388:   esac
                   10389:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10390:   shlibpath_overrides_runpath=no
                   10391:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10392:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10393:   hardcode_into_libs=yes
                   10394:   ;;
                   10395: 
                   10396: # No shared lib support for Linux oldld, aout, or coff.
                   10397: linux*oldld* | linux*aout* | linux*coff*)
                   10398:   dynamic_linker=no
                   10399:   ;;
                   10400: 
                   10401: # This must be glibc/ELF.
                   10402: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10403:   version_type=linux # correct to gnu/linux during the next big refactor
                   10404:   need_lib_prefix=no
                   10405:   need_version=no
                   10406:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10407:   soname_spec='${libname}${release}${shared_ext}$major'
                   10408:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10409:   shlibpath_var=LD_LIBRARY_PATH
                   10410:   shlibpath_overrides_runpath=no
                   10411: 
                   10412:   # Some binutils ld are patched to set DT_RUNPATH
                   10413:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   10414:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10415: else
                   10416:   lt_cv_shlibpath_overrides_runpath=no
                   10417:     save_LDFLAGS=$LDFLAGS
                   10418:     save_libdir=$libdir
                   10419:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10420:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   10421:     cat >conftest.$ac_ext <<_ACEOF
                   10422: /* confdefs.h.  */
                   10423: _ACEOF
                   10424: cat confdefs.h >>conftest.$ac_ext
                   10425: cat >>conftest.$ac_ext <<_ACEOF
                   10426: /* end confdefs.h.  */
                   10427: 
                   10428: int
                   10429: main ()
                   10430: {
                   10431: 
                   10432:   ;
                   10433:   return 0;
                   10434: }
                   10435: _ACEOF
                   10436: rm -f conftest.$ac_objext conftest$ac_exeext
                   10437: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10438:   (eval $ac_link) 2>conftest.er1
                   10439:   ac_status=$?
                   10440:   grep -v '^ *+' conftest.er1 >conftest.err
                   10441:   rm -f conftest.er1
                   10442:   cat conftest.err >&5
                   10443:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10444:   (exit $ac_status); } &&
                   10445:         { ac_try='test -z "$ac_c_werror_flag"
                   10446:                         || test ! -s conftest.err'
                   10447:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10448:   (eval $ac_try) 2>&5
                   10449:   ac_status=$?
                   10450:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10451:   (exit $ac_status); }; } &&
                   10452:         { ac_try='test -s conftest$ac_exeext'
                   10453:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10454:   (eval $ac_try) 2>&5
                   10455:   ac_status=$?
                   10456:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10457:   (exit $ac_status); }; }; then
                   10458:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   10459:   lt_cv_shlibpath_overrides_runpath=yes
                   10460: fi
                   10461: 
                   10462: else
                   10463:   echo "$as_me: failed program was:" >&5
                   10464: sed 's/^/| /' conftest.$ac_ext >&5
                   10465: 
                   10466: fi
                   10467: rm -f conftest.err conftest.$ac_objext \
                   10468:       conftest$ac_exeext conftest.$ac_ext
                   10469:     LDFLAGS=$save_LDFLAGS
                   10470:     libdir=$save_libdir
                   10471: 
                   10472: fi
                   10473: 
                   10474:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   10475: 
                   10476:   # This implies no fast_install, which is unacceptable.
                   10477:   # Some rework will be needed to allow for fast_install
                   10478:   # before this can be enabled.
                   10479:   hardcode_into_libs=yes
                   10480: 
                   10481:   # Append ld.so.conf contents to the search path
                   10482:   if test -f /etc/ld.so.conf; then
                   10483:     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' ' '`
                   10484:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10485:   fi
                   10486: 
                   10487:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10488:   # powerpc, because MkLinux only supported shared libraries with the
                   10489:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10490:   # most powerpc-linux boxes support dynamic linking these days and
                   10491:   # people can always --disable-shared, the test was removed, and we
                   10492:   # assume the GNU/Linux dynamic linker is in use.
                   10493:   dynamic_linker='GNU/Linux ld.so'
                   10494:   ;;
                   10495: 
                   10496: netbsd*)
                   10497:   version_type=sunos
                   10498:   need_lib_prefix=no
                   10499:   need_version=no
                   10500:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10501:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10502:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10503:     dynamic_linker='NetBSD (a.out) ld.so'
                   10504:   else
                   10505:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10506:     soname_spec='${libname}${release}${shared_ext}$major'
                   10507:     dynamic_linker='NetBSD ld.elf_so'
                   10508:   fi
                   10509:   shlibpath_var=LD_LIBRARY_PATH
                   10510:   shlibpath_overrides_runpath=yes
                   10511:   hardcode_into_libs=yes
                   10512:   ;;
                   10513: 
                   10514: newsos6)
                   10515:   version_type=linux # correct to gnu/linux during the next big refactor
                   10516:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10517:   shlibpath_var=LD_LIBRARY_PATH
                   10518:   shlibpath_overrides_runpath=yes
                   10519:   ;;
                   10520: 
                   10521: *nto* | *qnx*)
                   10522:   version_type=qnx
                   10523:   need_lib_prefix=no
                   10524:   need_version=no
                   10525:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10526:   soname_spec='${libname}${release}${shared_ext}$major'
                   10527:   shlibpath_var=LD_LIBRARY_PATH
                   10528:   shlibpath_overrides_runpath=no
                   10529:   hardcode_into_libs=yes
                   10530:   dynamic_linker='ldqnx.so'
                   10531:   ;;
                   10532: 
                   10533: openbsd*)
                   10534:   version_type=sunos
                   10535:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10536:   need_lib_prefix=no
                   10537:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10538:   case $host_os in
                   10539:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10540:     *)                         need_version=no  ;;
                   10541:   esac
                   10542:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10543:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10544:   shlibpath_var=LD_LIBRARY_PATH
                   10545:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10546:     case $host_os in
                   10547:       openbsd2.[89] | openbsd2.[89].*)
                   10548:        shlibpath_overrides_runpath=no
                   10549:        ;;
                   10550:       *)
                   10551:        shlibpath_overrides_runpath=yes
                   10552:        ;;
                   10553:       esac
                   10554:   else
                   10555:     shlibpath_overrides_runpath=yes
                   10556:   fi
                   10557:   ;;
                   10558: 
                   10559: os2*)
                   10560:   libname_spec='$name'
                   10561:   shrext_cmds=".dll"
                   10562:   need_lib_prefix=no
                   10563:   library_names_spec='$libname${shared_ext} $libname.a'
                   10564:   dynamic_linker='OS/2 ld.exe'
                   10565:   shlibpath_var=LIBPATH
                   10566:   ;;
                   10567: 
                   10568: osf3* | osf4* | osf5*)
                   10569:   version_type=osf
                   10570:   need_lib_prefix=no
                   10571:   need_version=no
                   10572:   soname_spec='${libname}${release}${shared_ext}$major'
                   10573:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10574:   shlibpath_var=LD_LIBRARY_PATH
                   10575:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10576:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10577:   ;;
                   10578: 
                   10579: rdos*)
                   10580:   dynamic_linker=no
                   10581:   ;;
                   10582: 
                   10583: solaris*)
                   10584:   version_type=linux # correct to gnu/linux during the next big refactor
                   10585:   need_lib_prefix=no
                   10586:   need_version=no
                   10587:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10588:   soname_spec='${libname}${release}${shared_ext}$major'
                   10589:   shlibpath_var=LD_LIBRARY_PATH
                   10590:   shlibpath_overrides_runpath=yes
                   10591:   hardcode_into_libs=yes
                   10592:   # ldd complains unless libraries are executable
                   10593:   postinstall_cmds='chmod +x $lib'
                   10594:   ;;
                   10595: 
                   10596: sunos4*)
                   10597:   version_type=sunos
                   10598:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10599:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10600:   shlibpath_var=LD_LIBRARY_PATH
                   10601:   shlibpath_overrides_runpath=yes
                   10602:   if test "$with_gnu_ld" = yes; then
                   10603:     need_lib_prefix=no
                   10604:   fi
                   10605:   need_version=yes
                   10606:   ;;
                   10607: 
                   10608: sysv4 | sysv4.3*)
                   10609:   version_type=linux # correct to gnu/linux during the next big refactor
                   10610:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10611:   soname_spec='${libname}${release}${shared_ext}$major'
                   10612:   shlibpath_var=LD_LIBRARY_PATH
                   10613:   case $host_vendor in
                   10614:     sni)
                   10615:       shlibpath_overrides_runpath=no
                   10616:       need_lib_prefix=no
                   10617:       runpath_var=LD_RUN_PATH
                   10618:       ;;
                   10619:     siemens)
                   10620:       need_lib_prefix=no
                   10621:       ;;
                   10622:     motorola)
                   10623:       need_lib_prefix=no
                   10624:       need_version=no
                   10625:       shlibpath_overrides_runpath=no
                   10626:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10627:       ;;
                   10628:   esac
                   10629:   ;;
                   10630: 
                   10631: sysv4*MP*)
                   10632:   if test -d /usr/nec ;then
                   10633:     version_type=linux # correct to gnu/linux during the next big refactor
                   10634:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10635:     soname_spec='$libname${shared_ext}.$major'
                   10636:     shlibpath_var=LD_LIBRARY_PATH
                   10637:   fi
                   10638:   ;;
                   10639: 
                   10640: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10641:   version_type=freebsd-elf
                   10642:   need_lib_prefix=no
                   10643:   need_version=no
                   10644:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10645:   soname_spec='${libname}${release}${shared_ext}$major'
                   10646:   shlibpath_var=LD_LIBRARY_PATH
                   10647:   shlibpath_overrides_runpath=yes
                   10648:   hardcode_into_libs=yes
                   10649:   if test "$with_gnu_ld" = yes; then
                   10650:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10651:   else
                   10652:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10653:     case $host_os in
                   10654:       sco3.2v5*)
                   10655:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10656:        ;;
                   10657:     esac
                   10658:   fi
                   10659:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10660:   ;;
                   10661: 
                   10662: tpf*)
                   10663:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10664:   version_type=linux # correct to gnu/linux during the next big refactor
                   10665:   need_lib_prefix=no
                   10666:   need_version=no
                   10667:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10668:   shlibpath_var=LD_LIBRARY_PATH
                   10669:   shlibpath_overrides_runpath=no
                   10670:   hardcode_into_libs=yes
                   10671:   ;;
                   10672: 
                   10673: uts4*)
                   10674:   version_type=linux # correct to gnu/linux during the next big refactor
                   10675:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10676:   soname_spec='${libname}${release}${shared_ext}$major'
                   10677:   shlibpath_var=LD_LIBRARY_PATH
                   10678:   ;;
                   10679: 
                   10680: *)
                   10681:   dynamic_linker=no
                   10682:   ;;
                   10683: esac
                   10684: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   10685: echo "${ECHO_T}$dynamic_linker" >&6
                   10686: test "$dynamic_linker" = no && can_build_shared=no
                   10687: 
                   10688: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10689: if test "$GCC" = yes; then
                   10690:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10691: fi
                   10692: 
                   10693: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10694:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10695: fi
                   10696: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10697:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10698: fi
                   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: 
                   10791:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   10792: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   10793: hardcode_action=
                   10794: if test -n "$hardcode_libdir_flag_spec" ||
                   10795:    test -n "$runpath_var" ||
                   10796:    test "X$hardcode_automatic" = "Xyes" ; then
                   10797: 
                   10798:   # We can hardcode non-existent directories.
                   10799:   if test "$hardcode_direct" != no &&
                   10800:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10801:      # have to relink, otherwise we might link with an installed library
                   10802:      # when we should be linking with a yet-to-be-installed one
                   10803:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10804:      test "$hardcode_minus_L" != no; then
                   10805:     # Linking always hardcodes the temporary library directory.
                   10806:     hardcode_action=relink
                   10807:   else
                   10808:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10809:     hardcode_action=immediate
                   10810:   fi
                   10811: else
                   10812:   # We cannot hardcode anything, or else we can only hardcode existing
                   10813:   # directories.
                   10814:   hardcode_action=unsupported
                   10815: fi
                   10816: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   10817: echo "${ECHO_T}$hardcode_action" >&6
                   10818: 
                   10819: if test "$hardcode_action" = relink ||
                   10820:    test "$inherit_rpath" = yes; then
                   10821:   # Fast installation is not supported
                   10822:   enable_fast_install=no
                   10823: elif test "$shlibpath_overrides_runpath" = yes ||
                   10824:      test "$enable_shared" = no; then
                   10825:   # Fast installation is not necessary
                   10826:   enable_fast_install=needless
                   10827: fi
                   10828: 
                   10829: 
                   10830: 
                   10831: 
                   10832: 
                   10833: 
                   10834:   if test "x$enable_dlopen" != xyes; then
                   10835:   enable_dlopen=unknown
                   10836:   enable_dlopen_self=unknown
                   10837:   enable_dlopen_self_static=unknown
                   10838: else
                   10839:   lt_cv_dlopen=no
                   10840:   lt_cv_dlopen_libs=
                   10841: 
                   10842:   case $host_os in
                   10843:   beos*)
                   10844:     lt_cv_dlopen="load_add_on"
                   10845:     lt_cv_dlopen_libs=
                   10846:     lt_cv_dlopen_self=yes
                   10847:     ;;
                   10848: 
                   10849:   mingw* | pw32* | cegcc*)
                   10850:     lt_cv_dlopen="LoadLibrary"
                   10851:     lt_cv_dlopen_libs=
                   10852:     ;;
                   10853: 
                   10854:   cygwin*)
                   10855:     lt_cv_dlopen="dlopen"
                   10856:     lt_cv_dlopen_libs=
                   10857:     ;;
                   10858: 
                   10859:   darwin*)
                   10860:   # if libdl is installed we need to link against it
                   10861:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   10862: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   10863: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   10864:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10865: else
                   10866:   ac_check_lib_save_LIBS=$LIBS
                   10867: LIBS="-ldl  $LIBS"
                   10868: cat >conftest.$ac_ext <<_ACEOF
                   10869: /* confdefs.h.  */
                   10870: _ACEOF
                   10871: cat confdefs.h >>conftest.$ac_ext
                   10872: cat >>conftest.$ac_ext <<_ACEOF
                   10873: /* end confdefs.h.  */
                   10874: 
                   10875: /* Override any gcc2 internal prototype to avoid an error.  */
                   10876: #ifdef __cplusplus
                   10877: extern "C"
                   10878: #endif
                   10879: /* We use char because int might match the return type of a gcc2
                   10880:    builtin and then its argument prototype would still apply.  */
                   10881: char dlopen ();
                   10882: int
                   10883: main ()
                   10884: {
                   10885: dlopen ();
                   10886:   ;
                   10887:   return 0;
                   10888: }
                   10889: _ACEOF
                   10890: rm -f conftest.$ac_objext conftest$ac_exeext
                   10891: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10892:   (eval $ac_link) 2>conftest.er1
                   10893:   ac_status=$?
                   10894:   grep -v '^ *+' conftest.er1 >conftest.err
                   10895:   rm -f conftest.er1
                   10896:   cat conftest.err >&5
                   10897:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10898:   (exit $ac_status); } &&
                   10899:         { ac_try='test -z "$ac_c_werror_flag"
                   10900:                         || test ! -s conftest.err'
                   10901:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10902:   (eval $ac_try) 2>&5
                   10903:   ac_status=$?
                   10904:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10905:   (exit $ac_status); }; } &&
                   10906:         { ac_try='test -s conftest$ac_exeext'
                   10907:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10908:   (eval $ac_try) 2>&5
                   10909:   ac_status=$?
                   10910:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10911:   (exit $ac_status); }; }; then
                   10912:   ac_cv_lib_dl_dlopen=yes
                   10913: else
                   10914:   echo "$as_me: failed program was:" >&5
                   10915: sed 's/^/| /' conftest.$ac_ext >&5
                   10916: 
                   10917: ac_cv_lib_dl_dlopen=no
                   10918: fi
                   10919: rm -f conftest.err conftest.$ac_objext \
                   10920:       conftest$ac_exeext conftest.$ac_ext
                   10921: LIBS=$ac_check_lib_save_LIBS
                   10922: fi
                   10923: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   10924: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   10925: if test $ac_cv_lib_dl_dlopen = yes; then
                   10926:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10927: else
                   10928: 
                   10929:     lt_cv_dlopen="dyld"
                   10930:     lt_cv_dlopen_libs=
                   10931:     lt_cv_dlopen_self=yes
                   10932: 
                   10933: fi
                   10934: 
                   10935:     ;;
                   10936: 
                   10937:   *)
                   10938:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   10939: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   10940: if test "${ac_cv_func_shl_load+set}" = set; then
                   10941:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10942: else
                   10943:   cat >conftest.$ac_ext <<_ACEOF
                   10944: /* confdefs.h.  */
                   10945: _ACEOF
                   10946: cat confdefs.h >>conftest.$ac_ext
                   10947: cat >>conftest.$ac_ext <<_ACEOF
                   10948: /* end confdefs.h.  */
                   10949: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   10950:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   10951: #define shl_load innocuous_shl_load
                   10952: 
                   10953: /* System header to define __stub macros and hopefully few prototypes,
                   10954:     which can conflict with char shl_load (); below.
                   10955:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10956:     <limits.h> exists even on freestanding compilers.  */
                   10957: 
                   10958: #ifdef __STDC__
                   10959: # include <limits.h>
                   10960: #else
                   10961: # include <assert.h>
                   10962: #endif
                   10963: 
                   10964: #undef shl_load
                   10965: 
                   10966: /* Override any gcc2 internal prototype to avoid an error.  */
                   10967: #ifdef __cplusplus
                   10968: extern "C"
                   10969: {
                   10970: #endif
                   10971: /* We use char because int might match the return type of a gcc2
                   10972:    builtin and then its argument prototype would still apply.  */
                   10973: char shl_load ();
                   10974: /* The GNU C library defines this for functions which it implements
                   10975:     to always fail with ENOSYS.  Some functions are actually named
                   10976:     something starting with __ and the normal name is an alias.  */
                   10977: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   10978: choke me
                   10979: #else
                   10980: char (*f) () = shl_load;
                   10981: #endif
                   10982: #ifdef __cplusplus
                   10983: }
                   10984: #endif
                   10985: 
                   10986: int
                   10987: main ()
                   10988: {
                   10989: return f != shl_load;
                   10990:   ;
                   10991:   return 0;
                   10992: }
                   10993: _ACEOF
                   10994: rm -f conftest.$ac_objext conftest$ac_exeext
                   10995: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10996:   (eval $ac_link) 2>conftest.er1
                   10997:   ac_status=$?
                   10998:   grep -v '^ *+' conftest.er1 >conftest.err
                   10999:   rm -f conftest.er1
                   11000:   cat conftest.err >&5
                   11001:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11002:   (exit $ac_status); } &&
                   11003:         { ac_try='test -z "$ac_c_werror_flag"
                   11004:                         || test ! -s conftest.err'
                   11005:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11006:   (eval $ac_try) 2>&5
                   11007:   ac_status=$?
                   11008:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11009:   (exit $ac_status); }; } &&
                   11010:         { ac_try='test -s conftest$ac_exeext'
                   11011:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11012:   (eval $ac_try) 2>&5
                   11013:   ac_status=$?
                   11014:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11015:   (exit $ac_status); }; }; then
                   11016:   ac_cv_func_shl_load=yes
                   11017: else
                   11018:   echo "$as_me: failed program was:" >&5
                   11019: sed 's/^/| /' conftest.$ac_ext >&5
                   11020: 
                   11021: ac_cv_func_shl_load=no
                   11022: fi
                   11023: rm -f conftest.err conftest.$ac_objext \
                   11024:       conftest$ac_exeext conftest.$ac_ext
                   11025: fi
                   11026: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   11027: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   11028: if test $ac_cv_func_shl_load = yes; then
                   11029:   lt_cv_dlopen="shl_load"
                   11030: else
                   11031:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   11032: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   11033: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   11034:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11035: else
                   11036:   ac_check_lib_save_LIBS=$LIBS
                   11037: LIBS="-ldld  $LIBS"
                   11038: cat >conftest.$ac_ext <<_ACEOF
                   11039: /* confdefs.h.  */
                   11040: _ACEOF
                   11041: cat confdefs.h >>conftest.$ac_ext
                   11042: cat >>conftest.$ac_ext <<_ACEOF
                   11043: /* end confdefs.h.  */
                   11044: 
                   11045: /* Override any gcc2 internal prototype to avoid an error.  */
                   11046: #ifdef __cplusplus
                   11047: extern "C"
                   11048: #endif
                   11049: /* We use char because int might match the return type of a gcc2
                   11050:    builtin and then its argument prototype would still apply.  */
                   11051: char shl_load ();
                   11052: int
                   11053: main ()
                   11054: {
                   11055: shl_load ();
                   11056:   ;
                   11057:   return 0;
                   11058: }
                   11059: _ACEOF
                   11060: rm -f conftest.$ac_objext conftest$ac_exeext
                   11061: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11062:   (eval $ac_link) 2>conftest.er1
                   11063:   ac_status=$?
                   11064:   grep -v '^ *+' conftest.er1 >conftest.err
                   11065:   rm -f conftest.er1
                   11066:   cat conftest.err >&5
                   11067:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11068:   (exit $ac_status); } &&
                   11069:         { ac_try='test -z "$ac_c_werror_flag"
                   11070:                         || test ! -s conftest.err'
                   11071:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11072:   (eval $ac_try) 2>&5
                   11073:   ac_status=$?
                   11074:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11075:   (exit $ac_status); }; } &&
                   11076:         { ac_try='test -s conftest$ac_exeext'
                   11077:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11078:   (eval $ac_try) 2>&5
                   11079:   ac_status=$?
                   11080:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11081:   (exit $ac_status); }; }; then
                   11082:   ac_cv_lib_dld_shl_load=yes
                   11083: else
                   11084:   echo "$as_me: failed program was:" >&5
                   11085: sed 's/^/| /' conftest.$ac_ext >&5
                   11086: 
                   11087: ac_cv_lib_dld_shl_load=no
                   11088: fi
                   11089: rm -f conftest.err conftest.$ac_objext \
                   11090:       conftest$ac_exeext conftest.$ac_ext
                   11091: LIBS=$ac_check_lib_save_LIBS
                   11092: fi
                   11093: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   11094: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   11095: if test $ac_cv_lib_dld_shl_load = yes; then
                   11096:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11097: else
                   11098:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   11099: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   11100: if test "${ac_cv_func_dlopen+set}" = set; then
                   11101:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11102: else
                   11103:   cat >conftest.$ac_ext <<_ACEOF
                   11104: /* confdefs.h.  */
                   11105: _ACEOF
                   11106: cat confdefs.h >>conftest.$ac_ext
                   11107: cat >>conftest.$ac_ext <<_ACEOF
                   11108: /* end confdefs.h.  */
                   11109: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   11110:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11111: #define dlopen innocuous_dlopen
                   11112: 
                   11113: /* System header to define __stub macros and hopefully few prototypes,
                   11114:     which can conflict with char dlopen (); below.
                   11115:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11116:     <limits.h> exists even on freestanding compilers.  */
                   11117: 
                   11118: #ifdef __STDC__
                   11119: # include <limits.h>
                   11120: #else
                   11121: # include <assert.h>
                   11122: #endif
                   11123: 
                   11124: #undef dlopen
                   11125: 
                   11126: /* Override any gcc2 internal prototype to avoid an error.  */
                   11127: #ifdef __cplusplus
                   11128: extern "C"
                   11129: {
                   11130: #endif
                   11131: /* We use char because int might match the return type of a gcc2
                   11132:    builtin and then its argument prototype would still apply.  */
                   11133: char dlopen ();
                   11134: /* The GNU C library defines this for functions which it implements
                   11135:     to always fail with ENOSYS.  Some functions are actually named
                   11136:     something starting with __ and the normal name is an alias.  */
                   11137: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   11138: choke me
                   11139: #else
                   11140: char (*f) () = dlopen;
                   11141: #endif
                   11142: #ifdef __cplusplus
                   11143: }
                   11144: #endif
                   11145: 
                   11146: int
                   11147: main ()
                   11148: {
                   11149: return f != dlopen;
                   11150:   ;
                   11151:   return 0;
                   11152: }
                   11153: _ACEOF
                   11154: rm -f conftest.$ac_objext conftest$ac_exeext
                   11155: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11156:   (eval $ac_link) 2>conftest.er1
                   11157:   ac_status=$?
                   11158:   grep -v '^ *+' conftest.er1 >conftest.err
                   11159:   rm -f conftest.er1
                   11160:   cat conftest.err >&5
                   11161:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11162:   (exit $ac_status); } &&
                   11163:         { ac_try='test -z "$ac_c_werror_flag"
                   11164:                         || test ! -s conftest.err'
                   11165:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11166:   (eval $ac_try) 2>&5
                   11167:   ac_status=$?
                   11168:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11169:   (exit $ac_status); }; } &&
                   11170:         { ac_try='test -s conftest$ac_exeext'
                   11171:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11172:   (eval $ac_try) 2>&5
                   11173:   ac_status=$?
                   11174:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11175:   (exit $ac_status); }; }; then
                   11176:   ac_cv_func_dlopen=yes
                   11177: else
                   11178:   echo "$as_me: failed program was:" >&5
                   11179: sed 's/^/| /' conftest.$ac_ext >&5
                   11180: 
                   11181: ac_cv_func_dlopen=no
                   11182: fi
                   11183: rm -f conftest.err conftest.$ac_objext \
                   11184:       conftest$ac_exeext conftest.$ac_ext
                   11185: fi
                   11186: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   11187: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   11188: if test $ac_cv_func_dlopen = yes; then
                   11189:   lt_cv_dlopen="dlopen"
                   11190: else
                   11191:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11192: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11193: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11194:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11195: else
                   11196:   ac_check_lib_save_LIBS=$LIBS
                   11197: LIBS="-ldl  $LIBS"
                   11198: cat >conftest.$ac_ext <<_ACEOF
                   11199: /* confdefs.h.  */
                   11200: _ACEOF
                   11201: cat confdefs.h >>conftest.$ac_ext
                   11202: cat >>conftest.$ac_ext <<_ACEOF
                   11203: /* end confdefs.h.  */
                   11204: 
                   11205: /* Override any gcc2 internal prototype to avoid an error.  */
                   11206: #ifdef __cplusplus
                   11207: extern "C"
                   11208: #endif
                   11209: /* We use char because int might match the return type of a gcc2
                   11210:    builtin and then its argument prototype would still apply.  */
                   11211: char dlopen ();
                   11212: int
                   11213: main ()
                   11214: {
                   11215: dlopen ();
                   11216:   ;
                   11217:   return 0;
                   11218: }
                   11219: _ACEOF
                   11220: rm -f conftest.$ac_objext conftest$ac_exeext
                   11221: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11222:   (eval $ac_link) 2>conftest.er1
                   11223:   ac_status=$?
                   11224:   grep -v '^ *+' conftest.er1 >conftest.err
                   11225:   rm -f conftest.er1
                   11226:   cat conftest.err >&5
                   11227:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11228:   (exit $ac_status); } &&
                   11229:         { ac_try='test -z "$ac_c_werror_flag"
                   11230:                         || test ! -s conftest.err'
                   11231:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11232:   (eval $ac_try) 2>&5
                   11233:   ac_status=$?
                   11234:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11235:   (exit $ac_status); }; } &&
                   11236:         { ac_try='test -s conftest$ac_exeext'
                   11237:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11238:   (eval $ac_try) 2>&5
                   11239:   ac_status=$?
                   11240:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11241:   (exit $ac_status); }; }; then
                   11242:   ac_cv_lib_dl_dlopen=yes
                   11243: else
                   11244:   echo "$as_me: failed program was:" >&5
                   11245: sed 's/^/| /' conftest.$ac_ext >&5
                   11246: 
                   11247: ac_cv_lib_dl_dlopen=no
                   11248: fi
                   11249: rm -f conftest.err conftest.$ac_objext \
                   11250:       conftest$ac_exeext conftest.$ac_ext
                   11251: LIBS=$ac_check_lib_save_LIBS
                   11252: fi
                   11253: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11254: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11255: if test $ac_cv_lib_dl_dlopen = yes; then
                   11256:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11257: else
                   11258:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   11259: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   11260: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   11261:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11262: else
                   11263:   ac_check_lib_save_LIBS=$LIBS
                   11264: LIBS="-lsvld  $LIBS"
                   11265: cat >conftest.$ac_ext <<_ACEOF
                   11266: /* confdefs.h.  */
                   11267: _ACEOF
                   11268: cat confdefs.h >>conftest.$ac_ext
                   11269: cat >>conftest.$ac_ext <<_ACEOF
                   11270: /* end confdefs.h.  */
                   11271: 
                   11272: /* Override any gcc2 internal prototype to avoid an error.  */
                   11273: #ifdef __cplusplus
                   11274: extern "C"
                   11275: #endif
                   11276: /* We use char because int might match the return type of a gcc2
                   11277:    builtin and then its argument prototype would still apply.  */
                   11278: char dlopen ();
                   11279: int
                   11280: main ()
                   11281: {
                   11282: dlopen ();
                   11283:   ;
                   11284:   return 0;
                   11285: }
                   11286: _ACEOF
                   11287: rm -f conftest.$ac_objext conftest$ac_exeext
                   11288: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11289:   (eval $ac_link) 2>conftest.er1
                   11290:   ac_status=$?
                   11291:   grep -v '^ *+' conftest.er1 >conftest.err
                   11292:   rm -f conftest.er1
                   11293:   cat conftest.err >&5
                   11294:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11295:   (exit $ac_status); } &&
                   11296:         { ac_try='test -z "$ac_c_werror_flag"
                   11297:                         || test ! -s conftest.err'
                   11298:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11299:   (eval $ac_try) 2>&5
                   11300:   ac_status=$?
                   11301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11302:   (exit $ac_status); }; } &&
                   11303:         { ac_try='test -s conftest$ac_exeext'
                   11304:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11305:   (eval $ac_try) 2>&5
                   11306:   ac_status=$?
                   11307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11308:   (exit $ac_status); }; }; then
                   11309:   ac_cv_lib_svld_dlopen=yes
                   11310: else
                   11311:   echo "$as_me: failed program was:" >&5
                   11312: sed 's/^/| /' conftest.$ac_ext >&5
                   11313: 
                   11314: ac_cv_lib_svld_dlopen=no
                   11315: fi
                   11316: rm -f conftest.err conftest.$ac_objext \
                   11317:       conftest$ac_exeext conftest.$ac_ext
                   11318: LIBS=$ac_check_lib_save_LIBS
                   11319: fi
                   11320: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   11321: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   11322: if test $ac_cv_lib_svld_dlopen = yes; then
                   11323:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11324: else
                   11325:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   11326: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   11327: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   11328:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11329: else
                   11330:   ac_check_lib_save_LIBS=$LIBS
                   11331: LIBS="-ldld  $LIBS"
                   11332: cat >conftest.$ac_ext <<_ACEOF
                   11333: /* confdefs.h.  */
                   11334: _ACEOF
                   11335: cat confdefs.h >>conftest.$ac_ext
                   11336: cat >>conftest.$ac_ext <<_ACEOF
                   11337: /* end confdefs.h.  */
                   11338: 
                   11339: /* Override any gcc2 internal prototype to avoid an error.  */
                   11340: #ifdef __cplusplus
                   11341: extern "C"
                   11342: #endif
                   11343: /* We use char because int might match the return type of a gcc2
                   11344:    builtin and then its argument prototype would still apply.  */
                   11345: char dld_link ();
                   11346: int
                   11347: main ()
                   11348: {
                   11349: dld_link ();
                   11350:   ;
                   11351:   return 0;
                   11352: }
                   11353: _ACEOF
                   11354: rm -f conftest.$ac_objext conftest$ac_exeext
                   11355: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11356:   (eval $ac_link) 2>conftest.er1
                   11357:   ac_status=$?
                   11358:   grep -v '^ *+' conftest.er1 >conftest.err
                   11359:   rm -f conftest.er1
                   11360:   cat conftest.err >&5
                   11361:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11362:   (exit $ac_status); } &&
                   11363:         { ac_try='test -z "$ac_c_werror_flag"
                   11364:                         || test ! -s conftest.err'
                   11365:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11366:   (eval $ac_try) 2>&5
                   11367:   ac_status=$?
                   11368:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11369:   (exit $ac_status); }; } &&
                   11370:         { ac_try='test -s conftest$ac_exeext'
                   11371:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11372:   (eval $ac_try) 2>&5
                   11373:   ac_status=$?
                   11374:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11375:   (exit $ac_status); }; }; then
                   11376:   ac_cv_lib_dld_dld_link=yes
                   11377: else
                   11378:   echo "$as_me: failed program was:" >&5
                   11379: sed 's/^/| /' conftest.$ac_ext >&5
                   11380: 
                   11381: ac_cv_lib_dld_dld_link=no
                   11382: fi
                   11383: rm -f conftest.err conftest.$ac_objext \
                   11384:       conftest$ac_exeext conftest.$ac_ext
                   11385: LIBS=$ac_check_lib_save_LIBS
                   11386: fi
                   11387: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   11388: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   11389: if test $ac_cv_lib_dld_dld_link = yes; then
                   11390:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11391: fi
                   11392: 
                   11393: 
                   11394: fi
                   11395: 
                   11396: 
                   11397: fi
                   11398: 
                   11399: 
                   11400: fi
                   11401: 
                   11402: 
                   11403: fi
                   11404: 
                   11405: 
                   11406: fi
                   11407: 
                   11408:     ;;
                   11409:   esac
                   11410: 
                   11411:   if test "x$lt_cv_dlopen" != xno; then
                   11412:     enable_dlopen=yes
                   11413:   else
                   11414:     enable_dlopen=no
                   11415:   fi
                   11416: 
                   11417:   case $lt_cv_dlopen in
                   11418:   dlopen)
                   11419:     save_CPPFLAGS="$CPPFLAGS"
                   11420:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11421: 
                   11422:     save_LDFLAGS="$LDFLAGS"
                   11423:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11424: 
                   11425:     save_LIBS="$LIBS"
                   11426:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11427: 
                   11428:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   11429: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   11430: if test "${lt_cv_dlopen_self+set}" = set; then
                   11431:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11432: else
                   11433:          if test "$cross_compiling" = yes; then :
                   11434:   lt_cv_dlopen_self=cross
                   11435: else
                   11436:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11437:   lt_status=$lt_dlunknown
                   11438:   cat > conftest.$ac_ext <<_LT_EOF
                   11439: #line $LINENO "configure"
                   11440: #include "confdefs.h"
                   11441: 
                   11442: #if HAVE_DLFCN_H
                   11443: #include <dlfcn.h>
                   11444: #endif
                   11445: 
                   11446: #include <stdio.h>
                   11447: 
                   11448: #ifdef RTLD_GLOBAL
                   11449: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11450: #else
                   11451: #  ifdef DL_GLOBAL
                   11452: #    define LT_DLGLOBAL                DL_GLOBAL
                   11453: #  else
                   11454: #    define LT_DLGLOBAL                0
                   11455: #  endif
                   11456: #endif
                   11457: 
                   11458: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11459:    find out it does not work in some platform. */
                   11460: #ifndef LT_DLLAZY_OR_NOW
                   11461: #  ifdef RTLD_LAZY
                   11462: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11463: #  else
                   11464: #    ifdef DL_LAZY
                   11465: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11466: #    else
                   11467: #      ifdef RTLD_NOW
                   11468: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11469: #      else
                   11470: #        ifdef DL_NOW
                   11471: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11472: #        else
                   11473: #          define LT_DLLAZY_OR_NOW     0
                   11474: #        endif
                   11475: #      endif
                   11476: #    endif
                   11477: #  endif
                   11478: #endif
                   11479: 
                   11480: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11481:    correspondingly for the symbols needed.  */
                   11482: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11483: int fnord () __attribute__((visibility("default")));
                   11484: #endif
                   11485: 
                   11486: int fnord () { return 42; }
                   11487: int main ()
                   11488: {
                   11489:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11490:   int status = $lt_dlunknown;
                   11491: 
                   11492:   if (self)
                   11493:     {
                   11494:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11495:       else
                   11496:         {
                   11497:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11498:           else puts (dlerror ());
                   11499:        }
                   11500:       /* dlclose (self); */
                   11501:     }
                   11502:   else
                   11503:     puts (dlerror ());
                   11504: 
                   11505:   return status;
                   11506: }
                   11507: _LT_EOF
                   11508:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11509:   (eval $ac_link) 2>&5
                   11510:   ac_status=$?
                   11511:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11512:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11513:     (./conftest; exit; ) >&5 2>/dev/null
                   11514:     lt_status=$?
                   11515:     case x$lt_status in
                   11516:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11517:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11518:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11519:     esac
                   11520:   else :
                   11521:     # compilation failed
                   11522:     lt_cv_dlopen_self=no
                   11523:   fi
                   11524: fi
                   11525: rm -fr conftest*
                   11526: 
                   11527: 
                   11528: fi
                   11529: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   11530: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   11531: 
                   11532:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11533:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11534:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   11535: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   11536: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   11537:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11538: else
                   11539:          if test "$cross_compiling" = yes; then :
                   11540:   lt_cv_dlopen_self_static=cross
                   11541: else
                   11542:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11543:   lt_status=$lt_dlunknown
                   11544:   cat > conftest.$ac_ext <<_LT_EOF
                   11545: #line $LINENO "configure"
                   11546: #include "confdefs.h"
                   11547: 
                   11548: #if HAVE_DLFCN_H
                   11549: #include <dlfcn.h>
                   11550: #endif
                   11551: 
                   11552: #include <stdio.h>
                   11553: 
                   11554: #ifdef RTLD_GLOBAL
                   11555: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11556: #else
                   11557: #  ifdef DL_GLOBAL
                   11558: #    define LT_DLGLOBAL                DL_GLOBAL
                   11559: #  else
                   11560: #    define LT_DLGLOBAL                0
                   11561: #  endif
                   11562: #endif
                   11563: 
                   11564: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11565:    find out it does not work in some platform. */
                   11566: #ifndef LT_DLLAZY_OR_NOW
                   11567: #  ifdef RTLD_LAZY
                   11568: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11569: #  else
                   11570: #    ifdef DL_LAZY
                   11571: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11572: #    else
                   11573: #      ifdef RTLD_NOW
                   11574: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11575: #      else
                   11576: #        ifdef DL_NOW
                   11577: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11578: #        else
                   11579: #          define LT_DLLAZY_OR_NOW     0
                   11580: #        endif
                   11581: #      endif
                   11582: #    endif
                   11583: #  endif
                   11584: #endif
                   11585: 
                   11586: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11587:    correspondingly for the symbols needed.  */
                   11588: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11589: int fnord () __attribute__((visibility("default")));
                   11590: #endif
                   11591: 
                   11592: int fnord () { return 42; }
                   11593: int main ()
                   11594: {
                   11595:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11596:   int status = $lt_dlunknown;
                   11597: 
                   11598:   if (self)
                   11599:     {
                   11600:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11601:       else
                   11602:         {
                   11603:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11604:           else puts (dlerror ());
                   11605:        }
                   11606:       /* dlclose (self); */
                   11607:     }
                   11608:   else
                   11609:     puts (dlerror ());
                   11610: 
                   11611:   return status;
                   11612: }
                   11613: _LT_EOF
                   11614:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11615:   (eval $ac_link) 2>&5
                   11616:   ac_status=$?
                   11617:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11618:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11619:     (./conftest; exit; ) >&5 2>/dev/null
                   11620:     lt_status=$?
                   11621:     case x$lt_status in
                   11622:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11623:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11624:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11625:     esac
                   11626:   else :
                   11627:     # compilation failed
                   11628:     lt_cv_dlopen_self_static=no
                   11629:   fi
                   11630: fi
                   11631: rm -fr conftest*
                   11632: 
                   11633: 
                   11634: fi
                   11635: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   11636: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   11637:     fi
                   11638: 
                   11639:     CPPFLAGS="$save_CPPFLAGS"
                   11640:     LDFLAGS="$save_LDFLAGS"
                   11641:     LIBS="$save_LIBS"
                   11642:     ;;
                   11643:   esac
                   11644: 
                   11645:   case $lt_cv_dlopen_self in
                   11646:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11647:   *) enable_dlopen_self=unknown ;;
                   11648:   esac
                   11649: 
                   11650:   case $lt_cv_dlopen_self_static in
                   11651:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11652:   *) enable_dlopen_self_static=unknown ;;
                   11653:   esac
                   11654: fi
                   11655: 
                   11656: 
                   11657: 
                   11658: 
                   11659: 
                   11660: 
                   11661: 
                   11662: 
                   11663: 
                   11664: 
                   11665: 
                   11666: 
                   11667: 
                   11668: 
                   11669: 
                   11670: 
                   11671: 
                   11672: striplib=
                   11673: old_striplib=
                   11674: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   11675: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   11676: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11677:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11678:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11679:   echo "$as_me:$LINENO: result: yes" >&5
                   11680: echo "${ECHO_T}yes" >&6
                   11681: else
                   11682: # FIXME - insert some real tests, host_os isn't really good enough
                   11683:   case $host_os in
                   11684:   darwin*)
                   11685:     if test -n "$STRIP" ; then
                   11686:       striplib="$STRIP -x"
                   11687:       old_striplib="$STRIP -S"
                   11688:       echo "$as_me:$LINENO: result: yes" >&5
                   11689: echo "${ECHO_T}yes" >&6
                   11690:     else
                   11691:       echo "$as_me:$LINENO: result: no" >&5
                   11692: echo "${ECHO_T}no" >&6
                   11693:     fi
                   11694:     ;;
                   11695:   *)
                   11696:     echo "$as_me:$LINENO: result: no" >&5
                   11697: echo "${ECHO_T}no" >&6
                   11698:     ;;
                   11699:   esac
                   11700: fi
                   11701: 
                   11702: 
                   11703: 
                   11704: 
                   11705: 
                   11706: 
                   11707: 
                   11708: 
                   11709: 
                   11710: 
                   11711: 
                   11712: 
                   11713:   # Report which library types will actually be built
                   11714:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   11715: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   11716:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   11717: echo "${ECHO_T}$can_build_shared" >&6
                   11718: 
                   11719:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   11720: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   11721:   test "$can_build_shared" = "no" && enable_shared=no
                   11722: 
                   11723:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11724:   # are all built from PIC.
                   11725:   case $host_os in
                   11726:   aix3*)
                   11727:     test "$enable_shared" = yes && enable_static=no
                   11728:     if test -n "$RANLIB"; then
                   11729:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11730:       postinstall_cmds='$RANLIB $lib'
                   11731:     fi
                   11732:     ;;
                   11733: 
                   11734:   aix[4-9]*)
                   11735:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11736:       test "$enable_shared" = yes && enable_static=no
                   11737:     fi
                   11738:     ;;
                   11739:   esac
                   11740:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   11741: echo "${ECHO_T}$enable_shared" >&6
                   11742: 
                   11743:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   11744: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   11745:   # Make sure either enable_shared or enable_static is yes.
                   11746:   test "$enable_shared" = yes || enable_static=yes
                   11747:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   11748: echo "${ECHO_T}$enable_static" >&6
                   11749: 
                   11750: 
                   11751: 
                   11752: 
                   11753: fi
                   11754: ac_ext=c
                   11755: ac_cpp='$CPP $CPPFLAGS'
                   11756: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11757: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11758: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11759: 
                   11760: CC="$lt_save_CC"
                   11761: 
                   11762:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   11763:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   11764:     (test "X$CXX" != "Xg++"))) ; then
                   11765:   ac_ext=cc
                   11766: ac_cpp='$CXXCPP $CPPFLAGS'
                   11767: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11768: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11769: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   11770: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   11771: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
                   11772: if test -z "$CXXCPP"; then
                   11773:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   11774:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11775: else
                   11776:       # Double quotes because CXXCPP needs to be expanded
                   11777:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   11778:     do
                   11779:       ac_preproc_ok=false
                   11780: for ac_cxx_preproc_warn_flag in '' yes
                   11781: do
                   11782:   # Use a header file that comes with gcc, so configuring glibc
                   11783:   # with a fresh cross-compiler works.
                   11784:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11785:   # <limits.h> exists even on freestanding compilers.
                   11786:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   11787:   # not just through cpp. "Syntax error" is here to catch this case.
                   11788:   cat >conftest.$ac_ext <<_ACEOF
                   11789: /* confdefs.h.  */
                   11790: _ACEOF
                   11791: cat confdefs.h >>conftest.$ac_ext
                   11792: cat >>conftest.$ac_ext <<_ACEOF
                   11793: /* end confdefs.h.  */
                   11794: #ifdef __STDC__
                   11795: # include <limits.h>
                   11796: #else
                   11797: # include <assert.h>
                   11798: #endif
                   11799:                     Syntax error
                   11800: _ACEOF
                   11801: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11802:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11803:   ac_status=$?
                   11804:   grep -v '^ *+' conftest.er1 >conftest.err
                   11805:   rm -f conftest.er1
                   11806:   cat conftest.err >&5
                   11807:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11808:   (exit $ac_status); } >/dev/null; then
                   11809:   if test -s conftest.err; then
                   11810:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11811:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11812:   else
                   11813:     ac_cpp_err=
                   11814:   fi
                   11815: else
                   11816:   ac_cpp_err=yes
                   11817: fi
                   11818: if test -z "$ac_cpp_err"; then
                   11819:   :
                   11820: else
                   11821:   echo "$as_me: failed program was:" >&5
                   11822: sed 's/^/| /' conftest.$ac_ext >&5
                   11823: 
                   11824:   # Broken: fails on valid input.
                   11825: continue
                   11826: fi
                   11827: rm -f conftest.err conftest.$ac_ext
                   11828: 
                   11829:   # OK, works on sane cases.  Now check whether non-existent headers
                   11830:   # can be detected and how.
                   11831:   cat >conftest.$ac_ext <<_ACEOF
                   11832: /* confdefs.h.  */
                   11833: _ACEOF
                   11834: cat confdefs.h >>conftest.$ac_ext
                   11835: cat >>conftest.$ac_ext <<_ACEOF
                   11836: /* end confdefs.h.  */
                   11837: #include <ac_nonexistent.h>
                   11838: _ACEOF
                   11839: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11840:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11841:   ac_status=$?
                   11842:   grep -v '^ *+' conftest.er1 >conftest.err
                   11843:   rm -f conftest.er1
                   11844:   cat conftest.err >&5
                   11845:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11846:   (exit $ac_status); } >/dev/null; then
                   11847:   if test -s conftest.err; then
                   11848:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11849:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11850:   else
                   11851:     ac_cpp_err=
                   11852:   fi
                   11853: else
                   11854:   ac_cpp_err=yes
                   11855: fi
                   11856: if test -z "$ac_cpp_err"; then
                   11857:   # Broken: success on invalid input.
                   11858: continue
                   11859: else
                   11860:   echo "$as_me: failed program was:" >&5
                   11861: sed 's/^/| /' conftest.$ac_ext >&5
                   11862: 
                   11863:   # Passes both tests.
                   11864: ac_preproc_ok=:
                   11865: break
                   11866: fi
                   11867: rm -f conftest.err conftest.$ac_ext
                   11868: 
                   11869: done
                   11870: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   11871: rm -f conftest.err conftest.$ac_ext
                   11872: if $ac_preproc_ok; then
                   11873:   break
                   11874: fi
                   11875: 
                   11876:     done
                   11877:     ac_cv_prog_CXXCPP=$CXXCPP
                   11878: 
                   11879: fi
                   11880:   CXXCPP=$ac_cv_prog_CXXCPP
                   11881: else
                   11882:   ac_cv_prog_CXXCPP=$CXXCPP
                   11883: fi
                   11884: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   11885: echo "${ECHO_T}$CXXCPP" >&6
                   11886: ac_preproc_ok=false
                   11887: for ac_cxx_preproc_warn_flag in '' yes
                   11888: do
                   11889:   # Use a header file that comes with gcc, so configuring glibc
                   11890:   # with a fresh cross-compiler works.
                   11891:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11892:   # <limits.h> exists even on freestanding compilers.
                   11893:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   11894:   # not just through cpp. "Syntax error" is here to catch this case.
                   11895:   cat >conftest.$ac_ext <<_ACEOF
                   11896: /* confdefs.h.  */
                   11897: _ACEOF
                   11898: cat confdefs.h >>conftest.$ac_ext
                   11899: cat >>conftest.$ac_ext <<_ACEOF
                   11900: /* end confdefs.h.  */
                   11901: #ifdef __STDC__
                   11902: # include <limits.h>
                   11903: #else
                   11904: # include <assert.h>
                   11905: #endif
                   11906:                     Syntax error
                   11907: _ACEOF
                   11908: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11909:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11910:   ac_status=$?
                   11911:   grep -v '^ *+' conftest.er1 >conftest.err
                   11912:   rm -f conftest.er1
                   11913:   cat conftest.err >&5
                   11914:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11915:   (exit $ac_status); } >/dev/null; then
                   11916:   if test -s conftest.err; then
                   11917:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11918:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11919:   else
                   11920:     ac_cpp_err=
                   11921:   fi
                   11922: else
                   11923:   ac_cpp_err=yes
                   11924: fi
                   11925: if test -z "$ac_cpp_err"; then
                   11926:   :
                   11927: else
                   11928:   echo "$as_me: failed program was:" >&5
                   11929: sed 's/^/| /' conftest.$ac_ext >&5
                   11930: 
                   11931:   # Broken: fails on valid input.
                   11932: continue
                   11933: fi
                   11934: rm -f conftest.err conftest.$ac_ext
                   11935: 
                   11936:   # OK, works on sane cases.  Now check whether non-existent headers
                   11937:   # can be detected and how.
                   11938:   cat >conftest.$ac_ext <<_ACEOF
                   11939: /* confdefs.h.  */
                   11940: _ACEOF
                   11941: cat confdefs.h >>conftest.$ac_ext
                   11942: cat >>conftest.$ac_ext <<_ACEOF
                   11943: /* end confdefs.h.  */
                   11944: #include <ac_nonexistent.h>
                   11945: _ACEOF
                   11946: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11947:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11948:   ac_status=$?
                   11949:   grep -v '^ *+' conftest.er1 >conftest.err
                   11950:   rm -f conftest.er1
                   11951:   cat conftest.err >&5
                   11952:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11953:   (exit $ac_status); } >/dev/null; then
                   11954:   if test -s conftest.err; then
                   11955:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11956:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11957:   else
                   11958:     ac_cpp_err=
                   11959:   fi
                   11960: else
                   11961:   ac_cpp_err=yes
                   11962: fi
                   11963: if test -z "$ac_cpp_err"; then
                   11964:   # Broken: success on invalid input.
                   11965: continue
                   11966: else
                   11967:   echo "$as_me: failed program was:" >&5
                   11968: sed 's/^/| /' conftest.$ac_ext >&5
                   11969: 
                   11970:   # Passes both tests.
                   11971: ac_preproc_ok=:
                   11972: break
                   11973: fi
                   11974: rm -f conftest.err conftest.$ac_ext
                   11975: 
                   11976: done
                   11977: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   11978: rm -f conftest.err conftest.$ac_ext
                   11979: if $ac_preproc_ok; then
                   11980:   :
                   11981: else
                   11982:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   11983: See \`config.log' for more details." >&5
                   11984: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   11985: See \`config.log' for more details." >&2;}
                   11986:    { (exit 1); exit 1; }; }
                   11987: fi
                   11988: 
                   11989: ac_ext=c
                   11990: ac_cpp='$CPP $CPPFLAGS'
                   11991: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11992: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11993: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11994: 
                   11995: else
                   11996:   _lt_caught_CXX_error=yes
                   11997: fi
                   11998: 
                   11999: ac_ext=cc
                   12000: ac_cpp='$CXXCPP $CPPFLAGS'
                   12001: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12002: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12003: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12004: 
                   12005: archive_cmds_need_lc_CXX=no
                   12006: allow_undefined_flag_CXX=
                   12007: always_export_symbols_CXX=no
                   12008: archive_expsym_cmds_CXX=
                   12009: compiler_needs_object_CXX=no
                   12010: export_dynamic_flag_spec_CXX=
                   12011: hardcode_direct_CXX=no
                   12012: hardcode_direct_absolute_CXX=no
                   12013: hardcode_libdir_flag_spec_CXX=
                   12014: hardcode_libdir_separator_CXX=
                   12015: hardcode_minus_L_CXX=no
                   12016: hardcode_shlibpath_var_CXX=unsupported
                   12017: hardcode_automatic_CXX=no
                   12018: inherit_rpath_CXX=no
                   12019: module_cmds_CXX=
                   12020: module_expsym_cmds_CXX=
                   12021: link_all_deplibs_CXX=unknown
                   12022: old_archive_cmds_CXX=$old_archive_cmds
                   12023: reload_flag_CXX=$reload_flag
                   12024: reload_cmds_CXX=$reload_cmds
                   12025: no_undefined_flag_CXX=
                   12026: whole_archive_flag_spec_CXX=
                   12027: enable_shared_with_static_runtimes_CXX=no
                   12028: 
                   12029: # Source file extension for C++ test sources.
                   12030: ac_ext=cpp
                   12031: 
                   12032: # Object file extension for compiled C++ test sources.
                   12033: objext=o
                   12034: objext_CXX=$objext
                   12035: 
                   12036: # No sense in running all these tests if we already determined that
                   12037: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12038: # are currently assumed to apply to all compilers on this platform,
                   12039: # and will be corrupted by setting them based on a non-working compiler.
                   12040: if test "$_lt_caught_CXX_error" != yes; then
                   12041:   # Code to be used in simple compile tests
                   12042:   lt_simple_compile_test_code="int some_variable = 0;"
                   12043: 
                   12044:   # Code to be used in simple link tests
                   12045:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12046: 
                   12047:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12048: 
                   12049: 
                   12050: 
                   12051: 
                   12052: 
                   12053: 
                   12054: # If no C compiler was specified, use CC.
                   12055: LTCC=${LTCC-"$CC"}
                   12056: 
                   12057: # If no C compiler flags were specified, use CFLAGS.
                   12058: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12059: 
                   12060: # Allow CC to be a program name with arguments.
                   12061: compiler=$CC
                   12062: 
                   12063: 
                   12064:   # save warnings/boilerplate of simple test code
                   12065:   ac_outfile=conftest.$ac_objext
                   12066: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12067: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12068: _lt_compiler_boilerplate=`cat conftest.err`
                   12069: $RM conftest*
                   12070: 
                   12071:   ac_outfile=conftest.$ac_objext
                   12072: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12073: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12074: _lt_linker_boilerplate=`cat conftest.err`
                   12075: $RM -r conftest*
                   12076: 
                   12077: 
                   12078:   # Allow CC to be a program name with arguments.
                   12079:   lt_save_CC=$CC
                   12080:   lt_save_CFLAGS=$CFLAGS
                   12081:   lt_save_LD=$LD
                   12082:   lt_save_GCC=$GCC
                   12083:   GCC=$GXX
                   12084:   lt_save_with_gnu_ld=$with_gnu_ld
                   12085:   lt_save_path_LD=$lt_cv_path_LD
                   12086:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12087:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12088:   else
                   12089:     $as_unset lt_cv_prog_gnu_ld
                   12090:   fi
                   12091:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12092:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12093:   else
                   12094:     $as_unset lt_cv_path_LD
                   12095:   fi
                   12096:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12097:   CC=${CXX-"c++"}
                   12098:   CFLAGS=$CXXFLAGS
                   12099:   compiler=$CC
                   12100:   compiler_CXX=$CC
                   12101:   for cc_temp in $compiler""; do
                   12102:   case $cc_temp in
                   12103:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12104:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12105:     \-*) ;;
                   12106:     *) break;;
                   12107:   esac
                   12108: done
                   12109: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12110: 
                   12111: 
                   12112:   if test -n "$compiler"; then
                   12113:     # We don't want -fno-exception when compiling C++ code, so set the
                   12114:     # no_builtin_flag separately
                   12115:     if test "$GXX" = yes; then
                   12116:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12117:     else
                   12118:       lt_prog_compiler_no_builtin_flag_CXX=
                   12119:     fi
                   12120: 
                   12121:     if test "$GXX" = yes; then
                   12122:       # Set up default GNU C++ configuration
                   12123: 
                   12124: 
                   12125: 
                   12126: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   12127: if test "${with_gnu_ld+set}" = set; then
                   12128:   withval="$with_gnu_ld"
                   12129:   test "$withval" = no || with_gnu_ld=yes
                   12130: else
                   12131:   with_gnu_ld=no
                   12132: fi;
                   12133: ac_prog=ld
                   12134: if test "$GCC" = yes; then
                   12135:   # Check if gcc -print-prog-name=ld gives a path.
                   12136:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   12137: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   12138:   case $host in
                   12139:   *-*-mingw*)
                   12140:     # gcc leaves a trailing carriage return which upsets mingw
                   12141:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12142:   *)
                   12143:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12144:   esac
                   12145:   case $ac_prog in
                   12146:     # Accept absolute paths.
                   12147:     [\\/]* | ?:[\\/]*)
                   12148:       re_direlt='/[^/][^/]*/\.\./'
                   12149:       # Canonicalize the pathname of ld
                   12150:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12151:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12152:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12153:       done
                   12154:       test -z "$LD" && LD="$ac_prog"
                   12155:       ;;
                   12156:   "")
                   12157:     # If it fails, then pretend we aren't using GCC.
                   12158:     ac_prog=ld
                   12159:     ;;
                   12160:   *)
                   12161:     # If it is relative, then search for the first ld in PATH.
                   12162:     with_gnu_ld=unknown
                   12163:     ;;
                   12164:   esac
                   12165: elif test "$with_gnu_ld" = yes; then
                   12166:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   12167: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   12168: else
                   12169:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   12170: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   12171: fi
                   12172: if test "${lt_cv_path_LD+set}" = set; then
                   12173:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12174: else
                   12175:   if test -z "$LD"; then
                   12176:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12177:   for ac_dir in $PATH; do
                   12178:     IFS="$lt_save_ifs"
                   12179:     test -z "$ac_dir" && ac_dir=.
                   12180:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12181:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12182:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12183:       # but apparently some variants of GNU ld only accept -v.
                   12184:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12185:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12186:       *GNU* | *'with BFD'*)
                   12187:        test "$with_gnu_ld" != no && break
                   12188:        ;;
                   12189:       *)
                   12190:        test "$with_gnu_ld" != yes && break
                   12191:        ;;
                   12192:       esac
                   12193:     fi
                   12194:   done
                   12195:   IFS="$lt_save_ifs"
                   12196: else
                   12197:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12198: fi
                   12199: fi
                   12200: 
                   12201: LD="$lt_cv_path_LD"
                   12202: if test -n "$LD"; then
                   12203:   echo "$as_me:$LINENO: result: $LD" >&5
                   12204: echo "${ECHO_T}$LD" >&6
                   12205: else
                   12206:   echo "$as_me:$LINENO: result: no" >&5
                   12207: echo "${ECHO_T}no" >&6
                   12208: fi
                   12209: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   12210: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   12211:    { (exit 1); exit 1; }; }
                   12212: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   12213: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   12214: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   12215:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12216: else
                   12217:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12218: case `$LD -v 2>&1 </dev/null` in
                   12219: *GNU* | *'with BFD'*)
                   12220:   lt_cv_prog_gnu_ld=yes
                   12221:   ;;
                   12222: *)
                   12223:   lt_cv_prog_gnu_ld=no
                   12224:   ;;
                   12225: esac
                   12226: fi
                   12227: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   12228: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   12229: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12230: 
                   12231: 
                   12232: 
                   12233: 
                   12234: 
                   12235: 
                   12236: 
                   12237:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12238:       # archiving commands below assume that GNU ld is being used.
                   12239:       if test "$with_gnu_ld" = yes; then
                   12240:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12241:         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'
                   12242: 
                   12243:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12244:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12245: 
                   12246:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12247:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12248:         #     investigate it a little bit more. (MM)
                   12249:         wlarc='${wl}'
                   12250: 
                   12251:         # ancient GNU ld didn't support --whole-archive et. al.
                   12252:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12253:          $GREP 'no-whole-archive' > /dev/null; then
                   12254:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12255:         else
                   12256:           whole_archive_flag_spec_CXX=
                   12257:         fi
                   12258:       else
                   12259:         with_gnu_ld=no
                   12260:         wlarc=
                   12261: 
                   12262:         # A generic and very simple default shared library creation
                   12263:         # command for GNU C++ for the case where it uses the native
                   12264:         # linker, instead of GNU ld.  If possible, this setting should
                   12265:         # overridden to take advantage of the native linker features on
                   12266:         # the platform it is being used on.
                   12267:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12268:       fi
                   12269: 
                   12270:       # Commands to make compiler produce verbose output that lists
                   12271:       # what "hidden" libraries, object files and flags are used when
                   12272:       # linking a shared library.
                   12273:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12274: 
                   12275:     else
                   12276:       GXX=no
                   12277:       with_gnu_ld=no
                   12278:       wlarc=
                   12279:     fi
                   12280: 
                   12281:     # PORTME: fill in a description of your system's C++ link characteristics
                   12282:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12283: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   12284:     ld_shlibs_CXX=yes
                   12285:     case $host_os in
                   12286:       aix3*)
                   12287:         # FIXME: insert proper C++ library support
                   12288:         ld_shlibs_CXX=no
                   12289:         ;;
                   12290:       aix[4-9]*)
                   12291:         if test "$host_cpu" = ia64; then
                   12292:           # On IA64, the linker does run time linking by default, so we don't
                   12293:           # have to do anything special.
                   12294:           aix_use_runtimelinking=no
                   12295:           exp_sym_flag='-Bexport'
                   12296:           no_entry_flag=""
                   12297:         else
                   12298:           aix_use_runtimelinking=no
                   12299: 
                   12300:           # Test if we are trying to use run time linking or normal
                   12301:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12302:           # need to do runtime linking.
                   12303:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12304:            for ld_flag in $LDFLAGS; do
                   12305:              case $ld_flag in
                   12306:              *-brtl*)
                   12307:                aix_use_runtimelinking=yes
                   12308:                break
                   12309:                ;;
                   12310:              esac
                   12311:            done
                   12312:            ;;
                   12313:           esac
                   12314: 
                   12315:           exp_sym_flag='-bexport'
                   12316:           no_entry_flag='-bnoentry'
                   12317:         fi
                   12318: 
                   12319:         # When large executables or shared objects are built, AIX ld can
                   12320:         # have problems creating the table of contents.  If linking a library
                   12321:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12322:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12323:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12324: 
                   12325:         archive_cmds_CXX=''
                   12326:         hardcode_direct_CXX=yes
                   12327:         hardcode_direct_absolute_CXX=yes
                   12328:         hardcode_libdir_separator_CXX=':'
                   12329:         link_all_deplibs_CXX=yes
                   12330:         file_list_spec_CXX='${wl}-f,'
                   12331: 
                   12332:         if test "$GXX" = yes; then
                   12333:           case $host_os in aix4.[012]|aix4.[012].*)
                   12334:           # We only want to do this on AIX 4.2 and lower, the check
                   12335:           # below for broken collect2 doesn't work under 4.3+
                   12336:          collect2name=`${CC} -print-prog-name=collect2`
                   12337:          if test -f "$collect2name" &&
                   12338:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12339:          then
                   12340:            # We have reworked collect2
                   12341:            :
                   12342:          else
                   12343:            # We have old collect2
                   12344:            hardcode_direct_CXX=unsupported
                   12345:            # It fails to find uninstalled libraries when the uninstalled
                   12346:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   12347:            # to unsupported forces relinking
                   12348:            hardcode_minus_L_CXX=yes
                   12349:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12350:            hardcode_libdir_separator_CXX=
                   12351:          fi
                   12352:           esac
                   12353:           shared_flag='-shared'
                   12354:          if test "$aix_use_runtimelinking" = yes; then
                   12355:            shared_flag="$shared_flag "'${wl}-G'
                   12356:          fi
                   12357:         else
                   12358:           # not using gcc
                   12359:           if test "$host_cpu" = ia64; then
                   12360:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12361:          # chokes on -Wl,-G. The following line is correct:
                   12362:          shared_flag='-G'
                   12363:           else
                   12364:            if test "$aix_use_runtimelinking" = yes; then
                   12365:              shared_flag='${wl}-G'
                   12366:            else
                   12367:              shared_flag='${wl}-bM:SRE'
                   12368:            fi
                   12369:           fi
                   12370:         fi
                   12371: 
                   12372:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   12373:         # It seems that -bexpall does not export symbols beginning with
                   12374:         # underscore (_), so it is better to generate a list of symbols to
                   12375:        # export.
                   12376:         always_export_symbols_CXX=yes
                   12377:         if test "$aix_use_runtimelinking" = yes; then
                   12378:           # Warning - without using the other runtime loading flags (-brtl),
                   12379:           # -berok will link without error, but may produce a broken library.
                   12380:           allow_undefined_flag_CXX='-berok'
                   12381:           # Determine the default libpath from the value encoded in an empty
                   12382:           # executable.
                   12383:           if test "${lt_cv_aix_libpath+set}" = set; then
                   12384:   aix_libpath=$lt_cv_aix_libpath
                   12385: else
                   12386:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12387:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12388: else
                   12389:   cat >conftest.$ac_ext <<_ACEOF
                   12390: /* confdefs.h.  */
                   12391: _ACEOF
                   12392: cat confdefs.h >>conftest.$ac_ext
                   12393: cat >>conftest.$ac_ext <<_ACEOF
                   12394: /* end confdefs.h.  */
                   12395: 
                   12396: int
                   12397: main ()
                   12398: {
                   12399: 
                   12400:   ;
                   12401:   return 0;
                   12402: }
                   12403: _ACEOF
                   12404: rm -f conftest.$ac_objext conftest$ac_exeext
                   12405: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12406:   (eval $ac_link) 2>conftest.er1
                   12407:   ac_status=$?
                   12408:   grep -v '^ *+' conftest.er1 >conftest.err
                   12409:   rm -f conftest.er1
                   12410:   cat conftest.err >&5
                   12411:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12412:   (exit $ac_status); } &&
                   12413:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12414:                         || test ! -s conftest.err'
                   12415:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12416:   (eval $ac_try) 2>&5
                   12417:   ac_status=$?
                   12418:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12419:   (exit $ac_status); }; } &&
                   12420:         { ac_try='test -s conftest$ac_exeext'
                   12421:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12422:   (eval $ac_try) 2>&5
                   12423:   ac_status=$?
                   12424:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12425:   (exit $ac_status); }; }; then
                   12426: 
                   12427:   lt_aix_libpath_sed='
                   12428:       /Import File Strings/,/^$/ {
                   12429:          /^0/ {
                   12430:              s/^0  *\([^ ]*\) *$/\1/
                   12431:              p
                   12432:          }
                   12433:       }'
                   12434:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12435:   # Check for a 64-bit object if we didn't find anything.
                   12436:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12437:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12438:   fi
                   12439: else
                   12440:   echo "$as_me: failed program was:" >&5
                   12441: sed 's/^/| /' conftest.$ac_ext >&5
                   12442: 
                   12443: fi
                   12444: rm -f conftest.err conftest.$ac_objext \
                   12445:       conftest$ac_exeext conftest.$ac_ext
                   12446:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12447:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12448:   fi
                   12449: 
                   12450: fi
                   12451: 
                   12452:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12453: fi
                   12454: 
                   12455:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12456: 
                   12457:           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"
                   12458:         else
                   12459:           if test "$host_cpu" = ia64; then
                   12460:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   12461:            allow_undefined_flag_CXX="-z nodefs"
                   12462:            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"
                   12463:           else
                   12464:            # Determine the default libpath from the value encoded in an
                   12465:            # empty executable.
                   12466:            if test "${lt_cv_aix_libpath+set}" = set; then
                   12467:   aix_libpath=$lt_cv_aix_libpath
                   12468: else
                   12469:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12470:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12471: else
                   12472:   cat >conftest.$ac_ext <<_ACEOF
                   12473: /* confdefs.h.  */
                   12474: _ACEOF
                   12475: cat confdefs.h >>conftest.$ac_ext
                   12476: cat >>conftest.$ac_ext <<_ACEOF
                   12477: /* end confdefs.h.  */
                   12478: 
                   12479: int
                   12480: main ()
                   12481: {
                   12482: 
                   12483:   ;
                   12484:   return 0;
                   12485: }
                   12486: _ACEOF
                   12487: rm -f conftest.$ac_objext conftest$ac_exeext
                   12488: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12489:   (eval $ac_link) 2>conftest.er1
                   12490:   ac_status=$?
                   12491:   grep -v '^ *+' conftest.er1 >conftest.err
                   12492:   rm -f conftest.er1
                   12493:   cat conftest.err >&5
                   12494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12495:   (exit $ac_status); } &&
                   12496:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12497:                         || test ! -s conftest.err'
                   12498:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12499:   (eval $ac_try) 2>&5
                   12500:   ac_status=$?
                   12501:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12502:   (exit $ac_status); }; } &&
                   12503:         { ac_try='test -s conftest$ac_exeext'
                   12504:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12505:   (eval $ac_try) 2>&5
                   12506:   ac_status=$?
                   12507:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12508:   (exit $ac_status); }; }; then
                   12509: 
                   12510:   lt_aix_libpath_sed='
                   12511:       /Import File Strings/,/^$/ {
                   12512:          /^0/ {
                   12513:              s/^0  *\([^ ]*\) *$/\1/
                   12514:              p
                   12515:          }
                   12516:       }'
                   12517:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12518:   # Check for a 64-bit object if we didn't find anything.
                   12519:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12520:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12521:   fi
                   12522: else
                   12523:   echo "$as_me: failed program was:" >&5
                   12524: sed 's/^/| /' conftest.$ac_ext >&5
                   12525: 
                   12526: fi
                   12527: rm -f conftest.err conftest.$ac_objext \
                   12528:       conftest$ac_exeext conftest.$ac_ext
                   12529:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12530:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12531:   fi
                   12532: 
                   12533: fi
                   12534: 
                   12535:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12536: fi
                   12537: 
                   12538:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12539:            # Warning - without using the other run time loading flags,
                   12540:            # -berok will link without error, but may produce a broken library.
                   12541:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   12542:            allow_undefined_flag_CXX=' ${wl}-berok'
                   12543:            if test "$with_gnu_ld" = yes; then
                   12544:              # We only use this code for GNU lds that support --whole-archive.
                   12545:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12546:            else
                   12547:              # Exported symbols can be pulled into shared objects from archives
                   12548:              whole_archive_flag_spec_CXX='$convenience'
                   12549:            fi
                   12550:            archive_cmds_need_lc_CXX=yes
                   12551:            # This is similar to how AIX traditionally builds its shared
                   12552:            # libraries.
                   12553:            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'
                   12554:           fi
                   12555:         fi
                   12556:         ;;
                   12557: 
                   12558:       beos*)
                   12559:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12560:          allow_undefined_flag_CXX=unsupported
                   12561:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12562:          # support --undefined.  This deserves some investigation.  FIXME
                   12563:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12564:        else
                   12565:          ld_shlibs_CXX=no
                   12566:        fi
                   12567:        ;;
                   12568: 
                   12569:       chorus*)
                   12570:         case $cc_basename in
                   12571:           *)
                   12572:          # FIXME: insert proper C++ library support
                   12573:          ld_shlibs_CXX=no
                   12574:          ;;
                   12575:         esac
                   12576:         ;;
                   12577: 
                   12578:       cygwin* | mingw* | pw32* | cegcc*)
                   12579:        case $GXX,$cc_basename in
                   12580:        ,cl* | no,cl*)
                   12581:          # Native MSVC
                   12582:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12583:          # no search path for DLLs.
                   12584:          hardcode_libdir_flag_spec_CXX=' '
                   12585:          allow_undefined_flag_CXX=unsupported
                   12586:          always_export_symbols_CXX=yes
                   12587:          file_list_spec_CXX='@'
                   12588:          # Tell ltmain to make .lib files, not .a files.
                   12589:          libext=lib
                   12590:          # Tell ltmain to make .dll files, not .so files.
                   12591:          shrext_cmds=".dll"
                   12592:          # FIXME: Setting linknames here is a bad hack.
                   12593:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   12594:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12595:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   12596:            else
                   12597:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   12598:            fi~
                   12599:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   12600:            linknames='
                   12601:          # The linker will not automatically build a static lib if we build a DLL.
                   12602:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   12603:          enable_shared_with_static_runtimes_CXX=yes
                   12604:          # Don't use ranlib
                   12605:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   12606:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   12607:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   12608:            case $lt_outputfile in
                   12609:              *.exe|*.EXE) ;;
                   12610:              *)
                   12611:                lt_outputfile="$lt_outputfile.exe"
                   12612:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   12613:                ;;
                   12614:            esac~
                   12615:            func_to_tool_file "$lt_outputfile"~
                   12616:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   12617:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   12618:              $RM "$lt_outputfile.manifest";
                   12619:            fi'
                   12620:          ;;
                   12621:        *)
                   12622:          # g++
                   12623:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   12624:          # as there is no search path for DLLs.
                   12625:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12626:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   12627:          allow_undefined_flag_CXX=unsupported
                   12628:          always_export_symbols_CXX=no
                   12629:          enable_shared_with_static_runtimes_CXX=yes
                   12630: 
                   12631:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   12632:            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'
                   12633:            # If the export-symbols file already is a .def file (1st line
                   12634:            # is EXPORTS), use it as is; otherwise, prepend...
                   12635:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12636:              cp $export_symbols $output_objdir/$soname.def;
                   12637:            else
                   12638:              echo EXPORTS > $output_objdir/$soname.def;
                   12639:              cat $export_symbols >> $output_objdir/$soname.def;
                   12640:            fi~
                   12641:            $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'
                   12642:          else
                   12643:            ld_shlibs_CXX=no
                   12644:          fi
                   12645:          ;;
                   12646:        esac
                   12647:        ;;
                   12648:       darwin* | rhapsody*)
                   12649: 
                   12650: 
                   12651:   archive_cmds_need_lc_CXX=no
                   12652:   hardcode_direct_CXX=no
                   12653:   hardcode_automatic_CXX=yes
                   12654:   hardcode_shlibpath_var_CXX=unsupported
                   12655:   if test "$lt_cv_ld_force_load" = "yes"; then
                   12656:     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\"`'
                   12657: 
                   12658:   else
                   12659:     whole_archive_flag_spec_CXX=''
                   12660:   fi
                   12661:   link_all_deplibs_CXX=yes
                   12662:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   12663:   case $cc_basename in
                   12664:      ifort*) _lt_dar_can_shared=yes ;;
                   12665:      *) _lt_dar_can_shared=$GCC ;;
                   12666:   esac
                   12667:   if test "$_lt_dar_can_shared" = "yes"; then
                   12668:     output_verbose_link_cmd=func_echo_all
                   12669:     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}"
                   12670:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   12671:     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}"
                   12672:     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}"
                   12673:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   12674:       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}"
                   12675:       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}"
                   12676:     fi
                   12677: 
                   12678:   else
                   12679:   ld_shlibs_CXX=no
                   12680:   fi
                   12681: 
                   12682:        ;;
                   12683: 
                   12684:       dgux*)
                   12685:         case $cc_basename in
                   12686:           ec++*)
                   12687:            # FIXME: insert proper C++ library support
                   12688:            ld_shlibs_CXX=no
                   12689:            ;;
                   12690:           ghcx*)
                   12691:            # Green Hills C++ Compiler
                   12692:            # FIXME: insert proper C++ library support
                   12693:            ld_shlibs_CXX=no
                   12694:            ;;
                   12695:           *)
                   12696:            # FIXME: insert proper C++ library support
                   12697:            ld_shlibs_CXX=no
                   12698:            ;;
                   12699:         esac
                   12700:         ;;
                   12701: 
                   12702:       freebsd2.*)
                   12703:         # C++ shared libraries reported to be fairly broken before
                   12704:        # switch to ELF
                   12705:         ld_shlibs_CXX=no
                   12706:         ;;
                   12707: 
                   12708:       freebsd-elf*)
                   12709:         archive_cmds_need_lc_CXX=no
                   12710:         ;;
                   12711: 
                   12712:       freebsd* | dragonfly*)
                   12713:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   12714:         # conventions
                   12715:         ld_shlibs_CXX=yes
                   12716:         ;;
                   12717: 
                   12718:       gnu*)
                   12719:         ;;
                   12720: 
                   12721:       haiku*)
                   12722:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12723:         link_all_deplibs_CXX=yes
                   12724:         ;;
                   12725: 
                   12726:       hpux9*)
                   12727:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   12728:         hardcode_libdir_separator_CXX=:
                   12729:         export_dynamic_flag_spec_CXX='${wl}-E'
                   12730:         hardcode_direct_CXX=yes
                   12731:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   12732:                                             # but as the default
                   12733:                                             # location of the library.
                   12734: 
                   12735:         case $cc_basename in
                   12736:           CC*)
                   12737:             # FIXME: insert proper C++ library support
                   12738:             ld_shlibs_CXX=no
                   12739:             ;;
                   12740:           aCC*)
                   12741:             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'
                   12742:             # Commands to make compiler produce verbose output that lists
                   12743:             # what "hidden" libraries, object files and flags are used when
                   12744:             # linking a shared library.
                   12745:             #
                   12746:             # There doesn't appear to be a way to prevent this compiler from
                   12747:             # explicitly linking system object files so we need to strip them
                   12748:             # from the output so that they don't get included in the library
                   12749:             # dependencies.
                   12750:             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"'
                   12751:             ;;
                   12752:           *)
                   12753:             if test "$GXX" = yes; then
                   12754:               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'
                   12755:             else
                   12756:               # FIXME: insert proper C++ library support
                   12757:               ld_shlibs_CXX=no
                   12758:             fi
                   12759:             ;;
                   12760:         esac
                   12761:         ;;
                   12762: 
                   12763:       hpux10*|hpux11*)
                   12764:         if test $with_gnu_ld = no; then
                   12765:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   12766:          hardcode_libdir_separator_CXX=:
                   12767: 
                   12768:           case $host_cpu in
                   12769:             hppa*64*|ia64*)
                   12770:               ;;
                   12771:             *)
                   12772:              export_dynamic_flag_spec_CXX='${wl}-E'
                   12773:               ;;
                   12774:           esac
                   12775:         fi
                   12776:         case $host_cpu in
                   12777:           hppa*64*|ia64*)
                   12778:             hardcode_direct_CXX=no
                   12779:             hardcode_shlibpath_var_CXX=no
                   12780:             ;;
                   12781:           *)
                   12782:             hardcode_direct_CXX=yes
                   12783:             hardcode_direct_absolute_CXX=yes
                   12784:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   12785:                                                 # but as the default
                   12786:                                                 # location of the library.
                   12787:             ;;
                   12788:         esac
                   12789: 
                   12790:         case $cc_basename in
                   12791:           CC*)
                   12792:            # FIXME: insert proper C++ library support
                   12793:            ld_shlibs_CXX=no
                   12794:            ;;
                   12795:           aCC*)
                   12796:            case $host_cpu in
                   12797:              hppa*64*)
                   12798:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12799:                ;;
                   12800:              ia64*)
                   12801:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12802:                ;;
                   12803:              *)
                   12804:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12805:                ;;
                   12806:            esac
                   12807:            # Commands to make compiler produce verbose output that lists
                   12808:            # what "hidden" libraries, object files and flags are used when
                   12809:            # linking a shared library.
                   12810:            #
                   12811:            # There doesn't appear to be a way to prevent this compiler from
                   12812:            # explicitly linking system object files so we need to strip them
                   12813:            # from the output so that they don't get included in the library
                   12814:            # dependencies.
                   12815:            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"'
                   12816:            ;;
                   12817:           *)
                   12818:            if test "$GXX" = yes; then
                   12819:              if test $with_gnu_ld = no; then
                   12820:                case $host_cpu in
                   12821:                  hppa*64*)
                   12822:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12823:                    ;;
                   12824:                  ia64*)
                   12825:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12826:                    ;;
                   12827:                  *)
                   12828:                    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'
                   12829:                    ;;
                   12830:                esac
                   12831:              fi
                   12832:            else
                   12833:              # FIXME: insert proper C++ library support
                   12834:              ld_shlibs_CXX=no
                   12835:            fi
                   12836:            ;;
                   12837:         esac
                   12838:         ;;
                   12839: 
                   12840:       interix[3-9]*)
                   12841:        hardcode_direct_CXX=no
                   12842:        hardcode_shlibpath_var_CXX=no
                   12843:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12844:        export_dynamic_flag_spec_CXX='${wl}-E'
                   12845:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   12846:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   12847:        # default) and relocated if they conflict, which is a slow very memory
                   12848:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   12849:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   12850:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   12851:        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'
                   12852:        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'
                   12853:        ;;
                   12854:       irix5* | irix6*)
                   12855:         case $cc_basename in
                   12856:           CC*)
                   12857:            # SGI C++
                   12858:            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'
                   12859: 
                   12860:            # Archives containing C++ object files must be created using
                   12861:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   12862:            # necessary to make sure instantiated templates are included
                   12863:            # in the archive.
                   12864:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   12865:            ;;
                   12866:           *)
                   12867:            if test "$GXX" = yes; then
                   12868:              if test "$with_gnu_ld" = no; then
                   12869:                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'
                   12870:              else
                   12871:                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'
                   12872:              fi
                   12873:            fi
                   12874:            link_all_deplibs_CXX=yes
                   12875:            ;;
                   12876:         esac
                   12877:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12878:         hardcode_libdir_separator_CXX=:
                   12879:         inherit_rpath_CXX=yes
                   12880:         ;;
                   12881: 
                   12882:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12883:         case $cc_basename in
                   12884:           KCC*)
                   12885:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   12886: 
                   12887:            # KCC will only create a shared library if the output file
                   12888:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   12889:            # to its proper name (with version) after linking.
                   12890:            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'
                   12891:            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'
                   12892:            # Commands to make compiler produce verbose output that lists
                   12893:            # what "hidden" libraries, object files and flags are used when
                   12894:            # linking a shared library.
                   12895:            #
                   12896:            # There doesn't appear to be a way to prevent this compiler from
                   12897:            # explicitly linking system object files so we need to strip them
                   12898:            # from the output so that they don't get included in the library
                   12899:            # dependencies.
                   12900:            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"'
                   12901: 
                   12902:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12903:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12904: 
                   12905:            # Archives containing C++ object files must be created using
                   12906:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   12907:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   12908:            ;;
                   12909:          icpc* | ecpc* )
                   12910:            # Intel C++
                   12911:            with_gnu_ld=yes
                   12912:            # version 8.0 and above of icpc choke on multiply defined symbols
                   12913:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   12914:            # earlier do not add the objects themselves.
                   12915:            case `$CC -V 2>&1` in
                   12916:              *"Version 7."*)
                   12917:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12918:                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'
                   12919:                ;;
                   12920:              *)  # Version 8.0 or newer
                   12921:                tmp_idyn=
                   12922:                case $host_cpu in
                   12923:                  ia64*) tmp_idyn=' -i_dynamic';;
                   12924:                esac
                   12925:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12926:                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'
                   12927:                ;;
                   12928:            esac
                   12929:            archive_cmds_need_lc_CXX=no
                   12930:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12931:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12932:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12933:            ;;
                   12934:           pgCC* | pgcpp*)
                   12935:             # Portland Group C++ compiler
                   12936:            case `$CC -V` in
                   12937:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   12938:              prelink_cmds_CXX='tpldir=Template.dir~
                   12939:                rm -rf $tpldir~
                   12940:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   12941:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   12942:              old_archive_cmds_CXX='tpldir=Template.dir~
                   12943:                rm -rf $tpldir~
                   12944:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   12945:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   12946:                $RANLIB $oldlib'
                   12947:              archive_cmds_CXX='tpldir=Template.dir~
                   12948:                rm -rf $tpldir~
                   12949:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   12950:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   12951:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   12952:                rm -rf $tpldir~
                   12953:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   12954:                $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'
                   12955:              ;;
                   12956:            *) # Version 6 and above use weak symbols
                   12957:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   12958:              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'
                   12959:              ;;
                   12960:            esac
                   12961: 
                   12962:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   12963:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12964:            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'
                   12965:             ;;
                   12966:          cxx*)
                   12967:            # Compaq C++
                   12968:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12969:            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'
                   12970: 
                   12971:            runpath_var=LD_RUN_PATH
                   12972:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   12973:            hardcode_libdir_separator_CXX=:
                   12974: 
                   12975:            # Commands to make compiler produce verbose output that lists
                   12976:            # what "hidden" libraries, object files and flags are used when
                   12977:            # linking a shared library.
                   12978:            #
                   12979:            # There doesn't appear to be a way to prevent this compiler from
                   12980:            # explicitly linking system object files so we need to strip them
                   12981:            # from the output so that they don't get included in the library
                   12982:            # dependencies.
                   12983:            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'
                   12984:            ;;
                   12985:          xl* | mpixl* | bgxl*)
                   12986:            # IBM XL 8.0 on PPC, with GNU ld
                   12987:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12988:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12989:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12990:            if test "x$supports_anon_versioning" = xyes; then
                   12991:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   12992:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12993:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   12994:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   12995:            fi
                   12996:            ;;
                   12997:          *)
                   12998:            case `$CC -V 2>&1 | sed 5q` in
                   12999:            *Sun\ C*)
                   13000:              # Sun C++ 5.9
                   13001:              no_undefined_flag_CXX=' -zdefs'
                   13002:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13003:              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'
                   13004:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13005:              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'
                   13006:              compiler_needs_object_CXX=yes
                   13007: 
                   13008:              # Not sure whether something based on
                   13009:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13010:              # would be better.
                   13011:              output_verbose_link_cmd='func_echo_all'
                   13012: 
                   13013:              # Archives containing C++ object files must be created using
                   13014:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13015:              # necessary to make sure instantiated templates are included
                   13016:              # in the archive.
                   13017:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13018:              ;;
                   13019:            esac
                   13020:            ;;
                   13021:        esac
                   13022:        ;;
                   13023: 
                   13024:       lynxos*)
                   13025:         # FIXME: insert proper C++ library support
                   13026:        ld_shlibs_CXX=no
                   13027:        ;;
                   13028: 
                   13029:       m88k*)
                   13030:         # FIXME: insert proper C++ library support
                   13031:         ld_shlibs_CXX=no
                   13032:        ;;
                   13033: 
                   13034:       mvs*)
                   13035:         case $cc_basename in
                   13036:           cxx*)
                   13037:            # FIXME: insert proper C++ library support
                   13038:            ld_shlibs_CXX=no
                   13039:            ;;
                   13040:          *)
                   13041:            # FIXME: insert proper C++ library support
                   13042:            ld_shlibs_CXX=no
                   13043:            ;;
                   13044:        esac
                   13045:        ;;
                   13046: 
                   13047:       netbsd*)
                   13048:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13049:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13050:          wlarc=
                   13051:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13052:          hardcode_direct_CXX=yes
                   13053:          hardcode_shlibpath_var_CXX=no
                   13054:        fi
                   13055:        # Workaround some broken pre-1.5 toolchains
                   13056:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13057:        ;;
                   13058: 
                   13059:       *nto* | *qnx*)
                   13060:         ld_shlibs_CXX=yes
                   13061:        ;;
                   13062: 
                   13063:       openbsd2*)
                   13064:         # C++ shared libraries are fairly broken
                   13065:        ld_shlibs_CXX=no
                   13066:        ;;
                   13067: 
                   13068:       openbsd*)
                   13069:        if test -f /usr/libexec/ld.so; then
                   13070:          hardcode_direct_CXX=yes
                   13071:          hardcode_shlibpath_var_CXX=no
                   13072:          hardcode_direct_absolute_CXX=yes
                   13073:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13074:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13075:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13076:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13077:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13078:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13079:          fi
                   13080:          output_verbose_link_cmd=func_echo_all
                   13081:        else
                   13082:          ld_shlibs_CXX=no
                   13083:        fi
                   13084:        ;;
                   13085: 
                   13086:       osf3* | osf4* | osf5*)
                   13087:         case $cc_basename in
                   13088:           KCC*)
                   13089:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13090: 
                   13091:            # KCC will only create a shared library if the output file
                   13092:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13093:            # to its proper name (with version) after linking.
                   13094:            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'
                   13095: 
                   13096:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13097:            hardcode_libdir_separator_CXX=:
                   13098: 
                   13099:            # Archives containing C++ object files must be created using
                   13100:            # the KAI C++ compiler.
                   13101:            case $host in
                   13102:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13103:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13104:            esac
                   13105:            ;;
                   13106:           RCC*)
                   13107:            # Rational C++ 2.4.1
                   13108:            # FIXME: insert proper C++ library support
                   13109:            ld_shlibs_CXX=no
                   13110:            ;;
                   13111:           cxx*)
                   13112:            case $host in
                   13113:              osf3*)
                   13114:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13115:                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'
                   13116:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13117:                ;;
                   13118:              *)
                   13119:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13120:                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'
                   13121:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13122:                  echo "-hidden">> $lib.exp~
                   13123:                  $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~
                   13124:                  $RM $lib.exp'
                   13125:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13126:                ;;
                   13127:            esac
                   13128: 
                   13129:            hardcode_libdir_separator_CXX=:
                   13130: 
                   13131:            # Commands to make compiler produce verbose output that lists
                   13132:            # what "hidden" libraries, object files and flags are used when
                   13133:            # linking a shared library.
                   13134:            #
                   13135:            # There doesn't appear to be a way to prevent this compiler from
                   13136:            # explicitly linking system object files so we need to strip them
                   13137:            # from the output so that they don't get included in the library
                   13138:            # dependencies.
                   13139:            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"'
                   13140:            ;;
                   13141:          *)
                   13142:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13143:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13144:              case $host in
                   13145:                osf3*)
                   13146:                  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'
                   13147:                  ;;
                   13148:                *)
                   13149:                  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'
                   13150:                  ;;
                   13151:              esac
                   13152: 
                   13153:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13154:              hardcode_libdir_separator_CXX=:
                   13155: 
                   13156:              # Commands to make compiler produce verbose output that lists
                   13157:              # what "hidden" libraries, object files and flags are used when
                   13158:              # linking a shared library.
                   13159:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13160: 
                   13161:            else
                   13162:              # FIXME: insert proper C++ library support
                   13163:              ld_shlibs_CXX=no
                   13164:            fi
                   13165:            ;;
                   13166:         esac
                   13167:         ;;
                   13168: 
                   13169:       psos*)
                   13170:         # FIXME: insert proper C++ library support
                   13171:         ld_shlibs_CXX=no
                   13172:         ;;
                   13173: 
                   13174:       sunos4*)
                   13175:         case $cc_basename in
                   13176:           CC*)
                   13177:            # Sun C++ 4.x
                   13178:            # FIXME: insert proper C++ library support
                   13179:            ld_shlibs_CXX=no
                   13180:            ;;
                   13181:           lcc*)
                   13182:            # Lucid
                   13183:            # FIXME: insert proper C++ library support
                   13184:            ld_shlibs_CXX=no
                   13185:            ;;
                   13186:           *)
                   13187:            # FIXME: insert proper C++ library support
                   13188:            ld_shlibs_CXX=no
                   13189:            ;;
                   13190:         esac
                   13191:         ;;
                   13192: 
                   13193:       solaris*)
                   13194:         case $cc_basename in
                   13195:           CC* | sunCC*)
                   13196:            # Sun C++ 4.2, 5.x and Centerline C++
                   13197:             archive_cmds_need_lc_CXX=yes
                   13198:            no_undefined_flag_CXX=' -zdefs'
                   13199:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13200:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13201:              $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'
                   13202: 
                   13203:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13204:            hardcode_shlibpath_var_CXX=no
                   13205:            case $host_os in
                   13206:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13207:              *)
                   13208:                # The compiler driver will combine and reorder linker options,
                   13209:                # but understands `-z linker_flag'.
                   13210:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13211:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13212:                ;;
                   13213:            esac
                   13214:            link_all_deplibs_CXX=yes
                   13215: 
                   13216:            output_verbose_link_cmd='func_echo_all'
                   13217: 
                   13218:            # Archives containing C++ object files must be created using
                   13219:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13220:            # necessary to make sure instantiated templates are included
                   13221:            # in the archive.
                   13222:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13223:            ;;
                   13224:           gcx*)
                   13225:            # Green Hills C++ Compiler
                   13226:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13227: 
                   13228:            # The C++ compiler must be used to create the archive.
                   13229:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13230:            ;;
                   13231:           *)
                   13232:            # GNU C++ compiler with Solaris linker
                   13233:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13234:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13235:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13236:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13237:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13238:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13239: 
                   13240:                # Commands to make compiler produce verbose output that lists
                   13241:                # what "hidden" libraries, object files and flags are used when
                   13242:                # linking a shared library.
                   13243:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13244:              else
                   13245:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13246:                # platform.
                   13247:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13248:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13249:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13250: 
                   13251:                # Commands to make compiler produce verbose output that lists
                   13252:                # what "hidden" libraries, object files and flags are used when
                   13253:                # linking a shared library.
                   13254:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13255:              fi
                   13256: 
                   13257:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13258:              case $host_os in
                   13259:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13260:                *)
                   13261:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13262:                  ;;
                   13263:              esac
                   13264:            fi
                   13265:            ;;
                   13266:         esac
                   13267:         ;;
                   13268: 
                   13269:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13270:       no_undefined_flag_CXX='${wl}-z,text'
                   13271:       archive_cmds_need_lc_CXX=no
                   13272:       hardcode_shlibpath_var_CXX=no
                   13273:       runpath_var='LD_RUN_PATH'
                   13274: 
                   13275:       case $cc_basename in
                   13276:         CC*)
                   13277:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13278:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13279:          ;;
                   13280:        *)
                   13281:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13282:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13283:          ;;
                   13284:       esac
                   13285:       ;;
                   13286: 
                   13287:       sysv5* | sco3.2v5* | sco5v6*)
                   13288:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13289:        # link with -lc, and that would cause any symbols used from libc to
                   13290:        # always be unresolved, which means just about no library would
                   13291:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13292:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13293:        # as -z defs.
                   13294:        no_undefined_flag_CXX='${wl}-z,text'
                   13295:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13296:        archive_cmds_need_lc_CXX=no
                   13297:        hardcode_shlibpath_var_CXX=no
                   13298:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13299:        hardcode_libdir_separator_CXX=':'
                   13300:        link_all_deplibs_CXX=yes
                   13301:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13302:        runpath_var='LD_RUN_PATH'
                   13303: 
                   13304:        case $cc_basename in
                   13305:           CC*)
                   13306:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13307:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13308:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13309:              '"$old_archive_cmds_CXX"
                   13310:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13311:              '"$reload_cmds_CXX"
                   13312:            ;;
                   13313:          *)
                   13314:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13315:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13316:            ;;
                   13317:        esac
                   13318:       ;;
                   13319: 
                   13320:       tandem*)
                   13321:         case $cc_basename in
                   13322:           NCC*)
                   13323:            # NonStop-UX NCC 3.20
                   13324:            # FIXME: insert proper C++ library support
                   13325:            ld_shlibs_CXX=no
                   13326:            ;;
                   13327:           *)
                   13328:            # FIXME: insert proper C++ library support
                   13329:            ld_shlibs_CXX=no
                   13330:            ;;
                   13331:         esac
                   13332:         ;;
                   13333: 
                   13334:       vxworks*)
                   13335:         # FIXME: insert proper C++ library support
                   13336:         ld_shlibs_CXX=no
                   13337:         ;;
                   13338: 
                   13339:       *)
                   13340:         # FIXME: insert proper C++ library support
                   13341:         ld_shlibs_CXX=no
                   13342:         ;;
                   13343:     esac
                   13344: 
                   13345:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   13346: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   13347:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13348: 
                   13349:     GCC_CXX="$GXX"
                   13350:     LD_CXX="$LD"
                   13351: 
                   13352:     ## CAVEAT EMPTOR:
                   13353:     ## There is no encapsulation within the following macros, do not change
                   13354:     ## the running order or otherwise move them around unless you know exactly
                   13355:     ## what you are doing...
                   13356:     # Dependencies to place before and after the object being linked:
                   13357: predep_objects_CXX=
                   13358: postdep_objects_CXX=
                   13359: predeps_CXX=
                   13360: postdeps_CXX=
                   13361: compiler_lib_search_path_CXX=
                   13362: 
                   13363: cat > conftest.$ac_ext <<_LT_EOF
                   13364: class Foo
                   13365: {
                   13366: public:
                   13367:   Foo (void) { a = 0; }
                   13368: private:
                   13369:   int a;
                   13370: };
                   13371: _LT_EOF
                   13372: 
                   13373: 
                   13374: _lt_libdeps_save_CFLAGS=$CFLAGS
                   13375: case "$CC $CFLAGS " in #(
                   13376: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   13377: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   13378: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   13379: esac
                   13380: 
                   13381: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   13382:   (eval $ac_compile) 2>&5
                   13383:   ac_status=$?
                   13384:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13385:   (exit $ac_status); }; then
                   13386:   # Parse the compiler output and extract the necessary
                   13387:   # objects, libraries and library flags.
                   13388: 
                   13389:   # Sentinel used to keep track of whether or not we are before
                   13390:   # the conftest object file.
                   13391:   pre_test_object_deps_done=no
                   13392: 
                   13393:   for p in `eval "$output_verbose_link_cmd"`; do
                   13394:     case ${prev}${p} in
                   13395: 
                   13396:     -L* | -R* | -l*)
                   13397:        # Some compilers place space between "-{L,R}" and the path.
                   13398:        # Remove the space.
                   13399:        if test $p = "-L" ||
                   13400:           test $p = "-R"; then
                   13401:         prev=$p
                   13402:         continue
                   13403:        fi
                   13404: 
                   13405:        # Expand the sysroot to ease extracting the directories later.
                   13406:        if test -z "$prev"; then
                   13407:          case $p in
                   13408:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   13409:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   13410:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   13411:          esac
                   13412:        fi
                   13413:        case $p in
                   13414:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   13415:        esac
                   13416:        if test "$pre_test_object_deps_done" = no; then
                   13417:         case ${prev} in
                   13418:         -L | -R)
                   13419:           # Internal compiler library paths should come after those
                   13420:           # provided the user.  The postdeps already come after the
                   13421:           # user supplied libs so there is no need to process them.
                   13422:           if test -z "$compiler_lib_search_path_CXX"; then
                   13423:             compiler_lib_search_path_CXX="${prev}${p}"
                   13424:           else
                   13425:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   13426:           fi
                   13427:           ;;
                   13428:         # The "-l" case would never come before the object being
                   13429:         # linked, so don't bother handling this case.
                   13430:         esac
                   13431:        else
                   13432:         if test -z "$postdeps_CXX"; then
                   13433:           postdeps_CXX="${prev}${p}"
                   13434:         else
                   13435:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   13436:         fi
                   13437:        fi
                   13438:        prev=
                   13439:        ;;
                   13440: 
                   13441:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   13442:     *.$objext)
                   13443:        # This assumes that the test object file only shows up
                   13444:        # once in the compiler output.
                   13445:        if test "$p" = "conftest.$objext"; then
                   13446:         pre_test_object_deps_done=yes
                   13447:         continue
                   13448:        fi
                   13449: 
                   13450:        if test "$pre_test_object_deps_done" = no; then
                   13451:         if test -z "$predep_objects_CXX"; then
                   13452:           predep_objects_CXX="$p"
                   13453:         else
                   13454:           predep_objects_CXX="$predep_objects_CXX $p"
                   13455:         fi
                   13456:        else
                   13457:         if test -z "$postdep_objects_CXX"; then
                   13458:           postdep_objects_CXX="$p"
                   13459:         else
                   13460:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   13461:         fi
                   13462:        fi
                   13463:        ;;
                   13464: 
                   13465:     *) ;; # Ignore the rest.
                   13466: 
                   13467:     esac
                   13468:   done
                   13469: 
                   13470:   # Clean up.
                   13471:   rm -f a.out a.exe
                   13472: else
                   13473:   echo "libtool.m4: error: problem compiling CXX test program"
                   13474: fi
                   13475: 
                   13476: $RM -f confest.$objext
                   13477: CFLAGS=$_lt_libdeps_save_CFLAGS
                   13478: 
                   13479: # PORTME: override above test on systems where it is broken
                   13480: case $host_os in
                   13481: interix[3-9]*)
                   13482:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   13483:   # hack all around it, let's just trust "g++" to DTRT.
                   13484:   predep_objects_CXX=
                   13485:   postdep_objects_CXX=
                   13486:   postdeps_CXX=
                   13487:   ;;
                   13488: 
                   13489: linux*)
                   13490:   case `$CC -V 2>&1 | sed 5q` in
                   13491:   *Sun\ C*)
                   13492:     # Sun C++ 5.9
                   13493: 
                   13494:     # The more standards-conforming stlport4 library is
                   13495:     # incompatible with the Cstd library. Avoid specifying
                   13496:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13497:     # -library=stlport4 depends on it.
                   13498:     case " $CXX $CXXFLAGS " in
                   13499:     *" -library=stlport4 "*)
                   13500:       solaris_use_stlport4=yes
                   13501:       ;;
                   13502:     esac
                   13503: 
                   13504:     if test "$solaris_use_stlport4" != yes; then
                   13505:       postdeps_CXX='-library=Cstd -library=Crun'
                   13506:     fi
                   13507:     ;;
                   13508:   esac
                   13509:   ;;
                   13510: 
                   13511: solaris*)
                   13512:   case $cc_basename in
                   13513:   CC* | sunCC*)
                   13514:     # The more standards-conforming stlport4 library is
                   13515:     # incompatible with the Cstd library. Avoid specifying
                   13516:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13517:     # -library=stlport4 depends on it.
                   13518:     case " $CXX $CXXFLAGS " in
                   13519:     *" -library=stlport4 "*)
                   13520:       solaris_use_stlport4=yes
                   13521:       ;;
                   13522:     esac
                   13523: 
                   13524:     # Adding this requires a known-good setup of shared libraries for
                   13525:     # Sun compiler versions before 5.6, else PIC objects from an old
                   13526:     # archive will be linked into the output, leading to subtle bugs.
                   13527:     if test "$solaris_use_stlport4" != yes; then
                   13528:       postdeps_CXX='-library=Cstd -library=Crun'
                   13529:     fi
                   13530:     ;;
                   13531:   esac
                   13532:   ;;
                   13533: esac
                   13534: 
                   13535: 
                   13536: case " $postdeps_CXX " in
                   13537: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   13538: esac
                   13539:  compiler_lib_search_dirs_CXX=
                   13540: if test -n "${compiler_lib_search_path_CXX}"; then
                   13541:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   13542: fi
                   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: 
                   13574:     lt_prog_compiler_wl_CXX=
                   13575: lt_prog_compiler_pic_CXX=
                   13576: lt_prog_compiler_static_CXX=
                   13577: 
                   13578: 
                   13579:   # C++ specific cases for pic, static, wl, etc.
                   13580:   if test "$GXX" = yes; then
                   13581:     lt_prog_compiler_wl_CXX='-Wl,'
                   13582:     lt_prog_compiler_static_CXX='-static'
                   13583: 
                   13584:     case $host_os in
                   13585:     aix*)
                   13586:       # All AIX code is PIC.
                   13587:       if test "$host_cpu" = ia64; then
                   13588:        # AIX 5 now supports IA64 processor
                   13589:        lt_prog_compiler_static_CXX='-Bstatic'
                   13590:       fi
                   13591:       ;;
                   13592: 
                   13593:     amigaos*)
                   13594:       case $host_cpu in
                   13595:       powerpc)
                   13596:             # see comment about AmigaOS4 .so support
                   13597:             lt_prog_compiler_pic_CXX='-fPIC'
                   13598:         ;;
                   13599:       m68k)
                   13600:             # FIXME: we need at least 68020 code to build shared libraries, but
                   13601:             # adding the `-m68020' flag to GCC prevents building anything better,
                   13602:             # like `-m68040'.
                   13603:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   13604:         ;;
                   13605:       esac
                   13606:       ;;
                   13607: 
                   13608:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   13609:       # PIC is the default for these OSes.
                   13610:       ;;
                   13611:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13612:       # This hack is so that the source file can tell whether it is being
                   13613:       # built for inclusion in a dll (and should export symbols for example).
                   13614:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   13615:       # (--disable-auto-import) libraries
                   13616:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13617:       ;;
                   13618:     darwin* | rhapsody*)
                   13619:       # PIC is the default on this platform
                   13620:       # Common symbols not allowed in MH_DYLIB files
                   13621:       lt_prog_compiler_pic_CXX='-fno-common'
                   13622:       ;;
                   13623:     *djgpp*)
                   13624:       # DJGPP does not support shared libraries at all
                   13625:       lt_prog_compiler_pic_CXX=
                   13626:       ;;
                   13627:     haiku*)
                   13628:       # PIC is the default for Haiku.
                   13629:       # The "-static" flag exists, but is broken.
                   13630:       lt_prog_compiler_static_CXX=
                   13631:       ;;
                   13632:     interix[3-9]*)
                   13633:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   13634:       # Instead, we relocate shared libraries at runtime.
                   13635:       ;;
                   13636:     sysv4*MP*)
                   13637:       if test -d /usr/nec; then
                   13638:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   13639:       fi
                   13640:       ;;
                   13641:     hpux*)
                   13642:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   13643:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   13644:       # sets the default TLS model and affects inlining.
                   13645:       case $host_cpu in
                   13646:       hppa*64*)
                   13647:        ;;
                   13648:       *)
                   13649:        lt_prog_compiler_pic_CXX='-fPIC'
                   13650:        ;;
                   13651:       esac
                   13652:       ;;
                   13653:     *qnx* | *nto*)
                   13654:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13655:       # it will coredump.
                   13656:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13657:       ;;
                   13658:     *)
                   13659:       lt_prog_compiler_pic_CXX='-fPIC'
                   13660:       ;;
                   13661:     esac
                   13662:   else
                   13663:     case $host_os in
                   13664:       aix[4-9]*)
                   13665:        # All AIX code is PIC.
                   13666:        if test "$host_cpu" = ia64; then
                   13667:          # AIX 5 now supports IA64 processor
                   13668:          lt_prog_compiler_static_CXX='-Bstatic'
                   13669:        else
                   13670:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   13671:        fi
                   13672:        ;;
                   13673:       chorus*)
                   13674:        case $cc_basename in
                   13675:        cxch68*)
                   13676:          # Green Hills C++ Compiler
                   13677:          # _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"
                   13678:          ;;
                   13679:        esac
                   13680:        ;;
                   13681:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13682:        # This hack is so that the source file can tell whether it is being
                   13683:        # built for inclusion in a dll (and should export symbols for example).
                   13684:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13685:        ;;
                   13686:       dgux*)
                   13687:        case $cc_basename in
                   13688:          ec++*)
                   13689:            lt_prog_compiler_pic_CXX='-KPIC'
                   13690:            ;;
                   13691:          ghcx*)
                   13692:            # Green Hills C++ Compiler
                   13693:            lt_prog_compiler_pic_CXX='-pic'
                   13694:            ;;
                   13695:          *)
                   13696:            ;;
                   13697:        esac
                   13698:        ;;
                   13699:       freebsd* | dragonfly*)
                   13700:        # FreeBSD uses GNU C++
                   13701:        ;;
                   13702:       hpux9* | hpux10* | hpux11*)
                   13703:        case $cc_basename in
                   13704:          CC*)
                   13705:            lt_prog_compiler_wl_CXX='-Wl,'
                   13706:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   13707:            if test "$host_cpu" != ia64; then
                   13708:              lt_prog_compiler_pic_CXX='+Z'
                   13709:            fi
                   13710:            ;;
                   13711:          aCC*)
                   13712:            lt_prog_compiler_wl_CXX='-Wl,'
                   13713:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   13714:            case $host_cpu in
                   13715:            hppa*64*|ia64*)
                   13716:              # +Z the default
                   13717:              ;;
                   13718:            *)
                   13719:              lt_prog_compiler_pic_CXX='+Z'
                   13720:              ;;
                   13721:            esac
                   13722:            ;;
                   13723:          *)
                   13724:            ;;
                   13725:        esac
                   13726:        ;;
                   13727:       interix*)
                   13728:        # This is c89, which is MS Visual C++ (no shared libs)
                   13729:        # Anyone wants to do a port?
                   13730:        ;;
                   13731:       irix5* | irix6* | nonstopux*)
                   13732:        case $cc_basename in
                   13733:          CC*)
                   13734:            lt_prog_compiler_wl_CXX='-Wl,'
                   13735:            lt_prog_compiler_static_CXX='-non_shared'
                   13736:            # CC pic flag -KPIC is the default.
                   13737:            ;;
                   13738:          *)
                   13739:            ;;
                   13740:        esac
                   13741:        ;;
                   13742:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13743:        case $cc_basename in
                   13744:          KCC*)
                   13745:            # KAI C++ Compiler
                   13746:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   13747:            lt_prog_compiler_pic_CXX='-fPIC'
                   13748:            ;;
                   13749:          ecpc* )
                   13750:            # old Intel C++ for x86_64 which still supported -KPIC.
                   13751:            lt_prog_compiler_wl_CXX='-Wl,'
                   13752:            lt_prog_compiler_pic_CXX='-KPIC'
                   13753:            lt_prog_compiler_static_CXX='-static'
                   13754:            ;;
                   13755:          icpc* )
                   13756:            # Intel C++, used to be incompatible with GCC.
                   13757:            # ICC 10 doesn't accept -KPIC any more.
                   13758:            lt_prog_compiler_wl_CXX='-Wl,'
                   13759:            lt_prog_compiler_pic_CXX='-fPIC'
                   13760:            lt_prog_compiler_static_CXX='-static'
                   13761:            ;;
                   13762:          pgCC* | pgcpp*)
                   13763:            # Portland Group C++ compiler
                   13764:            lt_prog_compiler_wl_CXX='-Wl,'
                   13765:            lt_prog_compiler_pic_CXX='-fpic'
                   13766:            lt_prog_compiler_static_CXX='-Bstatic'
                   13767:            ;;
                   13768:          cxx*)
                   13769:            # Compaq C++
                   13770:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   13771:            # Linux and Compaq Tru64 Unix objects are PIC.
                   13772:            lt_prog_compiler_pic_CXX=
                   13773:            lt_prog_compiler_static_CXX='-non_shared'
                   13774:            ;;
                   13775:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   13776:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   13777:            lt_prog_compiler_wl_CXX='-Wl,'
                   13778:            lt_prog_compiler_pic_CXX='-qpic'
                   13779:            lt_prog_compiler_static_CXX='-qstaticlink'
                   13780:            ;;
                   13781:          *)
                   13782:            case `$CC -V 2>&1 | sed 5q` in
                   13783:            *Sun\ C*)
                   13784:              # Sun C++ 5.9
                   13785:              lt_prog_compiler_pic_CXX='-KPIC'
                   13786:              lt_prog_compiler_static_CXX='-Bstatic'
                   13787:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   13788:              ;;
                   13789:            esac
                   13790:            ;;
                   13791:        esac
                   13792:        ;;
                   13793:       lynxos*)
                   13794:        ;;
                   13795:       m88k*)
                   13796:        ;;
                   13797:       mvs*)
                   13798:        case $cc_basename in
                   13799:          cxx*)
                   13800:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   13801:            ;;
                   13802:          *)
                   13803:            ;;
                   13804:        esac
                   13805:        ;;
                   13806:       netbsd*)
                   13807:        ;;
                   13808:       *qnx* | *nto*)
                   13809:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13810:         # it will coredump.
                   13811:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13812:         ;;
                   13813:       osf3* | osf4* | osf5*)
                   13814:        case $cc_basename in
                   13815:          KCC*)
                   13816:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   13817:            ;;
                   13818:          RCC*)
                   13819:            # Rational C++ 2.4.1
                   13820:            lt_prog_compiler_pic_CXX='-pic'
                   13821:            ;;
                   13822:          cxx*)
                   13823:            # Digital/Compaq C++
                   13824:            lt_prog_compiler_wl_CXX='-Wl,'
                   13825:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   13826:            # Linux and Compaq Tru64 Unix objects are PIC.
                   13827:            lt_prog_compiler_pic_CXX=
                   13828:            lt_prog_compiler_static_CXX='-non_shared'
                   13829:            ;;
                   13830:          *)
                   13831:            ;;
                   13832:        esac
                   13833:        ;;
                   13834:       psos*)
                   13835:        ;;
                   13836:       solaris*)
                   13837:        case $cc_basename in
                   13838:          CC* | sunCC*)
                   13839:            # Sun C++ 4.2, 5.x and Centerline C++
                   13840:            lt_prog_compiler_pic_CXX='-KPIC'
                   13841:            lt_prog_compiler_static_CXX='-Bstatic'
                   13842:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   13843:            ;;
                   13844:          gcx*)
                   13845:            # Green Hills C++ Compiler
                   13846:            lt_prog_compiler_pic_CXX='-PIC'
                   13847:            ;;
                   13848:          *)
                   13849:            ;;
                   13850:        esac
                   13851:        ;;
                   13852:       sunos4*)
                   13853:        case $cc_basename in
                   13854:          CC*)
                   13855:            # Sun C++ 4.x
                   13856:            lt_prog_compiler_pic_CXX='-pic'
                   13857:            lt_prog_compiler_static_CXX='-Bstatic'
                   13858:            ;;
                   13859:          lcc*)
                   13860:            # Lucid
                   13861:            lt_prog_compiler_pic_CXX='-pic'
                   13862:            ;;
                   13863:          *)
                   13864:            ;;
                   13865:        esac
                   13866:        ;;
                   13867:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   13868:        case $cc_basename in
                   13869:          CC*)
                   13870:            lt_prog_compiler_wl_CXX='-Wl,'
                   13871:            lt_prog_compiler_pic_CXX='-KPIC'
                   13872:            lt_prog_compiler_static_CXX='-Bstatic'
                   13873:            ;;
                   13874:        esac
                   13875:        ;;
                   13876:       tandem*)
                   13877:        case $cc_basename in
                   13878:          NCC*)
                   13879:            # NonStop-UX NCC 3.20
                   13880:            lt_prog_compiler_pic_CXX='-KPIC'
                   13881:            ;;
                   13882:          *)
                   13883:            ;;
                   13884:        esac
                   13885:        ;;
                   13886:       vxworks*)
                   13887:        ;;
                   13888:       *)
                   13889:        lt_prog_compiler_can_build_shared_CXX=no
                   13890:        ;;
                   13891:     esac
                   13892:   fi
                   13893: 
                   13894: case $host_os in
                   13895:   # For platforms which do not support PIC, -DPIC is meaningless:
                   13896:   *djgpp*)
                   13897:     lt_prog_compiler_pic_CXX=
                   13898:     ;;
                   13899:   *)
                   13900:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   13901:     ;;
                   13902: esac
                   13903: 
                   13904: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   13905: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   13906: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   13907:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13908: else
                   13909:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   13910: fi
                   13911: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   13912: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
                   13913: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   13914: 
                   13915: #
                   13916: # Check to make sure the PIC flag actually works.
                   13917: #
                   13918: if test -n "$lt_prog_compiler_pic_CXX"; then
                   13919:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   13920: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   13921: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   13922:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13923: else
                   13924:   lt_cv_prog_compiler_pic_works_CXX=no
                   13925:    ac_outfile=conftest.$ac_objext
                   13926:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13927:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   13928:    # Insert the option either (1) after the last *FLAGS variable, or
                   13929:    # (2) before a word containing "conftest.", or (3) at the end.
                   13930:    # Note that $ac_compile itself does not contain backslashes and begins
                   13931:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   13932:    # The option is referenced via a variable to avoid confusing sed.
                   13933:    lt_compile=`echo "$ac_compile" | $SED \
                   13934:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   13935:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   13936:    -e 's:$: $lt_compiler_flag:'`
                   13937:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   13938:    (eval "$lt_compile" 2>conftest.err)
                   13939:    ac_status=$?
                   13940:    cat conftest.err >&5
                   13941:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13942:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   13943:      # The compiler can only warn and ignore the option if not recognized
                   13944:      # So say no if there are warnings other than the usual output.
                   13945:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   13946:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13947:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   13948:        lt_cv_prog_compiler_pic_works_CXX=yes
                   13949:      fi
                   13950:    fi
                   13951:    $RM conftest*
                   13952: 
                   13953: fi
                   13954: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   13955: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
                   13956: 
                   13957: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   13958:     case $lt_prog_compiler_pic_CXX in
                   13959:      "" | " "*) ;;
                   13960:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   13961:      esac
                   13962: else
                   13963:     lt_prog_compiler_pic_CXX=
                   13964:      lt_prog_compiler_can_build_shared_CXX=no
                   13965: fi
                   13966: 
                   13967: fi
                   13968: 
                   13969: 
                   13970: 
                   13971: 
                   13972: 
                   13973: #
                   13974: # Check to make sure the static flag actually works.
                   13975: #
                   13976: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   13977: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   13978: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   13979: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   13980:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13981: else
                   13982:   lt_cv_prog_compiler_static_works_CXX=no
                   13983:    save_LDFLAGS="$LDFLAGS"
                   13984:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   13985:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   13986:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   13987:      # The linker can only warn and ignore the option if not recognized
                   13988:      # So say no if there are warnings
                   13989:      if test -s conftest.err; then
                   13990:        # Append any errors to the config.log.
                   13991:        cat conftest.err 1>&5
                   13992:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   13993:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13994:        if diff conftest.exp conftest.er2 >/dev/null; then
                   13995:          lt_cv_prog_compiler_static_works_CXX=yes
                   13996:        fi
                   13997:      else
                   13998:        lt_cv_prog_compiler_static_works_CXX=yes
                   13999:      fi
                   14000:    fi
                   14001:    $RM -r conftest*
                   14002:    LDFLAGS="$save_LDFLAGS"
                   14003: 
                   14004: fi
                   14005: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14006: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
                   14007: 
                   14008: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14009:     :
                   14010: else
                   14011:     lt_prog_compiler_static_CXX=
                   14012: fi
                   14013: 
                   14014: 
                   14015: 
                   14016: 
                   14017:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14018: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14019: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14020:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14021: else
                   14022:   lt_cv_prog_compiler_c_o_CXX=no
                   14023:    $RM -r conftest 2>/dev/null
                   14024:    mkdir conftest
                   14025:    cd conftest
                   14026:    mkdir out
                   14027:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14028: 
                   14029:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14030:    # Insert the option either (1) after the last *FLAGS variable, or
                   14031:    # (2) before a word containing "conftest.", or (3) at the end.
                   14032:    # Note that $ac_compile itself does not contain backslashes and begins
                   14033:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14034:    lt_compile=`echo "$ac_compile" | $SED \
                   14035:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14036:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14037:    -e 's:$: $lt_compiler_flag:'`
                   14038:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14039:    (eval "$lt_compile" 2>out/conftest.err)
                   14040:    ac_status=$?
                   14041:    cat out/conftest.err >&5
                   14042:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14043:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14044:    then
                   14045:      # The compiler can only warn and ignore the option if not recognized
                   14046:      # So say no if there are warnings
                   14047:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14048:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14049:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14050:        lt_cv_prog_compiler_c_o_CXX=yes
                   14051:      fi
                   14052:    fi
                   14053:    chmod u+w . 2>&5
                   14054:    $RM conftest*
                   14055:    # SGI C++ compiler will create directory out/ii_files/ for
                   14056:    # template instantiation
                   14057:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14058:    $RM out/* && rmdir out
                   14059:    cd ..
                   14060:    $RM -r conftest
                   14061:    $RM conftest*
                   14062: 
                   14063: fi
                   14064: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14065: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14066: 
                   14067: 
                   14068: 
                   14069:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14070: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14071: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14072:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14073: else
                   14074:   lt_cv_prog_compiler_c_o_CXX=no
                   14075:    $RM -r conftest 2>/dev/null
                   14076:    mkdir conftest
                   14077:    cd conftest
                   14078:    mkdir out
                   14079:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14080: 
                   14081:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14082:    # Insert the option either (1) after the last *FLAGS variable, or
                   14083:    # (2) before a word containing "conftest.", or (3) at the end.
                   14084:    # Note that $ac_compile itself does not contain backslashes and begins
                   14085:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14086:    lt_compile=`echo "$ac_compile" | $SED \
                   14087:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14088:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14089:    -e 's:$: $lt_compiler_flag:'`
                   14090:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14091:    (eval "$lt_compile" 2>out/conftest.err)
                   14092:    ac_status=$?
                   14093:    cat out/conftest.err >&5
                   14094:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14095:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14096:    then
                   14097:      # The compiler can only warn and ignore the option if not recognized
                   14098:      # So say no if there are warnings
                   14099:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14100:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14101:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14102:        lt_cv_prog_compiler_c_o_CXX=yes
                   14103:      fi
                   14104:    fi
                   14105:    chmod u+w . 2>&5
                   14106:    $RM conftest*
                   14107:    # SGI C++ compiler will create directory out/ii_files/ for
                   14108:    # template instantiation
                   14109:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14110:    $RM out/* && rmdir out
                   14111:    cd ..
                   14112:    $RM -r conftest
                   14113:    $RM conftest*
                   14114: 
                   14115: fi
                   14116: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14117: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14118: 
                   14119: 
                   14120: 
                   14121: 
                   14122: hard_links="nottested"
                   14123: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14124:   # do not overwrite the value of need_locks provided by the user
                   14125:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   14126: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   14127:   hard_links=yes
                   14128:   $RM conftest*
                   14129:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14130:   touch conftest.a
                   14131:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14132:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14133:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   14134: echo "${ECHO_T}$hard_links" >&6
                   14135:   if test "$hard_links" = no; then
                   14136:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14137: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   14138:     need_locks=warn
                   14139:   fi
                   14140: else
                   14141:   need_locks=no
                   14142: fi
                   14143: 
                   14144: 
                   14145: 
                   14146:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14147: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   14148: 
                   14149:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14150:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14151:   case $host_os in
                   14152:   aix[4-9]*)
                   14153:     # If we're using GNU nm, then we don't want the "-C" option.
                   14154:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14155:     # Also, AIX nm treats weak defined symbols like other global defined
                   14156:     # symbols, whereas GNU nm marks them as "W".
                   14157:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14158:       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'
                   14159:     else
                   14160:       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'
                   14161:     fi
                   14162:     ;;
                   14163:   pw32*)
                   14164:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14165:     ;;
                   14166:   cygwin* | mingw* | cegcc*)
                   14167:     case $cc_basename in
                   14168:     cl*)
                   14169:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14170:       ;;
                   14171:     *)
                   14172:       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'
                   14173:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14174:       ;;
                   14175:     esac
                   14176:     ;;
                   14177:   *)
                   14178:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14179:     ;;
                   14180:   esac
                   14181: 
                   14182: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14183: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14184: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14185: 
                   14186: with_gnu_ld_CXX=$with_gnu_ld
                   14187: 
                   14188: 
                   14189: 
                   14190: 
                   14191: 
                   14192: 
                   14193: #
                   14194: # Do we need to explicitly link libc?
                   14195: #
                   14196: case "x$archive_cmds_need_lc_CXX" in
                   14197: x|xyes)
                   14198:   # Assume -lc should be added
                   14199:   archive_cmds_need_lc_CXX=yes
                   14200: 
                   14201:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14202:     case $archive_cmds_CXX in
                   14203:     *'~'*)
                   14204:       # FIXME: we may have to deal with multi-command sequences.
                   14205:       ;;
                   14206:     '$CC '*)
                   14207:       # Test whether the compiler implicitly links with -lc since on some
                   14208:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14209:       # to ld, don't add -lc before -lgcc.
                   14210:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   14211: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   14212: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   14213:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14214: else
                   14215:   $RM conftest*
                   14216:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14217: 
                   14218:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14219:   (eval $ac_compile) 2>&5
                   14220:   ac_status=$?
                   14221:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14222:   (exit $ac_status); } 2>conftest.err; then
                   14223:          soname=conftest
                   14224:          lib=conftest
                   14225:          libobjs=conftest.$ac_objext
                   14226:          deplibs=
                   14227:          wl=$lt_prog_compiler_wl_CXX
                   14228:          pic_flag=$lt_prog_compiler_pic_CXX
                   14229:          compiler_flags=-v
                   14230:          linker_flags=-v
                   14231:          verstring=
                   14232:          output_objdir=.
                   14233:          libname=conftest
                   14234:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14235:          allow_undefined_flag_CXX=
                   14236:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   14237:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14238:   ac_status=$?
                   14239:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14240:   (exit $ac_status); }
                   14241:          then
                   14242:            lt_cv_archive_cmds_need_lc_CXX=no
                   14243:          else
                   14244:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14245:          fi
                   14246:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14247:        else
                   14248:          cat conftest.err 1>&5
                   14249:        fi
                   14250:        $RM conftest*
                   14251: 
                   14252: fi
                   14253: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14254: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
                   14255:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14256:       ;;
                   14257:     esac
                   14258:   fi
                   14259:   ;;
                   14260: esac
                   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: 
                   14323:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   14324: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   14325: 
                   14326: library_names_spec=
                   14327: libname_spec='lib$name'
                   14328: soname_spec=
                   14329: shrext_cmds=".so"
                   14330: postinstall_cmds=
                   14331: postuninstall_cmds=
                   14332: finish_cmds=
                   14333: finish_eval=
                   14334: shlibpath_var=
                   14335: shlibpath_overrides_runpath=unknown
                   14336: version_type=none
                   14337: dynamic_linker="$host_os ld.so"
                   14338: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14339: need_lib_prefix=unknown
                   14340: hardcode_into_libs=no
                   14341: 
                   14342: # when you set need_version to no, make sure it does not cause -set_version
                   14343: # flags to be left without arguments
                   14344: need_version=unknown
                   14345: 
                   14346: case $host_os in
                   14347: aix3*)
                   14348:   version_type=linux # correct to gnu/linux during the next big refactor
                   14349:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   14350:   shlibpath_var=LIBPATH
                   14351: 
                   14352:   # AIX 3 has no versioning support, so we append a major version to the name.
                   14353:   soname_spec='${libname}${release}${shared_ext}$major'
                   14354:   ;;
                   14355: 
                   14356: aix[4-9]*)
                   14357:   version_type=linux # correct to gnu/linux during the next big refactor
                   14358:   need_lib_prefix=no
                   14359:   need_version=no
                   14360:   hardcode_into_libs=yes
                   14361:   if test "$host_cpu" = ia64; then
                   14362:     # AIX 5 supports IA64
                   14363:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   14364:     shlibpath_var=LD_LIBRARY_PATH
                   14365:   else
                   14366:     # With GCC up to 2.95.x, collect2 would create an import file
                   14367:     # for dependence libraries.  The import file would start with
                   14368:     # the line `#! .'.  This would cause the generated library to
                   14369:     # depend on `.', always an invalid library.  This was fixed in
                   14370:     # development snapshots of GCC prior to 3.0.
                   14371:     case $host_os in
                   14372:       aix4 | aix4.[01] | aix4.[01].*)
                   14373:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14374:           echo ' yes '
                   14375:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   14376:        :
                   14377:       else
                   14378:        can_build_shared=no
                   14379:       fi
                   14380:       ;;
                   14381:     esac
                   14382:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   14383:     # soname into executable. Probably we can add versioning support to
                   14384:     # collect2, so additional links can be useful in future.
                   14385:     if test "$aix_use_runtimelinking" = yes; then
                   14386:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14387:       # instead of lib<name>.a to let people know that these are not
                   14388:       # typical AIX shared libraries.
                   14389:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14390:     else
                   14391:       # We preserve .a as extension for shared libraries through AIX4.2
                   14392:       # and later when we are not doing run time linking.
                   14393:       library_names_spec='${libname}${release}.a $libname.a'
                   14394:       soname_spec='${libname}${release}${shared_ext}$major'
                   14395:     fi
                   14396:     shlibpath_var=LIBPATH
                   14397:   fi
                   14398:   ;;
                   14399: 
                   14400: amigaos*)
                   14401:   case $host_cpu in
                   14402:   powerpc)
                   14403:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14404:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   14405:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14406:     ;;
                   14407:   m68k)
                   14408:     library_names_spec='$libname.ixlibrary $libname.a'
                   14409:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   14410:     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'
                   14411:     ;;
                   14412:   esac
                   14413:   ;;
                   14414: 
                   14415: beos*)
                   14416:   library_names_spec='${libname}${shared_ext}'
                   14417:   dynamic_linker="$host_os ld.so"
                   14418:   shlibpath_var=LIBRARY_PATH
                   14419:   ;;
                   14420: 
                   14421: bsdi[45]*)
                   14422:   version_type=linux # correct to gnu/linux during the next big refactor
                   14423:   need_version=no
                   14424:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14425:   soname_spec='${libname}${release}${shared_ext}$major'
                   14426:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14427:   shlibpath_var=LD_LIBRARY_PATH
                   14428:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14429:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14430:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14431:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14432:   # libtool to hard-code these into programs
                   14433:   ;;
                   14434: 
                   14435: cygwin* | mingw* | pw32* | cegcc*)
                   14436:   version_type=windows
                   14437:   shrext_cmds=".dll"
                   14438:   need_version=no
                   14439:   need_lib_prefix=no
                   14440: 
                   14441:   case $GCC,$cc_basename in
                   14442:   yes,*)
                   14443:     # gcc
                   14444:     library_names_spec='$libname.dll.a'
                   14445:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14446:     postinstall_cmds='base_file=`basename \${file}`~
                   14447:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14448:       dldir=$destdir/`dirname \$dlpath`~
                   14449:       test -d \$dldir || mkdir -p \$dldir~
                   14450:       $install_prog $dir/$dlname \$dldir/$dlname~
                   14451:       chmod a+x \$dldir/$dlname~
                   14452:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14453:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14454:       fi'
                   14455:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14456:       dlpath=$dir/\$dldll~
                   14457:        $RM \$dlpath'
                   14458:     shlibpath_overrides_runpath=yes
                   14459: 
                   14460:     case $host_os in
                   14461:     cygwin*)
                   14462:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   14463:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14464: 
                   14465:       ;;
                   14466:     mingw* | cegcc*)
                   14467:       # MinGW DLLs use traditional 'lib' prefix
                   14468:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14469:       ;;
                   14470:     pw32*)
                   14471:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   14472:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14473:       ;;
                   14474:     esac
                   14475:     dynamic_linker='Win32 ld.exe'
                   14476:     ;;
                   14477: 
                   14478:   *,cl*)
                   14479:     # Native MSVC
                   14480:     libname_spec='$name'
                   14481:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14482:     library_names_spec='${libname}.dll.lib'
                   14483: 
                   14484:     case $build_os in
                   14485:     mingw*)
                   14486:       sys_lib_search_path_spec=
                   14487:       lt_save_ifs=$IFS
                   14488:       IFS=';'
                   14489:       for lt_path in $LIB
                   14490:       do
                   14491:         IFS=$lt_save_ifs
                   14492:         # Let DOS variable expansion print the short 8.3 style file name.
                   14493:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14494:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14495:       done
                   14496:       IFS=$lt_save_ifs
                   14497:       # Convert to MSYS style.
                   14498:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   14499:       ;;
                   14500:     cygwin*)
                   14501:       # Convert to unix form, then to dos form, then back to unix form
                   14502:       # but this time dos style (no spaces!) so that the unix form looks
                   14503:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14504:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14505:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14506:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14507:       ;;
                   14508:     *)
                   14509:       sys_lib_search_path_spec="$LIB"
                   14510:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14511:         # It is most probably a Windows format PATH.
                   14512:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14513:       else
                   14514:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14515:       fi
                   14516:       # FIXME: find the short name or the path components, as spaces are
                   14517:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14518:       ;;
                   14519:     esac
                   14520: 
                   14521:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14522:     postinstall_cmds='base_file=`basename \${file}`~
                   14523:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14524:       dldir=$destdir/`dirname \$dlpath`~
                   14525:       test -d \$dldir || mkdir -p \$dldir~
                   14526:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14527:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14528:       dlpath=$dir/\$dldll~
                   14529:        $RM \$dlpath'
                   14530:     shlibpath_overrides_runpath=yes
                   14531:     dynamic_linker='Win32 link.exe'
                   14532:     ;;
                   14533: 
                   14534:   *)
                   14535:     # Assume MSVC wrapper
                   14536:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   14537:     dynamic_linker='Win32 ld.exe'
                   14538:     ;;
                   14539:   esac
                   14540:   # FIXME: first we should search . and the directory the executable is in
                   14541:   shlibpath_var=PATH
                   14542:   ;;
                   14543: 
                   14544: darwin* | rhapsody*)
                   14545:   dynamic_linker="$host_os dyld"
                   14546:   version_type=darwin
                   14547:   need_lib_prefix=no
                   14548:   need_version=no
                   14549:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   14550:   soname_spec='${libname}${release}${major}$shared_ext'
                   14551:   shlibpath_overrides_runpath=yes
                   14552:   shlibpath_var=DYLD_LIBRARY_PATH
                   14553:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14554: 
                   14555:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14556:   ;;
                   14557: 
                   14558: dgux*)
                   14559:   version_type=linux # correct to gnu/linux during the next big refactor
                   14560:   need_lib_prefix=no
                   14561:   need_version=no
                   14562:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   14563:   soname_spec='${libname}${release}${shared_ext}$major'
                   14564:   shlibpath_var=LD_LIBRARY_PATH
                   14565:   ;;
                   14566: 
                   14567: freebsd* | dragonfly*)
                   14568:   # DragonFly does not have aout.  When/if they implement a new
                   14569:   # versioning mechanism, adjust this.
                   14570:   if test -x /usr/bin/objformat; then
                   14571:     objformat=`/usr/bin/objformat`
                   14572:   else
                   14573:     case $host_os in
                   14574:     freebsd[23].*) objformat=aout ;;
                   14575:     *) objformat=elf ;;
                   14576:     esac
                   14577:   fi
                   14578:   version_type=freebsd-$objformat
                   14579:   case $version_type in
                   14580:     freebsd-elf*)
                   14581:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14582:       need_version=no
                   14583:       need_lib_prefix=no
                   14584:       ;;
                   14585:     freebsd-*)
                   14586:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   14587:       need_version=yes
                   14588:       ;;
                   14589:   esac
                   14590:   shlibpath_var=LD_LIBRARY_PATH
                   14591:   case $host_os in
                   14592:   freebsd2.*)
                   14593:     shlibpath_overrides_runpath=yes
                   14594:     ;;
                   14595:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14596:     shlibpath_overrides_runpath=yes
                   14597:     hardcode_into_libs=yes
                   14598:     ;;
                   14599:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14600:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14601:     shlibpath_overrides_runpath=no
                   14602:     hardcode_into_libs=yes
                   14603:     ;;
                   14604:   *) # from 4.6 on, and DragonFly
                   14605:     shlibpath_overrides_runpath=yes
                   14606:     hardcode_into_libs=yes
                   14607:     ;;
                   14608:   esac
                   14609:   ;;
                   14610: 
                   14611: gnu*)
                   14612:   version_type=linux # correct to gnu/linux during the next big refactor
                   14613:   need_lib_prefix=no
                   14614:   need_version=no
                   14615:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14616:   soname_spec='${libname}${release}${shared_ext}$major'
                   14617:   shlibpath_var=LD_LIBRARY_PATH
                   14618:   shlibpath_overrides_runpath=no
                   14619:   hardcode_into_libs=yes
                   14620:   ;;
                   14621: 
                   14622: haiku*)
                   14623:   version_type=linux # correct to gnu/linux during the next big refactor
                   14624:   need_lib_prefix=no
                   14625:   need_version=no
                   14626:   dynamic_linker="$host_os runtime_loader"
                   14627:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14628:   soname_spec='${libname}${release}${shared_ext}$major'
                   14629:   shlibpath_var=LIBRARY_PATH
                   14630:   shlibpath_overrides_runpath=yes
                   14631:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   14632:   hardcode_into_libs=yes
                   14633:   ;;
                   14634: 
                   14635: hpux9* | hpux10* | hpux11*)
                   14636:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14637:   # link against other versions.
                   14638:   version_type=sunos
                   14639:   need_lib_prefix=no
                   14640:   need_version=no
                   14641:   case $host_cpu in
                   14642:   ia64*)
                   14643:     shrext_cmds='.so'
                   14644:     hardcode_into_libs=yes
                   14645:     dynamic_linker="$host_os dld.so"
                   14646:     shlibpath_var=LD_LIBRARY_PATH
                   14647:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14648:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14649:     soname_spec='${libname}${release}${shared_ext}$major'
                   14650:     if test "X$HPUX_IA64_MODE" = X32; then
                   14651:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   14652:     else
                   14653:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   14654:     fi
                   14655:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14656:     ;;
                   14657:   hppa*64*)
                   14658:     shrext_cmds='.sl'
                   14659:     hardcode_into_libs=yes
                   14660:     dynamic_linker="$host_os dld.sl"
                   14661:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14662:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14663:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14664:     soname_spec='${libname}${release}${shared_ext}$major'
                   14665:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14666:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14667:     ;;
                   14668:   *)
                   14669:     shrext_cmds='.sl'
                   14670:     dynamic_linker="$host_os dld.sl"
                   14671:     shlibpath_var=SHLIB_PATH
                   14672:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   14673:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14674:     soname_spec='${libname}${release}${shared_ext}$major'
                   14675:     ;;
                   14676:   esac
                   14677:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   14678:   postinstall_cmds='chmod 555 $lib'
                   14679:   # or fails outright, so override atomically:
                   14680:   install_override_mode=555
                   14681:   ;;
                   14682: 
                   14683: interix[3-9]*)
                   14684:   version_type=linux # correct to gnu/linux during the next big refactor
                   14685:   need_lib_prefix=no
                   14686:   need_version=no
                   14687:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14688:   soname_spec='${libname}${release}${shared_ext}$major'
                   14689:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   14690:   shlibpath_var=LD_LIBRARY_PATH
                   14691:   shlibpath_overrides_runpath=no
                   14692:   hardcode_into_libs=yes
                   14693:   ;;
                   14694: 
                   14695: irix5* | irix6* | nonstopux*)
                   14696:   case $host_os in
                   14697:     nonstopux*) version_type=nonstopux ;;
                   14698:     *)
                   14699:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   14700:                version_type=linux # correct to gnu/linux during the next big refactor
                   14701:        else
                   14702:                version_type=irix
                   14703:        fi ;;
                   14704:   esac
                   14705:   need_lib_prefix=no
                   14706:   need_version=no
                   14707:   soname_spec='${libname}${release}${shared_ext}$major'
                   14708:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14709:   case $host_os in
                   14710:   irix5* | nonstopux*)
                   14711:     libsuff= shlibsuff=
                   14712:     ;;
                   14713:   *)
                   14714:     case $LD in # libtool.m4 will add one of these switches to LD
                   14715:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   14716:       libsuff= shlibsuff= libmagic=32-bit;;
                   14717:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   14718:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   14719:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   14720:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   14721:     *) libsuff= shlibsuff= libmagic=never-match;;
                   14722:     esac
                   14723:     ;;
                   14724:   esac
                   14725:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   14726:   shlibpath_overrides_runpath=no
                   14727:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   14728:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   14729:   hardcode_into_libs=yes
                   14730:   ;;
                   14731: 
                   14732: # No shared lib support for Linux oldld, aout, or coff.
                   14733: linux*oldld* | linux*aout* | linux*coff*)
                   14734:   dynamic_linker=no
                   14735:   ;;
                   14736: 
                   14737: # This must be glibc/ELF.
                   14738: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14739:   version_type=linux # correct to gnu/linux during the next big refactor
                   14740:   need_lib_prefix=no
                   14741:   need_version=no
                   14742:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14743:   soname_spec='${libname}${release}${shared_ext}$major'
                   14744:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   14745:   shlibpath_var=LD_LIBRARY_PATH
                   14746:   shlibpath_overrides_runpath=no
                   14747: 
                   14748:   # Some binutils ld are patched to set DT_RUNPATH
                   14749:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   14750:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14751: else
                   14752:   lt_cv_shlibpath_overrides_runpath=no
                   14753:     save_LDFLAGS=$LDFLAGS
                   14754:     save_libdir=$libdir
                   14755:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   14756:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   14757:     cat >conftest.$ac_ext <<_ACEOF
                   14758: /* confdefs.h.  */
                   14759: _ACEOF
                   14760: cat confdefs.h >>conftest.$ac_ext
                   14761: cat >>conftest.$ac_ext <<_ACEOF
                   14762: /* end confdefs.h.  */
                   14763: 
                   14764: int
                   14765: main ()
                   14766: {
                   14767: 
                   14768:   ;
                   14769:   return 0;
                   14770: }
                   14771: _ACEOF
                   14772: rm -f conftest.$ac_objext conftest$ac_exeext
                   14773: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   14774:   (eval $ac_link) 2>conftest.er1
                   14775:   ac_status=$?
                   14776:   grep -v '^ *+' conftest.er1 >conftest.err
                   14777:   rm -f conftest.er1
                   14778:   cat conftest.err >&5
                   14779:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14780:   (exit $ac_status); } &&
                   14781:         { ac_try='test -z "$ac_cxx_werror_flag"
                   14782:                         || test ! -s conftest.err'
                   14783:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14784:   (eval $ac_try) 2>&5
                   14785:   ac_status=$?
                   14786:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14787:   (exit $ac_status); }; } &&
                   14788:         { ac_try='test -s conftest$ac_exeext'
                   14789:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14790:   (eval $ac_try) 2>&5
                   14791:   ac_status=$?
                   14792:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14793:   (exit $ac_status); }; }; then
                   14794:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   14795:   lt_cv_shlibpath_overrides_runpath=yes
                   14796: fi
                   14797: 
                   14798: else
                   14799:   echo "$as_me: failed program was:" >&5
                   14800: sed 's/^/| /' conftest.$ac_ext >&5
                   14801: 
                   14802: fi
                   14803: rm -f conftest.err conftest.$ac_objext \
                   14804:       conftest$ac_exeext conftest.$ac_ext
                   14805:     LDFLAGS=$save_LDFLAGS
                   14806:     libdir=$save_libdir
                   14807: 
                   14808: fi
                   14809: 
                   14810:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   14811: 
                   14812:   # This implies no fast_install, which is unacceptable.
                   14813:   # Some rework will be needed to allow for fast_install
                   14814:   # before this can be enabled.
                   14815:   hardcode_into_libs=yes
                   14816: 
                   14817:   # Append ld.so.conf contents to the search path
                   14818:   if test -f /etc/ld.so.conf; then
                   14819:     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' ' '`
                   14820:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   14821:   fi
                   14822: 
                   14823:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   14824:   # powerpc, because MkLinux only supported shared libraries with the
                   14825:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   14826:   # most powerpc-linux boxes support dynamic linking these days and
                   14827:   # people can always --disable-shared, the test was removed, and we
                   14828:   # assume the GNU/Linux dynamic linker is in use.
                   14829:   dynamic_linker='GNU/Linux ld.so'
                   14830:   ;;
                   14831: 
                   14832: netbsd*)
                   14833:   version_type=sunos
                   14834:   need_lib_prefix=no
                   14835:   need_version=no
                   14836:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14837:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14838:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14839:     dynamic_linker='NetBSD (a.out) ld.so'
                   14840:   else
                   14841:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14842:     soname_spec='${libname}${release}${shared_ext}$major'
                   14843:     dynamic_linker='NetBSD ld.elf_so'
                   14844:   fi
                   14845:   shlibpath_var=LD_LIBRARY_PATH
                   14846:   shlibpath_overrides_runpath=yes
                   14847:   hardcode_into_libs=yes
                   14848:   ;;
                   14849: 
                   14850: newsos6)
                   14851:   version_type=linux # correct to gnu/linux during the next big refactor
                   14852:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14853:   shlibpath_var=LD_LIBRARY_PATH
                   14854:   shlibpath_overrides_runpath=yes
                   14855:   ;;
                   14856: 
                   14857: *nto* | *qnx*)
                   14858:   version_type=qnx
                   14859:   need_lib_prefix=no
                   14860:   need_version=no
                   14861:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14862:   soname_spec='${libname}${release}${shared_ext}$major'
                   14863:   shlibpath_var=LD_LIBRARY_PATH
                   14864:   shlibpath_overrides_runpath=no
                   14865:   hardcode_into_libs=yes
                   14866:   dynamic_linker='ldqnx.so'
                   14867:   ;;
                   14868: 
                   14869: openbsd*)
                   14870:   version_type=sunos
                   14871:   sys_lib_dlsearch_path_spec="/usr/lib"
                   14872:   need_lib_prefix=no
                   14873:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   14874:   case $host_os in
                   14875:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   14876:     *)                         need_version=no  ;;
                   14877:   esac
                   14878:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14879:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14880:   shlibpath_var=LD_LIBRARY_PATH
                   14881:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14882:     case $host_os in
                   14883:       openbsd2.[89] | openbsd2.[89].*)
                   14884:        shlibpath_overrides_runpath=no
                   14885:        ;;
                   14886:       *)
                   14887:        shlibpath_overrides_runpath=yes
                   14888:        ;;
                   14889:       esac
                   14890:   else
                   14891:     shlibpath_overrides_runpath=yes
                   14892:   fi
                   14893:   ;;
                   14894: 
                   14895: os2*)
                   14896:   libname_spec='$name'
                   14897:   shrext_cmds=".dll"
                   14898:   need_lib_prefix=no
                   14899:   library_names_spec='$libname${shared_ext} $libname.a'
                   14900:   dynamic_linker='OS/2 ld.exe'
                   14901:   shlibpath_var=LIBPATH
                   14902:   ;;
                   14903: 
                   14904: osf3* | osf4* | osf5*)
                   14905:   version_type=osf
                   14906:   need_lib_prefix=no
                   14907:   need_version=no
                   14908:   soname_spec='${libname}${release}${shared_ext}$major'
                   14909:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14910:   shlibpath_var=LD_LIBRARY_PATH
                   14911:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   14912:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   14913:   ;;
                   14914: 
                   14915: rdos*)
                   14916:   dynamic_linker=no
                   14917:   ;;
                   14918: 
                   14919: solaris*)
                   14920:   version_type=linux # correct to gnu/linux during the next big refactor
                   14921:   need_lib_prefix=no
                   14922:   need_version=no
                   14923:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14924:   soname_spec='${libname}${release}${shared_ext}$major'
                   14925:   shlibpath_var=LD_LIBRARY_PATH
                   14926:   shlibpath_overrides_runpath=yes
                   14927:   hardcode_into_libs=yes
                   14928:   # ldd complains unless libraries are executable
                   14929:   postinstall_cmds='chmod +x $lib'
                   14930:   ;;
                   14931: 
                   14932: sunos4*)
                   14933:   version_type=sunos
                   14934:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14935:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   14936:   shlibpath_var=LD_LIBRARY_PATH
                   14937:   shlibpath_overrides_runpath=yes
                   14938:   if test "$with_gnu_ld" = yes; then
                   14939:     need_lib_prefix=no
                   14940:   fi
                   14941:   need_version=yes
                   14942:   ;;
                   14943: 
                   14944: sysv4 | sysv4.3*)
                   14945:   version_type=linux # correct to gnu/linux during the next big refactor
                   14946:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14947:   soname_spec='${libname}${release}${shared_ext}$major'
                   14948:   shlibpath_var=LD_LIBRARY_PATH
                   14949:   case $host_vendor in
                   14950:     sni)
                   14951:       shlibpath_overrides_runpath=no
                   14952:       need_lib_prefix=no
                   14953:       runpath_var=LD_RUN_PATH
                   14954:       ;;
                   14955:     siemens)
                   14956:       need_lib_prefix=no
                   14957:       ;;
                   14958:     motorola)
                   14959:       need_lib_prefix=no
                   14960:       need_version=no
                   14961:       shlibpath_overrides_runpath=no
                   14962:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   14963:       ;;
                   14964:   esac
                   14965:   ;;
                   14966: 
                   14967: sysv4*MP*)
                   14968:   if test -d /usr/nec ;then
                   14969:     version_type=linux # correct to gnu/linux during the next big refactor
                   14970:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   14971:     soname_spec='$libname${shared_ext}.$major'
                   14972:     shlibpath_var=LD_LIBRARY_PATH
                   14973:   fi
                   14974:   ;;
                   14975: 
                   14976: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   14977:   version_type=freebsd-elf
                   14978:   need_lib_prefix=no
                   14979:   need_version=no
                   14980:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14981:   soname_spec='${libname}${release}${shared_ext}$major'
                   14982:   shlibpath_var=LD_LIBRARY_PATH
                   14983:   shlibpath_overrides_runpath=yes
                   14984:   hardcode_into_libs=yes
                   14985:   if test "$with_gnu_ld" = yes; then
                   14986:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   14987:   else
                   14988:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   14989:     case $host_os in
                   14990:       sco3.2v5*)
                   14991:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   14992:        ;;
                   14993:     esac
                   14994:   fi
                   14995:   sys_lib_dlsearch_path_spec='/usr/lib'
                   14996:   ;;
                   14997: 
                   14998: tpf*)
                   14999:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15000:   version_type=linux # correct to gnu/linux during the next big refactor
                   15001:   need_lib_prefix=no
                   15002:   need_version=no
                   15003:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15004:   shlibpath_var=LD_LIBRARY_PATH
                   15005:   shlibpath_overrides_runpath=no
                   15006:   hardcode_into_libs=yes
                   15007:   ;;
                   15008: 
                   15009: uts4*)
                   15010:   version_type=linux # correct to gnu/linux during the next big refactor
                   15011:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15012:   soname_spec='${libname}${release}${shared_ext}$major'
                   15013:   shlibpath_var=LD_LIBRARY_PATH
                   15014:   ;;
                   15015: 
                   15016: *)
                   15017:   dynamic_linker=no
                   15018:   ;;
                   15019: esac
                   15020: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   15021: echo "${ECHO_T}$dynamic_linker" >&6
                   15022: test "$dynamic_linker" = no && can_build_shared=no
                   15023: 
                   15024: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15025: if test "$GCC" = yes; then
                   15026:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15027: fi
                   15028: 
                   15029: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15030:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15031: fi
                   15032: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15033:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15034: fi
                   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: 
                   15073:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   15074: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   15075: hardcode_action_CXX=
                   15076: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15077:    test -n "$runpath_var_CXX" ||
                   15078:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15079: 
                   15080:   # We can hardcode non-existent directories.
                   15081:   if test "$hardcode_direct_CXX" != no &&
                   15082:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15083:      # have to relink, otherwise we might link with an installed library
                   15084:      # when we should be linking with a yet-to-be-installed one
                   15085:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15086:      test "$hardcode_minus_L_CXX" != no; then
                   15087:     # Linking always hardcodes the temporary library directory.
                   15088:     hardcode_action_CXX=relink
                   15089:   else
                   15090:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15091:     hardcode_action_CXX=immediate
                   15092:   fi
                   15093: else
                   15094:   # We cannot hardcode anything, or else we can only hardcode existing
                   15095:   # directories.
                   15096:   hardcode_action_CXX=unsupported
                   15097: fi
                   15098: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   15099: echo "${ECHO_T}$hardcode_action_CXX" >&6
                   15100: 
                   15101: if test "$hardcode_action_CXX" = relink ||
                   15102:    test "$inherit_rpath_CXX" = yes; then
                   15103:   # Fast installation is not supported
                   15104:   enable_fast_install=no
                   15105: elif test "$shlibpath_overrides_runpath" = yes ||
                   15106:      test "$enable_shared" = no; then
                   15107:   # Fast installation is not necessary
                   15108:   enable_fast_install=needless
                   15109: fi
                   15110: 
                   15111: 
                   15112: 
                   15113: 
                   15114: 
                   15115: 
                   15116: 
                   15117:   fi # test -n "$compiler"
                   15118: 
                   15119:   CC=$lt_save_CC
                   15120:   CFLAGS=$lt_save_CFLAGS
                   15121:   LDCXX=$LD
                   15122:   LD=$lt_save_LD
                   15123:   GCC=$lt_save_GCC
                   15124:   with_gnu_ld=$lt_save_with_gnu_ld
                   15125:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15126:   lt_cv_path_LD=$lt_save_path_LD
                   15127:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15128:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15129: fi # test "$_lt_caught_CXX_error" != yes
                   15130: 
                   15131: ac_ext=c
                   15132: ac_cpp='$CPP $CPPFLAGS'
                   15133: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15134: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15135: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15136: 
                   15137: 
                   15138: 
                   15139: 
                   15140: 
                   15141: 
                   15142: 
                   15143: 
                   15144: 
                   15145: 
                   15146: 
                   15147: 
                   15148: 
                   15149: 
                   15150: 
                   15151:                   ac_config_commands="$ac_config_commands libtool"
                   15152: 
                   15153: 
                   15154: 
                   15155: 
                   15156: # Only expand once:
                   15157: 
                   15158: 
                   15159: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15160: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15161: if test "${libltdl_cv_shlibext+set}" = set; then
                   15162:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15163: else
                   15164: 
                   15165: module=yes
                   15166: eval libltdl_cv_shlibext=$shrext_cmds
                   15167: module=no
                   15168: eval libltdl_cv_shrext=$shrext_cmds
                   15169: 
                   15170: fi
                   15171: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15172: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   15173: if test -n "$libltdl_cv_shlibext"; then
                   15174: 
                   15175: cat >>confdefs.h <<_ACEOF
                   15176: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15177: _ACEOF
                   15178: 
                   15179: fi
                   15180: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15181: 
                   15182: cat >>confdefs.h <<_ACEOF
                   15183: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15184: _ACEOF
                   15185: 
                   15186: fi
                   15187: 
                   15188: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15189: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15190: if test "${lt_cv_module_path_var+set}" = set; then
                   15191:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15192: else
                   15193:   lt_cv_module_path_var="$shlibpath_var"
                   15194: fi
                   15195: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15196: echo "${ECHO_T}$lt_cv_module_path_var" >&6
                   15197: if test -n "$lt_cv_module_path_var"; then
                   15198: 
                   15199: cat >>confdefs.h <<_ACEOF
                   15200: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15201: _ACEOF
                   15202: 
                   15203: fi
                   15204: 
                   15205: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15206: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15207: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15208:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15209: else
                   15210:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15211: fi
                   15212: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15213: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
                   15214: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15215:   sys_dlsearch_path=
                   15216:   for dir in $lt_cv_sys_dlsearch_path; do
                   15217:     if test -z "$sys_dlsearch_path"; then
                   15218:       sys_dlsearch_path="$dir"
                   15219:     else
                   15220:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15221:     fi
                   15222:   done
                   15223: 
                   15224: cat >>confdefs.h <<_ACEOF
                   15225: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15226: _ACEOF
                   15227: 
                   15228: fi
                   15229: 
                   15230: 
                   15231: LT_DLLOADERS=
                   15232: 
                   15233: 
                   15234: ac_ext=c
                   15235: ac_cpp='$CPP $CPPFLAGS'
                   15236: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15237: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15238: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15239: 
                   15240: 
                   15241: LIBADD_DLOPEN=
                   15242: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15243: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15244: if test "${ac_cv_search_dlopen+set}" = set; then
                   15245:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15246: else
                   15247:   ac_func_search_save_LIBS=$LIBS
                   15248: ac_cv_search_dlopen=no
                   15249: cat >conftest.$ac_ext <<_ACEOF
                   15250: /* confdefs.h.  */
                   15251: _ACEOF
                   15252: cat confdefs.h >>conftest.$ac_ext
                   15253: cat >>conftest.$ac_ext <<_ACEOF
                   15254: /* end confdefs.h.  */
                   15255: 
                   15256: /* Override any gcc2 internal prototype to avoid an error.  */
                   15257: #ifdef __cplusplus
                   15258: extern "C"
                   15259: #endif
                   15260: /* We use char because int might match the return type of a gcc2
                   15261:    builtin and then its argument prototype would still apply.  */
                   15262: char dlopen ();
                   15263: int
                   15264: main ()
                   15265: {
                   15266: dlopen ();
                   15267:   ;
                   15268:   return 0;
                   15269: }
                   15270: _ACEOF
                   15271: rm -f conftest.$ac_objext conftest$ac_exeext
                   15272: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15273:   (eval $ac_link) 2>conftest.er1
                   15274:   ac_status=$?
                   15275:   grep -v '^ *+' conftest.er1 >conftest.err
                   15276:   rm -f conftest.er1
                   15277:   cat conftest.err >&5
                   15278:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15279:   (exit $ac_status); } &&
                   15280:         { ac_try='test -z "$ac_c_werror_flag"
                   15281:                         || test ! -s conftest.err'
                   15282:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15283:   (eval $ac_try) 2>&5
                   15284:   ac_status=$?
                   15285:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15286:   (exit $ac_status); }; } &&
                   15287:         { ac_try='test -s conftest$ac_exeext'
                   15288:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15289:   (eval $ac_try) 2>&5
                   15290:   ac_status=$?
                   15291:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15292:   (exit $ac_status); }; }; then
                   15293:   ac_cv_search_dlopen="none required"
                   15294: else
                   15295:   echo "$as_me: failed program was:" >&5
                   15296: sed 's/^/| /' conftest.$ac_ext >&5
                   15297: 
                   15298: fi
                   15299: rm -f conftest.err conftest.$ac_objext \
                   15300:       conftest$ac_exeext conftest.$ac_ext
                   15301: if test "$ac_cv_search_dlopen" = no; then
                   15302:   for ac_lib in dl; do
                   15303:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15304:     cat >conftest.$ac_ext <<_ACEOF
                   15305: /* confdefs.h.  */
                   15306: _ACEOF
                   15307: cat confdefs.h >>conftest.$ac_ext
                   15308: cat >>conftest.$ac_ext <<_ACEOF
                   15309: /* end confdefs.h.  */
                   15310: 
                   15311: /* Override any gcc2 internal prototype to avoid an error.  */
                   15312: #ifdef __cplusplus
                   15313: extern "C"
                   15314: #endif
                   15315: /* We use char because int might match the return type of a gcc2
                   15316:    builtin and then its argument prototype would still apply.  */
                   15317: char dlopen ();
                   15318: int
                   15319: main ()
                   15320: {
                   15321: dlopen ();
                   15322:   ;
                   15323:   return 0;
                   15324: }
                   15325: _ACEOF
                   15326: rm -f conftest.$ac_objext conftest$ac_exeext
                   15327: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15328:   (eval $ac_link) 2>conftest.er1
                   15329:   ac_status=$?
                   15330:   grep -v '^ *+' conftest.er1 >conftest.err
                   15331:   rm -f conftest.er1
                   15332:   cat conftest.err >&5
                   15333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15334:   (exit $ac_status); } &&
                   15335:         { ac_try='test -z "$ac_c_werror_flag"
                   15336:                         || test ! -s conftest.err'
                   15337:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15338:   (eval $ac_try) 2>&5
                   15339:   ac_status=$?
                   15340:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15341:   (exit $ac_status); }; } &&
                   15342:         { ac_try='test -s conftest$ac_exeext'
                   15343:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15344:   (eval $ac_try) 2>&5
                   15345:   ac_status=$?
                   15346:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15347:   (exit $ac_status); }; }; then
                   15348:   ac_cv_search_dlopen="-l$ac_lib"
                   15349: break
                   15350: else
                   15351:   echo "$as_me: failed program was:" >&5
                   15352: sed 's/^/| /' conftest.$ac_ext >&5
                   15353: 
                   15354: fi
                   15355: rm -f conftest.err conftest.$ac_objext \
                   15356:       conftest$ac_exeext conftest.$ac_ext
                   15357:   done
                   15358: fi
                   15359: LIBS=$ac_func_search_save_LIBS
                   15360: fi
                   15361: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   15362: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   15363: if test "$ac_cv_search_dlopen" != no; then
                   15364:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
                   15365: 
                   15366: cat >>confdefs.h <<\_ACEOF
                   15367: #define HAVE_LIBDL 1
                   15368: _ACEOF
                   15369: 
                   15370:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   15371:          LIBADD_DLOPEN="-ldl"
                   15372:        fi
                   15373:        libltdl_cv_lib_dl_dlopen="yes"
                   15374:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15375: else
                   15376:   cat >conftest.$ac_ext <<_ACEOF
                   15377: /* confdefs.h.  */
                   15378: _ACEOF
                   15379: cat confdefs.h >>conftest.$ac_ext
                   15380: cat >>conftest.$ac_ext <<_ACEOF
                   15381: /* end confdefs.h.  */
                   15382: #if HAVE_DLFCN_H
                   15383: #  include <dlfcn.h>
                   15384: #endif
                   15385: 
                   15386: int
                   15387: main ()
                   15388: {
                   15389: dlopen(0, 0);
                   15390:   ;
                   15391:   return 0;
                   15392: }
                   15393: _ACEOF
                   15394: rm -f conftest.$ac_objext conftest$ac_exeext
                   15395: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15396:   (eval $ac_link) 2>conftest.er1
                   15397:   ac_status=$?
                   15398:   grep -v '^ *+' conftest.er1 >conftest.err
                   15399:   rm -f conftest.er1
                   15400:   cat conftest.err >&5
                   15401:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15402:   (exit $ac_status); } &&
                   15403:         { ac_try='test -z "$ac_c_werror_flag"
                   15404:                         || test ! -s conftest.err'
                   15405:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15406:   (eval $ac_try) 2>&5
                   15407:   ac_status=$?
                   15408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15409:   (exit $ac_status); }; } &&
                   15410:         { ac_try='test -s conftest$ac_exeext'
                   15411:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15412:   (eval $ac_try) 2>&5
                   15413:   ac_status=$?
                   15414:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15415:   (exit $ac_status); }; }; then
                   15416: 
                   15417: cat >>confdefs.h <<\_ACEOF
                   15418: #define HAVE_LIBDL 1
                   15419: _ACEOF
                   15420: 
                   15421:            libltdl_cv_func_dlopen="yes"
                   15422:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15423: else
                   15424:   echo "$as_me: failed program was:" >&5
                   15425: sed 's/^/| /' conftest.$ac_ext >&5
                   15426: 
                   15427: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   15428: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   15429: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   15430:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15431: else
                   15432:   ac_check_lib_save_LIBS=$LIBS
                   15433: LIBS="-lsvld  $LIBS"
                   15434: cat >conftest.$ac_ext <<_ACEOF
                   15435: /* confdefs.h.  */
                   15436: _ACEOF
                   15437: cat confdefs.h >>conftest.$ac_ext
                   15438: cat >>conftest.$ac_ext <<_ACEOF
                   15439: /* end confdefs.h.  */
                   15440: 
                   15441: /* Override any gcc2 internal prototype to avoid an error.  */
                   15442: #ifdef __cplusplus
                   15443: extern "C"
                   15444: #endif
                   15445: /* We use char because int might match the return type of a gcc2
                   15446:    builtin and then its argument prototype would still apply.  */
                   15447: char dlopen ();
                   15448: int
                   15449: main ()
                   15450: {
                   15451: dlopen ();
                   15452:   ;
                   15453:   return 0;
                   15454: }
                   15455: _ACEOF
                   15456: rm -f conftest.$ac_objext conftest$ac_exeext
                   15457: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15458:   (eval $ac_link) 2>conftest.er1
                   15459:   ac_status=$?
                   15460:   grep -v '^ *+' conftest.er1 >conftest.err
                   15461:   rm -f conftest.er1
                   15462:   cat conftest.err >&5
                   15463:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15464:   (exit $ac_status); } &&
                   15465:         { ac_try='test -z "$ac_c_werror_flag"
                   15466:                         || test ! -s conftest.err'
                   15467:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15468:   (eval $ac_try) 2>&5
                   15469:   ac_status=$?
                   15470:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15471:   (exit $ac_status); }; } &&
                   15472:         { ac_try='test -s conftest$ac_exeext'
                   15473:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15474:   (eval $ac_try) 2>&5
                   15475:   ac_status=$?
                   15476:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15477:   (exit $ac_status); }; }; then
                   15478:   ac_cv_lib_svld_dlopen=yes
                   15479: else
                   15480:   echo "$as_me: failed program was:" >&5
                   15481: sed 's/^/| /' conftest.$ac_ext >&5
                   15482: 
                   15483: ac_cv_lib_svld_dlopen=no
                   15484: fi
                   15485: rm -f conftest.err conftest.$ac_objext \
                   15486:       conftest$ac_exeext conftest.$ac_ext
                   15487: LIBS=$ac_check_lib_save_LIBS
                   15488: fi
                   15489: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   15490: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   15491: if test $ac_cv_lib_svld_dlopen = yes; then
                   15492: 
                   15493: cat >>confdefs.h <<\_ACEOF
                   15494: #define HAVE_LIBDL 1
                   15495: _ACEOF
                   15496: 
                   15497:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   15498:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15499: fi
                   15500: 
                   15501: fi
                   15502: rm -f conftest.err conftest.$ac_objext \
                   15503:       conftest$ac_exeext conftest.$ac_ext
                   15504: fi
                   15505: 
                   15506: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   15507: then
                   15508:   lt_save_LIBS="$LIBS"
                   15509:   LIBS="$LIBS $LIBADD_DLOPEN"
                   15510: 
                   15511: for ac_func in dlerror
                   15512: do
                   15513: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   15514: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   15515: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   15516: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   15517:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15518: else
                   15519:   cat >conftest.$ac_ext <<_ACEOF
                   15520: /* confdefs.h.  */
                   15521: _ACEOF
                   15522: cat confdefs.h >>conftest.$ac_ext
                   15523: cat >>conftest.$ac_ext <<_ACEOF
                   15524: /* end confdefs.h.  */
                   15525: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   15526:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15527: #define $ac_func innocuous_$ac_func
                   15528: 
                   15529: /* System header to define __stub macros and hopefully few prototypes,
                   15530:     which can conflict with char $ac_func (); below.
                   15531:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15532:     <limits.h> exists even on freestanding compilers.  */
                   15533: 
                   15534: #ifdef __STDC__
                   15535: # include <limits.h>
                   15536: #else
                   15537: # include <assert.h>
                   15538: #endif
                   15539: 
                   15540: #undef $ac_func
                   15541: 
                   15542: /* Override any gcc2 internal prototype to avoid an error.  */
                   15543: #ifdef __cplusplus
                   15544: extern "C"
                   15545: {
                   15546: #endif
                   15547: /* We use char because int might match the return type of a gcc2
                   15548:    builtin and then its argument prototype would still apply.  */
                   15549: char $ac_func ();
                   15550: /* The GNU C library defines this for functions which it implements
                   15551:     to always fail with ENOSYS.  Some functions are actually named
                   15552:     something starting with __ and the normal name is an alias.  */
                   15553: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   15554: choke me
                   15555: #else
                   15556: char (*f) () = $ac_func;
                   15557: #endif
                   15558: #ifdef __cplusplus
                   15559: }
                   15560: #endif
                   15561: 
                   15562: int
                   15563: main ()
                   15564: {
                   15565: return f != $ac_func;
                   15566:   ;
                   15567:   return 0;
                   15568: }
                   15569: _ACEOF
                   15570: rm -f conftest.$ac_objext conftest$ac_exeext
                   15571: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15572:   (eval $ac_link) 2>conftest.er1
                   15573:   ac_status=$?
                   15574:   grep -v '^ *+' conftest.er1 >conftest.err
                   15575:   rm -f conftest.er1
                   15576:   cat conftest.err >&5
                   15577:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15578:   (exit $ac_status); } &&
                   15579:         { ac_try='test -z "$ac_c_werror_flag"
                   15580:                         || test ! -s conftest.err'
                   15581:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15582:   (eval $ac_try) 2>&5
                   15583:   ac_status=$?
                   15584:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15585:   (exit $ac_status); }; } &&
                   15586:         { ac_try='test -s conftest$ac_exeext'
                   15587:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15588:   (eval $ac_try) 2>&5
                   15589:   ac_status=$?
                   15590:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15591:   (exit $ac_status); }; }; then
                   15592:   eval "$as_ac_var=yes"
                   15593: else
                   15594:   echo "$as_me: failed program was:" >&5
                   15595: sed 's/^/| /' conftest.$ac_ext >&5
                   15596: 
                   15597: eval "$as_ac_var=no"
                   15598: fi
                   15599: rm -f conftest.err conftest.$ac_objext \
                   15600:       conftest$ac_exeext conftest.$ac_ext
                   15601: fi
                   15602: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   15603: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   15604: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   15605:   cat >>confdefs.h <<_ACEOF
                   15606: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   15607: _ACEOF
                   15608: 
                   15609: fi
                   15610: done
                   15611: 
                   15612:   LIBS="$lt_save_LIBS"
                   15613: fi
                   15614: 
                   15615: 
                   15616: LIBADD_SHL_LOAD=
                   15617: echo "$as_me:$LINENO: checking for shl_load" >&5
                   15618: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   15619: if test "${ac_cv_func_shl_load+set}" = set; then
                   15620:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15621: else
                   15622:   cat >conftest.$ac_ext <<_ACEOF
                   15623: /* confdefs.h.  */
                   15624: _ACEOF
                   15625: cat confdefs.h >>conftest.$ac_ext
                   15626: cat >>conftest.$ac_ext <<_ACEOF
                   15627: /* end confdefs.h.  */
                   15628: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   15629:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15630: #define shl_load innocuous_shl_load
                   15631: 
                   15632: /* System header to define __stub macros and hopefully few prototypes,
                   15633:     which can conflict with char shl_load (); below.
                   15634:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15635:     <limits.h> exists even on freestanding compilers.  */
                   15636: 
                   15637: #ifdef __STDC__
                   15638: # include <limits.h>
                   15639: #else
                   15640: # include <assert.h>
                   15641: #endif
                   15642: 
                   15643: #undef shl_load
                   15644: 
                   15645: /* Override any gcc2 internal prototype to avoid an error.  */
                   15646: #ifdef __cplusplus
                   15647: extern "C"
                   15648: {
                   15649: #endif
                   15650: /* We use char because int might match the return type of a gcc2
                   15651:    builtin and then its argument prototype would still apply.  */
                   15652: char shl_load ();
                   15653: /* The GNU C library defines this for functions which it implements
                   15654:     to always fail with ENOSYS.  Some functions are actually named
                   15655:     something starting with __ and the normal name is an alias.  */
                   15656: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   15657: choke me
                   15658: #else
                   15659: char (*f) () = shl_load;
                   15660: #endif
                   15661: #ifdef __cplusplus
                   15662: }
                   15663: #endif
                   15664: 
                   15665: int
                   15666: main ()
                   15667: {
                   15668: return f != shl_load;
                   15669:   ;
                   15670:   return 0;
                   15671: }
                   15672: _ACEOF
                   15673: rm -f conftest.$ac_objext conftest$ac_exeext
                   15674: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15675:   (eval $ac_link) 2>conftest.er1
                   15676:   ac_status=$?
                   15677:   grep -v '^ *+' conftest.er1 >conftest.err
                   15678:   rm -f conftest.er1
                   15679:   cat conftest.err >&5
                   15680:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15681:   (exit $ac_status); } &&
                   15682:         { ac_try='test -z "$ac_c_werror_flag"
                   15683:                         || test ! -s conftest.err'
                   15684:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15685:   (eval $ac_try) 2>&5
                   15686:   ac_status=$?
                   15687:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15688:   (exit $ac_status); }; } &&
                   15689:         { ac_try='test -s conftest$ac_exeext'
                   15690:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15691:   (eval $ac_try) 2>&5
                   15692:   ac_status=$?
                   15693:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15694:   (exit $ac_status); }; }; then
                   15695:   ac_cv_func_shl_load=yes
                   15696: else
                   15697:   echo "$as_me: failed program was:" >&5
                   15698: sed 's/^/| /' conftest.$ac_ext >&5
                   15699: 
                   15700: ac_cv_func_shl_load=no
                   15701: fi
                   15702: rm -f conftest.err conftest.$ac_objext \
                   15703:       conftest$ac_exeext conftest.$ac_ext
                   15704: fi
                   15705: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   15706: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   15707: if test $ac_cv_func_shl_load = yes; then
                   15708: 
                   15709: cat >>confdefs.h <<\_ACEOF
                   15710: #define HAVE_SHL_LOAD 1
                   15711: _ACEOF
                   15712: 
                   15713:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15714: else
                   15715:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   15716: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   15717: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   15718:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15719: else
                   15720:   ac_check_lib_save_LIBS=$LIBS
                   15721: LIBS="-ldld  $LIBS"
                   15722: cat >conftest.$ac_ext <<_ACEOF
                   15723: /* confdefs.h.  */
                   15724: _ACEOF
                   15725: cat confdefs.h >>conftest.$ac_ext
                   15726: cat >>conftest.$ac_ext <<_ACEOF
                   15727: /* end confdefs.h.  */
                   15728: 
                   15729: /* Override any gcc2 internal prototype to avoid an error.  */
                   15730: #ifdef __cplusplus
                   15731: extern "C"
                   15732: #endif
                   15733: /* We use char because int might match the return type of a gcc2
                   15734:    builtin and then its argument prototype would still apply.  */
                   15735: char shl_load ();
                   15736: int
                   15737: main ()
                   15738: {
                   15739: shl_load ();
                   15740:   ;
                   15741:   return 0;
                   15742: }
                   15743: _ACEOF
                   15744: rm -f conftest.$ac_objext conftest$ac_exeext
                   15745: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15746:   (eval $ac_link) 2>conftest.er1
                   15747:   ac_status=$?
                   15748:   grep -v '^ *+' conftest.er1 >conftest.err
                   15749:   rm -f conftest.er1
                   15750:   cat conftest.err >&5
                   15751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15752:   (exit $ac_status); } &&
                   15753:         { ac_try='test -z "$ac_c_werror_flag"
                   15754:                         || test ! -s conftest.err'
                   15755:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15756:   (eval $ac_try) 2>&5
                   15757:   ac_status=$?
                   15758:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15759:   (exit $ac_status); }; } &&
                   15760:         { ac_try='test -s conftest$ac_exeext'
                   15761:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15762:   (eval $ac_try) 2>&5
                   15763:   ac_status=$?
                   15764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15765:   (exit $ac_status); }; }; then
                   15766:   ac_cv_lib_dld_shl_load=yes
                   15767: else
                   15768:   echo "$as_me: failed program was:" >&5
                   15769: sed 's/^/| /' conftest.$ac_ext >&5
                   15770: 
                   15771: ac_cv_lib_dld_shl_load=no
                   15772: fi
                   15773: rm -f conftest.err conftest.$ac_objext \
                   15774:       conftest$ac_exeext conftest.$ac_ext
                   15775: LIBS=$ac_check_lib_save_LIBS
                   15776: fi
                   15777: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   15778: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   15779: if test $ac_cv_lib_dld_shl_load = yes; then
                   15780: 
                   15781: cat >>confdefs.h <<\_ACEOF
                   15782: #define HAVE_SHL_LOAD 1
                   15783: _ACEOF
                   15784: 
                   15785:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15786:            LIBADD_SHL_LOAD="-ldld"
                   15787: fi
                   15788: 
                   15789: fi
                   15790: 
                   15791: 
                   15792: 
                   15793: case $host_os in
                   15794: darwin[1567].*)
                   15795: # We only want this for pre-Mac OS X 10.4.
                   15796:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   15797: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   15798: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   15799:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15800: else
                   15801:   cat >conftest.$ac_ext <<_ACEOF
                   15802: /* confdefs.h.  */
                   15803: _ACEOF
                   15804: cat confdefs.h >>conftest.$ac_ext
                   15805: cat >>conftest.$ac_ext <<_ACEOF
                   15806: /* end confdefs.h.  */
                   15807: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   15808:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15809: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   15810: 
                   15811: /* System header to define __stub macros and hopefully few prototypes,
                   15812:     which can conflict with char _dyld_func_lookup (); below.
                   15813:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15814:     <limits.h> exists even on freestanding compilers.  */
                   15815: 
                   15816: #ifdef __STDC__
                   15817: # include <limits.h>
                   15818: #else
                   15819: # include <assert.h>
                   15820: #endif
                   15821: 
                   15822: #undef _dyld_func_lookup
                   15823: 
                   15824: /* Override any gcc2 internal prototype to avoid an error.  */
                   15825: #ifdef __cplusplus
                   15826: extern "C"
                   15827: {
                   15828: #endif
                   15829: /* We use char because int might match the return type of a gcc2
                   15830:    builtin and then its argument prototype would still apply.  */
                   15831: char _dyld_func_lookup ();
                   15832: /* The GNU C library defines this for functions which it implements
                   15833:     to always fail with ENOSYS.  Some functions are actually named
                   15834:     something starting with __ and the normal name is an alias.  */
                   15835: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   15836: choke me
                   15837: #else
                   15838: char (*f) () = _dyld_func_lookup;
                   15839: #endif
                   15840: #ifdef __cplusplus
                   15841: }
                   15842: #endif
                   15843: 
                   15844: int
                   15845: main ()
                   15846: {
                   15847: return f != _dyld_func_lookup;
                   15848:   ;
                   15849:   return 0;
                   15850: }
                   15851: _ACEOF
                   15852: rm -f conftest.$ac_objext conftest$ac_exeext
                   15853: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15854:   (eval $ac_link) 2>conftest.er1
                   15855:   ac_status=$?
                   15856:   grep -v '^ *+' conftest.er1 >conftest.err
                   15857:   rm -f conftest.er1
                   15858:   cat conftest.err >&5
                   15859:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15860:   (exit $ac_status); } &&
                   15861:         { ac_try='test -z "$ac_c_werror_flag"
                   15862:                         || test ! -s conftest.err'
                   15863:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15864:   (eval $ac_try) 2>&5
                   15865:   ac_status=$?
                   15866:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15867:   (exit $ac_status); }; } &&
                   15868:         { ac_try='test -s conftest$ac_exeext'
                   15869:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15870:   (eval $ac_try) 2>&5
                   15871:   ac_status=$?
                   15872:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15873:   (exit $ac_status); }; }; then
                   15874:   ac_cv_func__dyld_func_lookup=yes
                   15875: else
                   15876:   echo "$as_me: failed program was:" >&5
                   15877: sed 's/^/| /' conftest.$ac_ext >&5
                   15878: 
                   15879: ac_cv_func__dyld_func_lookup=no
                   15880: fi
                   15881: rm -f conftest.err conftest.$ac_objext \
                   15882:       conftest$ac_exeext conftest.$ac_ext
                   15883: fi
                   15884: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   15885: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   15886: if test $ac_cv_func__dyld_func_lookup = yes; then
                   15887: 
                   15888: cat >>confdefs.h <<\_ACEOF
                   15889: #define HAVE_DYLD 1
                   15890: _ACEOF
                   15891: 
                   15892:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   15893: fi
                   15894: 
                   15895:   ;;
                   15896: beos*)
                   15897:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   15898:   ;;
                   15899: cygwin* | mingw* | os2* | pw32*)
                   15900:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   15901: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   15902: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   15903:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15904: else
                   15905:   cat >conftest.$ac_ext <<_ACEOF
                   15906: /* confdefs.h.  */
                   15907: _ACEOF
                   15908: cat confdefs.h >>conftest.$ac_ext
                   15909: cat >>conftest.$ac_ext <<_ACEOF
                   15910: /* end confdefs.h.  */
                   15911: #include <sys/cygwin.h>
                   15912: 
                   15913: int
                   15914: main ()
                   15915: {
                   15916: #ifndef cygwin_conv_path
                   15917:   char *p = (char *) cygwin_conv_path;
                   15918: #endif
                   15919: 
                   15920:   ;
                   15921:   return 0;
                   15922: }
                   15923: _ACEOF
                   15924: rm -f conftest.$ac_objext
                   15925: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   15926:   (eval $ac_compile) 2>conftest.er1
                   15927:   ac_status=$?
                   15928:   grep -v '^ *+' conftest.er1 >conftest.err
                   15929:   rm -f conftest.er1
                   15930:   cat conftest.err >&5
                   15931:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15932:   (exit $ac_status); } &&
                   15933:         { ac_try='test -z "$ac_c_werror_flag"
                   15934:                         || test ! -s conftest.err'
                   15935:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15936:   (eval $ac_try) 2>&5
                   15937:   ac_status=$?
                   15938:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15939:   (exit $ac_status); }; } &&
                   15940:         { ac_try='test -s conftest.$ac_objext'
                   15941:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15942:   (eval $ac_try) 2>&5
                   15943:   ac_status=$?
                   15944:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15945:   (exit $ac_status); }; }; then
                   15946:   ac_cv_have_decl_cygwin_conv_path=yes
                   15947: else
                   15948:   echo "$as_me: failed program was:" >&5
                   15949: sed 's/^/| /' conftest.$ac_ext >&5
                   15950: 
                   15951: ac_cv_have_decl_cygwin_conv_path=no
                   15952: fi
                   15953: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   15954: fi
                   15955: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   15956: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   15957: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
                   15958: 
                   15959: cat >>confdefs.h <<_ACEOF
                   15960: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   15961: _ACEOF
                   15962: 
                   15963: 
                   15964: else
                   15965:   cat >>confdefs.h <<_ACEOF
                   15966: #define HAVE_DECL_CYGWIN_CONV_PATH 0
                   15967: _ACEOF
                   15968: 
                   15969: 
                   15970: fi
                   15971: 
                   15972: 
                   15973:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   15974:   ;;
                   15975: esac
                   15976: 
                   15977: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   15978: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   15979: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   15980:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15981: else
                   15982:   ac_check_lib_save_LIBS=$LIBS
                   15983: LIBS="-ldld  $LIBS"
                   15984: cat >conftest.$ac_ext <<_ACEOF
                   15985: /* confdefs.h.  */
                   15986: _ACEOF
                   15987: cat confdefs.h >>conftest.$ac_ext
                   15988: cat >>conftest.$ac_ext <<_ACEOF
                   15989: /* end confdefs.h.  */
                   15990: 
                   15991: /* Override any gcc2 internal prototype to avoid an error.  */
                   15992: #ifdef __cplusplus
                   15993: extern "C"
                   15994: #endif
                   15995: /* We use char because int might match the return type of a gcc2
                   15996:    builtin and then its argument prototype would still apply.  */
                   15997: char dld_link ();
                   15998: int
                   15999: main ()
                   16000: {
                   16001: dld_link ();
                   16002:   ;
                   16003:   return 0;
                   16004: }
                   16005: _ACEOF
                   16006: rm -f conftest.$ac_objext conftest$ac_exeext
                   16007: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16008:   (eval $ac_link) 2>conftest.er1
                   16009:   ac_status=$?
                   16010:   grep -v '^ *+' conftest.er1 >conftest.err
                   16011:   rm -f conftest.er1
                   16012:   cat conftest.err >&5
                   16013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16014:   (exit $ac_status); } &&
                   16015:         { ac_try='test -z "$ac_c_werror_flag"
                   16016:                         || test ! -s conftest.err'
                   16017:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16018:   (eval $ac_try) 2>&5
                   16019:   ac_status=$?
                   16020:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16021:   (exit $ac_status); }; } &&
                   16022:         { ac_try='test -s conftest$ac_exeext'
                   16023:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16024:   (eval $ac_try) 2>&5
                   16025:   ac_status=$?
                   16026:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16027:   (exit $ac_status); }; }; then
                   16028:   ac_cv_lib_dld_dld_link=yes
                   16029: else
                   16030:   echo "$as_me: failed program was:" >&5
                   16031: sed 's/^/| /' conftest.$ac_ext >&5
                   16032: 
                   16033: ac_cv_lib_dld_dld_link=no
                   16034: fi
                   16035: rm -f conftest.err conftest.$ac_objext \
                   16036:       conftest$ac_exeext conftest.$ac_ext
                   16037: LIBS=$ac_check_lib_save_LIBS
                   16038: fi
                   16039: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16040: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16041: if test $ac_cv_lib_dld_dld_link = yes; then
                   16042: 
                   16043: cat >>confdefs.h <<\_ACEOF
                   16044: #define HAVE_DLD 1
                   16045: _ACEOF
                   16046: 
                   16047:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16048: fi
                   16049: 
                   16050: 
                   16051: 
                   16052: 
                   16053: LT_DLPREOPEN=
                   16054: if test -n "$LT_DLLOADERS"
                   16055: then
                   16056:   for lt_loader in $LT_DLLOADERS; do
                   16057:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16058:   done
                   16059: 
                   16060: cat >>confdefs.h <<\_ACEOF
                   16061: #define HAVE_LIBDLLOADER 1
                   16062: _ACEOF
                   16063: 
                   16064: fi
                   16065: 
                   16066: 
                   16067: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16068: 
                   16069: 
                   16070: ac_ext=c
                   16071: ac_cpp='$CPP $CPPFLAGS'
                   16072: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16073: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16074: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16075: 
                   16076: 
                   16077: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16078: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16079: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16080:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16081: else
                   16082:   lt_cv_sys_symbol_underscore=no
                   16083:   cat > conftest.$ac_ext <<_LT_EOF
                   16084: void nm_test_func(){}
                   16085: int main(){nm_test_func;return 0;}
                   16086: _LT_EOF
                   16087:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16088:   (eval $ac_compile) 2>&5
                   16089:   ac_status=$?
                   16090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16091:   (exit $ac_status); }; then
                   16092:     # Now try to grab the symbols.
                   16093:     ac_nlist=conftest.nm
                   16094:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
                   16095:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16096:   ac_status=$?
                   16097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16098:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   16099:       # See whether the symbols have a leading underscore.
                   16100:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16101:         lt_cv_sys_symbol_underscore=yes
                   16102:       else
                   16103:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16104:          :
                   16105:         else
                   16106:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16107:         fi
                   16108:       fi
                   16109:     else
                   16110:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16111:     fi
                   16112:   else
                   16113:     echo "configure: failed program was:" >&5
                   16114:     cat conftest.c >&5
                   16115:   fi
                   16116:   rm -rf conftest*
                   16117: 
                   16118: fi
                   16119: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16120: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
                   16121:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   16122: 
                   16123: 
                   16124: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16125:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16126:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   16127:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16128: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16129: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16130:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16131: else
                   16132:   libltdl_cv_need_uscore=unknown
                   16133:           save_LIBS="$LIBS"
                   16134:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16135:          if test "$cross_compiling" = yes; then :
                   16136:   libltdl_cv_need_uscore=cross
                   16137: else
                   16138:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16139:   lt_status=$lt_dlunknown
                   16140:   cat > conftest.$ac_ext <<_LT_EOF
                   16141: #line $LINENO "configure"
                   16142: #include "confdefs.h"
                   16143: 
                   16144: #if HAVE_DLFCN_H
                   16145: #include <dlfcn.h>
                   16146: #endif
                   16147: 
                   16148: #include <stdio.h>
                   16149: 
                   16150: #ifdef RTLD_GLOBAL
                   16151: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16152: #else
                   16153: #  ifdef DL_GLOBAL
                   16154: #    define LT_DLGLOBAL                DL_GLOBAL
                   16155: #  else
                   16156: #    define LT_DLGLOBAL                0
                   16157: #  endif
                   16158: #endif
                   16159: 
                   16160: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16161:    find out it does not work in some platform. */
                   16162: #ifndef LT_DLLAZY_OR_NOW
                   16163: #  ifdef RTLD_LAZY
                   16164: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16165: #  else
                   16166: #    ifdef DL_LAZY
                   16167: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16168: #    else
                   16169: #      ifdef RTLD_NOW
                   16170: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16171: #      else
                   16172: #        ifdef DL_NOW
                   16173: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16174: #        else
                   16175: #          define LT_DLLAZY_OR_NOW     0
                   16176: #        endif
                   16177: #      endif
                   16178: #    endif
                   16179: #  endif
                   16180: #endif
                   16181: 
                   16182: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16183:    correspondingly for the symbols needed.  */
                   16184: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16185: int fnord () __attribute__((visibility("default")));
                   16186: #endif
                   16187: 
                   16188: int fnord () { return 42; }
                   16189: int main ()
                   16190: {
                   16191:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16192:   int status = $lt_dlunknown;
                   16193: 
                   16194:   if (self)
                   16195:     {
                   16196:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16197:       else
                   16198:         {
                   16199:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16200:           else puts (dlerror ());
                   16201:        }
                   16202:       /* dlclose (self); */
                   16203:     }
                   16204:   else
                   16205:     puts (dlerror ());
                   16206: 
                   16207:   return status;
                   16208: }
                   16209: _LT_EOF
                   16210:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16211:   (eval $ac_link) 2>&5
                   16212:   ac_status=$?
                   16213:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16214:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   16215:     (./conftest; exit; ) >&5 2>/dev/null
                   16216:     lt_status=$?
                   16217:     case x$lt_status in
                   16218:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16219:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16220:       x$lt_dlunknown|x*)  ;;
                   16221:     esac
                   16222:   else :
                   16223:     # compilation failed
                   16224: 
                   16225:   fi
                   16226: fi
                   16227: rm -fr conftest*
                   16228: 
                   16229:          LIBS="$save_LIBS"
                   16230: 
                   16231: fi
                   16232: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16233: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   16234:   fi
                   16235: fi
                   16236: 
                   16237: if test x"$libltdl_cv_need_uscore" = xyes; then
                   16238: 
                   16239: cat >>confdefs.h <<\_ACEOF
                   16240: #define NEED_USCORE 1
                   16241: _ACEOF
                   16242: 
                   16243: fi
                   16244: 
                   16245: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16246: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16247: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16248:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16249: else
                   16250:   # PORTME does your system automatically load deplibs for dlopen?
                   16251:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16252:   # For now, we just catch OSes we know something about -- in the
                   16253:   # future, we'll try test this programmatically.
                   16254:   lt_cv_sys_dlopen_deplibs=unknown
                   16255:   case $host_os in
                   16256:   aix3*|aix4.1.*|aix4.2.*)
                   16257:     # Unknown whether this is true for these versions of AIX, but
                   16258:     # we want this `case' here to explicitly catch those versions.
                   16259:     lt_cv_sys_dlopen_deplibs=unknown
                   16260:     ;;
                   16261:   aix[4-9]*)
                   16262:     lt_cv_sys_dlopen_deplibs=yes
                   16263:     ;;
                   16264:   amigaos*)
                   16265:     case $host_cpu in
                   16266:     powerpc)
                   16267:       lt_cv_sys_dlopen_deplibs=no
                   16268:       ;;
                   16269:     esac
                   16270:     ;;
                   16271:   darwin*)
                   16272:     # Assuming the user has installed a libdl from somewhere, this is true
                   16273:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16274:     lt_cv_sys_dlopen_deplibs=yes
                   16275:     ;;
                   16276:   freebsd* | dragonfly*)
                   16277:     lt_cv_sys_dlopen_deplibs=yes
                   16278:     ;;
                   16279:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16280:     # GNU and its variants, using gnu ld.so (Glibc)
                   16281:     lt_cv_sys_dlopen_deplibs=yes
                   16282:     ;;
                   16283:   hpux10*|hpux11*)
                   16284:     lt_cv_sys_dlopen_deplibs=yes
                   16285:     ;;
                   16286:   interix*)
                   16287:     lt_cv_sys_dlopen_deplibs=yes
                   16288:     ;;
                   16289:   irix[12345]*|irix6.[01]*)
                   16290:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16291:     # know how it worked for any of those versions.
                   16292:     lt_cv_sys_dlopen_deplibs=unknown
                   16293:     ;;
                   16294:   irix*)
                   16295:     # The case above catches anything before 6.2, and it's known that
                   16296:     # at 6.2 and later dlopen does load deplibs.
                   16297:     lt_cv_sys_dlopen_deplibs=yes
                   16298:     ;;
                   16299:   netbsd*)
                   16300:     lt_cv_sys_dlopen_deplibs=yes
                   16301:     ;;
                   16302:   openbsd*)
                   16303:     lt_cv_sys_dlopen_deplibs=yes
                   16304:     ;;
                   16305:   osf[1234]*)
                   16306:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16307:     # it did *not* use an RPATH in a shared library to find objects the
                   16308:     # library depends on, so we explicitly say `no'.
                   16309:     lt_cv_sys_dlopen_deplibs=no
                   16310:     ;;
                   16311:   osf5.0|osf5.0a|osf5.1)
                   16312:     # dlopen *does* load deplibs and with the right loader patch applied
                   16313:     # it even uses RPATH in a shared library to search for shared objects
                   16314:     # that the library depends on, but there's no easy way to know if that
                   16315:     # patch is installed.  Since this is the case, all we can really
                   16316:     # say is unknown -- it depends on the patch being installed.  If
                   16317:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16318:     lt_cv_sys_dlopen_deplibs=unknown
                   16319:     ;;
                   16320:   osf*)
                   16321:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16322:     # the comments above for what we know about them.
                   16323:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16324:     # is used to find them so we can finally say `yes'.
                   16325:     lt_cv_sys_dlopen_deplibs=yes
                   16326:     ;;
                   16327:   qnx*)
                   16328:     lt_cv_sys_dlopen_deplibs=yes
                   16329:     ;;
                   16330:   solaris*)
                   16331:     lt_cv_sys_dlopen_deplibs=yes
                   16332:     ;;
                   16333:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16334:     libltdl_cv_sys_dlopen_deplibs=yes
                   16335:     ;;
                   16336:   esac
                   16337: 
                   16338: fi
                   16339: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16340: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
                   16341: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16342: 
                   16343: cat >>confdefs.h <<\_ACEOF
                   16344: #define LTDL_DLOPEN_DEPLIBS 1
                   16345: _ACEOF
                   16346: 
                   16347: fi
                   16348: 
                   16349: :
                   16350: 
                   16351: 
                   16352: for ac_header in argz.h
                   16353: do
                   16354: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16355: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   16356: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   16357: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   16358:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16359: else
                   16360:   cat >conftest.$ac_ext <<_ACEOF
                   16361: /* confdefs.h.  */
                   16362: _ACEOF
                   16363: cat confdefs.h >>conftest.$ac_ext
                   16364: cat >>conftest.$ac_ext <<_ACEOF
                   16365: /* end confdefs.h.  */
                   16366: $ac_includes_default
                   16367: 
                   16368: #include <$ac_header>
                   16369: _ACEOF
                   16370: rm -f conftest.$ac_objext
                   16371: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16372:   (eval $ac_compile) 2>conftest.er1
                   16373:   ac_status=$?
                   16374:   grep -v '^ *+' conftest.er1 >conftest.err
                   16375:   rm -f conftest.er1
                   16376:   cat conftest.err >&5
                   16377:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16378:   (exit $ac_status); } &&
                   16379:         { ac_try='test -z "$ac_c_werror_flag"
                   16380:                         || test ! -s conftest.err'
                   16381:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16382:   (eval $ac_try) 2>&5
                   16383:   ac_status=$?
                   16384:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16385:   (exit $ac_status); }; } &&
                   16386:         { ac_try='test -s conftest.$ac_objext'
                   16387:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16388:   (eval $ac_try) 2>&5
                   16389:   ac_status=$?
                   16390:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16391:   (exit $ac_status); }; }; then
                   16392:   eval "$as_ac_Header=yes"
                   16393: else
                   16394:   echo "$as_me: failed program was:" >&5
                   16395: sed 's/^/| /' conftest.$ac_ext >&5
                   16396: 
                   16397: eval "$as_ac_Header=no"
                   16398: fi
                   16399: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16400: fi
                   16401: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   16402: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   16403: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   16404:   cat >>confdefs.h <<_ACEOF
                   16405: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16406: _ACEOF
                   16407: 
                   16408: fi
                   16409: 
                   16410: done
                   16411: 
                   16412: 
                   16413: echo "$as_me:$LINENO: checking for error_t" >&5
                   16414: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   16415: if test "${ac_cv_type_error_t+set}" = set; then
                   16416:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16417: else
                   16418:   cat >conftest.$ac_ext <<_ACEOF
                   16419: /* confdefs.h.  */
                   16420: _ACEOF
                   16421: cat confdefs.h >>conftest.$ac_ext
                   16422: cat >>conftest.$ac_ext <<_ACEOF
                   16423: /* end confdefs.h.  */
                   16424: #if defined(HAVE_ARGZ_H)
                   16425: #  include <argz.h>
                   16426: #endif
                   16427: 
                   16428: int
                   16429: main ()
                   16430: {
                   16431: if ((error_t *) 0)
                   16432:   return 0;
                   16433: if (sizeof (error_t))
                   16434:   return 0;
                   16435:   ;
                   16436:   return 0;
                   16437: }
                   16438: _ACEOF
                   16439: rm -f conftest.$ac_objext
                   16440: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16441:   (eval $ac_compile) 2>conftest.er1
                   16442:   ac_status=$?
                   16443:   grep -v '^ *+' conftest.er1 >conftest.err
                   16444:   rm -f conftest.er1
                   16445:   cat conftest.err >&5
                   16446:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16447:   (exit $ac_status); } &&
                   16448:         { ac_try='test -z "$ac_c_werror_flag"
                   16449:                         || test ! -s conftest.err'
                   16450:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16451:   (eval $ac_try) 2>&5
                   16452:   ac_status=$?
                   16453:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16454:   (exit $ac_status); }; } &&
                   16455:         { ac_try='test -s conftest.$ac_objext'
                   16456:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16457:   (eval $ac_try) 2>&5
                   16458:   ac_status=$?
                   16459:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16460:   (exit $ac_status); }; }; then
                   16461:   ac_cv_type_error_t=yes
                   16462: else
                   16463:   echo "$as_me: failed program was:" >&5
                   16464: sed 's/^/| /' conftest.$ac_ext >&5
                   16465: 
                   16466: ac_cv_type_error_t=no
                   16467: fi
                   16468: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16469: fi
                   16470: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   16471: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   16472: if test $ac_cv_type_error_t = yes; then
                   16473: 
                   16474: cat >>confdefs.h <<_ACEOF
                   16475: #define HAVE_ERROR_T 1
                   16476: _ACEOF
                   16477: 
                   16478: 
                   16479: else
                   16480: 
                   16481: cat >>confdefs.h <<\_ACEOF
                   16482: #define error_t int
                   16483: _ACEOF
                   16484: 
                   16485: 
                   16486: cat >>confdefs.h <<\_ACEOF
                   16487: #define __error_t_defined 1
                   16488: _ACEOF
                   16489: 
                   16490: fi
                   16491: 
                   16492: 
                   16493: ARGZ_H=
                   16494: 
                   16495: 
                   16496: 
                   16497: 
                   16498: 
                   16499: 
                   16500: 
                   16501: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16502:        argz_next argz_stringify
                   16503: do
                   16504: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16505: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16506: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16507: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16508:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16509: else
                   16510:   cat >conftest.$ac_ext <<_ACEOF
                   16511: /* confdefs.h.  */
                   16512: _ACEOF
                   16513: cat confdefs.h >>conftest.$ac_ext
                   16514: cat >>conftest.$ac_ext <<_ACEOF
                   16515: /* end confdefs.h.  */
                   16516: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16517:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16518: #define $ac_func innocuous_$ac_func
                   16519: 
                   16520: /* System header to define __stub macros and hopefully few prototypes,
                   16521:     which can conflict with char $ac_func (); below.
                   16522:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16523:     <limits.h> exists even on freestanding compilers.  */
                   16524: 
                   16525: #ifdef __STDC__
                   16526: # include <limits.h>
                   16527: #else
                   16528: # include <assert.h>
                   16529: #endif
                   16530: 
                   16531: #undef $ac_func
                   16532: 
                   16533: /* Override any gcc2 internal prototype to avoid an error.  */
                   16534: #ifdef __cplusplus
                   16535: extern "C"
                   16536: {
                   16537: #endif
                   16538: /* We use char because int might match the return type of a gcc2
                   16539:    builtin and then its argument prototype would still apply.  */
                   16540: char $ac_func ();
                   16541: /* The GNU C library defines this for functions which it implements
                   16542:     to always fail with ENOSYS.  Some functions are actually named
                   16543:     something starting with __ and the normal name is an alias.  */
                   16544: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16545: choke me
                   16546: #else
                   16547: char (*f) () = $ac_func;
                   16548: #endif
                   16549: #ifdef __cplusplus
                   16550: }
                   16551: #endif
                   16552: 
                   16553: int
                   16554: main ()
                   16555: {
                   16556: return f != $ac_func;
                   16557:   ;
                   16558:   return 0;
                   16559: }
                   16560: _ACEOF
                   16561: rm -f conftest.$ac_objext conftest$ac_exeext
                   16562: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16563:   (eval $ac_link) 2>conftest.er1
                   16564:   ac_status=$?
                   16565:   grep -v '^ *+' conftest.er1 >conftest.err
                   16566:   rm -f conftest.er1
                   16567:   cat conftest.err >&5
                   16568:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16569:   (exit $ac_status); } &&
                   16570:         { ac_try='test -z "$ac_c_werror_flag"
                   16571:                         || test ! -s conftest.err'
                   16572:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16573:   (eval $ac_try) 2>&5
                   16574:   ac_status=$?
                   16575:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16576:   (exit $ac_status); }; } &&
                   16577:         { ac_try='test -s conftest$ac_exeext'
                   16578:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16579:   (eval $ac_try) 2>&5
                   16580:   ac_status=$?
                   16581:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16582:   (exit $ac_status); }; }; then
                   16583:   eval "$as_ac_var=yes"
                   16584: else
                   16585:   echo "$as_me: failed program was:" >&5
                   16586: sed 's/^/| /' conftest.$ac_ext >&5
                   16587: 
                   16588: eval "$as_ac_var=no"
                   16589: fi
                   16590: rm -f conftest.err conftest.$ac_objext \
                   16591:       conftest$ac_exeext conftest.$ac_ext
                   16592: fi
                   16593: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16594: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16595: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   16596:   cat >>confdefs.h <<_ACEOF
                   16597: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16598: _ACEOF
                   16599: 
                   16600: else
                   16601:   ARGZ_H=argz.h;
                   16602: 
                   16603:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16604: 
                   16605: fi
                   16606: done
                   16607: 
                   16608: 
                   16609: if test -z "$ARGZ_H"; then
                   16610:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   16611: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   16612: if test "${lt_cv_sys_argz_works+set}" = set; then
                   16613:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16614: else
                   16615:   case $host_os in #(
                   16616:         *cygwin*)
                   16617:           lt_cv_sys_argz_works=no
                   16618:           if test "$cross_compiling" != no; then
                   16619:             lt_cv_sys_argz_works="guessing no"
                   16620:           else
                   16621:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16622:             save_IFS=$IFS
                   16623:             IFS=-.
                   16624:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16625:             IFS=$save_IFS
                   16626:             lt_os_major=${2-0}
                   16627:             lt_os_minor=${3-0}
                   16628:             lt_os_micro=${4-0}
                   16629:             if test "$lt_os_major" -gt 1 \
                   16630:                || { test "$lt_os_major" -eq 1 \
                   16631:                  && { test "$lt_os_minor" -gt 5 \
                   16632:                    || { test "$lt_os_minor" -eq 5 \
                   16633:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16634:               lt_cv_sys_argz_works=yes
                   16635:             fi
                   16636:           fi
                   16637:           ;; #(
                   16638:         *) lt_cv_sys_argz_works=yes ;;
                   16639:         esac
                   16640: fi
                   16641: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   16642: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   16643:      if test "$lt_cv_sys_argz_works" = yes; then
                   16644: 
                   16645: cat >>confdefs.h <<\_ACEOF
                   16646: #define HAVE_WORKING_ARGZ 1
                   16647: _ACEOF
                   16648: 
                   16649: else
                   16650:   ARGZ_H=argz.h
                   16651: 
                   16652: 
                   16653:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16654: 
                   16655: fi
                   16656: 
                   16657: fi
                   16658: 
                   16659: 
                   16660: 
                   16661: 
                   16662: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16663: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   16664: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   16665:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16666: else
                   16667:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16668:     libltdl_cv_preloaded_symbols=yes
                   16669:   else
                   16670:     libltdl_cv_preloaded_symbols=no
                   16671:   fi
                   16672: 
                   16673: fi
                   16674: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   16675: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   16676: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16677: 
                   16678: cat >>confdefs.h <<\_ACEOF
                   16679: #define HAVE_PRELOADED_SYMBOLS 1
                   16680: _ACEOF
                   16681: 
                   16682: fi
                   16683: 
                   16684: # Set options
                   16685: 
                   16686: 
                   16687: 
                   16688: 
                   16689: 
                   16690: 
                   16691: 
                   16692: 
                   16693: 
                   16694: 
                   16695: 
                   16696: 
                   16697: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   16698: if test "${with_included_ltdl+set}" = set; then
                   16699:   withval="$with_included_ltdl"
                   16700: 
                   16701: fi;
                   16702: 
                   16703: if test "x$with_included_ltdl" != xyes; then
                   16704:   # We are not being forced to use the included libltdl sources, so
                   16705:   # decide whether there is a useful installed version we can use.
                   16706:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   16707: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   16708: if test "${ac_cv_header_ltdl_h+set}" = set; then
                   16709:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16710: else
                   16711:   cat >conftest.$ac_ext <<_ACEOF
                   16712: /* confdefs.h.  */
                   16713: _ACEOF
                   16714: cat confdefs.h >>conftest.$ac_ext
                   16715: cat >>conftest.$ac_ext <<_ACEOF
                   16716: /* end confdefs.h.  */
                   16717: $ac_includes_default
                   16718: 
                   16719: 
                   16720: #include <ltdl.h>
                   16721: _ACEOF
                   16722: rm -f conftest.$ac_objext
                   16723: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16724:   (eval $ac_compile) 2>conftest.er1
                   16725:   ac_status=$?
                   16726:   grep -v '^ *+' conftest.er1 >conftest.err
                   16727:   rm -f conftest.er1
                   16728:   cat conftest.err >&5
                   16729:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16730:   (exit $ac_status); } &&
                   16731:         { ac_try='test -z "$ac_c_werror_flag"
                   16732:                         || test ! -s conftest.err'
                   16733:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16734:   (eval $ac_try) 2>&5
                   16735:   ac_status=$?
                   16736:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16737:   (exit $ac_status); }; } &&
                   16738:         { ac_try='test -s conftest.$ac_objext'
                   16739:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16740:   (eval $ac_try) 2>&5
                   16741:   ac_status=$?
                   16742:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16743:   (exit $ac_status); }; }; then
                   16744:   ac_cv_header_ltdl_h=yes
                   16745: else
                   16746:   echo "$as_me: failed program was:" >&5
                   16747: sed 's/^/| /' conftest.$ac_ext >&5
                   16748: 
                   16749: ac_cv_header_ltdl_h=no
                   16750: fi
                   16751: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16752: fi
                   16753: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   16754: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   16755: if test $ac_cv_header_ltdl_h = yes; then
                   16756:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   16757: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   16758: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   16759:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16760: else
                   16761:   cat >conftest.$ac_ext <<_ACEOF
                   16762: /* confdefs.h.  */
                   16763: _ACEOF
                   16764: cat confdefs.h >>conftest.$ac_ext
                   16765: cat >>conftest.$ac_ext <<_ACEOF
                   16766: /* end confdefs.h.  */
                   16767: $ac_includes_default
                   16768:            #include <ltdl.h>
                   16769: 
                   16770: int
                   16771: main ()
                   16772: {
                   16773: #ifndef lt_dlinterface_register
                   16774:   char *p = (char *) lt_dlinterface_register;
                   16775: #endif
                   16776: 
                   16777:   ;
                   16778:   return 0;
                   16779: }
                   16780: _ACEOF
                   16781: rm -f conftest.$ac_objext
                   16782: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16783:   (eval $ac_compile) 2>conftest.er1
                   16784:   ac_status=$?
                   16785:   grep -v '^ *+' conftest.er1 >conftest.err
                   16786:   rm -f conftest.er1
                   16787:   cat conftest.err >&5
                   16788:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16789:   (exit $ac_status); } &&
                   16790:         { ac_try='test -z "$ac_c_werror_flag"
                   16791:                         || test ! -s conftest.err'
                   16792:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16793:   (eval $ac_try) 2>&5
                   16794:   ac_status=$?
                   16795:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16796:   (exit $ac_status); }; } &&
                   16797:         { ac_try='test -s conftest.$ac_objext'
                   16798:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16799:   (eval $ac_try) 2>&5
                   16800:   ac_status=$?
                   16801:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16802:   (exit $ac_status); }; }; then
                   16803:   ac_cv_have_decl_lt_dlinterface_register=yes
                   16804: else
                   16805:   echo "$as_me: failed program was:" >&5
                   16806: sed 's/^/| /' conftest.$ac_ext >&5
                   16807: 
                   16808: ac_cv_have_decl_lt_dlinterface_register=no
                   16809: fi
                   16810: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16811: fi
                   16812: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   16813: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   16814: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   16815:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   16816: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   16817: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   16818:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16819: else
                   16820:   ac_check_lib_save_LIBS=$LIBS
                   16821: LIBS="-lltdl  $LIBS"
                   16822: cat >conftest.$ac_ext <<_ACEOF
                   16823: /* confdefs.h.  */
                   16824: _ACEOF
                   16825: cat confdefs.h >>conftest.$ac_ext
                   16826: cat >>conftest.$ac_ext <<_ACEOF
                   16827: /* end confdefs.h.  */
                   16828: 
                   16829: /* Override any gcc2 internal prototype to avoid an error.  */
                   16830: #ifdef __cplusplus
                   16831: extern "C"
                   16832: #endif
                   16833: /* We use char because int might match the return type of a gcc2
                   16834:    builtin and then its argument prototype would still apply.  */
                   16835: char lt_dladvise_preload ();
                   16836: int
                   16837: main ()
                   16838: {
                   16839: lt_dladvise_preload ();
                   16840:   ;
                   16841:   return 0;
                   16842: }
                   16843: _ACEOF
                   16844: rm -f conftest.$ac_objext conftest$ac_exeext
                   16845: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16846:   (eval $ac_link) 2>conftest.er1
                   16847:   ac_status=$?
                   16848:   grep -v '^ *+' conftest.er1 >conftest.err
                   16849:   rm -f conftest.er1
                   16850:   cat conftest.err >&5
                   16851:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16852:   (exit $ac_status); } &&
                   16853:         { ac_try='test -z "$ac_c_werror_flag"
                   16854:                         || test ! -s conftest.err'
                   16855:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16856:   (eval $ac_try) 2>&5
                   16857:   ac_status=$?
                   16858:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16859:   (exit $ac_status); }; } &&
                   16860:         { ac_try='test -s conftest$ac_exeext'
                   16861:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16862:   (eval $ac_try) 2>&5
                   16863:   ac_status=$?
                   16864:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16865:   (exit $ac_status); }; }; then
                   16866:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
                   16867: else
                   16868:   echo "$as_me: failed program was:" >&5
                   16869: sed 's/^/| /' conftest.$ac_ext >&5
                   16870: 
                   16871: ac_cv_lib_ltdl_lt_dladvise_preload=no
                   16872: fi
                   16873: rm -f conftest.err conftest.$ac_objext \
                   16874:       conftest$ac_exeext conftest.$ac_ext
                   16875: LIBS=$ac_check_lib_save_LIBS
                   16876: fi
                   16877: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16878: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   16879: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
                   16880:   with_included_ltdl=no
                   16881: else
                   16882:   with_included_ltdl=yes
                   16883: fi
                   16884: 
                   16885: else
                   16886:   with_included_ltdl=yes
                   16887: fi
                   16888: 
                   16889: else
                   16890:   with_included_ltdl=yes
                   16891: fi
                   16892: 
                   16893: 
                   16894: fi
                   16895: 
                   16896: 
                   16897: 
                   16898: 
                   16899: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   16900: if test "${with_ltdl_include+set}" = set; then
                   16901:   withval="$with_ltdl_include"
                   16902: 
                   16903: fi;
                   16904: 
                   16905: if test -n "$with_ltdl_include"; then
                   16906:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16907:   else
                   16908:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   16909: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   16910:    { (exit 1); exit 1; }; }
                   16911:   fi
                   16912: else
                   16913:   with_ltdl_include=no
                   16914: fi
                   16915: 
                   16916: 
                   16917: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   16918: if test "${with_ltdl_lib+set}" = set; then
                   16919:   withval="$with_ltdl_lib"
                   16920: 
                   16921: fi;
                   16922: 
                   16923: if test -n "$with_ltdl_lib"; then
                   16924:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16925:   else
                   16926:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   16927: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   16928:    { (exit 1); exit 1; }; }
                   16929:   fi
                   16930: else
                   16931:   with_ltdl_lib=no
                   16932: fi
                   16933: 
                   16934: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16935:   ,yes,no,no,)
                   16936:        case $enable_ltdl_convenience in
                   16937:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   16938: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   16939:    { (exit 1); exit 1; }; } ;;
                   16940:   "") enable_ltdl_convenience=yes
                   16941:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16942: esac
                   16943: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   16944: LTDLDEPS=$LIBLTDL
                   16945: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16946: 
                   16947: 
                   16948: 
                   16949: 
                   16950: 
                   16951: # For backwards non-gettext consistent compatibility...
                   16952: INCLTDL="$LTDLINCL"
                   16953: 
                   16954: 
                   16955:        ;;
                   16956:   ,no,no,no,)
                   16957:        # If the included ltdl is not to be used, then use the
                   16958:        # preinstalled libltdl we found.
                   16959: 
                   16960: cat >>confdefs.h <<\_ACEOF
                   16961: #define HAVE_LTDL 1
                   16962: _ACEOF
                   16963: 
                   16964:        LIBLTDL=-lltdl
                   16965:        LTDLDEPS=
                   16966:        LTDLINCL=
                   16967:        ;;
                   16968:   ,no*,no,*)
                   16969:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   16970: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
                   16971:    { (exit 1); exit 1; }; }
                   16972:        ;;
                   16973:   *)   with_included_ltdl=no
                   16974:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16975:        LTDLDEPS=
                   16976:        LTDLINCL="-I$with_ltdl_include"
                   16977:        ;;
                   16978: esac
                   16979: INCLTDL="$LTDLINCL"
                   16980: 
                   16981: # Report our decision...
                   16982: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   16983: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   16984: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   16985: echo "${ECHO_T}$LTDLINCL" >&6
                   16986: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   16987: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   16988: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   16989: echo "${ECHO_T}$LIBLTDL" >&6
                   16990: 
                   16991: 
                   16992: 
                   16993: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   16994: if test "${enable_ltdl_install+set}" = set; then
                   16995:   enableval="$enable_ltdl_install"
                   16996: 
                   16997: fi;
                   16998: 
                   16999: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17000:   *yes*) ;;
                   17001:   *) enable_ltdl_convenience=yes ;;
                   17002: esac
                   17003: 
                   17004: 
                   17005: 
                   17006: if test x"${enable_ltdl_install-no}" != xno; then
                   17007:   INSTALL_LTDL_TRUE=
                   17008:   INSTALL_LTDL_FALSE='#'
                   17009: else
                   17010:   INSTALL_LTDL_TRUE='#'
                   17011:   INSTALL_LTDL_FALSE=
                   17012: fi
                   17013: 
                   17014: 
                   17015: 
                   17016: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17017:   CONVENIENCE_LTDL_TRUE=
                   17018:   CONVENIENCE_LTDL_FALSE='#'
                   17019: else
                   17020:   CONVENIENCE_LTDL_TRUE='#'
                   17021:   CONVENIENCE_LTDL_FALSE=
                   17022: fi
                   17023: 
                   17024: 
                   17025: 
                   17026: 
                   17027: 
                   17028: subdirs="$subdirs libltdl"
                   17029: 
                   17030: 
                   17031: 
                   17032: 
                   17033: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17034: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17035: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17036: # definitions required by ltdl.c.
                   17037: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17038: 
                   17039: 
                   17040: 
                   17041: 
                   17042: 
                   17043: 
                   17044: 
                   17045: 
                   17046: 
                   17047: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17048: do
                   17049: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17050: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17051: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17052: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17053:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17054: else
                   17055:   cat >conftest.$ac_ext <<_ACEOF
                   17056: /* confdefs.h.  */
                   17057: _ACEOF
                   17058: cat confdefs.h >>conftest.$ac_ext
                   17059: cat >>conftest.$ac_ext <<_ACEOF
                   17060: /* end confdefs.h.  */
                   17061: $ac_includes_default
                   17062: 
                   17063: #include <$ac_header>
                   17064: _ACEOF
                   17065: rm -f conftest.$ac_objext
                   17066: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17067:   (eval $ac_compile) 2>conftest.er1
                   17068:   ac_status=$?
                   17069:   grep -v '^ *+' conftest.er1 >conftest.err
                   17070:   rm -f conftest.er1
                   17071:   cat conftest.err >&5
                   17072:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17073:   (exit $ac_status); } &&
                   17074:         { ac_try='test -z "$ac_c_werror_flag"
                   17075:                         || test ! -s conftest.err'
                   17076:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17077:   (eval $ac_try) 2>&5
                   17078:   ac_status=$?
                   17079:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17080:   (exit $ac_status); }; } &&
                   17081:         { ac_try='test -s conftest.$ac_objext'
                   17082:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17083:   (eval $ac_try) 2>&5
                   17084:   ac_status=$?
                   17085:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17086:   (exit $ac_status); }; }; then
                   17087:   eval "$as_ac_Header=yes"
                   17088: else
                   17089:   echo "$as_me: failed program was:" >&5
                   17090: sed 's/^/| /' conftest.$ac_ext >&5
                   17091: 
                   17092: eval "$as_ac_Header=no"
                   17093: fi
                   17094: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17095: fi
                   17096: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17097: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17098: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17099:   cat >>confdefs.h <<_ACEOF
                   17100: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17101: _ACEOF
                   17102: 
                   17103: fi
                   17104: 
                   17105: done
                   17106: 
                   17107: 
                   17108: 
                   17109: 
                   17110: 
                   17111: for ac_func in closedir opendir readdir
                   17112: do
                   17113: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17114: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17115: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17116: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17117:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17118: else
                   17119:   cat >conftest.$ac_ext <<_ACEOF
                   17120: /* confdefs.h.  */
                   17121: _ACEOF
                   17122: cat confdefs.h >>conftest.$ac_ext
                   17123: cat >>conftest.$ac_ext <<_ACEOF
                   17124: /* end confdefs.h.  */
                   17125: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17126:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17127: #define $ac_func innocuous_$ac_func
                   17128: 
                   17129: /* System header to define __stub macros and hopefully few prototypes,
                   17130:     which can conflict with char $ac_func (); below.
                   17131:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17132:     <limits.h> exists even on freestanding compilers.  */
                   17133: 
                   17134: #ifdef __STDC__
                   17135: # include <limits.h>
                   17136: #else
                   17137: # include <assert.h>
                   17138: #endif
                   17139: 
                   17140: #undef $ac_func
                   17141: 
                   17142: /* Override any gcc2 internal prototype to avoid an error.  */
                   17143: #ifdef __cplusplus
                   17144: extern "C"
                   17145: {
                   17146: #endif
                   17147: /* We use char because int might match the return type of a gcc2
                   17148:    builtin and then its argument prototype would still apply.  */
                   17149: char $ac_func ();
                   17150: /* The GNU C library defines this for functions which it implements
                   17151:     to always fail with ENOSYS.  Some functions are actually named
                   17152:     something starting with __ and the normal name is an alias.  */
                   17153: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17154: choke me
                   17155: #else
                   17156: char (*f) () = $ac_func;
                   17157: #endif
                   17158: #ifdef __cplusplus
                   17159: }
                   17160: #endif
                   17161: 
                   17162: int
                   17163: main ()
                   17164: {
                   17165: return f != $ac_func;
                   17166:   ;
                   17167:   return 0;
                   17168: }
                   17169: _ACEOF
                   17170: rm -f conftest.$ac_objext conftest$ac_exeext
                   17171: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17172:   (eval $ac_link) 2>conftest.er1
                   17173:   ac_status=$?
                   17174:   grep -v '^ *+' conftest.er1 >conftest.err
                   17175:   rm -f conftest.er1
                   17176:   cat conftest.err >&5
                   17177:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17178:   (exit $ac_status); } &&
                   17179:         { ac_try='test -z "$ac_c_werror_flag"
                   17180:                         || test ! -s conftest.err'
                   17181:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17182:   (eval $ac_try) 2>&5
                   17183:   ac_status=$?
                   17184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17185:   (exit $ac_status); }; } &&
                   17186:         { ac_try='test -s conftest$ac_exeext'
                   17187:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17188:   (eval $ac_try) 2>&5
                   17189:   ac_status=$?
                   17190:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17191:   (exit $ac_status); }; }; then
                   17192:   eval "$as_ac_var=yes"
                   17193: else
                   17194:   echo "$as_me: failed program was:" >&5
                   17195: sed 's/^/| /' conftest.$ac_ext >&5
                   17196: 
                   17197: eval "$as_ac_var=no"
                   17198: fi
                   17199: rm -f conftest.err conftest.$ac_objext \
                   17200:       conftest$ac_exeext conftest.$ac_ext
                   17201: fi
                   17202: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17203: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17204: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17205:   cat >>confdefs.h <<_ACEOF
                   17206: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17207: _ACEOF
                   17208: 
                   17209: else
                   17210: 
                   17211: 
                   17212:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
                   17213: 
                   17214: fi
                   17215: done
                   17216: 
                   17217: 
                   17218: 
                   17219: for ac_func in strlcat strlcpy
                   17220: do
                   17221: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17222: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17223: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17224: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17225:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17226: else
                   17227:   cat >conftest.$ac_ext <<_ACEOF
                   17228: /* confdefs.h.  */
                   17229: _ACEOF
                   17230: cat confdefs.h >>conftest.$ac_ext
                   17231: cat >>conftest.$ac_ext <<_ACEOF
                   17232: /* end confdefs.h.  */
                   17233: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17234:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17235: #define $ac_func innocuous_$ac_func
                   17236: 
                   17237: /* System header to define __stub macros and hopefully few prototypes,
                   17238:     which can conflict with char $ac_func (); below.
                   17239:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17240:     <limits.h> exists even on freestanding compilers.  */
                   17241: 
                   17242: #ifdef __STDC__
                   17243: # include <limits.h>
                   17244: #else
                   17245: # include <assert.h>
                   17246: #endif
                   17247: 
                   17248: #undef $ac_func
                   17249: 
                   17250: /* Override any gcc2 internal prototype to avoid an error.  */
                   17251: #ifdef __cplusplus
                   17252: extern "C"
                   17253: {
                   17254: #endif
                   17255: /* We use char because int might match the return type of a gcc2
                   17256:    builtin and then its argument prototype would still apply.  */
                   17257: char $ac_func ();
                   17258: /* The GNU C library defines this for functions which it implements
                   17259:     to always fail with ENOSYS.  Some functions are actually named
                   17260:     something starting with __ and the normal name is an alias.  */
                   17261: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17262: choke me
                   17263: #else
                   17264: char (*f) () = $ac_func;
                   17265: #endif
                   17266: #ifdef __cplusplus
                   17267: }
                   17268: #endif
                   17269: 
                   17270: int
                   17271: main ()
                   17272: {
                   17273: return f != $ac_func;
                   17274:   ;
                   17275:   return 0;
                   17276: }
                   17277: _ACEOF
                   17278: rm -f conftest.$ac_objext conftest$ac_exeext
                   17279: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17280:   (eval $ac_link) 2>conftest.er1
                   17281:   ac_status=$?
                   17282:   grep -v '^ *+' conftest.er1 >conftest.err
                   17283:   rm -f conftest.er1
                   17284:   cat conftest.err >&5
                   17285:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17286:   (exit $ac_status); } &&
                   17287:         { ac_try='test -z "$ac_c_werror_flag"
                   17288:                         || test ! -s conftest.err'
                   17289:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17290:   (eval $ac_try) 2>&5
                   17291:   ac_status=$?
                   17292:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17293:   (exit $ac_status); }; } &&
                   17294:         { ac_try='test -s conftest$ac_exeext'
                   17295:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17296:   (eval $ac_try) 2>&5
                   17297:   ac_status=$?
                   17298:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17299:   (exit $ac_status); }; }; then
                   17300:   eval "$as_ac_var=yes"
                   17301: else
                   17302:   echo "$as_me: failed program was:" >&5
                   17303: sed 's/^/| /' conftest.$ac_ext >&5
                   17304: 
                   17305: eval "$as_ac_var=no"
                   17306: fi
                   17307: rm -f conftest.err conftest.$ac_objext \
                   17308:       conftest$ac_exeext conftest.$ac_ext
                   17309: fi
                   17310: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17311: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17312: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17313:   cat >>confdefs.h <<_ACEOF
                   17314: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17315: _ACEOF
                   17316: 
                   17317: else
                   17318: 
                   17319: 
                   17320:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17321: 
                   17322: fi
                   17323: done
                   17324: 
                   17325: 
                   17326: 
                   17327: cat >>confdefs.h <<_ACEOF
                   17328: #define LT_LIBEXT "$libext"
                   17329: _ACEOF
                   17330: 
                   17331: 
                   17332: name=
                   17333: eval "lt_libprefix=\"$libname_spec\""
                   17334: 
                   17335: cat >>confdefs.h <<_ACEOF
                   17336: #define LT_LIBPREFIX "$lt_libprefix"
                   17337: _ACEOF
                   17338: 
                   17339: 
                   17340: name=ltdl
                   17341: eval "LTDLOPEN=\"$libname_spec\""
                   17342: 
                   17343: 
                   17344: 
                   17345: 
                   17346: 
                   17347: 
                   17348: 
                   17349: 
                   17350: # Only expand once:
                   17351: 
                   17352: 
                   17353: 
                   17354: # Check whether --enable-static or --disable-static was given.
                   17355: if test "${enable_static+set}" = set; then
                   17356:   enableval="$enable_static"
                   17357:   p=${PACKAGE-default}
                   17358:     case $enableval in
                   17359:     yes) enable_static=yes ;;
                   17360:     no) enable_static=no ;;
                   17361:     *)
                   17362:      enable_static=no
                   17363:       # Look at the argument we got.  We use all the common list separators.
                   17364:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   17365:       for pkg in $enableval; do
                   17366:        IFS="$lt_save_ifs"
                   17367:        if test "X$pkg" = "X$p"; then
                   17368:          enable_static=yes
                   17369:        fi
                   17370:       done
                   17371:       IFS="$lt_save_ifs"
                   17372:       ;;
                   17373:     esac
                   17374: else
                   17375:   enable_static=no
                   17376: fi;
                   17377: 
                   17378: 
                   17379: 
                   17380: 
                   17381: 
                   17382: 
                   17383: 
                   17384: 
                   17385: 
                   17386: 
                   17387: 
                   17388: 
                   17389: for ac_header in stdio.h \
                   17390: stdlib.h \
                   17391: string.h \
                   17392: setjmp.h \
                   17393: ctype.h
                   17394: 
                   17395: do
                   17396: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17397: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17398:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17399: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17400: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17401:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17402: fi
                   17403: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17404: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17405: else
                   17406:   # Is the header compilable?
                   17407: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   17408: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   17409: cat >conftest.$ac_ext <<_ACEOF
                   17410: /* confdefs.h.  */
                   17411: _ACEOF
                   17412: cat confdefs.h >>conftest.$ac_ext
                   17413: cat >>conftest.$ac_ext <<_ACEOF
                   17414: /* end confdefs.h.  */
                   17415: $ac_includes_default
                   17416: #include <$ac_header>
                   17417: _ACEOF
                   17418: rm -f conftest.$ac_objext
                   17419: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17420:   (eval $ac_compile) 2>conftest.er1
                   17421:   ac_status=$?
                   17422:   grep -v '^ *+' conftest.er1 >conftest.err
                   17423:   rm -f conftest.er1
                   17424:   cat conftest.err >&5
                   17425:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17426:   (exit $ac_status); } &&
                   17427:         { ac_try='test -z "$ac_c_werror_flag"
                   17428:                         || test ! -s conftest.err'
                   17429:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17430:   (eval $ac_try) 2>&5
                   17431:   ac_status=$?
                   17432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17433:   (exit $ac_status); }; } &&
                   17434:         { ac_try='test -s conftest.$ac_objext'
                   17435:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17436:   (eval $ac_try) 2>&5
                   17437:   ac_status=$?
                   17438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17439:   (exit $ac_status); }; }; then
                   17440:   ac_header_compiler=yes
                   17441: else
                   17442:   echo "$as_me: failed program was:" >&5
                   17443: sed 's/^/| /' conftest.$ac_ext >&5
                   17444: 
                   17445: ac_header_compiler=no
                   17446: fi
                   17447: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17448: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   17449: echo "${ECHO_T}$ac_header_compiler" >&6
                   17450: 
                   17451: # Is the header present?
                   17452: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   17453: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   17454: cat >conftest.$ac_ext <<_ACEOF
                   17455: /* confdefs.h.  */
                   17456: _ACEOF
                   17457: cat confdefs.h >>conftest.$ac_ext
                   17458: cat >>conftest.$ac_ext <<_ACEOF
                   17459: /* end confdefs.h.  */
                   17460: #include <$ac_header>
                   17461: _ACEOF
                   17462: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   17463:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   17464:   ac_status=$?
                   17465:   grep -v '^ *+' conftest.er1 >conftest.err
                   17466:   rm -f conftest.er1
                   17467:   cat conftest.err >&5
                   17468:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17469:   (exit $ac_status); } >/dev/null; then
                   17470:   if test -s conftest.err; then
                   17471:     ac_cpp_err=$ac_c_preproc_warn_flag
                   17472:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   17473:   else
                   17474:     ac_cpp_err=
                   17475:   fi
                   17476: else
                   17477:   ac_cpp_err=yes
                   17478: fi
                   17479: if test -z "$ac_cpp_err"; then
                   17480:   ac_header_preproc=yes
                   17481: else
                   17482:   echo "$as_me: failed program was:" >&5
                   17483: sed 's/^/| /' conftest.$ac_ext >&5
                   17484: 
                   17485:   ac_header_preproc=no
                   17486: fi
                   17487: rm -f conftest.err conftest.$ac_ext
                   17488: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   17489: echo "${ECHO_T}$ac_header_preproc" >&6
                   17490: 
                   17491: # So?  What about this header?
                   17492: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   17493:   yes:no: )
                   17494:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   17495: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   17496:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   17497: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   17498:     ac_header_preproc=yes
                   17499:     ;;
                   17500:   no:yes:* )
                   17501:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   17502: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   17503:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   17504: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   17505:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   17506: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   17507:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   17508: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   17509:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   17510: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   17511:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   17512: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   17513:     (
                   17514:       cat <<\_ASBOX
                   17515: ## ----------------------------------------- ##
                   17516: ## Report this to the parser3pgsql.C lists.  ##
                   17517: ## ----------------------------------------- ##
                   17518: _ASBOX
                   17519:     ) |
                   17520:       sed "s/^/$as_me: WARNING:     /" >&2
                   17521:     ;;
                   17522: esac
                   17523: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17524: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17525: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17526:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17527: else
                   17528:   eval "$as_ac_Header=\$ac_header_preproc"
                   17529: fi
                   17530: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17531: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17532: 
                   17533: fi
                   17534: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17535:   cat >>confdefs.h <<_ACEOF
                   17536: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17537: _ACEOF
                   17538: 
                   17539: fi
                   17540: 
                   17541: done
                   17542: 
                   17543: 
                   17544: echo "$as_me:$LINENO: checking for size_t" >&5
                   17545: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   17546: if test "${ac_cv_type_size_t+set}" = set; then
                   17547:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17548: else
                   17549:   cat >conftest.$ac_ext <<_ACEOF
                   17550: /* confdefs.h.  */
                   17551: _ACEOF
                   17552: cat confdefs.h >>conftest.$ac_ext
                   17553: cat >>conftest.$ac_ext <<_ACEOF
                   17554: /* end confdefs.h.  */
                   17555: $ac_includes_default
                   17556: int
                   17557: main ()
                   17558: {
                   17559: if ((size_t *) 0)
                   17560:   return 0;
                   17561: if (sizeof (size_t))
                   17562:   return 0;
                   17563:   ;
                   17564:   return 0;
                   17565: }
                   17566: _ACEOF
                   17567: rm -f conftest.$ac_objext
                   17568: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17569:   (eval $ac_compile) 2>conftest.er1
                   17570:   ac_status=$?
                   17571:   grep -v '^ *+' conftest.er1 >conftest.err
                   17572:   rm -f conftest.er1
                   17573:   cat conftest.err >&5
                   17574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17575:   (exit $ac_status); } &&
                   17576:         { ac_try='test -z "$ac_c_werror_flag"
                   17577:                         || test ! -s conftest.err'
                   17578:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17579:   (eval $ac_try) 2>&5
                   17580:   ac_status=$?
                   17581:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17582:   (exit $ac_status); }; } &&
                   17583:         { ac_try='test -s conftest.$ac_objext'
                   17584:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17585:   (eval $ac_try) 2>&5
                   17586:   ac_status=$?
                   17587:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17588:   (exit $ac_status); }; }; then
                   17589:   ac_cv_type_size_t=yes
                   17590: else
                   17591:   echo "$as_me: failed program was:" >&5
                   17592: sed 's/^/| /' conftest.$ac_ext >&5
                   17593: 
                   17594: ac_cv_type_size_t=no
                   17595: fi
                   17596: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17597: fi
                   17598: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   17599: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   17600: if test $ac_cv_type_size_t = yes; then
                   17601:   :
                   17602: else
                   17603: 
                   17604: cat >>confdefs.h <<_ACEOF
                   17605: #define size_t unsigned
                   17606: _ACEOF
                   17607: 
                   17608: fi
                   17609: 
                   17610: 
                   17611: 
                   17612:           ac_config_files="$ac_config_files Makefile"
                   17613: cat >confcache <<\_ACEOF
                   17614: # This file is a shell script that caches the results of configure
                   17615: # tests run on this system so they can be shared between configure
                   17616: # scripts and configure runs, see configure's option --config-cache.
                   17617: # It is not useful on other systems.  If it contains results you don't
                   17618: # want to keep, you may remove or edit it.
                   17619: #
                   17620: # config.status only pays attention to the cache file if you give it
                   17621: # the --recheck option to rerun configure.
                   17622: #
                   17623: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   17624: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   17625: # following values.
                   17626: 
                   17627: _ACEOF
                   17628: 
                   17629: # The following way of writing the cache mishandles newlines in values,
                   17630: # but we know of no workaround that is simple, portable, and efficient.
                   17631: # So, don't put newlines in cache variables' values.
                   17632: # Ultrix sh set writes to stderr and can't be redirected directly,
                   17633: # and sets the high bit in the cache file unless we assign to the vars.
                   17634: {
                   17635:   (set) 2>&1 |
                   17636:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   17637:     *ac_space=\ *)
                   17638:       # `set' does not quote correctly, so add quotes (double-quote
                   17639:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   17640:       sed -n \
                   17641:        "s/'/'\\\\''/g;
                   17642:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   17643:       ;;
                   17644:     *)
                   17645:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   17646:       sed -n \
                   17647:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   17648:       ;;
                   17649:     esac;
                   17650: } |
                   17651:   sed '
                   17652:      t clear
                   17653:      : clear
                   17654:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   17655:      t end
                   17656:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   17657:      : end' >>confcache
                   17658: if diff $cache_file confcache >/dev/null 2>&1; then :; else
                   17659:   if test -w $cache_file; then
                   17660:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   17661:     cat confcache >$cache_file
                   17662:   else
                   17663:     echo "not updating unwritable cache $cache_file"
                   17664:   fi
                   17665: fi
                   17666: rm -f confcache
                   17667: 
                   17668: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   17669: # Let make expand exec_prefix.
                   17670: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   17671: 
                   17672: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   17673: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   17674: # trailing colons and then remove the whole line if VPATH becomes empty
                   17675: # (actually we leave an empty line to preserve line numbers).
                   17676: if test "x$srcdir" = x.; then
                   17677:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
                   17678: s/:*\$(srcdir):*/:/;
                   17679: s/:*\${srcdir}:*/:/;
                   17680: s/:*@srcdir@:*/:/;
                   17681: s/^\([^=]*=[    ]*\):*/\1/;
                   17682: s/:*$//;
                   17683: s/^[^=]*=[      ]*$//;
                   17684: }'
                   17685: fi
                   17686: 
                   17687: DEFS=-DHAVE_CONFIG_H
                   17688: 
                   17689: ac_libobjs=
                   17690: ac_ltlibobjs=
                   17691: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   17692:   # 1. Remove the extension, and $U if already installed.
                   17693:   ac_i=`echo "$ac_i" |
                   17694:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   17695:   # 2. Add them.
                   17696:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   17697:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   17698: done
                   17699: LIBOBJS=$ac_libobjs
                   17700: 
                   17701: LTLIBOBJS=$ac_ltlibobjs
                   17702: 
                   17703: 
                   17704: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   17705:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   17706: Usually this means the macro was only invoked conditionally." >&5
                   17707: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   17708: Usually this means the macro was only invoked conditionally." >&2;}
                   17709:    { (exit 1); exit 1; }; }
                   17710: fi
                   17711: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   17712:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
                   17713: Usually this means the macro was only invoked conditionally." >&5
                   17714: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
                   17715: Usually this means the macro was only invoked conditionally." >&2;}
                   17716:    { (exit 1); exit 1; }; }
                   17717: fi
                   17718: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   17719:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   17720: Usually this means the macro was only invoked conditionally." >&5
                   17721: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   17722: Usually this means the macro was only invoked conditionally." >&2;}
                   17723:    { (exit 1); exit 1; }; }
                   17724: fi
                   17725: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   17726:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   17727: Usually this means the macro was only invoked conditionally." >&5
                   17728: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   17729: Usually this means the macro was only invoked conditionally." >&2;}
                   17730:    { (exit 1); exit 1; }; }
                   17731: fi
                   17732: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   17733:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   17734: Usually this means the macro was only invoked conditionally." >&5
                   17735: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   17736: Usually this means the macro was only invoked conditionally." >&2;}
                   17737:    { (exit 1); exit 1; }; }
                   17738: fi
                   17739: LT_CONFIG_H=`echo " config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
                   17740: 
                   17741:     _ltdl_libobjs=
                   17742:     _ltdl_ltlibobjs=
                   17743:     if test -n "$_LT_LIBOBJS"; then
                   17744:       # Remove the extension.
                   17745:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   17746:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   17747:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   17748:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   17749:       done
                   17750:     fi
                   17751:     ltdl_LIBOBJS=$_ltdl_libobjs
                   17752: 
                   17753:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   17754: 
                   17755: 
                   17756: 
                   17757: : ${CONFIG_STATUS=./config.status}
                   17758: ac_clean_files_save=$ac_clean_files
                   17759: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   17760: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   17761: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   17762: cat >$CONFIG_STATUS <<_ACEOF
                   17763: #! $SHELL
                   17764: # Generated by $as_me.
                   17765: # Run this file to recreate the current configuration.
                   17766: # Compiler output produced by configure, useful for debugging
                   17767: # configure, is in config.log if it exists.
                   17768: 
                   17769: debug=false
                   17770: ac_cs_recheck=false
                   17771: ac_cs_silent=false
                   17772: SHELL=\${CONFIG_SHELL-$SHELL}
                   17773: _ACEOF
                   17774: 
                   17775: cat >>$CONFIG_STATUS <<\_ACEOF
                   17776: ## --------------------- ##
                   17777: ## M4sh Initialization.  ##
                   17778: ## --------------------- ##
                   17779: 
                   17780: # Be Bourne compatible
                   17781: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   17782:   emulate sh
                   17783:   NULLCMD=:
                   17784:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   17785:   # is contrary to our usage.  Disable this feature.
                   17786:   alias -g '${1+"$@"}'='"$@"'
                   17787: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   17788:   set -o posix
                   17789: fi
                   17790: DUALCASE=1; export DUALCASE # for MKS sh
                   17791: 
                   17792: # Support unset when possible.
                   17793: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   17794:   as_unset=unset
                   17795: else
                   17796:   as_unset=false
                   17797: fi
                   17798: 
                   17799: 
                   17800: # Work around bugs in pre-3.0 UWIN ksh.
                   17801: $as_unset ENV MAIL MAILPATH
                   17802: PS1='$ '
                   17803: PS2='> '
                   17804: PS4='+ '
                   17805: 
                   17806: # NLS nuisances.
                   17807: for as_var in \
                   17808:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   17809:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   17810:   LC_TELEPHONE LC_TIME
                   17811: do
                   17812:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   17813:     eval $as_var=C; export $as_var
                   17814:   else
                   17815:     $as_unset $as_var
                   17816:   fi
                   17817: done
                   17818: 
                   17819: # Required to use basename.
                   17820: if expr a : '\(a\)' >/dev/null 2>&1; then
                   17821:   as_expr=expr
                   17822: else
                   17823:   as_expr=false
                   17824: fi
                   17825: 
                   17826: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   17827:   as_basename=basename
                   17828: else
                   17829:   as_basename=false
                   17830: fi
                   17831: 
                   17832: 
                   17833: # Name of the executable.
                   17834: as_me=`$as_basename "$0" ||
                   17835: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   17836:         X"$0" : 'X\(//\)$' \| \
                   17837:         X"$0" : 'X\(/\)$' \| \
                   17838:         .     : '\(.\)' 2>/dev/null ||
                   17839: echo X/"$0" |
                   17840:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   17841:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   17842:          /^X\/\(\/\).*/{ s//\1/; q; }
                   17843:          s/.*/./; q'`
                   17844: 
                   17845: 
                   17846: # PATH needs CR, and LINENO needs CR and PATH.
                   17847: # Avoid depending upon Character Ranges.
                   17848: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   17849: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   17850: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   17851: as_cr_digits='0123456789'
                   17852: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   17853: 
                   17854: # The user is always right.
                   17855: if test "${PATH_SEPARATOR+set}" != set; then
                   17856:   echo "#! /bin/sh" >conf$$.sh
                   17857:   echo  "exit 0"   >>conf$$.sh
                   17858:   chmod +x conf$$.sh
                   17859:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   17860:     PATH_SEPARATOR=';'
                   17861:   else
                   17862:     PATH_SEPARATOR=:
                   17863:   fi
                   17864:   rm -f conf$$.sh
                   17865: fi
                   17866: 
                   17867: 
                   17868:   as_lineno_1=$LINENO
                   17869:   as_lineno_2=$LINENO
                   17870:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   17871:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   17872:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   17873:   # Find who we are.  Look in the path if we contain no path at all
                   17874:   # relative or not.
                   17875:   case $0 in
                   17876:     *[\\/]* ) as_myself=$0 ;;
                   17877:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   17878: for as_dir in $PATH
                   17879: do
                   17880:   IFS=$as_save_IFS
                   17881:   test -z "$as_dir" && as_dir=.
                   17882:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   17883: done
                   17884: 
                   17885:        ;;
                   17886:   esac
                   17887:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   17888:   # in which case we are not to be found in the path.
                   17889:   if test "x$as_myself" = x; then
                   17890:     as_myself=$0
                   17891:   fi
                   17892:   if test ! -f "$as_myself"; then
                   17893:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   17894: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   17895:    { (exit 1); exit 1; }; }
                   17896:   fi
                   17897:   case $CONFIG_SHELL in
                   17898:   '')
                   17899:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   17900: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   17901: do
                   17902:   IFS=$as_save_IFS
                   17903:   test -z "$as_dir" && as_dir=.
                   17904:   for as_base in sh bash ksh sh5; do
                   17905:         case $as_dir in
                   17906:         /*)
                   17907:           if ("$as_dir/$as_base" -c '
                   17908:   as_lineno_1=$LINENO
                   17909:   as_lineno_2=$LINENO
                   17910:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   17911:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   17912:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   17913:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   17914:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   17915:             CONFIG_SHELL=$as_dir/$as_base
                   17916:             export CONFIG_SHELL
                   17917:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   17918:           fi;;
                   17919:         esac
                   17920:        done
                   17921: done
                   17922: ;;
                   17923:   esac
                   17924: 
                   17925:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   17926:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   17927:   # line-number line before each line; the second 'sed' does the real
                   17928:   # work.  The second script uses 'N' to pair each line-number line
                   17929:   # with the numbered line, and appends trailing '-' during
                   17930:   # substitution so that $LINENO is not a special case at line end.
                   17931:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   17932:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   17933:   sed '=' <$as_myself |
                   17934:     sed '
                   17935:       N
                   17936:       s,$,-,
                   17937:       : loop
                   17938:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   17939:       t loop
                   17940:       s,-$,,
                   17941:       s,^['$as_cr_digits']*\n,,
                   17942:     ' >$as_me.lineno &&
                   17943:   chmod +x $as_me.lineno ||
                   17944:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   17945: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   17946:    { (exit 1); exit 1; }; }
                   17947: 
                   17948:   # Don't try to exec as it changes $[0], causing all sort of problems
                   17949:   # (the dirname of $[0] is not the place where we might find the
                   17950:   # original and so on.  Autoconf is especially sensible to this).
                   17951:   . ./$as_me.lineno
                   17952:   # Exit status is that of the last command.
                   17953:   exit
                   17954: }
                   17955: 
                   17956: 
                   17957: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   17958:   *c*,-n*) ECHO_N= ECHO_C='
                   17959: ' ECHO_T='     ' ;;
                   17960:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   17961:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   17962: esac
                   17963: 
                   17964: if expr a : '\(a\)' >/dev/null 2>&1; then
                   17965:   as_expr=expr
                   17966: else
                   17967:   as_expr=false
                   17968: fi
                   17969: 
                   17970: rm -f conf$$ conf$$.exe conf$$.file
                   17971: echo >conf$$.file
                   17972: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   17973:   # We could just check for DJGPP; but this test a) works b) is more generic
                   17974:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   17975:   if test -f conf$$.exe; then
                   17976:     # Don't use ln at all; we don't have any links
                   17977:     as_ln_s='cp -p'
                   17978:   else
                   17979:     as_ln_s='ln -s'
                   17980:   fi
                   17981: elif ln conf$$.file conf$$ 2>/dev/null; then
                   17982:   as_ln_s=ln
                   17983: else
                   17984:   as_ln_s='cp -p'
                   17985: fi
                   17986: rm -f conf$$ conf$$.exe conf$$.file
                   17987: 
                   17988: if mkdir -p . 2>/dev/null; then
                   17989:   as_mkdir_p=:
                   17990: else
                   17991:   test -d ./-p && rmdir ./-p
                   17992:   as_mkdir_p=false
                   17993: fi
                   17994: 
                   17995: as_executable_p="test -f"
                   17996: 
                   17997: # Sed expression to map a string onto a valid CPP name.
                   17998: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   17999: 
                   18000: # Sed expression to map a string onto a valid variable name.
                   18001: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   18002: 
                   18003: 
                   18004: # IFS
                   18005: # We need space, tab and new line, in precisely that order.
                   18006: as_nl='
                   18007: '
                   18008: IFS="  $as_nl"
                   18009: 
                   18010: # CDPATH.
                   18011: $as_unset CDPATH
                   18012: 
                   18013: exec 6>&1
                   18014: 
                   18015: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   18016: # report actual input values of CONFIG_FILES etc. instead of their
                   18017: # values after options handling.  Logging --version etc. is OK.
                   18018: exec 5>>config.log
                   18019: {
                   18020:   echo
                   18021:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   18022: ## Running $as_me. ##
                   18023: _ASBOX
                   18024: } >&5
                   18025: cat >&5 <<_CSEOF
                   18026: 
                   18027: This file was extended by parser3pgsql.C $as_me 10.3, which was
                   18028: generated by GNU Autoconf 2.59.  Invocation command line was
                   18029: 
                   18030:   CONFIG_FILES    = $CONFIG_FILES
                   18031:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18032:   CONFIG_LINKS    = $CONFIG_LINKS
                   18033:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18034:   $ $0 $@
                   18035: 
                   18036: _CSEOF
                   18037: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   18038: echo >&5
                   18039: _ACEOF
                   18040: 
                   18041: # Files that config.status was made for.
                   18042: if test -n "$ac_config_files"; then
                   18043:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   18044: fi
                   18045: 
                   18046: if test -n "$ac_config_headers"; then
                   18047:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   18048: fi
                   18049: 
                   18050: if test -n "$ac_config_links"; then
                   18051:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   18052: fi
                   18053: 
                   18054: if test -n "$ac_config_commands"; then
                   18055:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   18056: fi
                   18057: 
                   18058: cat >>$CONFIG_STATUS <<\_ACEOF
                   18059: 
                   18060: ac_cs_usage="\
                   18061: \`$as_me' instantiates files from templates according to the
                   18062: current configuration.
                   18063: 
                   18064: Usage: $0 [OPTIONS] [FILE]...
                   18065: 
                   18066:   -h, --help       print this help, then exit
                   18067:   -V, --version    print version number, then exit
                   18068:   -q, --quiet      do not print progress messages
                   18069:   -d, --debug      don't remove temporary files
                   18070:       --recheck    update $as_me by reconfiguring in the same conditions
                   18071:   --file=FILE[:TEMPLATE]
                   18072:                   instantiate the configuration file FILE
                   18073:   --header=FILE[:TEMPLATE]
                   18074:                   instantiate the configuration header FILE
                   18075: 
                   18076: Configuration files:
                   18077: $config_files
                   18078: 
                   18079: Configuration headers:
                   18080: $config_headers
                   18081: 
                   18082: Configuration commands:
                   18083: $config_commands
                   18084: 
                   18085: Report bugs to <bug-autoconf@gnu.org>."
                   18086: _ACEOF
                   18087: 
                   18088: cat >>$CONFIG_STATUS <<_ACEOF
                   18089: ac_cs_version="\\
                   18090: parser3pgsql.C config.status 10.3
                   18091: configured by $0, generated by GNU Autoconf 2.59,
                   18092:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   18093: 
                   18094: Copyright (C) 2003 Free Software Foundation, Inc.
                   18095: This config.status script is free software; the Free Software Foundation
                   18096: gives unlimited permission to copy, distribute and modify it."
                   18097: srcdir=$srcdir
                   18098: INSTALL="$INSTALL"
                   18099: _ACEOF
                   18100: 
                   18101: cat >>$CONFIG_STATUS <<\_ACEOF
                   18102: # If no file are specified by the user, then we need to provide default
                   18103: # value.  By we need to know if files were specified by the user.
                   18104: ac_need_defaults=:
                   18105: while test $# != 0
                   18106: do
                   18107:   case $1 in
                   18108:   --*=*)
                   18109:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   18110:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   18111:     ac_shift=:
                   18112:     ;;
                   18113:   -*)
                   18114:     ac_option=$1
                   18115:     ac_optarg=$2
                   18116:     ac_shift=shift
                   18117:     ;;
                   18118:   *) # This is not an option, so the user has probably given explicit
                   18119:      # arguments.
                   18120:      ac_option=$1
                   18121:      ac_need_defaults=false;;
                   18122:   esac
                   18123: 
                   18124:   case $ac_option in
                   18125:   # Handling of the options.
                   18126: _ACEOF
                   18127: cat >>$CONFIG_STATUS <<\_ACEOF
                   18128:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18129:     ac_cs_recheck=: ;;
                   18130:   --version | --vers* | -V )
                   18131:     echo "$ac_cs_version"; exit 0 ;;
                   18132:   --he | --h)
                   18133:     # Conflict between --help and --header
                   18134:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   18135: Try \`$0 --help' for more information." >&5
                   18136: echo "$as_me: error: ambiguous option: $1
                   18137: Try \`$0 --help' for more information." >&2;}
                   18138:    { (exit 1); exit 1; }; };;
                   18139:   --help | --hel | -h )
                   18140:     echo "$ac_cs_usage"; exit 0 ;;
                   18141:   --debug | --d* | -d )
                   18142:     debug=: ;;
                   18143:   --file | --fil | --fi | --f )
                   18144:     $ac_shift
                   18145:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   18146:     ac_need_defaults=false;;
                   18147:   --header | --heade | --head | --hea )
                   18148:     $ac_shift
                   18149:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   18150:     ac_need_defaults=false;;
                   18151:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18152:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18153:     ac_cs_silent=: ;;
                   18154: 
                   18155:   # This is an error.
                   18156:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   18157: Try \`$0 --help' for more information." >&5
                   18158: echo "$as_me: error: unrecognized option: $1
                   18159: Try \`$0 --help' for more information." >&2;}
                   18160:    { (exit 1); exit 1; }; } ;;
                   18161: 
                   18162:   *) ac_config_targets="$ac_config_targets $1" ;;
                   18163: 
                   18164:   esac
                   18165:   shift
                   18166: done
                   18167: 
                   18168: ac_configure_extra_args=
                   18169: 
                   18170: if $ac_cs_silent; then
                   18171:   exec 6>/dev/null
                   18172:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   18173: fi
                   18174: 
                   18175: _ACEOF
                   18176: cat >>$CONFIG_STATUS <<_ACEOF
                   18177: if \$ac_cs_recheck; then
                   18178:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   18179:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   18180: fi
                   18181: 
                   18182: _ACEOF
                   18183: 
                   18184: cat >>$CONFIG_STATUS <<_ACEOF
                   18185: #
                   18186: # INIT-COMMANDS section.
                   18187: #
                   18188: 
                   18189: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18190: 
                   18191: 
                   18192: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18193: # if CDPATH is set.
                   18194: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18195: 
                   18196: sed_quote_subst='$sed_quote_subst'
                   18197: double_quote_subst='$double_quote_subst'
                   18198: delay_variable_subst='$delay_variable_subst'
                   18199: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18200: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   18201: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18202: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18203: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   18204: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   18205: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   18206: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   18207: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18208: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18209: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18210: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18211: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18212: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18213: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18214: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18215: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18216: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18217: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18218: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18219: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18220: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18221: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18222: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18223: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18224: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18225: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18226: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18227: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18228: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18229: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18230: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18231: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18232: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18233: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18234: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18235: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18236: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18237: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18238: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18239: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18240: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18241: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18242: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18243: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18244: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18245: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18246: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18247: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18248: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18249: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18250: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18251: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18252: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18253: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18254: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18255: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18256: 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"`'
                   18257: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18258: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18259: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18260: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18261: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18262: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18263: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18264: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18265: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18266: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18267: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18268: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18269: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18270: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18271: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18272: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18273: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18274: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18275: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18276: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18277: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18278: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18279: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18280: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18281: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18282: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18283: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18284: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18285: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18286: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18287: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18288: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18289: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18290: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18291: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18292: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18293: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18294: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18295: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18296: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18297: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18298: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18299: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18300: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18301: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18302: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18303: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18304: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18305: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18306: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18307: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18308: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18309: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18310: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18311: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18312: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18313: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18314: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18315: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18316: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18317: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18318: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18319: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18320: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18321: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18322: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18323: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18324: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   18325: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   18326: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   18327: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   18328: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   18329: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   18330: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   18331: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   18332: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   18333: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   18334: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   18335: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   18336: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   18337: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18338: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18339: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18340: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   18341: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   18342: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18343: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   18344: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   18345: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   18346: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   18347: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   18348: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   18349: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18350: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18351: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   18352: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18353: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18354: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18355: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18356: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18357: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18358: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   18359: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18360: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18361: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18362: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   18363: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   18364: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   18365: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   18366: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   18367: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   18368: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   18369: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   18370: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   18371: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18372: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18373: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18374: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18375: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18376: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18377: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   18378: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   18379: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18380: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18381: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18382: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18383: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   18384: 
                   18385: LTCC='$LTCC'
                   18386: LTCFLAGS='$LTCFLAGS'
                   18387: compiler='$compiler_DEFAULT'
                   18388: 
                   18389: # A function that is used when there is no print builtin or printf.
                   18390: func_fallback_echo ()
                   18391: {
                   18392:   eval 'cat <<_LTECHO_EOF
                   18393: \$1
                   18394: _LTECHO_EOF'
                   18395: }
                   18396: 
                   18397: # Quote evaled strings.
                   18398: for var in AS \
                   18399: DLLTOOL \
                   18400: OBJDUMP \
                   18401: SHELL \
                   18402: ECHO \
                   18403: PATH_SEPARATOR \
                   18404: SED \
                   18405: GREP \
                   18406: EGREP \
                   18407: FGREP \
                   18408: LD \
                   18409: NM \
                   18410: LN_S \
                   18411: lt_SP2NL \
                   18412: lt_NL2SP \
                   18413: reload_flag \
                   18414: deplibs_check_method \
                   18415: file_magic_cmd \
                   18416: file_magic_glob \
                   18417: want_nocaseglob \
                   18418: sharedlib_from_linklib_cmd \
                   18419: AR \
                   18420: AR_FLAGS \
                   18421: archiver_list_spec \
                   18422: STRIP \
                   18423: RANLIB \
                   18424: CC \
                   18425: CFLAGS \
                   18426: compiler \
                   18427: lt_cv_sys_global_symbol_pipe \
                   18428: lt_cv_sys_global_symbol_to_cdecl \
                   18429: lt_cv_sys_global_symbol_to_c_name_address \
                   18430: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   18431: nm_file_list_spec \
                   18432: lt_prog_compiler_no_builtin_flag \
                   18433: lt_prog_compiler_pic \
                   18434: lt_prog_compiler_wl \
                   18435: lt_prog_compiler_static \
                   18436: lt_cv_prog_compiler_c_o \
                   18437: need_locks \
                   18438: MANIFEST_TOOL \
                   18439: DSYMUTIL \
                   18440: NMEDIT \
                   18441: LIPO \
                   18442: OTOOL \
                   18443: OTOOL64 \
                   18444: shrext_cmds \
                   18445: export_dynamic_flag_spec \
                   18446: whole_archive_flag_spec \
                   18447: compiler_needs_object \
                   18448: with_gnu_ld \
                   18449: allow_undefined_flag \
                   18450: no_undefined_flag \
                   18451: hardcode_libdir_flag_spec \
                   18452: hardcode_libdir_separator \
                   18453: exclude_expsyms \
                   18454: include_expsyms \
                   18455: file_list_spec \
                   18456: variables_saved_for_relink \
                   18457: libname_spec \
                   18458: library_names_spec \
                   18459: soname_spec \
                   18460: install_override_mode \
                   18461: finish_eval \
                   18462: old_striplib \
                   18463: striplib \
                   18464: compiler_lib_search_dirs \
                   18465: predep_objects \
                   18466: postdep_objects \
                   18467: predeps \
                   18468: postdeps \
                   18469: compiler_lib_search_path \
                   18470: LD_CXX \
                   18471: reload_flag_CXX \
                   18472: compiler_CXX \
                   18473: lt_prog_compiler_no_builtin_flag_CXX \
                   18474: lt_prog_compiler_pic_CXX \
                   18475: lt_prog_compiler_wl_CXX \
                   18476: lt_prog_compiler_static_CXX \
                   18477: lt_cv_prog_compiler_c_o_CXX \
                   18478: export_dynamic_flag_spec_CXX \
                   18479: whole_archive_flag_spec_CXX \
                   18480: compiler_needs_object_CXX \
                   18481: with_gnu_ld_CXX \
                   18482: allow_undefined_flag_CXX \
                   18483: no_undefined_flag_CXX \
                   18484: hardcode_libdir_flag_spec_CXX \
                   18485: hardcode_libdir_separator_CXX \
                   18486: exclude_expsyms_CXX \
                   18487: include_expsyms_CXX \
                   18488: file_list_spec_CXX \
                   18489: compiler_lib_search_dirs_CXX \
                   18490: predep_objects_CXX \
                   18491: postdep_objects_CXX \
                   18492: predeps_CXX \
                   18493: postdeps_CXX \
                   18494: compiler_lib_search_path_CXX; do
                   18495:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   18496:     *[\\\\\\\`\\"\\\$]*)
                   18497:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   18498:       ;;
                   18499:     *)
                   18500:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   18501:       ;;
                   18502:     esac
                   18503: done
                   18504: 
                   18505: # Double-quote double-evaled strings.
                   18506: for var in reload_cmds \
                   18507: old_postinstall_cmds \
                   18508: old_postuninstall_cmds \
                   18509: old_archive_cmds \
                   18510: extract_expsyms_cmds \
                   18511: old_archive_from_new_cmds \
                   18512: old_archive_from_expsyms_cmds \
                   18513: archive_cmds \
                   18514: archive_expsym_cmds \
                   18515: module_cmds \
                   18516: module_expsym_cmds \
                   18517: export_symbols_cmds \
                   18518: prelink_cmds \
                   18519: postlink_cmds \
                   18520: postinstall_cmds \
                   18521: postuninstall_cmds \
                   18522: finish_cmds \
                   18523: sys_lib_search_path_spec \
                   18524: sys_lib_dlsearch_path_spec \
                   18525: reload_cmds_CXX \
                   18526: old_archive_cmds_CXX \
                   18527: old_archive_from_new_cmds_CXX \
                   18528: old_archive_from_expsyms_cmds_CXX \
                   18529: archive_cmds_CXX \
                   18530: archive_expsym_cmds_CXX \
                   18531: module_cmds_CXX \
                   18532: module_expsym_cmds_CXX \
                   18533: export_symbols_cmds_CXX \
                   18534: prelink_cmds_CXX \
                   18535: postlink_cmds_CXX; do
                   18536:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   18537:     *[\\\\\\\`\\"\\\$]*)
                   18538:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   18539:       ;;
                   18540:     *)
                   18541:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   18542:       ;;
                   18543:     esac
                   18544: done
                   18545: 
                   18546: ac_aux_dir='$ac_aux_dir'
                   18547: xsi_shell='$xsi_shell'
                   18548: lt_shell_append='$lt_shell_append'
                   18549: 
                   18550: # See if we are running on zsh, and set the options which allow our
                   18551: # commands through without removal of \ escapes INIT.
                   18552: if test -n "\${ZSH_VERSION+set}" ; then
                   18553:    setopt NO_GLOB_SUBST
                   18554: fi
                   18555: 
                   18556: 
                   18557:     PACKAGE='$PACKAGE'
                   18558:     VERSION='$VERSION'
                   18559:     TIMESTAMP='$TIMESTAMP'
                   18560:     RM='$RM'
                   18561:     ofile='$ofile'
                   18562: 
                   18563: 
                   18564: 
                   18565: 
                   18566: 
                   18567: 
                   18568: _ACEOF
                   18569: 
                   18570: 
                   18571: 
                   18572: cat >>$CONFIG_STATUS <<\_ACEOF
                   18573: for ac_config_target in $ac_config_targets
                   18574: do
                   18575:   case "$ac_config_target" in
                   18576:   # Handling of arguments.
                   18577:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   18578:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   18579:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   18580:   "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   18581:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   18582: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   18583:    { (exit 1); exit 1; }; };;
                   18584:   esac
                   18585: done
                   18586: 
                   18587: # If the user did not use the arguments to specify the items to instantiate,
                   18588: # then the envvar interface is used.  Set only those that are not.
                   18589: # We use the long form for the default assignment because of an extremely
                   18590: # bizarre bug on SunOS 4.1.3.
                   18591: if $ac_need_defaults; then
                   18592:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   18593:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   18594:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   18595: fi
                   18596: 
                   18597: # Have a temporary directory for convenience.  Make it in the build tree
                   18598: # simply because there is no reason to put it here, and in addition,
                   18599: # creating and moving files from /tmp can sometimes cause problems.
                   18600: # Create a temporary directory, and hook for its removal unless debugging.
                   18601: $debug ||
                   18602: {
                   18603:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   18604:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   18605: }
                   18606: 
                   18607: # Create a (secure) tmp directory for tmp files.
                   18608: 
                   18609: {
                   18610:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   18611:   test -n "$tmp" && test -d "$tmp"
                   18612: }  ||
                   18613: {
                   18614:   tmp=./confstat$$-$RANDOM
                   18615:   (umask 077 && mkdir $tmp)
                   18616: } ||
                   18617: {
                   18618:    echo "$me: cannot create a temporary directory in ." >&2
                   18619:    { (exit 1); exit 1; }
                   18620: }
                   18621: 
                   18622: _ACEOF
                   18623: 
                   18624: cat >>$CONFIG_STATUS <<_ACEOF
                   18625: 
                   18626: #
                   18627: # CONFIG_FILES section.
                   18628: #
                   18629: 
                   18630: # No need to generate the scripts if there are no CONFIG_FILES.
                   18631: # This happens for instance when ./config.status config.h
                   18632: if test -n "\$CONFIG_FILES"; then
                   18633:   # Protect against being on the right side of a sed subst in config.status.
                   18634:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   18635:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   18636: s,@SHELL@,$SHELL,;t t
                   18637: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   18638: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   18639: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   18640: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   18641: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   18642: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   18643: s,@exec_prefix@,$exec_prefix,;t t
                   18644: s,@prefix@,$prefix,;t t
                   18645: s,@program_transform_name@,$program_transform_name,;t t
                   18646: s,@bindir@,$bindir,;t t
                   18647: s,@sbindir@,$sbindir,;t t
                   18648: s,@libexecdir@,$libexecdir,;t t
                   18649: s,@datadir@,$datadir,;t t
                   18650: s,@sysconfdir@,$sysconfdir,;t t
                   18651: s,@sharedstatedir@,$sharedstatedir,;t t
                   18652: s,@localstatedir@,$localstatedir,;t t
                   18653: s,@libdir@,$libdir,;t t
                   18654: s,@includedir@,$includedir,;t t
                   18655: s,@oldincludedir@,$oldincludedir,;t t
                   18656: s,@infodir@,$infodir,;t t
                   18657: s,@mandir@,$mandir,;t t
                   18658: s,@build_alias@,$build_alias,;t t
                   18659: s,@host_alias@,$host_alias,;t t
                   18660: s,@target_alias@,$target_alias,;t t
                   18661: s,@DEFS@,$DEFS,;t t
                   18662: s,@ECHO_C@,$ECHO_C,;t t
                   18663: s,@ECHO_N@,$ECHO_N,;t t
                   18664: s,@ECHO_T@,$ECHO_T,;t t
                   18665: s,@LIBS@,$LIBS,;t t
                   18666: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   18667: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   18668: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   18669: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   18670: s,@PACKAGE@,$PACKAGE,;t t
                   18671: s,@VERSION@,$VERSION,;t t
                   18672: s,@ACLOCAL@,$ACLOCAL,;t t
                   18673: s,@AUTOCONF@,$AUTOCONF,;t t
                   18674: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   18675: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   18676: s,@MAKEINFO@,$MAKEINFO,;t t
                   18677: s,@install_sh@,$install_sh,;t t
                   18678: s,@STRIP@,$STRIP,;t t
                   18679: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   18680: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   18681: s,@mkdir_p@,$mkdir_p,;t t
                   18682: s,@AWK@,$AWK,;t t
                   18683: s,@SET_MAKE@,$SET_MAKE,;t t
                   18684: s,@am__leading_dot@,$am__leading_dot,;t t
                   18685: s,@AMTAR@,$AMTAR,;t t
                   18686: s,@am__tar@,$am__tar,;t t
                   18687: s,@am__untar@,$am__untar,;t t
                   18688: s,@PGSQL_INC@,$PGSQL_INC,;t t
                   18689: s,@CXX@,$CXX,;t t
                   18690: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.28    ! moko     18691: s,@LDFLAGS@,$LDFLAGS,;t t
1.23      moko     18692: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   18693: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
                   18694: s,@EXEEXT@,$EXEEXT,;t t
                   18695: s,@OBJEXT@,$OBJEXT,;t t
                   18696: s,@DEPDIR@,$DEPDIR,;t t
                   18697: s,@am__include@,$am__include,;t t
                   18698: s,@am__quote@,$am__quote,;t t
                   18699: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   18700: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   18701: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   18702: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   18703: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   18704: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   18705: s,@CC@,$CC,;t t
                   18706: s,@CFLAGS@,$CFLAGS,;t t
                   18707: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   18708: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   18709: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   18710: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   18711: s,@AS@,$AS,;t t
                   18712: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   18713: s,@DLLTOOL@,$DLLTOOL,;t t
                   18714: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   18715: s,@OBJDUMP@,$OBJDUMP,;t t
                   18716: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   18717: s,@LIBTOOL@,$LIBTOOL,;t t
                   18718: s,@build@,$build,;t t
                   18719: s,@build_cpu@,$build_cpu,;t t
                   18720: s,@build_vendor@,$build_vendor,;t t
                   18721: s,@build_os@,$build_os,;t t
                   18722: s,@host@,$host,;t t
                   18723: s,@host_cpu@,$host_cpu,;t t
                   18724: s,@host_vendor@,$host_vendor,;t t
                   18725: s,@host_os@,$host_os,;t t
                   18726: s,@SED@,$SED,;t t
                   18727: s,@EGREP@,$EGREP,;t t
                   18728: s,@FGREP@,$FGREP,;t t
                   18729: s,@GREP@,$GREP,;t t
                   18730: s,@LD@,$LD,;t t
                   18731: s,@DUMPBIN@,$DUMPBIN,;t t
                   18732: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   18733: s,@NM@,$NM,;t t
                   18734: s,@LN_S@,$LN_S,;t t
                   18735: s,@AR@,$AR,;t t
                   18736: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   18737: s,@RANLIB@,$RANLIB,;t t
                   18738: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   18739: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   18740: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   18741: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   18742: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   18743: s,@NMEDIT@,$NMEDIT,;t t
                   18744: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   18745: s,@LIPO@,$LIPO,;t t
                   18746: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   18747: s,@OTOOL@,$OTOOL,;t t
                   18748: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   18749: s,@OTOOL64@,$OTOOL64,;t t
                   18750: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   18751: s,@CPP@,$CPP,;t t
                   18752: s,@CXXCPP@,$CXXCPP,;t t
                   18753: s,@LIBLTDL@,$LIBLTDL,;t t
                   18754: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   18755: s,@LTDLINCL@,$LTDLINCL,;t t
                   18756: s,@INCLTDL@,$INCLTDL,;t t
                   18757: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   18758: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   18759: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   18760: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   18761: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   18762: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   18763: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   18764: s,@ARGZ_H@,$ARGZ_H,;t t
                   18765: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   18766: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   18767: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   18768: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
                   18769: s,@subdirs@,$subdirs,;t t
                   18770: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   18771: s,@LTDLOPEN@,$LTDLOPEN,;t t
                   18772: s,@LIBOBJS@,$LIBOBJS,;t t
                   18773: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
                   18774: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   18775: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
                   18776: CEOF
                   18777: 
                   18778: _ACEOF
                   18779: 
                   18780:   cat >>$CONFIG_STATUS <<\_ACEOF
                   18781:   # Split the substitutions into bite-sized pieces for seds with
                   18782:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   18783:   ac_max_sed_lines=48
                   18784:   ac_sed_frag=1 # Number of current file.
                   18785:   ac_beg=1 # First line for current file.
                   18786:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   18787:   ac_more_lines=:
                   18788:   ac_sed_cmds=
                   18789:   while $ac_more_lines; do
                   18790:     if test $ac_beg -gt 1; then
                   18791:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   18792:     else
                   18793:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   18794:     fi
                   18795:     if test ! -s $tmp/subs.frag; then
                   18796:       ac_more_lines=false
                   18797:     else
                   18798:       # The purpose of the label and of the branching condition is to
                   18799:       # speed up the sed processing (if there are no `@' at all, there
                   18800:       # is no need to browse any of the substitutions).
                   18801:       # These are the two extra sed commands mentioned above.
                   18802:       (echo ':t
                   18803:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   18804:       if test -z "$ac_sed_cmds"; then
                   18805:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   18806:       else
                   18807:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   18808:       fi
                   18809:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   18810:       ac_beg=$ac_end
                   18811:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   18812:     fi
                   18813:   done
                   18814:   if test -z "$ac_sed_cmds"; then
                   18815:     ac_sed_cmds=cat
                   18816:   fi
                   18817: fi # test -n "$CONFIG_FILES"
                   18818: 
                   18819: _ACEOF
                   18820: cat >>$CONFIG_STATUS <<\_ACEOF
                   18821: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   18822:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   18823:   case $ac_file in
                   18824:   - | *:- | *:-:* ) # input from stdin
                   18825:        cat >$tmp/stdin
                   18826:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   18827:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   18828:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   18829:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   18830:   * )   ac_file_in=$ac_file.in ;;
                   18831:   esac
                   18832: 
                   18833:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   18834:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   18835: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18836:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   18837:         X"$ac_file" : 'X\(//\)$' \| \
                   18838:         X"$ac_file" : 'X\(/\)' \| \
                   18839:         .     : '\(.\)' 2>/dev/null ||
                   18840: echo X"$ac_file" |
                   18841:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   18842:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   18843:          /^X\(\/\/\)$/{ s//\1/; q; }
                   18844:          /^X\(\/\).*/{ s//\1/; q; }
                   18845:          s/.*/./; q'`
                   18846:   { if $as_mkdir_p; then
                   18847:     mkdir -p "$ac_dir"
                   18848:   else
                   18849:     as_dir="$ac_dir"
                   18850:     as_dirs=
                   18851:     while test ! -d "$as_dir"; do
                   18852:       as_dirs="$as_dir $as_dirs"
                   18853:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   18854: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18855:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18856:         X"$as_dir" : 'X\(//\)$' \| \
                   18857:         X"$as_dir" : 'X\(/\)' \| \
                   18858:         .     : '\(.\)' 2>/dev/null ||
                   18859: echo X"$as_dir" |
                   18860:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   18861:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   18862:          /^X\(\/\/\)$/{ s//\1/; q; }
                   18863:          /^X\(\/\).*/{ s//\1/; q; }
                   18864:          s/.*/./; q'`
                   18865:     done
                   18866:     test ! -n "$as_dirs" || mkdir $as_dirs
                   18867:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   18868: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   18869:    { (exit 1); exit 1; }; }; }
                   18870: 
                   18871:   ac_builddir=.
                   18872: 
                   18873: if test "$ac_dir" != .; then
                   18874:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   18875:   # A "../" for each directory in $ac_dir_suffix.
                   18876:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   18877: else
                   18878:   ac_dir_suffix= ac_top_builddir=
                   18879: fi
                   18880: 
                   18881: case $srcdir in
                   18882:   .)  # No --srcdir option.  We are building in place.
                   18883:     ac_srcdir=.
                   18884:     if test -z "$ac_top_builddir"; then
                   18885:        ac_top_srcdir=.
                   18886:     else
                   18887:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   18888:     fi ;;
                   18889:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   18890:     ac_srcdir=$srcdir$ac_dir_suffix;
                   18891:     ac_top_srcdir=$srcdir ;;
                   18892:   *) # Relative path.
                   18893:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   18894:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   18895: esac
                   18896: 
                   18897: # Do not use `cd foo && pwd` to compute absolute paths, because
                   18898: # the directories may not exist.
                   18899: case `pwd` in
                   18900: .) ac_abs_builddir="$ac_dir";;
                   18901: *)
                   18902:   case "$ac_dir" in
                   18903:   .) ac_abs_builddir=`pwd`;;
                   18904:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   18905:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   18906:   esac;;
                   18907: esac
                   18908: case $ac_abs_builddir in
                   18909: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   18910: *)
                   18911:   case ${ac_top_builddir}. in
                   18912:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   18913:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   18914:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   18915:   esac;;
                   18916: esac
                   18917: case $ac_abs_builddir in
                   18918: .) ac_abs_srcdir=$ac_srcdir;;
                   18919: *)
                   18920:   case $ac_srcdir in
                   18921:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   18922:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   18923:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   18924:   esac;;
                   18925: esac
                   18926: case $ac_abs_builddir in
                   18927: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   18928: *)
                   18929:   case $ac_top_srcdir in
                   18930:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   18931:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   18932:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   18933:   esac;;
                   18934: esac
                   18935: 
                   18936: 
                   18937:   case $INSTALL in
                   18938:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   18939:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
                   18940:   esac
                   18941: 
                   18942:   if test x"$ac_file" != x-; then
                   18943:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   18944: echo "$as_me: creating $ac_file" >&6;}
                   18945:     rm -f "$ac_file"
                   18946:   fi
                   18947:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   18948:   # use $as_me), people would be surprised to read:
                   18949:   #    /* config.h.  Generated by config.status.  */
                   18950:   if test x"$ac_file" = x-; then
                   18951:     configure_input=
                   18952:   else
                   18953:     configure_input="$ac_file.  "
                   18954:   fi
                   18955:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   18956:                                     sed 's,.*/,,'` by configure."
                   18957: 
                   18958:   # First look for the input files in the build tree, otherwise in the
                   18959:   # src tree.
                   18960:   ac_file_inputs=`IFS=:
                   18961:     for f in $ac_file_in; do
                   18962:       case $f in
                   18963:       -) echo $tmp/stdin ;;
                   18964:       [\\/$]*)
                   18965:         # Absolute (can't be DOS-style, as IFS=:)
                   18966:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   18967: echo "$as_me: error: cannot find input file: $f" >&2;}
                   18968:    { (exit 1); exit 1; }; }
                   18969:         echo "$f";;
                   18970:       *) # Relative
                   18971:         if test -f "$f"; then
                   18972:           # Build tree
                   18973:           echo "$f"
                   18974:         elif test -f "$srcdir/$f"; then
                   18975:           # Source tree
                   18976:           echo "$srcdir/$f"
                   18977:         else
                   18978:           # /dev/null tree
                   18979:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   18980: echo "$as_me: error: cannot find input file: $f" >&2;}
                   18981:    { (exit 1); exit 1; }; }
                   18982:         fi;;
                   18983:       esac
                   18984:     done` || { (exit 1); exit 1; }
                   18985: _ACEOF
                   18986: cat >>$CONFIG_STATUS <<_ACEOF
                   18987:   sed "$ac_vpsub
                   18988: $extrasub
                   18989: _ACEOF
                   18990: cat >>$CONFIG_STATUS <<\_ACEOF
                   18991: :t
                   18992: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   18993: s,@configure_input@,$configure_input,;t t
                   18994: s,@srcdir@,$ac_srcdir,;t t
                   18995: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   18996: s,@top_srcdir@,$ac_top_srcdir,;t t
                   18997: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   18998: s,@builddir@,$ac_builddir,;t t
                   18999: s,@abs_builddir@,$ac_abs_builddir,;t t
                   19000: s,@top_builddir@,$ac_top_builddir,;t t
                   19001: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   19002: s,@INSTALL@,$ac_INSTALL,;t t
                   19003: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   19004:   rm -f $tmp/stdin
                   19005:   if test x"$ac_file" != x-; then
                   19006:     mv $tmp/out $ac_file
                   19007:   else
                   19008:     cat $tmp/out
                   19009:     rm -f $tmp/out
                   19010:   fi
                   19011: 
                   19012: done
                   19013: _ACEOF
                   19014: cat >>$CONFIG_STATUS <<\_ACEOF
                   19015: 
                   19016: #
                   19017: # CONFIG_HEADER section.
                   19018: #
                   19019: 
                   19020: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   19021: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   19022: #
                   19023: # ac_d sets the value in "#define NAME VALUE" lines.
                   19024: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   19025: ac_dB='[        ].*$,\1#\2'
                   19026: ac_dC=' '
                   19027: ac_dD=',;t'
                   19028: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   19029: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   19030: ac_uB='$,\1#\2define\3'
                   19031: ac_uC=' '
                   19032: ac_uD=',;t'
                   19033: 
                   19034: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
                   19035:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   19036:   case $ac_file in
                   19037:   - | *:- | *:-:* ) # input from stdin
                   19038:        cat >$tmp/stdin
                   19039:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19040:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   19041:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19042:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   19043:   * )   ac_file_in=$ac_file.in ;;
                   19044:   esac
                   19045: 
                   19046:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   19047: echo "$as_me: creating $ac_file" >&6;}
                   19048: 
                   19049:   # First look for the input files in the build tree, otherwise in the
                   19050:   # src tree.
                   19051:   ac_file_inputs=`IFS=:
                   19052:     for f in $ac_file_in; do
                   19053:       case $f in
                   19054:       -) echo $tmp/stdin ;;
                   19055:       [\\/$]*)
                   19056:         # Absolute (can't be DOS-style, as IFS=:)
                   19057:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19058: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19059:    { (exit 1); exit 1; }; }
                   19060:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   19061:         echo "$f";;
                   19062:       *) # Relative
                   19063:         if test -f "$f"; then
                   19064:           # Build tree
                   19065:           echo "$f"
                   19066:         elif test -f "$srcdir/$f"; then
                   19067:           # Source tree
                   19068:           echo "$srcdir/$f"
                   19069:         else
                   19070:           # /dev/null tree
                   19071:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19072: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19073:    { (exit 1); exit 1; }; }
                   19074:         fi;;
                   19075:       esac
                   19076:     done` || { (exit 1); exit 1; }
                   19077:   # Remove the trailing spaces.
                   19078:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
                   19079: 
                   19080: _ACEOF
                   19081: 
                   19082: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   19083: # `conftest.undefs', that substitutes the proper values into
                   19084: # config.h.in to produce config.h.  The first handles `#define'
                   19085: # templates, and the second `#undef' templates.
                   19086: # And first: Protect against being on the right side of a sed subst in
                   19087: # config.status.  Protect against being in an unquoted here document
                   19088: # in config.status.
                   19089: rm -f conftest.defines conftest.undefs
                   19090: # Using a here document instead of a string reduces the quoting nightmare.
                   19091: # Putting comments in sed scripts is not portable.
                   19092: #
                   19093: # `end' is used to avoid that the second main sed command (meant for
                   19094: # 0-ary CPP macros) applies to n-ary macro definitions.
                   19095: # See the Autoconf documentation for `clear'.
                   19096: cat >confdef2sed.sed <<\_ACEOF
                   19097: s/[\\&,]/\\&/g
                   19098: s,[\\$`],\\&,g
                   19099: t clear
                   19100: : clear
                   19101: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   19102: t end
                   19103: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   19104: : end
                   19105: _ACEOF
                   19106: # If some macros were called several times there might be several times
                   19107: # the same #defines, which is useless.  Nevertheless, we may not want to
                   19108: # sort them, since we want the *last* AC-DEFINE to be honored.
                   19109: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   19110: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   19111: rm -f confdef2sed.sed
                   19112: 
                   19113: # This sed command replaces #undef with comments.  This is necessary, for
                   19114: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   19115: # on some systems where configure will not decide to define it.
                   19116: cat >>conftest.undefs <<\_ACEOF
                   19117: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   19118: _ACEOF
                   19119: 
                   19120: # Break up conftest.defines 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 #define templates only if necessary.' >>$CONFIG_STATUS
                   19123: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   19124: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   19125: echo '  :' >>$CONFIG_STATUS
                   19126: rm -f conftest.tail
                   19127: while grep . conftest.defines >/dev/null
                   19128: do
                   19129:   # Write a limited-size here document to $tmp/defines.sed.
                   19130:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   19131:   # Speed up: don't consider the non `#define' lines.
                   19132:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   19133:   # Work around the forget-to-reset-the-flag bug.
                   19134:   echo 't clr' >>$CONFIG_STATUS
                   19135:   echo ': clr' >>$CONFIG_STATUS
                   19136:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   19137:   echo 'CEOF
                   19138:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   19139:   rm -f $tmp/in
                   19140:   mv $tmp/out $tmp/in
                   19141: ' >>$CONFIG_STATUS
                   19142:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   19143:   rm -f conftest.defines
                   19144:   mv conftest.tail conftest.defines
                   19145: done
                   19146: rm -f conftest.defines
                   19147: echo '  fi # grep' >>$CONFIG_STATUS
                   19148: echo >>$CONFIG_STATUS
                   19149: 
                   19150: # Break up conftest.undefs because some shells have a limit on the size
                   19151: # of here documents, and old seds have small limits too (100 cmds).
                   19152: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
                   19153: rm -f conftest.tail
                   19154: while grep . conftest.undefs >/dev/null
                   19155: do
                   19156:   # Write a limited-size here document to $tmp/undefs.sed.
                   19157:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   19158:   # Speed up: don't consider the non `#undef'
                   19159:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   19160:   # Work around the forget-to-reset-the-flag bug.
                   19161:   echo 't clr' >>$CONFIG_STATUS
                   19162:   echo ': clr' >>$CONFIG_STATUS
                   19163:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
                   19164:   echo 'CEOF
                   19165:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   19166:   rm -f $tmp/in
                   19167:   mv $tmp/out $tmp/in
                   19168: ' >>$CONFIG_STATUS
                   19169:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   19170:   rm -f conftest.undefs
                   19171:   mv conftest.tail conftest.undefs
                   19172: done
                   19173: rm -f conftest.undefs
                   19174: 
                   19175: cat >>$CONFIG_STATUS <<\_ACEOF
                   19176:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19177:   # use $as_me), people would be surprised to read:
                   19178:   #    /* config.h.  Generated by config.status.  */
                   19179:   if test x"$ac_file" = x-; then
                   19180:     echo "/* Generated by configure.  */" >$tmp/config.h
                   19181:   else
                   19182:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   19183:   fi
                   19184:   cat $tmp/in >>$tmp/config.h
                   19185:   rm -f $tmp/in
                   19186:   if test x"$ac_file" != x-; then
                   19187:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   19188:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   19189: echo "$as_me: $ac_file is unchanged" >&6;}
                   19190:     else
                   19191:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   19192: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19193:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19194:         X"$ac_file" : 'X\(//\)$' \| \
                   19195:         X"$ac_file" : 'X\(/\)' \| \
                   19196:         .     : '\(.\)' 2>/dev/null ||
                   19197: echo X"$ac_file" |
                   19198:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19199:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19200:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19201:          /^X\(\/\).*/{ s//\1/; q; }
                   19202:          s/.*/./; q'`
                   19203:       { if $as_mkdir_p; then
                   19204:     mkdir -p "$ac_dir"
                   19205:   else
                   19206:     as_dir="$ac_dir"
                   19207:     as_dirs=
                   19208:     while test ! -d "$as_dir"; do
                   19209:       as_dirs="$as_dir $as_dirs"
                   19210:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19211: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19212:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19213:         X"$as_dir" : 'X\(//\)$' \| \
                   19214:         X"$as_dir" : 'X\(/\)' \| \
                   19215:         .     : '\(.\)' 2>/dev/null ||
                   19216: echo X"$as_dir" |
                   19217:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19218:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19219:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19220:          /^X\(\/\).*/{ s//\1/; q; }
                   19221:          s/.*/./; q'`
                   19222:     done
                   19223:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19224:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   19225: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   19226:    { (exit 1); exit 1; }; }; }
                   19227: 
                   19228:       rm -f $ac_file
                   19229:       mv $tmp/config.h $ac_file
                   19230:     fi
                   19231:   else
                   19232:     cat $tmp/config.h
                   19233:     rm -f $tmp/config.h
                   19234:   fi
                   19235: # Compute $ac_file's index in $config_headers.
                   19236: _am_stamp_count=1
                   19237: for _am_header in $config_headers :; do
                   19238:   case $_am_header in
                   19239:     $ac_file | $ac_file:* )
                   19240:       break ;;
                   19241:     * )
                   19242:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19243:   esac
                   19244: done
                   19245: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   19246: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19247:         X$ac_file : 'X\(//\)[^/]' \| \
                   19248:         X$ac_file : 'X\(//\)$' \| \
                   19249:         X$ac_file : 'X\(/\)' \| \
                   19250:         .     : '\(.\)' 2>/dev/null ||
                   19251: echo X$ac_file |
                   19252:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19253:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19254:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19255:          /^X\(\/\).*/{ s//\1/; q; }
                   19256:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   19257: done
                   19258: _ACEOF
                   19259: cat >>$CONFIG_STATUS <<\_ACEOF
                   19260: 
                   19261: #
                   19262: # CONFIG_COMMANDS section.
                   19263: #
                   19264: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   19265:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   19266:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19267:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   19268: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19269:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   19270:         X"$ac_dest" : 'X\(//\)$' \| \
                   19271:         X"$ac_dest" : 'X\(/\)' \| \
                   19272:         .     : '\(.\)' 2>/dev/null ||
                   19273: echo X"$ac_dest" |
                   19274:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19275:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19276:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19277:          /^X\(\/\).*/{ s//\1/; q; }
                   19278:          s/.*/./; q'`
                   19279:   { if $as_mkdir_p; then
                   19280:     mkdir -p "$ac_dir"
                   19281:   else
                   19282:     as_dir="$ac_dir"
                   19283:     as_dirs=
                   19284:     while test ! -d "$as_dir"; do
                   19285:       as_dirs="$as_dir $as_dirs"
                   19286:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19287: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19288:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19289:         X"$as_dir" : 'X\(//\)$' \| \
                   19290:         X"$as_dir" : 'X\(/\)' \| \
                   19291:         .     : '\(.\)' 2>/dev/null ||
                   19292: echo X"$as_dir" |
                   19293:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19294:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19295:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19296:          /^X\(\/\).*/{ s//\1/; q; }
                   19297:          s/.*/./; q'`
                   19298:     done
                   19299:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19300:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   19301: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   19302:    { (exit 1); exit 1; }; }; }
                   19303: 
                   19304:   ac_builddir=.
                   19305: 
                   19306: if test "$ac_dir" != .; then
                   19307:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   19308:   # A "../" for each directory in $ac_dir_suffix.
                   19309:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   19310: else
                   19311:   ac_dir_suffix= ac_top_builddir=
                   19312: fi
                   19313: 
                   19314: case $srcdir in
                   19315:   .)  # No --srcdir option.  We are building in place.
                   19316:     ac_srcdir=.
                   19317:     if test -z "$ac_top_builddir"; then
                   19318:        ac_top_srcdir=.
                   19319:     else
                   19320:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   19321:     fi ;;
                   19322:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   19323:     ac_srcdir=$srcdir$ac_dir_suffix;
                   19324:     ac_top_srcdir=$srcdir ;;
                   19325:   *) # Relative path.
                   19326:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   19327:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   19328: esac
                   19329: 
                   19330: # Do not use `cd foo && pwd` to compute absolute paths, because
                   19331: # the directories may not exist.
                   19332: case `pwd` in
                   19333: .) ac_abs_builddir="$ac_dir";;
                   19334: *)
                   19335:   case "$ac_dir" in
                   19336:   .) ac_abs_builddir=`pwd`;;
                   19337:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   19338:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   19339:   esac;;
                   19340: esac
                   19341: case $ac_abs_builddir in
                   19342: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19343: *)
                   19344:   case ${ac_top_builddir}. in
                   19345:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   19346:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19347:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   19348:   esac;;
                   19349: esac
                   19350: case $ac_abs_builddir in
                   19351: .) ac_abs_srcdir=$ac_srcdir;;
                   19352: *)
                   19353:   case $ac_srcdir in
                   19354:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   19355:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   19356:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   19357:   esac;;
                   19358: esac
                   19359: case $ac_abs_builddir in
                   19360: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19361: *)
                   19362:   case $ac_top_srcdir in
                   19363:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   19364:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19365:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   19366:   esac;;
                   19367: esac
                   19368: 
                   19369: 
                   19370:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   19371: echo "$as_me: executing $ac_dest commands" >&6;}
                   19372:   case $ac_dest in
                   19373:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   19374:   # Strip MF so we end up with the name of the file.
                   19375:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   19376:   # Check whether this is an Automake generated Makefile or not.
                   19377:   # We used to match only the files named `Makefile.in', but
                   19378:   # some people rename them; so instead we look at the file content.
                   19379:   # Grep'ing the first line is not enough: some people post-process
                   19380:   # each Makefile.in and add a new line on top of each file to say so.
                   19381:   # So let's grep whole file.
                   19382:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   19383:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   19384: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19385:         X"$mf" : 'X\(//\)[^/]' \| \
                   19386:         X"$mf" : 'X\(//\)$' \| \
                   19387:         X"$mf" : 'X\(/\)' \| \
                   19388:         .     : '\(.\)' 2>/dev/null ||
                   19389: echo X"$mf" |
                   19390:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19391:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19392:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19393:          /^X\(\/\).*/{ s//\1/; q; }
                   19394:          s/.*/./; q'`
                   19395:   else
                   19396:     continue
                   19397:   fi
                   19398:   # Extract the definition of DEPDIR, am__include, and am__quote
                   19399:   # from the Makefile without running `make'.
                   19400:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   19401:   test -z "$DEPDIR" && continue
                   19402:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   19403:   test -z "am__include" && continue
                   19404:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   19405:   # When using ansi2knr, U may be empty or an underscore; expand it
                   19406:   U=`sed -n 's/^U = //p' < "$mf"`
                   19407:   # Find all dependency output files, they are included files with
                   19408:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   19409:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   19410:   # expansion.
                   19411:   for file in `sed -n "
                   19412:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   19413:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   19414:     # Make sure the directory exists.
                   19415:     test -f "$dirpart/$file" && continue
                   19416:     fdir=`(dirname "$file") 2>/dev/null ||
                   19417: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19418:         X"$file" : 'X\(//\)[^/]' \| \
                   19419:         X"$file" : 'X\(//\)$' \| \
                   19420:         X"$file" : 'X\(/\)' \| \
                   19421:         .     : '\(.\)' 2>/dev/null ||
                   19422: echo X"$file" |
                   19423:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19424:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19425:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19426:          /^X\(\/\).*/{ s//\1/; q; }
                   19427:          s/.*/./; q'`
                   19428:     { if $as_mkdir_p; then
                   19429:     mkdir -p $dirpart/$fdir
                   19430:   else
                   19431:     as_dir=$dirpart/$fdir
                   19432:     as_dirs=
                   19433:     while test ! -d "$as_dir"; do
                   19434:       as_dirs="$as_dir $as_dirs"
                   19435:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19436: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19437:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19438:         X"$as_dir" : 'X\(//\)$' \| \
                   19439:         X"$as_dir" : 'X\(/\)' \| \
                   19440:         .     : '\(.\)' 2>/dev/null ||
                   19441: echo X"$as_dir" |
                   19442:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19443:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19444:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19445:          /^X\(\/\).*/{ s//\1/; q; }
                   19446:          s/.*/./; q'`
                   19447:     done
                   19448:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19449:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   19450: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   19451:    { (exit 1); exit 1; }; }; }
                   19452: 
                   19453:     # echo "creating $dirpart/$file"
                   19454:     echo '# dummy' > "$dirpart/$file"
                   19455:   done
                   19456: done
                   19457:  ;;
                   19458:     libtool )
                   19459: 
                   19460:     # See if we are running on zsh, and set the options which allow our
                   19461:     # commands through without removal of \ escapes.
                   19462:     if test -n "${ZSH_VERSION+set}" ; then
                   19463:       setopt NO_GLOB_SUBST
                   19464:     fi
                   19465: 
                   19466:     cfgfile="${ofile}T"
                   19467:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19468:     $RM "$cfgfile"
                   19469: 
                   19470:     cat <<_LT_EOF >> "$cfgfile"
                   19471: #! $SHELL
                   19472: 
                   19473: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19474: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19475: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19476: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19477: #
                   19478: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19479: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19480: #                 Foundation, Inc.
                   19481: #   Written by Gordon Matzigkeit, 1996
                   19482: #
                   19483: #   This file is part of GNU Libtool.
                   19484: #
                   19485: # GNU Libtool is free software; you can redistribute it and/or
                   19486: # modify it under the terms of the GNU General Public License as
                   19487: # published by the Free Software Foundation; either version 2 of
                   19488: # the License, or (at your option) any later version.
                   19489: #
                   19490: # As a special exception to the GNU General Public License,
                   19491: # if you distribute this file as part of a program or library that
                   19492: # is built using GNU Libtool, you may include this file under the
                   19493: # same distribution terms that you use for the rest of that program.
                   19494: #
                   19495: # GNU Libtool is distributed in the hope that it will be useful,
                   19496: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   19497: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   19498: # GNU General Public License for more details.
                   19499: #
                   19500: # You should have received a copy of the GNU General Public License
                   19501: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   19502: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   19503: # obtained by writing to the Free Software Foundation, Inc.,
                   19504: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   19505: 
                   19506: 
                   19507: # The names of the tagged configurations supported by this script.
                   19508: available_tags="CXX "
                   19509: 
                   19510: # ### BEGIN LIBTOOL CONFIG
                   19511: 
                   19512: # Which release of libtool.m4 was used?
                   19513: macro_version=$macro_version
                   19514: macro_revision=$macro_revision
                   19515: 
                   19516: # Assembler program.
                   19517: AS=$lt_AS
                   19518: 
                   19519: # DLL creation program.
                   19520: DLLTOOL=$lt_DLLTOOL
                   19521: 
                   19522: # Object dumper program.
                   19523: OBJDUMP=$lt_OBJDUMP
                   19524: 
                   19525: # Whether or not to build shared libraries.
                   19526: build_libtool_libs=$enable_shared
                   19527: 
                   19528: # Whether or not to build static libraries.
                   19529: build_old_libs=$enable_static
                   19530: 
                   19531: # What type of objects to build.
                   19532: pic_mode=$pic_mode
                   19533: 
                   19534: # Whether or not to optimize for fast installation.
                   19535: fast_install=$enable_fast_install
                   19536: 
                   19537: # Shell to use when invoking shell scripts.
                   19538: SHELL=$lt_SHELL
                   19539: 
                   19540: # An echo program that protects backslashes.
                   19541: ECHO=$lt_ECHO
                   19542: 
                   19543: # The PATH separator for the build system.
                   19544: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   19545: 
                   19546: # The host system.
                   19547: host_alias=$host_alias
                   19548: host=$host
                   19549: host_os=$host_os
                   19550: 
                   19551: # The build system.
                   19552: build_alias=$build_alias
                   19553: build=$build
                   19554: build_os=$build_os
                   19555: 
                   19556: # A sed program that does not truncate output.
                   19557: SED=$lt_SED
                   19558: 
                   19559: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   19560: Xsed="\$SED -e 1s/^X//"
                   19561: 
                   19562: # A grep program that handles long lines.
                   19563: GREP=$lt_GREP
                   19564: 
                   19565: # An ERE matcher.
                   19566: EGREP=$lt_EGREP
                   19567: 
                   19568: # A literal string matcher.
                   19569: FGREP=$lt_FGREP
                   19570: 
                   19571: # A BSD- or MS-compatible name lister.
                   19572: NM=$lt_NM
                   19573: 
                   19574: # Whether we need soft or hard links.
                   19575: LN_S=$lt_LN_S
                   19576: 
                   19577: # What is the maximum length of a command?
                   19578: max_cmd_len=$max_cmd_len
                   19579: 
                   19580: # Object file suffix (normally "o").
                   19581: objext=$ac_objext
                   19582: 
                   19583: # Executable file suffix (normally "").
                   19584: exeext=$exeext
                   19585: 
                   19586: # whether the shell understands "unset".
                   19587: lt_unset=$lt_unset
                   19588: 
                   19589: # turn spaces into newlines.
                   19590: SP2NL=$lt_lt_SP2NL
                   19591: 
                   19592: # turn newlines into spaces.
                   19593: NL2SP=$lt_lt_NL2SP
                   19594: 
                   19595: # convert \$build file names to \$host format.
                   19596: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   19597: 
                   19598: # convert \$build files to toolchain format.
                   19599: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   19600: 
                   19601: # Method to check whether dependent libraries are shared objects.
                   19602: deplibs_check_method=$lt_deplibs_check_method
                   19603: 
                   19604: # Command to use when deplibs_check_method = "file_magic".
                   19605: file_magic_cmd=$lt_file_magic_cmd
                   19606: 
                   19607: # How to find potential files when deplibs_check_method = "file_magic".
                   19608: file_magic_glob=$lt_file_magic_glob
                   19609: 
                   19610: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   19611: want_nocaseglob=$lt_want_nocaseglob
                   19612: 
                   19613: # Command to associate shared and link libraries.
                   19614: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   19615: 
                   19616: # The archiver.
                   19617: AR=$lt_AR
                   19618: 
                   19619: # Flags to create an archive.
                   19620: AR_FLAGS=$lt_AR_FLAGS
                   19621: 
                   19622: # How to feed a file listing to the archiver.
                   19623: archiver_list_spec=$lt_archiver_list_spec
                   19624: 
                   19625: # A symbol stripping program.
                   19626: STRIP=$lt_STRIP
                   19627: 
                   19628: # Commands used to install an old-style archive.
                   19629: RANLIB=$lt_RANLIB
                   19630: old_postinstall_cmds=$lt_old_postinstall_cmds
                   19631: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   19632: 
                   19633: # Whether to use a lock for old archive extraction.
                   19634: lock_old_archive_extraction=$lock_old_archive_extraction
                   19635: 
                   19636: # A C compiler.
                   19637: LTCC=$lt_CC
                   19638: 
                   19639: # LTCC compiler flags.
                   19640: LTCFLAGS=$lt_CFLAGS
                   19641: 
                   19642: # Take the output of nm and produce a listing of raw symbols and C names.
                   19643: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   19644: 
                   19645: # Transform the output of nm in a proper C declaration.
                   19646: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   19647: 
                   19648: # Transform the output of nm in a C name address pair.
                   19649: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   19650: 
                   19651: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   19652: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   19653: 
                   19654: # Specify filename containing input files for \$NM.
                   19655: nm_file_list_spec=$lt_nm_file_list_spec
                   19656: 
                   19657: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   19658: lt_sysroot=$lt_sysroot
                   19659: 
                   19660: # The name of the directory that contains temporary libtool files.
                   19661: objdir=$objdir
                   19662: 
                   19663: # Used to examine libraries when file_magic_cmd begins with "file".
                   19664: MAGIC_CMD=$MAGIC_CMD
                   19665: 
                   19666: # Must we lock files when doing compilation?
                   19667: need_locks=$lt_need_locks
                   19668: 
                   19669: # Manifest tool.
                   19670: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   19671: 
                   19672: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   19673: DSYMUTIL=$lt_DSYMUTIL
                   19674: 
                   19675: # Tool to change global to local symbols on Mac OS X.
                   19676: NMEDIT=$lt_NMEDIT
                   19677: 
                   19678: # Tool to manipulate fat objects and archives on Mac OS X.
                   19679: LIPO=$lt_LIPO
                   19680: 
                   19681: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   19682: OTOOL=$lt_OTOOL
                   19683: 
                   19684: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   19685: OTOOL64=$lt_OTOOL64
                   19686: 
                   19687: # Old archive suffix (normally "a").
                   19688: libext=$libext
                   19689: 
                   19690: # Shared library suffix (normally ".so").
                   19691: shrext_cmds=$lt_shrext_cmds
                   19692: 
                   19693: # The commands to extract the exported symbol list from a shared archive.
                   19694: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   19695: 
                   19696: # Variables whose values should be saved in libtool wrapper scripts and
                   19697: # restored at link time.
                   19698: variables_saved_for_relink=$lt_variables_saved_for_relink
                   19699: 
                   19700: # Do we need the "lib" prefix for modules?
                   19701: need_lib_prefix=$need_lib_prefix
                   19702: 
                   19703: # Do we need a version for libraries?
                   19704: need_version=$need_version
                   19705: 
                   19706: # Library versioning type.
                   19707: version_type=$version_type
                   19708: 
                   19709: # Shared library runtime path variable.
                   19710: runpath_var=$runpath_var
                   19711: 
                   19712: # Shared library path variable.
                   19713: shlibpath_var=$shlibpath_var
                   19714: 
                   19715: # Is shlibpath searched before the hard-coded library search path?
                   19716: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   19717: 
                   19718: # Format of library name prefix.
                   19719: libname_spec=$lt_libname_spec
                   19720: 
                   19721: # List of archive names.  First name is the real one, the rest are links.
                   19722: # The last name is the one that the linker finds with -lNAME
                   19723: library_names_spec=$lt_library_names_spec
                   19724: 
                   19725: # The coded name of the library, if different from the real name.
                   19726: soname_spec=$lt_soname_spec
                   19727: 
                   19728: # Permission mode override for installation of shared libraries.
                   19729: install_override_mode=$lt_install_override_mode
                   19730: 
                   19731: # Command to use after installation of a shared archive.
                   19732: postinstall_cmds=$lt_postinstall_cmds
                   19733: 
                   19734: # Command to use after uninstallation of a shared archive.
                   19735: postuninstall_cmds=$lt_postuninstall_cmds
                   19736: 
                   19737: # Commands used to finish a libtool library installation in a directory.
                   19738: finish_cmds=$lt_finish_cmds
                   19739: 
                   19740: # As "finish_cmds", except a single script fragment to be evaled but
                   19741: # not shown.
                   19742: finish_eval=$lt_finish_eval
                   19743: 
                   19744: # Whether we should hardcode library paths into libraries.
                   19745: hardcode_into_libs=$hardcode_into_libs
                   19746: 
                   19747: # Compile-time system search path for libraries.
                   19748: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   19749: 
                   19750: # Run-time system search path for libraries.
                   19751: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   19752: 
                   19753: # Whether dlopen is supported.
                   19754: dlopen_support=$enable_dlopen
                   19755: 
                   19756: # Whether dlopen of programs is supported.
                   19757: dlopen_self=$enable_dlopen_self
                   19758: 
                   19759: # Whether dlopen of statically linked programs is supported.
                   19760: dlopen_self_static=$enable_dlopen_self_static
                   19761: 
                   19762: # Commands to strip libraries.
                   19763: old_striplib=$lt_old_striplib
                   19764: striplib=$lt_striplib
                   19765: 
                   19766: 
                   19767: # The linker used to build libraries.
                   19768: LD=$lt_LD
                   19769: 
                   19770: # How to create reloadable object files.
                   19771: reload_flag=$lt_reload_flag
                   19772: reload_cmds=$lt_reload_cmds
                   19773: 
                   19774: # Commands used to build an old-style archive.
                   19775: old_archive_cmds=$lt_old_archive_cmds
                   19776: 
                   19777: # A language specific compiler.
                   19778: CC=$lt_compiler
                   19779: 
                   19780: # Is the compiler the GNU compiler?
                   19781: with_gcc=$GCC
                   19782: 
                   19783: # Compiler flag to turn off builtin functions.
                   19784: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   19785: 
                   19786: # Additional compiler flags for building library objects.
                   19787: pic_flag=$lt_lt_prog_compiler_pic
                   19788: 
                   19789: # How to pass a linker flag through the compiler.
                   19790: wl=$lt_lt_prog_compiler_wl
                   19791: 
                   19792: # Compiler flag to prevent dynamic linking.
                   19793: link_static_flag=$lt_lt_prog_compiler_static
                   19794: 
                   19795: # Does compiler simultaneously support -c and -o options?
                   19796: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   19797: 
                   19798: # Whether or not to add -lc for building shared libraries.
                   19799: build_libtool_need_lc=$archive_cmds_need_lc
                   19800: 
                   19801: # Whether or not to disallow shared libs when runtime libs are static.
                   19802: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   19803: 
                   19804: # Compiler flag to allow reflexive dlopens.
                   19805: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   19806: 
                   19807: # Compiler flag to generate shared objects directly from archives.
                   19808: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   19809: 
                   19810: # Whether the compiler copes with passing no objects directly.
                   19811: compiler_needs_object=$lt_compiler_needs_object
                   19812: 
                   19813: # Create an old-style archive from a shared archive.
                   19814: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   19815: 
                   19816: # Create a temporary old-style archive to link instead of a shared archive.
                   19817: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   19818: 
                   19819: # Commands used to build a shared archive.
                   19820: archive_cmds=$lt_archive_cmds
                   19821: archive_expsym_cmds=$lt_archive_expsym_cmds
                   19822: 
                   19823: # Commands used to build a loadable module if different from building
                   19824: # a shared archive.
                   19825: module_cmds=$lt_module_cmds
                   19826: module_expsym_cmds=$lt_module_expsym_cmds
                   19827: 
                   19828: # Whether we are building with GNU ld or not.
                   19829: with_gnu_ld=$lt_with_gnu_ld
                   19830: 
                   19831: # Flag that allows shared libraries with undefined symbols to be built.
                   19832: allow_undefined_flag=$lt_allow_undefined_flag
                   19833: 
                   19834: # Flag that enforces no undefined symbols.
                   19835: no_undefined_flag=$lt_no_undefined_flag
                   19836: 
                   19837: # Flag to hardcode \$libdir into a binary during linking.
                   19838: # This must work even if \$libdir does not exist
                   19839: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   19840: 
                   19841: # Whether we need a single "-rpath" flag with a separated argument.
                   19842: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   19843: 
                   19844: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19845: # DIR into the resulting binary.
                   19846: hardcode_direct=$hardcode_direct
                   19847: 
                   19848: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19849: # DIR into the resulting binary and the resulting library dependency is
                   19850: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   19851: # library is relocated.
                   19852: hardcode_direct_absolute=$hardcode_direct_absolute
                   19853: 
                   19854: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   19855: # into the resulting binary.
                   19856: hardcode_minus_L=$hardcode_minus_L
                   19857: 
                   19858: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   19859: # into the resulting binary.
                   19860: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   19861: 
                   19862: # Set to "yes" if building a shared library automatically hardcodes DIR
                   19863: # into the library and all subsequent libraries and executables linked
                   19864: # against it.
                   19865: hardcode_automatic=$hardcode_automatic
                   19866: 
                   19867: # Set to yes if linker adds runtime paths of dependent libraries
                   19868: # to runtime path list.
                   19869: inherit_rpath=$inherit_rpath
                   19870: 
                   19871: # Whether libtool must link a program against all its dependency libraries.
                   19872: link_all_deplibs=$link_all_deplibs
                   19873: 
                   19874: # Set to "yes" if exported symbols are required.
                   19875: always_export_symbols=$always_export_symbols
                   19876: 
                   19877: # The commands to list exported symbols.
                   19878: export_symbols_cmds=$lt_export_symbols_cmds
                   19879: 
                   19880: # Symbols that should not be listed in the preloaded symbols.
                   19881: exclude_expsyms=$lt_exclude_expsyms
                   19882: 
                   19883: # Symbols that must always be exported.
                   19884: include_expsyms=$lt_include_expsyms
                   19885: 
                   19886: # Commands necessary for linking programs (against libraries) with templates.
                   19887: prelink_cmds=$lt_prelink_cmds
                   19888: 
                   19889: # Commands necessary for finishing linking programs.
                   19890: postlink_cmds=$lt_postlink_cmds
                   19891: 
                   19892: # Specify filename containing input files.
                   19893: file_list_spec=$lt_file_list_spec
                   19894: 
                   19895: # How to hardcode a shared library path into an executable.
                   19896: hardcode_action=$hardcode_action
                   19897: 
                   19898: # The directories searched by this compiler when creating a shared library.
                   19899: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   19900: 
                   19901: # Dependencies to place before and after the objects being linked to
                   19902: # create a shared library.
                   19903: predep_objects=$lt_predep_objects
                   19904: postdep_objects=$lt_postdep_objects
                   19905: predeps=$lt_predeps
                   19906: postdeps=$lt_postdeps
                   19907: 
                   19908: # The library search path used internally by the compiler when linking
                   19909: # a shared library.
                   19910: compiler_lib_search_path=$lt_compiler_lib_search_path
                   19911: 
                   19912: # ### END LIBTOOL CONFIG
                   19913: 
                   19914: _LT_EOF
                   19915: 
                   19916:   case $host_os in
                   19917:   aix3*)
                   19918:     cat <<\_LT_EOF >> "$cfgfile"
                   19919: # AIX sometimes has problems with the GCC collect2 program.  For some
                   19920: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   19921: # vanish in a puff of smoke.
                   19922: if test "X${COLLECT_NAMES+set}" != Xset; then
                   19923:   COLLECT_NAMES=
                   19924:   export COLLECT_NAMES
                   19925: fi
                   19926: _LT_EOF
                   19927:     ;;
                   19928:   esac
                   19929: 
                   19930: 
                   19931: ltmain="$ac_aux_dir/ltmain.sh"
1.1       parser   19932: 
1.16      paf      19933: 
1.23      moko     19934:   # We use sed instead of cat because bash on DJGPP gets confused if
                   19935:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   19936:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   19937:   # is reportedly fixed, but why not run on old versions too?
                   19938:   sed '$q' "$ltmain" >> "$cfgfile" \
                   19939:      || (rm -f "$cfgfile"; exit 1)
1.10      paf      19940: 
1.23      moko     19941:   if test x"$xsi_shell" = xyes; then
                   19942:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   19943: func_dirname ()\
                   19944: {\
                   19945: \    case ${1} in\
                   19946: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   19947: \      *  ) func_dirname_result="${3}" ;;\
                   19948: \    esac\
                   19949: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   19950:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19951:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19952: test 0 -eq $? || _lt_function_replace_fail=:
                   19953: 
                   19954: 
                   19955:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   19956: func_basename ()\
                   19957: {\
                   19958: \    func_basename_result="${1##*/}"\
                   19959: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   19960:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19961:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19962: test 0 -eq $? || _lt_function_replace_fail=:
                   19963: 
                   19964: 
                   19965:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   19966: func_dirname_and_basename ()\
                   19967: {\
                   19968: \    case ${1} in\
                   19969: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   19970: \      *  ) func_dirname_result="${3}" ;;\
                   19971: \    esac\
                   19972: \    func_basename_result="${1##*/}"\
                   19973: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   19974:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19975:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19976: test 0 -eq $? || _lt_function_replace_fail=:
                   19977: 
                   19978: 
                   19979:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   19980: func_stripname ()\
                   19981: {\
                   19982: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   19983: \    # positional parameters, so assign one to ordinary parameter first.\
                   19984: \    func_stripname_result=${3}\
                   19985: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   19986: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   19987: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   19988:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   19989:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   19990: test 0 -eq $? || _lt_function_replace_fail=:
                   19991: 
                   19992: 
                   19993:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   19994: func_split_long_opt ()\
                   19995: {\
                   19996: \    func_split_long_opt_name=${1%%=*}\
                   19997: \    func_split_long_opt_arg=${1#*=}\
                   19998: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   19999:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20000:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20001: test 0 -eq $? || _lt_function_replace_fail=:
                   20002: 
                   20003: 
                   20004:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20005: func_split_short_opt ()\
                   20006: {\
                   20007: \    func_split_short_opt_arg=${1#??}\
                   20008: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20009: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20010:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20011:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20012: test 0 -eq $? || _lt_function_replace_fail=:
                   20013: 
                   20014: 
                   20015:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20016: func_lo2o ()\
                   20017: {\
                   20018: \    case ${1} in\
                   20019: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20020: \      *)    func_lo2o_result=${1} ;;\
                   20021: \    esac\
                   20022: } # Extended-shell func_lo2o 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: 
                   20028:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20029: func_xform ()\
                   20030: {\
                   20031:     func_xform_result=${1%.*}.lo\
                   20032: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20033:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20034:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20035: test 0 -eq $? || _lt_function_replace_fail=:
                   20036: 
                   20037: 
                   20038:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20039: func_arith ()\
                   20040: {\
                   20041:     func_arith_result=$(( $* ))\
                   20042: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20043:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20044:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20045: test 0 -eq $? || _lt_function_replace_fail=:
                   20046: 
                   20047: 
                   20048:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20049: func_len ()\
                   20050: {\
                   20051:     func_len_result=${#1}\
                   20052: } # Extended-shell func_len implementation' "$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: 
                   20057: fi
                   20058: 
                   20059: if test x"$lt_shell_append" = xyes; then
                   20060:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20061: func_append ()\
                   20062: {\
                   20063:     eval "${1}+=\\${2}"\
                   20064: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20065:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20066:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20067: test 0 -eq $? || _lt_function_replace_fail=:
                   20068: 
                   20069: 
                   20070:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20071: func_append_quoted ()\
                   20072: {\
                   20073: \    func_quote_for_eval "${2}"\
                   20074: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20075: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20076:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20077:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20078: test 0 -eq $? || _lt_function_replace_fail=:
                   20079: 
                   20080: 
                   20081:   # Save a `func_append' function call where possible by direct use of '+='
                   20082:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20083:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20084:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20085:   test 0 -eq $? || _lt_function_replace_fail=:
                   20086: else
                   20087:   # Save a `func_append' function call even when '+=' is not available
                   20088:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20089:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20090:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20091:   test 0 -eq $? || _lt_function_replace_fail=:
                   20092: fi
                   20093: 
                   20094: if test x"$_lt_function_replace_fail" = x":"; then
                   20095:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20096: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.10      paf      20097: fi
                   20098: 
1.16      paf      20099: 
1.23      moko     20100:    mv -f "$cfgfile" "$ofile" ||
                   20101:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20102:   chmod +x "$ofile"
                   20103: 
                   20104: 
                   20105:     cat <<_LT_EOF >> "$ofile"
                   20106: 
                   20107: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20108: 
                   20109: # The linker used to build libraries.
                   20110: LD=$lt_LD_CXX
                   20111: 
                   20112: # How to create reloadable object files.
                   20113: reload_flag=$lt_reload_flag_CXX
                   20114: reload_cmds=$lt_reload_cmds_CXX
                   20115: 
                   20116: # Commands used to build an old-style archive.
                   20117: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20118: 
                   20119: # A language specific compiler.
                   20120: CC=$lt_compiler_CXX
                   20121: 
                   20122: # Is the compiler the GNU compiler?
                   20123: with_gcc=$GCC_CXX
                   20124: 
                   20125: # Compiler flag to turn off builtin functions.
                   20126: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20127: 
                   20128: # Additional compiler flags for building library objects.
                   20129: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20130: 
                   20131: # How to pass a linker flag through the compiler.
                   20132: wl=$lt_lt_prog_compiler_wl_CXX
                   20133: 
                   20134: # Compiler flag to prevent dynamic linking.
                   20135: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20136: 
                   20137: # Does compiler simultaneously support -c and -o options?
                   20138: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20139: 
                   20140: # Whether or not to add -lc for building shared libraries.
                   20141: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20142: 
                   20143: # Whether or not to disallow shared libs when runtime libs are static.
                   20144: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20145: 
                   20146: # Compiler flag to allow reflexive dlopens.
                   20147: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20148: 
                   20149: # Compiler flag to generate shared objects directly from archives.
                   20150: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20151: 
                   20152: # Whether the compiler copes with passing no objects directly.
                   20153: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20154: 
                   20155: # Create an old-style archive from a shared archive.
                   20156: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20157: 
                   20158: # Create a temporary old-style archive to link instead of a shared archive.
                   20159: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20160: 
                   20161: # Commands used to build a shared archive.
                   20162: archive_cmds=$lt_archive_cmds_CXX
                   20163: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20164: 
                   20165: # Commands used to build a loadable module if different from building
                   20166: # a shared archive.
                   20167: module_cmds=$lt_module_cmds_CXX
                   20168: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20169: 
                   20170: # Whether we are building with GNU ld or not.
                   20171: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20172: 
                   20173: # Flag that allows shared libraries with undefined symbols to be built.
                   20174: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20175: 
                   20176: # Flag that enforces no undefined symbols.
                   20177: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20178: 
                   20179: # Flag to hardcode \$libdir into a binary during linking.
                   20180: # This must work even if \$libdir does not exist
                   20181: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20182: 
                   20183: # Whether we need a single "-rpath" flag with a separated argument.
                   20184: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20185: 
                   20186: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20187: # DIR into the resulting binary.
                   20188: hardcode_direct=$hardcode_direct_CXX
                   20189: 
                   20190: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20191: # DIR into the resulting binary and the resulting library dependency is
                   20192: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20193: # library is relocated.
                   20194: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20195: 
                   20196: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20197: # into the resulting binary.
                   20198: hardcode_minus_L=$hardcode_minus_L_CXX
                   20199: 
                   20200: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20201: # into the resulting binary.
                   20202: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20203: 
                   20204: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20205: # into the library and all subsequent libraries and executables linked
                   20206: # against it.
                   20207: hardcode_automatic=$hardcode_automatic_CXX
                   20208: 
                   20209: # Set to yes if linker adds runtime paths of dependent libraries
                   20210: # to runtime path list.
                   20211: inherit_rpath=$inherit_rpath_CXX
                   20212: 
                   20213: # Whether libtool must link a program against all its dependency libraries.
                   20214: link_all_deplibs=$link_all_deplibs_CXX
                   20215: 
                   20216: # Set to "yes" if exported symbols are required.
                   20217: always_export_symbols=$always_export_symbols_CXX
                   20218: 
                   20219: # The commands to list exported symbols.
                   20220: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20221: 
                   20222: # Symbols that should not be listed in the preloaded symbols.
                   20223: exclude_expsyms=$lt_exclude_expsyms_CXX
                   20224: 
                   20225: # Symbols that must always be exported.
                   20226: include_expsyms=$lt_include_expsyms_CXX
                   20227: 
                   20228: # Commands necessary for linking programs (against libraries) with templates.
                   20229: prelink_cmds=$lt_prelink_cmds_CXX
                   20230: 
                   20231: # Commands necessary for finishing linking programs.
                   20232: postlink_cmds=$lt_postlink_cmds_CXX
                   20233: 
                   20234: # Specify filename containing input files.
                   20235: file_list_spec=$lt_file_list_spec_CXX
                   20236: 
                   20237: # How to hardcode a shared library path into an executable.
                   20238: hardcode_action=$hardcode_action_CXX
                   20239: 
                   20240: # The directories searched by this compiler when creating a shared library.
                   20241: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
1.10      paf      20242: 
1.23      moko     20243: # Dependencies to place before and after the objects being linked to
                   20244: # create a shared library.
                   20245: predep_objects=$lt_predep_objects_CXX
                   20246: postdep_objects=$lt_postdep_objects_CXX
                   20247: predeps=$lt_predeps_CXX
                   20248: postdeps=$lt_postdeps_CXX
                   20249: 
                   20250: # The library search path used internally by the compiler when linking
                   20251: # a shared library.
                   20252: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1.10      paf      20253: 
1.23      moko     20254: # ### END LIBTOOL TAG CONFIG: CXX
                   20255: _LT_EOF
1.1       parser   20256: 
1.10      paf      20257:  ;;
                   20258:   esac
                   20259: done
                   20260: _ACEOF
1.1       parser   20261: 
1.10      paf      20262: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   20263: 
1.10      paf      20264: { (exit 0); exit 0; }
                   20265: _ACEOF
1.1       parser   20266: chmod +x $CONFIG_STATUS
1.10      paf      20267: ac_clean_files=$ac_clean_files_save
                   20268: 
                   20269: 
                   20270: # configure is writing to config.log, and then calls config.status.
                   20271: # config.status does its own redirection, appending to config.log.
                   20272: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20273: # by configure, so config.status won't be able to write to it; its
                   20274: # output is simply discarded.  So we exec the FD to /dev/null,
                   20275: # effectively closing config.log, so it can be properly (re)opened and
                   20276: # appended to by config.status.  When coming back to configure, we
                   20277: # need to make the FD available again.
                   20278: if test "$no_create" != yes; then
                   20279:   ac_cs_success=:
                   20280:   ac_config_status_args=
                   20281:   test "$silent" = yes &&
                   20282:     ac_config_status_args="$ac_config_status_args --quiet"
                   20283:   exec 5>/dev/null
                   20284:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20285:   exec 5>>config.log
                   20286:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20287:   # would make configure fail if this is the last instruction.
                   20288:   $ac_cs_success || { (exit 1); exit 1; }
                   20289: fi
1.1       parser   20290: 
1.10      paf      20291: #
                   20292: # CONFIG_SUBDIRS section.
                   20293: #
1.1       parser   20294: if test "$no_recursion" != yes; then
                   20295: 
                   20296:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   20297:   ac_sub_configure_args=
                   20298:   ac_prev=
                   20299:   for ac_arg in $ac_configure_args; do
                   20300:     if test -n "$ac_prev"; then
                   20301:       ac_prev=
                   20302:       continue
                   20303:     fi
1.10      paf      20304:     case $ac_arg in
1.1       parser   20305:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20306:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20307:       ac_prev=cache_file ;;
                   20308:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.10      paf      20309:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20310:     | --c=*)
                   20311:       ;;
                   20312:     --config-cache | -C)
1.1       parser   20313:       ;;
                   20314:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20315:       ac_prev=srcdir ;;
                   20316:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20317:       ;;
1.10      paf      20318:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20319:       ac_prev=prefix ;;
                   20320:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20321:       ;;
1.1       parser   20322:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   20323:     esac
                   20324:   done
                   20325: 
1.10      paf      20326:   # Always prepend --prefix to ensure using the same prefix
                   20327:   # in subdir configurations.
                   20328:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   20329: 
                   20330:   ac_popdir=`pwd`
                   20331:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       parser   20332: 
                   20333:     # Do not complain, so a configure script can configure whichever
                   20334:     # parts of a large source tree are present.
1.10      paf      20335:     test -d $srcdir/$ac_dir || continue
1.1       parser   20336: 
1.10      paf      20337:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   20338: echo "$as_me: configuring in $ac_dir" >&6;}
                   20339:     { if $as_mkdir_p; then
                   20340:     mkdir -p "$ac_dir"
                   20341:   else
                   20342:     as_dir="$ac_dir"
                   20343:     as_dirs=
                   20344:     while test ! -d "$as_dir"; do
                   20345:       as_dirs="$as_dir $as_dirs"
                   20346:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   20347: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.16      paf      20348:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   20349:         X"$as_dir" : 'X\(//\)$' \| \
                   20350:         X"$as_dir" : 'X\(/\)' \| \
                   20351:         .     : '\(.\)' 2>/dev/null ||
1.10      paf      20352: echo X"$as_dir" |
                   20353:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   20354:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   20355:          /^X\(\/\/\)$/{ s//\1/; q; }
                   20356:          /^X\(\/\).*/{ s//\1/; q; }
                   20357:          s/.*/./; q'`
                   20358:     done
                   20359:     test ! -n "$as_dirs" || mkdir $as_dirs
                   20360:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   20361: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   20362:    { (exit 1); exit 1; }; }; }
                   20363: 
                   20364:     ac_builddir=.
                   20365: 
                   20366: if test "$ac_dir" != .; then
                   20367:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   20368:   # A "../" for each directory in $ac_dir_suffix.
                   20369:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   20370: else
                   20371:   ac_dir_suffix= ac_top_builddir=
                   20372: fi
                   20373: 
                   20374: case $srcdir in
                   20375:   .)  # No --srcdir option.  We are building in place.
                   20376:     ac_srcdir=.
                   20377:     if test -z "$ac_top_builddir"; then
                   20378:        ac_top_srcdir=.
                   20379:     else
                   20380:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   20381:     fi ;;
                   20382:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   20383:     ac_srcdir=$srcdir$ac_dir_suffix;
                   20384:     ac_top_srcdir=$srcdir ;;
                   20385:   *) # Relative path.
                   20386:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   20387:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   20388: esac
1.16      paf      20389: 
                   20390: # Do not use `cd foo && pwd` to compute absolute paths, because
                   20391: # the directories may not exist.
                   20392: case `pwd` in
                   20393: .) ac_abs_builddir="$ac_dir";;
                   20394: *)
                   20395:   case "$ac_dir" in
                   20396:   .) ac_abs_builddir=`pwd`;;
                   20397:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   20398:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   20399:   esac;;
                   20400: esac
                   20401: case $ac_abs_builddir in
                   20402: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   20403: *)
                   20404:   case ${ac_top_builddir}. in
                   20405:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   20406:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   20407:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   20408:   esac;;
                   20409: esac
                   20410: case $ac_abs_builddir in
                   20411: .) ac_abs_srcdir=$ac_srcdir;;
                   20412: *)
                   20413:   case $ac_srcdir in
                   20414:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   20415:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   20416:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   20417:   esac;;
                   20418: esac
                   20419: case $ac_abs_builddir in
                   20420: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   20421: *)
                   20422:   case $ac_top_srcdir in
                   20423:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   20424:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   20425:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   20426:   esac;;
                   20427: esac
1.1       parser   20428: 
                   20429: 
1.10      paf      20430:     cd $ac_dir
1.1       parser   20431: 
                   20432:     # Check for guested configure; otherwise get Cygnus style configure.
1.10      paf      20433:     if test -f $ac_srcdir/configure.gnu; then
                   20434:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   20435:     elif test -f $ac_srcdir/configure; then
                   20436:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   20437:     elif test -f $ac_srcdir/configure.in; then
1.1       parser   20438:       ac_sub_configure=$ac_configure
                   20439:     else
1.10      paf      20440:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   20441: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       parser   20442:       ac_sub_configure=
                   20443:     fi
                   20444: 
                   20445:     # The recursion is here.
                   20446:     if test -n "$ac_sub_configure"; then
                   20447:       # Make the cache file name correct relative to the subdirectory.
1.10      paf      20448:       case $cache_file in
                   20449:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       parser   20450:       *) # Relative path.
1.16      paf      20451:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       parser   20452:       esac
                   20453: 
1.10      paf      20454:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   20455: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       parser   20456:       # The eval makes quoting arguments work.
1.10      paf      20457:       eval $ac_sub_configure $ac_sub_configure_args \
1.16      paf      20458:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   20459:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.10      paf      20460: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   20461:    { (exit 1); exit 1; }; }
1.1       parser   20462:     fi
                   20463: 
                   20464:     cd $ac_popdir
                   20465:   done
                   20466: fi
                   20467: 

E-mail: